Searched refs:lines_per_buf (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/gpatch-3/patch/
H A Dinp.c47 static LINENUM lines_per_buf; /* how many lines per buffer */ variable
384 lines_per_buf = tibufsize / maxlen;
391 char *p = tibuf[0] + maxlen * (line % lines_per_buf);
393 if (! (line % lines_per_buf)) /* new block */
420 if (line % lines_per_buf != 0)
444 LINENUM offline = line % lines_per_buf;
453 if (lseek (tifd, (off_t) (baseline/lines_per_buf * tibufsize),
/macosx-10.10/patch_cmds-17/patch/
H A Dinp.c58 static LINENUM lines_per_buf; /* how many lines per buffer */ variable
382 lines_per_buf = BUFFERSIZE / maxlen;
391 p = tibuf[0] + maxlen * (i % lines_per_buf);
392 if (i % lines_per_buf == 0) /* new block */
397 if (i % lines_per_buf != 0)
429 LINENUM offline = line % lines_per_buf;
439 if (lseek(tifd, (off_t) (baseline / lines_per_buf *

Completed in 114 milliseconds