Lines Matching defs:buf
10 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) argument
11 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos)) argument
12 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val)) argument
14 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8) argument
15 #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16) argument
16 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) argument
17 #define SIVALX(buf,pos,val) (SSVALX(buf,pos,val&0xFFFF),SSVALX(buf,pos+2,val>>16)) argument
18 #define SVALS(buf,pos) ((int16)SVAL(buf,pos)) argument
19 #define IVALS(buf,pos) ((int32)IVAL(buf,pos)) argument
20 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((uint16)(val))) argument
21 #define SIVAL(buf,pos,val) SIVALX((buf),(pos),((uint32)(val))) argument
22 #define SSVALS(buf,pos,val) SSVALX((buf),(pos),((int16)(val))) argument
23 #define SIVALS(buf,pos,val) SIVALX((buf),(pos),((int32)(val))) argument
29 #define RSVAL(buf,pos) SREV(SVAL(buf,pos)) argument
30 #define RIVAL(buf,pos) IREV(IVAL(buf,pos)) argument
31 #define RSSVAL(buf,pos,val) SSVAL(buf,pos,SREV(val)) argument
32 #define RSIVAL(buf,pos,val) SIVAL(buf,pos,IREV(val)) argument