Home
last modified time | relevance | path

Searched refs:max_padding (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/base/strings/
Dsafe_sprintf.cc460 const size_t max_padding = kSSizeMax - 1; in SafeSNPrintf() local
461 if (padding > max_padding/10 || in SafeSNPrintf()
462 10*padding > max_padding - (ch - '0')) { in SafeSNPrintf()
463 DEBUG_CHECK(padding <= max_padding/10 && in SafeSNPrintf()
464 10*padding <= max_padding - (ch - '0')); in SafeSNPrintf()
468 padding = max_padding; in SafeSNPrintf()
477 if (padding > max_padding) { in SafeSNPrintf()
482 DEBUG_CHECK(padding <= max_padding); in SafeSNPrintf()