Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp21 const size_t kBufLen = 11; // "-" + 8 digits + NUL + sentinel. in Check32BitBase16Itoa() local
22 char buf[kBufLen]; in Check32BitBase16Itoa()
23 buf[kBufLen - 1] = kSentinel; in Check32BitBase16Itoa()
26 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase16Itoa()
30 const size_t kBufLen = 13; // "-" + 10 digits + NUL + sentinel. in Check32BitBase10Itoa() local
31 char buf[kBufLen]; in Check32BitBase10Itoa()
32 buf[kBufLen - 1] = kSentinel; in Check32BitBase10Itoa()
35 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase10Itoa()
39 const size_t kBufLen = 35; // "-" + 32 digits + NUL + sentinel. in Check32BitBase2Itoa() local
40 char buf[kBufLen]; in Check32BitBase2Itoa()
[all …]
/external/libchrome/base/strings/
Dstringprintf_unittest.cc141 const int kBufLen = kStringUtilBufLen + 1 + 1; in TEST() local
142 char src[kBufLen]; in TEST()
143 for (int i = 0; i < kBufLen - 1; ++i) in TEST()
145 src[kBufLen - 1] = 0; in TEST()
/external/boringssl/src/crypto/test/
Dfile_test.cc97 static const size_t kBufLen = 8192 * 4; in ReadNext() local
98 std::unique_ptr<char[]> buf(new char[kBufLen]); in ReadNext()
105 switch (reader_->ReadLine(buf.get(), kBufLen)) { in ReadNext()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc890 static const size_t kBufLen = 32769; in DoExchange() local
891 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufLen]); in DoExchange()
892 OPENSSL_memset(buf.get(), 0x42, kBufLen); in DoExchange()
897 if (len > kBufLen) { in DoExchange()