Searched refs:padto (Results 1 – 2 of 2) sorted by relevance
/external/toybox/lib/ |
D | linestack.c | 148 int draw_trim(char *str, int padto, int width) in draw_trim() argument 150 int apad = abs(padto), len = utf8len(str); in draw_trim() 152 if (padto<0 && len>width) str += utf8skip(str, len-width); in draw_trim() 156 if (padto>0 && apad>len) printf("%*s", apad-len, ""); in draw_trim() 158 if (padto<0 && apad>len) printf("%*s", apad-len, ""); in draw_trim()
|
D | lib.h | 226 int draw_trim(char *str, int padto, int width);
|