Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp22 const size_t kBufLen = 11; // "-" + 8 digits + NUL + sentinel. in Check32BitBase16Itoa() local
23 FX_CHAR buf[kBufLen]; in Check32BitBase16Itoa()
24 buf[kBufLen - 1] = kSentinel; in Check32BitBase16Itoa()
27 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase16Itoa()
31 const size_t kBufLen = 13; // "-" + 10 digits + NUL + sentinel. in Check32BitBase10Itoa() local
32 FX_CHAR buf[kBufLen]; in Check32BitBase10Itoa()
33 buf[kBufLen - 1] = kSentinel; in Check32BitBase10Itoa()
36 EXPECT_EQ(kSentinel, buf[kBufLen - 1]); in Check32BitBase10Itoa()
40 const size_t kBufLen = 35; // "-" + 32 digits + NUL + sentinel. in Check32BitBase2Itoa() local
41 FX_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.cc80 static const size_t kBufLen = 64 + 8192*2; in ReadNext() local
81 std::unique_ptr<char[]> buf(new char[kBufLen]); in ReadNext()
85 if (fgets(buf.get(), kBufLen, file_) == nullptr) { in ReadNext()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc1941 static const size_t kBufLen = 32769; in DoExchange() local
1942 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufLen]); in DoExchange()
1943 OPENSSL_memset(buf.get(), 0x42, kBufLen); in DoExchange()
1948 if (len > kBufLen) { in DoExchange()