Lines Matching refs:buf
24 #define U2_TO_BUF_BE(buf, offset, value) \ argument
26 unsigned char *buf_ = (unsigned char *)(buf); \
33 #define U4_TO_BUF_BE(buf, offset, value) \ argument
35 unsigned char *buf_ = (unsigned char *)(buf); \
44 #define U8_TO_BUF_BE(buf, offset, value) \ argument
46 unsigned char *buf_ = (unsigned char *)(buf); \
93 unsigned char buf[4]; in hprofContextInit() local
106 U4_TO_BUF_BE(buf, 0, sizeof(void *)); in hprofContextInit()
107 fwrite(buf, 1, sizeof(u4), fp); in hprofContextInit()
119 U4_TO_BUF_BE(buf, 0, (u4)(nowMs >> 32)); in hprofContextInit()
120 fwrite(buf, 1, sizeof(u4), fp); in hprofContextInit()
124 U4_TO_BUF_BE(buf, 0, (u4)(nowMs & 0xffffffffULL)); in hprofContextInit()
125 fwrite(buf, 1, sizeof(u4), fp); //xxx fix the time in hprofContextInit()