Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/test/
DCustomCrossOverTest.cpp44 size_t Len1 = R() % (Size1 - Offset1); in LLVMFuzzerCustomCrossOver() local
47 size_t Size = Len1 + Len2 + SeparatorLen; in LLVMFuzzerCustomCrossOver()
52 memcpy(Out, Data1 + Offset1, Len1); in LLVMFuzzerCustomCrossOver()
53 memcpy(Out + Len1, Separator, SeparatorLen); in LLVMFuzzerCustomCrossOver()
54 memcpy(Out + Len1 + SeparatorLen, Data2 + Offset2, Len2); in LLVMFuzzerCustomCrossOver()
56 return Len1 + Len2 + SeparatorLen; in LLVMFuzzerCustomCrossOver()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp558 size_t Len1 = strlen(s1); in dfsan_weak_hook_strcmp() local
560 size_t N = std::min(Len1, Len2); in dfsan_weak_hook_strcmp()
562 dfsan_label L1 = dfsan_read_label(s1, Len1); in dfsan_weak_hook_strcmp()
587 size_t Len1 = fuzzer::InternalStrnlen(s1, n); in __sanitizer_weak_hook_strncmp() local
589 n = std::min(n, Len1); in __sanitizer_weak_hook_strncmp()
600 size_t Len1 = strlen(s1); in __sanitizer_weak_hook_strcmp() local
602 size_t N = std::min(Len1, Len2); in __sanitizer_weak_hook_strcmp()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp1660 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs); in GetStringLengthH() local
1661 if (Len1 == 0) return 0; in GetStringLengthH()
1664 if (Len1 == ~0ULL) return Len2; in GetStringLengthH()
1665 if (Len2 == ~0ULL) return Len1; in GetStringLengthH()
1666 if (Len1 != Len2) return 0; in GetStringLengthH()
1667 return Len1; in GetStringLengthH()
/external/llvm/lib/Analysis/
DValueTracking.cpp2918 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs); in GetStringLengthH() local
2919 if (Len1 == 0) return 0; in GetStringLengthH()
2922 if (Len1 == ~0ULL) return Len2; in GetStringLengthH()
2923 if (Len2 == ~0ULL) return Len1; in GetStringLengthH()
2924 if (Len1 != Len2) return 0; in GetStringLengthH()
2925 return Len1; in GetStringLengthH()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp354 uint64_t Len1 = GetStringLength(Str1P); in CallOptimizer() local
356 if (Len1 && Len2) { in CallOptimizer()
362 std::min(Len1, Len2)), B, TD); in CallOptimizer()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp270 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrCmp() local
272 if (Len1 && Len2) { in optimizeStrCmp()
275 std::min(Len1, Len2)), in optimizeStrCmp()