Searched refs:spaces (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | vsprintf.c | 576 static void move_right(char *buf, char *end, unsigned len, unsigned spaces) in move_right() argument 582 if (size <= spaces) { in move_right() 587 if (len > size - spaces) in move_right() 588 len = size - spaces; in move_right() 589 memmove(buf + spaces, buf, len); in move_right() 591 memset(buf, ' ', spaces); in move_right() 605 unsigned spaces; in widen_string() local 610 spaces = spec.field_width - n; in widen_string() 612 move_right(buf - n, end, n, spaces); in widen_string() 613 return buf + spaces; in widen_string() [all …]
|