Lines Matching refs:buf
246 voidpf buf = opaque; /* just to make some compilers happy */
253 buf = farmalloc(bsize);
254 if (*(ush*)&buf != 0) return buf;
256 buf = farmalloc(bsize + 16L);
258 if (buf == NULL || next_ptr >= MAX_PTR) return NULL;
259 table[next_ptr].org_ptr = buf;
262 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
263 *(ush*)&buf = 0;
264 table[next_ptr++].new_ptr = buf;
265 return buf;