Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp22 const size_t kBufLen = 11; // "-" + 8 digits + NUL + sentinel. in Check32BitBase16Itoa() local
23 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 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 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/rust/crates/quiche/deps/boringssl/src/crypto/test/
Dfile_test.cc98 static const size_t kBufLen = 8192 * 4; in ReadNext() local
99 std::unique_ptr<char[]> buf(new char[kBufLen]); in ReadNext()
106 switch (reader_->ReadLine(buf.get(), kBufLen)) { in ReadNext()
/external/boringssl/src/crypto/test/
Dfile_test.cc98 static const size_t kBufLen = 8192 * 4; in ReadNext() local
99 std::unique_ptr<char[]> buf(new char[kBufLen]); in ReadNext()
106 switch (reader_->ReadLine(buf.get(), kBufLen)) { in ReadNext()
/external/icing/icing/file/
Dfilesystem_test.cc95 const int kBufLen = 1024; in WriteJunk() local
96 int buf[kBufLen]; in WriteJunk()
97 for (int i = 0; i < kBufLen; ++i) { in WriteJunk()
100 const int kBufSize = kBufLen * sizeof(int); in WriteJunk()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dbssl_shim.cc955 static const size_t kBufLen = 32769; in DoExchange() local
956 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufLen]); in DoExchange()
957 OPENSSL_memset(buf.get(), 0x42, kBufLen); in DoExchange()
962 if (len > kBufLen) { in DoExchange()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc950 static const size_t kBufLen = 32769; in DoExchange() local
951 std::unique_ptr<uint8_t[]> buf(new uint8_t[kBufLen]); in DoExchange()
952 OPENSSL_memset(buf.get(), 0x42, kBufLen); in DoExchange()
957 if (len > kBufLen) { in DoExchange()