Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cpp228 TEST(SanitizerCommon, InternalLowerBound) { in TEST() argument
237 EXPECT_EQ(0u, InternalLowerBound(arr, 0, kSize, 0, UptrLess)); in TEST()
238 EXPECT_EQ(0u, InternalLowerBound(arr, 0, kSize, 1, UptrLess)); in TEST()
239 EXPECT_EQ(1u, InternalLowerBound(arr, 0, kSize, 2, UptrLess)); in TEST()
240 EXPECT_EQ(1u, InternalLowerBound(arr, 0, kSize, 3, UptrLess)); in TEST()
241 EXPECT_EQ(2u, InternalLowerBound(arr, 0, kSize, 4, UptrLess)); in TEST()
242 EXPECT_EQ(2u, InternalLowerBound(arr, 0, kSize, 5, UptrLess)); in TEST()
243 EXPECT_EQ(3u, InternalLowerBound(arr, 0, kSize, 6, UptrLess)); in TEST()
244 EXPECT_EQ(3u, InternalLowerBound(arr, 0, kSize, 7, UptrLess)); in TEST()
245 EXPECT_EQ(4u, InternalLowerBound(arr, 0, kSize, 8, UptrLess)); in TEST()
[all …]
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_common_fuchsia.cpp110 auto i = __sanitizer::InternalLowerBound(params->allocator_caches, 0, in LockStuffAndStopTheWorld()
Dlsan_common.cpp554 uptr i = InternalLowerBound(suspended_threads, 0, suspended_threads.size(), in ReportIfNotSuspended()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stackdepot.cpp149 InternalLowerBound(map_, 0, map_.size(), pair, IdDescPair::IdComparator); in Get()
Dsanitizer_common.h655 uptr InternalLowerBound(const Container &v, uptr first, uptr last, in InternalLowerBound() function