Home | History | Annotate | Download | only in pcf

Lines Matching refs:buf

44   BitOrderInvert( unsigned char*  buf,
47 for ( ; nbytes > 0; nbytes--, buf++ )
49 unsigned int val = *buf;
56 *buf = (unsigned char)val;
66 TwoByteSwap( unsigned char* buf,
69 for ( ; nbytes >= 2; nbytes -= 2, buf += 2 )
74 c = buf[0];
75 buf[0] = buf[1];
76 buf[1] = c;
85 FourByteSwap( unsigned char* buf,
88 for ( ; nbytes >= 4; nbytes -= 4, buf += 4 )
93 c = buf[0];
94 buf[0] = buf[3];
95 buf[3] = c;
97 c = buf[1];
98 buf[1] = buf[2];
99 buf[2] = c;