Searched refs:pow2size (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dstreval.c57 #define pow2size(x) ((x)<=2?2:(x)<=4?4:(x)<=8?8:(x)<=16?16:(x)<=32?32:64) macro
59 #define stakpush(v,val,type) ((((v)->offset=round(staktell(),pow2size(sizeof(type)))),\
62 #define roundptr(ep,cp,type) (((unsigned char*)(ep))+round(cp-((unsigned char*)(ep)),pow2size(sizeof(type))))

Completed in 22 milliseconds