Lines Matching refs:kSSizeMax
81 const size_t kSSizeMax = kSSizeMaxConst; variable
90 static size_t kSSizeMax = kSSizeMaxConst; variable
95 kSSizeMax = max; in SetSafeSPrintfSSizeMaxForTest()
99 return kSSizeMax; in GetSafeSPrintfSSizeMaxForTest()
125 DEBUG_CHECK(size <= kSSizeMax); in Buffer()
142 return count_ == static_cast<size_t>(kSSizeMax - 1); in OutOfAddressableSpace()
150 DEBUG_CHECK(count_ < kSSizeMax); in GetCount()
180 DEBUG_CHECK(padding <= kSSizeMax); in Pad()
235 DEBUG_CHECK(inc <= kSSizeMax - 1); in IncrementCount()
236 if (count_ > kSSizeMax - 1 - inc) { in IncrementCount()
237 count_ = kSSizeMax - 1; in IncrementCount()
286 DEBUG_CHECK(padding <= kSSizeMax); in IToASCII()
438 } else if (sz > kSSizeMax) { in SafeSNPrintf()
439 sz = kSSizeMax; in SafeSNPrintf()
463 const size_t max_padding = kSSizeMax - 1; in SafeSNPrintf()
664 } else if (sz > kSSizeMax) { in SafeSNPrintf()
665 sz = kSSizeMax; in SafeSNPrintf()