Lines Matching refs:spaces
547 static void move_right(char *buf, char *end, unsigned len, unsigned spaces) in move_right() argument
553 if (size <= spaces) { in move_right()
558 if (len > size - spaces) in move_right()
559 len = size - spaces; in move_right()
560 memmove(buf + spaces, buf, len); in move_right()
562 memset(buf, ' ', spaces); in move_right()
576 unsigned spaces; in widen_string() local
581 spaces = spec.field_width - n; in widen_string()
583 move_right(buf - n, end, n, spaces); in widen_string()
584 return buf + spaces; in widen_string()
586 while (spaces--) { in widen_string()