Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance
258 static std::vector<size_t> FindAll(const std::string& haystack, const char* needle) { in FindAll() argument262 size_t pos = haystack.find(needle, start); in FindAll()268 } while (start < haystack.size()); in FindAll()312 std::string haystack = base.substr(summary_pos); in TEST_F() local314 std::vector<size_t> strCounts = FindAll(haystack, "java.lang.String"); in TEST_F()315 std::vector<size_t> b1Counts = FindAll(haystack, "byte[] (1 elements)"); in TEST_F()316 std::vector<size_t> b2Counts = FindAll(haystack, "byte[] (2 elements)"); in TEST_F()317 std::vector<size_t> cCounts = FindAll(haystack, "char[]"); in TEST_F()
1428 auto has_input = [](HInstruction* haystack, HInstruction* needle) { in Merge() argument1430 for (size_t input_count = 0; input_count < haystack->InputCount(); ++input_count) { in Merge()1431 if (haystack->InputAt(input_count) == needle) { in Merge()