Home
last modified time | relevance | path

Searched refs:binary_search (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/transform/
H A Drenamer.cc1308 if (!std::binary_search( in Run()
1319 if (!std::binary_search( in Run()
1329 if (!std::binary_search( in Run()
/third_party/skia/tests/
H A DPathOpsCubicLineIntersectionIdeas.cpp54 static double binary_search(const SkDCubic& cubic, double step, const SkDPoint& pt, double t, in binary_search() function
221 double newT = binary_search(cubic, step, pt, t, &iters); in DEF_TEST()
269 double newT = binary_search(cubic, 0.1, pt, t, &iters);
/third_party/node/deps/v8/src/heap/
H A Dcode-object-registry.cc51 return (std::binary_search(code_object_registry_.begin(), in Contains()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DUnicodeCharRanges.h65 return std::binary_search(Ranges.begin(), Ranges.end(), C); in contains()
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Dfiles.rs242 /// match line_starts.binary_search(&byte_index) {
337 .binary_search(&byte_index) in line_index()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dcustom_files.rs139 .binary_search(&byte_index) in line_index()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsCCState.cpp34 return std::binary_search(std::begin(LibCalls), std::end(LibCalls), in isF128SoftLibCall()
H A DMips16ISelLowering.cpp430 if (std::binary_search(std::begin(HardFloatLibCalls), in getOpndList()
473 if (std::binary_search(std::begin(HardFloatLibCalls), in getOpndList()
H A DMips16HardFloat.cpp371 return std::binary_search(std::begin(IntrinsicInline), in isIntrinsicInline()
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerTracePC.cpp161 if (!std::binary_search(CoveredOffsets.begin(), CoveredOffsets.end(),
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dparse.cc602 return std::binary_search(specified_flags->begin(), specified_flags->end(), in WasPresentOnCommandLine()
/third_party/icu/icu4c/source/test/perf/collperf/
H A Dcollperf.cpp417 binary_search(i); in call()
422 void binary_search(int32_t random) { in binary_search() function in CmdBinSearch
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc642 std::binary_search(by_name_flat_.begin(), by_name_flat_.end(), in AddFile()
755 std::binary_search( in AddExtension()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-debug.cc228 if (std::binary_search(breakpoints.begin(), breakpoints.end(), offset)) { in DeadBreakpoint()
476 if (std::binary_search(remaining.begin(), remaining.end(), offset)) return; in RemoveBreakpoint()
501 if (!std::binary_search(remaining.begin(), remaining.end(), offset)) { in HasRemovedBreakpoints()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs9569 assert_eq!([1, 2, 3, 4, 5].binary_search(&5).ok(), Some(4)); in test_binary_search()
9570 assert_eq!([1, 2, 3, 4, 5].binary_search(&4).ok(), Some(3)); in test_binary_search()
9571 assert_eq!([1, 2, 3, 4, 5].binary_search(&3).ok(), Some(2)); in test_binary_search()
9572 assert_eq!([1, 2, 3, 4, 5].binary_search(&2).ok(), Some(1)); in test_binary_search()
9573 assert_eq!([1, 2, 3, 4, 5].binary_search(&1).ok(), Some(0)); in test_binary_search()
9575 assert_eq!([2, 4, 6, 8, 10].binary_search(&1).ok(), None); in test_binary_search()
9576 assert_eq!([2, 4, 6, 8, 10].binary_search(&5).ok(), None); in test_binary_search()
9577 assert_eq!([2, 4, 6, 8, 10].binary_search(&4).ok(), Some(1)); in test_binary_search()
9578 assert_eq!([2, 4, 6, 8, 10].binary_search(&10).ok(), Some(4)); in test_binary_search()
9580 assert_eq!([2, 4, 6, 8].binary_search( in test_binary_search()
42803 pub fn binary_search(&self, x: &T) -> Result<usize, usize> binary_search() functions
[all...]
/third_party/rust/crates/proc-macro2/src/
H A Dfallback.rs353 match self.lines.binary_search(&offset) { in offset_line_column()
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
H A Dcontainer.h1131 // Container-based version of the <algorithm> `std::binary_search()` function
1136 return std::binary_search(container_algorithm_internal::c_begin(sequence), in c_binary_search()
1145 return std::binary_search(container_algorithm_internal::c_begin(sequence), in c_binary_search()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dbtree.h715 : binary_search(k, comp); in lower_bound()
722 : binary_search(k, upper_compare).value; in upper_bound()
734 binary_search(const K &k, const Compare &comp) const { in binary_search() function in absl::container_internal::btree_node
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_cfg.cpp118 if (!std::binary_search(pred_ids.begin(), pred_ids.end(), inc_id)) { in ValidatePhi()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_cfg.cpp118 if (!std::binary_search(pred_ids.begin(), pred_ids.end(), inc_id)) { in ValidatePhi()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h242 return std::binary_search(Nodes.begin(), Nodes.begin() + NumHeaders, in isHeader()
/third_party/spirv-tools/source/val/
H A Dvalidate_cfg.cpp117 if (!std::binary_search(pred_ids.begin(), pred_ids.end(), inc_id)) { in ValidatePhi()
/third_party/node/deps/ada/
H A Dada.cpp9304 if (std::binary_search(std::begin(combining), std::end(combining),
9381 if (std::binary_search(std::begin(virama), std::end(virama),
9391 return std::binary_search(std::begin(L), std::end(L), code) ||
9392 std::binary_search(std::begin(D), std::end(D), code);
9395 return std::binary_search(std::begin(R), std::end(R), code) ||
9396 std::binary_search(std::begin(D), std::end(D), code);
9406 if (std::binary_search(std::begin(virama), std::end(virama),
/third_party/json/include/nlohmann/detail/input/
H A Dbinary_reader.hpp2244 && JSON_HEDLEY_UNLIKELY(std::binary_search(bjd_optimized_type_markers.begin(), bjd_optimized_type_markers.end(), result.second))) in get_ubjson_size_type()
/third_party/node/deps/v8/src/objects/
H A Dobjects-body-descriptors-inl.h744 std::binary_search(std::begin(kTaggedFieldOffsets), in IsValidSlot()

Completed in 108 milliseconds

12