Lines Matching refs:search_for
590 BasicStringPiece<Str> search_for, in StartsWithT() argument
592 if (search_for.size() > str.size()) in StartsWithT()
595 BasicStringPiece<Str> source = str.substr(0, search_for.size()); in StartsWithT()
599 return source == search_for; in StartsWithT()
603 search_for.begin(), search_for.end(), in StartsWithT()
614 StringPiece search_for, in StartsWith() argument
616 return StartsWithT<std::string>(str, search_for, case_sensitivity); in StartsWith()
620 StringPiece16 search_for, in StartsWith() argument
622 return StartsWithT<string16>(str, search_for, case_sensitivity); in StartsWith()
627 BasicStringPiece<Str> search_for, in EndsWithT() argument
629 if (search_for.size() > str.size()) in EndsWithT()
632 BasicStringPiece<Str> source = str.substr(str.size() - search_for.size(), in EndsWithT()
633 search_for.size()); in EndsWithT()
637 return source == search_for; in EndsWithT()
642 search_for.begin(), in EndsWithT()
652 StringPiece search_for, in EndsWith() argument
654 return EndsWithT<std::string>(str, search_for, case_sensitivity); in EndsWith()
658 StringPiece16 search_for, in EndsWith() argument
660 return EndsWithT<string16>(str, search_for, case_sensitivity); in EndsWith()