Home
last modified time | relevance | path

Searched refs:PattLen (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilWindows.cpp186 size_t PattLen) { in SearchMemory() argument
191 if (!Data || !Patt || DataLen == 0 || PattLen == 0 || DataLen < PattLen) in SearchMemory()
194 if (PattLen == 1) in SearchMemory()
197 const char *End = Cdata + DataLen - PattLen + 1; in SearchMemory()
200 if (It[0] == Cpatt[0] && memcmp(It, Cpatt, PattLen) == 0) in SearchMemory()
DFuzzerUtilPosix.cpp171 size_t PattLen) { in SearchMemory() argument
172 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
DFuzzerUtilFuchsia.cpp532 size_t PattLen) { in SearchMemory() argument
533 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilWindows.cpp186 size_t PattLen) { in SearchMemory() argument
191 if (!Data || !Patt || DataLen == 0 || PattLen == 0 || DataLen < PattLen) in SearchMemory()
194 if (PattLen == 1) in SearchMemory()
197 const char *End = Cdata + DataLen - PattLen + 1; in SearchMemory()
200 if (It[0] == Cpatt[0] && memcmp(It, Cpatt, PattLen) == 0) in SearchMemory()
DFuzzerUtilPosix.cpp171 size_t PattLen) { in SearchMemory() argument
172 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
DFuzzerUtilFuchsia.cpp532 size_t PattLen) { in SearchMemory() argument
533 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()