Home
last modified time | relevance | path

Searched refs:kMaxBufferSize (Results 1 – 5 of 5) sorted by relevance

/external/puffin/src/
Dfuzzer_puffpatch.cc42 const size_t kMaxBufferSize = 1024; // 1Kb in TestExtentsArrayForFuzzer() local
44 if (ext.length > kMaxBufferSize) { in TestExtentsArrayForFuzzer()
/external/webrtc/common_audio/
Dring_buffer_unittest.cc55 const int kMaxBufferSize = 1000; in RandomStressTest() local
62 const int buffer_size = std::max(rand() % kMaxBufferSize, 1); // NOLINT in RandomStressTest()
/external/oss-fuzz/projects/libpng-proto/
Dlibpng_transforms_fuzzer.cc117 const size_t kMaxBufferSize = 64 << 20; in LLVMFuzzerTestOneInput() local
120 if (image_size <= kMaxBufferSize) { in LLVMFuzzerTestOneInput()
/external/webrtc/modules/video_coding/
Dframe_buffer2_unittest.cc617 const int kMaxBufferSize = 600; in TEST_F() local
619 for (int i = 1; i <= kMaxBufferSize; ++i) in TEST_F()
624 EXPECT_EQ(kMaxBufferSize + 1, in TEST_F()
625 InsertFrame(kMaxBufferSize + 1, 0, (kMaxBufferSize + 1) * 1000, in TEST_F()
628 CheckFrame(1, kMaxBufferSize + 1, 0); in TEST_F()
/external/angle/util/
Dshader_utils.cpp21 constexpr uint32_t kMaxBufferSize = 2000; in ReadEntireFile() local
22 char buffer[kMaxBufferSize] = {}; in ReadEntireFile()
23 if (!angle::ReadEntireFileToString(filePath.c_str(), buffer, kMaxBufferSize) || in ReadEntireFile()