Home
last modified time | relevance | path

Searched refs:binary_search (Results 1 – 21 of 21) sorted by relevance

/external/stlport/test/unit/
Dbsearch_test.cpp35 CPPUNIT_ASSERT(binary_search(vector, vector + 100, 42)); in bsearch1()
44 CPPUNIT_ASSERT(binary_search(labels, labels + count, (const char *)"ff", str_compare)); in bsearch2()
/external/chromium/chrome/browser/sync/engine/
Dconflict_resolver.cc224 !binary_search(conflict_set->begin(), conflict_set->end(), parentid)) in AttemptToFixUnsyncedEntryInDeletedServerTree()
233 if (!binary_search(conflict_set->begin(), conflict_set->end(), id)) in AttemptToFixUnsyncedEntryInDeletedServerTree()
245 if (!binary_search(conflict_set->begin(), conflict_set->end(), id)) in AttemptToFixUnsyncedEntryInDeletedServerTree()
269 !binary_search(conflict_set->begin(), conflict_set->end(), parent_id)) { in AttemptToFixUpdateEntryInDeletedLocalTree()
292 if (!binary_search(conflict_set->begin(), conflict_set->end(), id)) { in AttemptToFixUpdateEntryInDeletedLocalTree()
319 if (!binary_search(conflict_set->begin(), conflict_set->end(), id)) { in AttemptToFixUpdateEntryInDeletedLocalTree()
/external/llvm/lib/Transforms/Instrumentation/
DOptimalEdgeProfiling.cpp151 if (!std::binary_search(MST.begin(), MST.end(), edge)) { in runOnModule()
174 if (!std::binary_search(MST.begin(), MST.end(), edge)) { in runOnModule()
185 if (!std::binary_search(MST.begin(), MST.end(), edge)) { in runOnModule()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h195 if (!std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I)) { in getExitingBlocks()
226 if (!std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I)) in getExitBlocks()
257 if (!std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I)) in getExitEdges()
446 if (std::binary_search(LoopBBs.begin(), LoopBBs.end(), *SI)) { in verifyLoop()
455 if (std::binary_search(LoopBBs.begin(), LoopBBs.end(), N)) in verifyLoop()
489 assert(std::binary_search(LoopBBs.begin(), LoopBBs.end(), *BI) && in verifyLoop()
/external/valgrind/tsan/
Ddense_multimap.h104 return binary_search(begin(), end(), t); in has()
Dts_util.h202 using STD::binary_search;
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp156 bool IsExitBlock = std::binary_search(ExitBlocks.begin(), in runOnLoop()
/external/chromium/chrome/browser/sync/sessions/
Dstatus_controller.cc173 return std::binary_search(proj.begin(), proj.end(), index); in CurrentCommitIdProjectionHasIndex()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp86 return std::binary_search(LoopBlocks.begin(), LoopBlocks.end(), B); in inLoop()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database.cc632 if (std::binary_search(restored.begin(), restored.end(), in ContainsBrowseUrl()
721 if (std::binary_search(csd_whitelist_.begin(), csd_whitelist_.end(), *it)) in ContainsCsdWhitelistedUrl()
1308 if (std::binary_search(new_csd_whitelist.begin(), new_csd_whitelist.end(), in LoadCsdWhitelist()
/external/icu4c/test/perf/collperf/
Dcollperf.cpp402 binary_search(i); in call()
407 void binary_search(int32_t random) { in binary_search() function in CmdBinSearch
/external/stlport/stlport/stl/
D_algo.h553 inline bool binary_search(_ForwardIter __first, _ForwardIter __last, in binary_search() function
564 inline bool binary_search(_ForwardIter __first, _ForwardIter __last, in binary_search() function
/external/llvm/lib/Analysis/
DLoopInfo.cpp261 if (std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I)) in getUniqueExitBlocks()
/external/webkit/Source/WebCore/platform/
DKURLGoogle.cpp55 using std::binary_search;
DKURL.cpp1942 if (!binary_search(blockedPortList, blockedPortListEnd, port)) in portAllowed()
/external/llvm/lib/CodeGen/
DLiveVariables.cpp795 if (std::binary_search(OpSuccBlocks.begin(), OpSuccBlocks.end(), in isLiveOut()
/external/chromium/net/socket/
Dssl_client_socket_mac.cc463 return binary_search(disabled_cipher_suites_.begin(), in operator ()()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable.cc957 return binary_search(ids_.begin(), ids_.end(), id); in ShouldConsider()
/external/clang/lib/Basic/
DTargets.cpp1044 if(std::binary_search(AvailableFeatures.begin(), AvailableFeatures.end(), in setFeatureEnabled()
/external/stlport/etc/
DChangeLog-5.17438 * _algo.c : relaxed type requirements for lower_bound, upper_bound, binary_search
/external/webkit/Source/WebCore/
DChangeLog-2007-10-1447144 - use binary_search instead of hash table; slightly better performance and
47148 Use binary_search.