Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dreference_table_test.cc262 static std::vector<size_t> FindAll(const std::string& haystack, const char* needle) { in FindAll() argument
266 size_t pos = haystack.find(needle, start); in FindAll()
272 } while (start < haystack.size()); in FindAll()
319 std::string haystack = base.substr(summary_pos); in TEST_F() local
321 std::vector<size_t> strCounts = FindAll(haystack, "java.lang.String"); in TEST_F()
322 std::vector<size_t> b1Counts = FindAll(haystack, "byte[] (1 elements)"); in TEST_F()
323 std::vector<size_t> b2Counts = FindAll(haystack, "byte[] (2 elements)"); in TEST_F()
324 std::vector<size_t> cCounts = FindAll(haystack, "char[]"); in TEST_F()
/art/compiler/optimizing/
Dnodes.cc1469 auto has_input = [](HInstruction* haystack, HInstruction* needle) { in Merge() argument
1471 for (size_t input_count = 0; input_count < haystack->InputCount(); ++input_count) { in Merge()
1472 if (haystack->InputAt(input_count) == needle) { in Merge()