Lines Matching +defs:current +defs:buffer
384 * buffer from temporary buffer
395 if (bp_save != 0) { /* there is a partly filled input buffer left */
402 * this buffer */
487 * FUNCTION: Writes tabs and spaces to move the current column up to the desired
492 * PARAMETERS: current integer The current column target
495 * RETURNS: Integer value of the new column. (If current >= target, no action is
496 * taken, and current is returned.
508 pad_output(int current, int target)
516 if (current >= target)
517 return (current); /* line is already long enough */
518 curr = current;
536 * FUNCTION: Find out where printing of a given string will leave the current
539 * ALGORITHM: Run thru input string and add appropriate values to current
542 * RETURNS: Integer value of position after printing "buffer" starting in column
543 * "current".
549 count_spaces(int current, char *buffer)
552 * printing the text in buffer starting at column "current"
555 char *buf; /* used to look thru buffer */
556 int cur; /* current character counter */
558 cur = current;
560 for (buf = buffer; *buf != '\0'; ++buf) {