Lines Matching refs:padding
178 inline bool Pad(char pad, size_t padding, size_t len) { in Pad() argument
180 DEBUG_CHECK(padding <= kSSizeMax); in Pad()
181 for (; padding > len; --padding) { in Pad()
183 if (--padding) { in Pad()
184 IncrementCount(padding-len); in Pad()
223 char pad, size_t padding, const char* prefix);
279 char pad, size_t padding, const char* prefix) { in IToASCII() argument
286 DEBUG_CHECK(padding <= kSSizeMax); in IToASCII()
325 if (padding) { in IToASCII()
326 --padding; in IToASCII()
393 if (padding > 0) { in IToASCII()
394 --padding; in IToASCII()
404 IncrementCount(padding); in IToASCII()
405 padding = 0; in IToASCII()
408 } while (num || padding || (reverse_prefix > prefix)); in IToASCII()
445 size_t padding; in SafeSNPrintf() local
449 padding = 0; in SafeSNPrintf()
464 if (padding > max_padding/10 || in SafeSNPrintf()
465 10*padding > max_padding - (ch - '0')) { in SafeSNPrintf()
466 DEBUG_CHECK(padding <= max_padding/10 && in SafeSNPrintf()
467 10*padding <= max_padding - (ch - '0')); in SafeSNPrintf()
471 padding = max_padding; in SafeSNPrintf()
479 padding = 10*padding + ch - '0'; in SafeSNPrintf()
480 if (padding > max_padding) { in SafeSNPrintf()
485 DEBUG_CHECK(padding <= max_padding); in SafeSNPrintf()
511 buffer.Pad(' ', padding, 1); in SafeSNPrintf()
581 pad, padding, prefix); in SafeSNPrintf()
605 if (padding) { in SafeSNPrintf()
610 buffer.Pad(' ', padding, len); in SafeSNPrintf()