Home
last modified time | relevance | path

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

/third_party/json/tests/thirdparty/Fuzzer/test/
DCustomCrossOverTest.cpp50 size_t Len1 = R() % (Size1 - Offset1); in LLVMFuzzerCustomCrossOver() local
53 size_t Size = Len1 + Len2 + SeparatorLen; in LLVMFuzzerCustomCrossOver()
58 memcpy(Out, Data1 + Offset1, Len1); in LLVMFuzzerCustomCrossOver()
59 memcpy(Out + Len1, Separator, SeparatorLen); in LLVMFuzzerCustomCrossOver()
60 memcpy(Out + Len1 + SeparatorLen, Data2 + Offset2, Len2); in LLVMFuzzerCustomCrossOver()
62 return Len1 + Len2 + SeparatorLen; in LLVMFuzzerCustomCrossOver()
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerTraceState.cpp280 size_t Len1 = fuzzer::InternalStrnlen(s1, n); in __sanitizer_weak_hook_strncmp() local
282 n = std::min(n, Len1); in __sanitizer_weak_hook_strncmp()
294 size_t Len1 = strlen(s1); in __sanitizer_weak_hook_strcmp() local
296 size_t N = std::min(Len1, Len2); in __sanitizer_weak_hook_strcmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp435 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrCmp() local
436 if (Len1) in optimizeStrCmp()
437 annotateDereferenceableBytes(CI, 0, Len1); in optimizeStrCmp()
442 if (Len1 && Len2) { in optimizeStrCmp()
445 std::min(Len1, Len2)), in optimizeStrCmp()
457 if (canTransformToMemCmp(CI, Str2P, Len1, DL)) in optimizeStrCmp()
460 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrCmp()
509 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrNCmp() local
510 if (Len1) in optimizeStrNCmp()
511 annotateDereferenceableBytes(CI, 0, Len1); in optimizeStrNCmp()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp3785 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH() local
3786 if (Len1 == 0) return 0; in GetStringLengthH()
3789 if (Len1 == ~0ULL) return Len2; in GetStringLengthH()
3790 if (Len2 == ~0ULL) return Len1; in GetStringLengthH()
3791 if (Len1 != Len2) return 0; in GetStringLengthH()
3792 return Len1; in GetStringLengthH()