Searched refs:spaces (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | vsprintf.c | 550 static void move_right(char *buf, char *end, unsigned len, unsigned spaces) in move_right() argument 556 if (size <= spaces) { in move_right() 561 if (len > size - spaces) in move_right() 562 len = size - spaces; in move_right() 563 memmove(buf + spaces, buf, len); in move_right() 565 memset(buf, ' ', spaces); in move_right() 579 unsigned spaces; in widen_string() local 584 spaces = spec.field_width - n; in widen_string() 586 move_right(buf - n, end, n, spaces); in widen_string() 587 return buf + spaces; in widen_string() [all …]
|