Searched refs:kSSizeMax (Results 1 – 4 of 4) sorted by relevance
81 const size_t kSSizeMax = kSSizeMaxConst; variable90 static size_t kSSizeMax = kSSizeMaxConst; variable95 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()[all …]
447 const size_t kSSizeMax = std::numeric_limits<ssize_t>::max(); in PrintLongString() local449 const size_t kSSizeMax = internal::GetSafeSPrintfSSizeMaxForTest(); in PrintLongString() local453 EXPECT_EQ(std::string(ref).substr(0, kSSizeMax-1), std::string(tmp.get())); in PrintLongString()
82 const size_t kSSizeMax = kSSizeMaxConst; variable91 static size_t kSSizeMax = kSSizeMaxConst; variable96 kSSizeMax = max; in SetSafeSPrintfSSizeMaxForTest()100 return kSSizeMax; in GetSafeSPrintfSSizeMaxForTest()126 DEBUG_CHECK(size <= kSSizeMax); in Buffer()146 return count_ == static_cast<size_t>(kSSizeMax - 1); in OutOfAddressableSpace()154 DEBUG_CHECK(count_ < kSSizeMax); in GetCount()184 DEBUG_CHECK(padding <= kSSizeMax); in Pad()244 DEBUG_CHECK(inc <= kSSizeMax - 1); in IncrementCount()245 if (count_ > kSSizeMax - 1 - inc) { in IncrementCount()[all …]
448 const size_t kSSizeMax = std::numeric_limits<ssize_t>::max(); in PrintLongString() local450 const size_t kSSizeMax = internal::GetSafeSPrintfSSizeMaxForTest(); in PrintLongString() local454 EXPECT_EQ(std::string(ref).substr(0, kSSizeMax-1), std::string(tmp.get())); in PrintLongString()