Lines Matching defs:tibuf
67 static char *tibuf[2]; /* plan b buffers */
97 free(tibuf[0]);
98 free(tibuf[1]);
99 tibuf[0] = tibuf[1] = NULL;
435 tibuf[0] = malloc(BUFFERSIZE + 1);
436 if (tibuf[0] == NULL)
438 tibuf[1] = malloc(BUFFERSIZE + 1);
439 if (tibuf[1] == NULL)
442 p = tibuf[0] + maxlen * (i % lines_per_buf);
444 if (write(tifd, tibuf[0], BUFFERSIZE) < BUFFERSIZE)
449 if (write(tifd, tibuf[0], BUFFERSIZE) < BUFFERSIZE)
494 if (read(tifd, tibuf[whichbuf], BUFFERSIZE) < 0)
497 return tibuf[whichbuf] + (tireclen * offline);