Home
last modified time | relevance | path

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

/system/chre/util/tests/
Dheap_test.cc27 const size_t MaxSize = 1000; in TEST() local
28 std::array<int, MaxSize> array; in TEST()
29 std::array<int, MaxSize> array_sorted; in TEST()
31 for (size_t i = 0; i < MaxSize; ++i) { in TEST()
37 for (size_t s = 1; s < MaxSize + 1; ++s) { in TEST()
68 const size_t MaxSize = 1000; in TEST() local
69 std::array<int, MaxSize> array; in TEST()
70 std::array<int, MaxSize> array_sorted; in TEST()
72 for (size_t i = 0; i < MaxSize; ++i) { in TEST()
77 for (size_t s = 1; s < MaxSize + 1; ++s) { in TEST()
/system/nfc/src/fuzzers/
Dfuzz_utils.cc42 size_t MaxSize) { in PackPackets() argument
45 for (auto it = Packets.cbegin(); MaxSize > 0 && it != Packets.cend(); ++it) { in PackPackets()
52 if (s > MaxSize - 1) { in PackPackets()
53 s = MaxSize - 1; in PackPackets()
56 MaxSize--; in PackPackets()
59 MaxSize -= s; in PackPackets()
69 size_t MaxSize, uint Seed) { in LLVMFuzzerCustomMutator() argument
99 Size = PackPackets(Packets, Data, MaxSize); in LLVMFuzzerCustomMutator()
/system/nfc/src/fuzzers/rw/
Dfuzz.h18 extern "C" size_t LLVMFuzzerMutate(uint8_t* Data, size_t Size, size_t MaxSize);
/system/nfc/src/fuzzers/inc/
Dfuzz_cmn.h35 extern "C" size_t LLVMFuzzerMutate(uint8_t* Data, size_t Size, size_t MaxSize);