Lines Matching refs:buf
67 static off_t offtin(u_char *buf) in offtin() argument
71 y=buf[7]&0x7F; in offtin()
72 y=y*256;y+=buf[6]; in offtin()
73 y=y*256;y+=buf[5]; in offtin()
74 y=y*256;y+=buf[4]; in offtin()
75 y=y*256;y+=buf[3]; in offtin()
76 y=y*256;y+=buf[2]; in offtin()
77 y=y*256;y+=buf[1]; in offtin()
78 y=y*256;y+=buf[0]; in offtin()
80 if(buf[7]&0x80) y=-y; in offtin()
196 unsigned char buf[24]; in ApplyBSDiffPatchMem() local
199 if (FillBuffer(buf, 24, &cstream) != 0) { in ApplyBSDiffPatchMem()
203 ctrl[0] = offtin(buf); in ApplyBSDiffPatchMem()
204 ctrl[1] = offtin(buf+8); in ApplyBSDiffPatchMem()
205 ctrl[2] = offtin(buf+16); in ApplyBSDiffPatchMem()