Lines Matching refs:search_for
576 BasicStringPiece<Str> search_for, in StartsWithT() argument
578 if (search_for.size() > str.size()) in StartsWithT()
581 BasicStringPiece<Str> source = str.substr(0, search_for.size()); in StartsWithT()
585 return source == search_for; in StartsWithT()
589 search_for.begin(), search_for.end(), in StartsWithT()
600 StringPiece search_for, in StartsWith() argument
602 return StartsWithT<std::string>(str, search_for, case_sensitivity); in StartsWith()
606 StringPiece16 search_for, in StartsWith() argument
608 return StartsWithT<string16>(str, search_for, case_sensitivity); in StartsWith()
613 BasicStringPiece<Str> search_for, in EndsWithT() argument
615 if (search_for.size() > str.size()) in EndsWithT()
618 BasicStringPiece<Str> source = str.substr(str.size() - search_for.size(), in EndsWithT()
619 search_for.size()); in EndsWithT()
623 return source == search_for; in EndsWithT()
628 search_for.begin(), in EndsWithT()
638 StringPiece search_for, in EndsWith() argument
640 return EndsWithT<std::string>(str, search_for, case_sensitivity); in EndsWith()
644 StringPiece16 search_for, in EndsWith() argument
646 return EndsWithT<string16>(str, search_for, case_sensitivity); in EndsWith()