/external/cronet/base/i18n/ |
D | string_search.cc | 17 const std::u16string& find_this, in FixedPatternStringSearch() argument 19 : find_this_(find_this) { in FixedPatternStringSearch() 84 const std::u16string& find_this) in FixedPatternStringSearchIgnoringCaseAndAccents() argument 85 : base_search_(find_this, /*case_sensitive=*/false) {} in FixedPatternStringSearchIgnoringCaseAndAccents() 95 bool StringSearchIgnoringCaseAndAccents(const std::u16string& find_this, in StringSearchIgnoringCaseAndAccents() argument 99 return FixedPatternStringSearchIgnoringCaseAndAccents(find_this).Search( in StringSearchIgnoringCaseAndAccents() 103 bool StringSearch(const std::u16string& find_this, in StringSearch() argument 109 return FixedPatternStringSearch(find_this, case_sensitive) in StringSearch() 113 RepeatingStringSearch::RepeatingStringSearch(const std::u16string& find_this, in RepeatingStringSearch() argument 116 : find_this_(find_this), in_this_(in_this) { in RepeatingStringSearch()
|
D | string_search_unittest.cc | 20 #define EXPECT_MATCH_IGNORE_CASE(find_this, in_this, ex_start, ex_len) \ argument 24 EXPECT_TRUE(StringSearchIgnoringCaseAndAccents(find_this, in_this, &index, \ 31 StringSearch(find_this, in_this, &index, &length, false, true)); \ 36 #define EXPECT_MATCH_SENSITIVE(find_this, in_this, ex_start, ex_len) \ argument 41 StringSearch(find_this, in_this, &index, &length, true, true)); \ 46 #define EXPECT_MATCH_IGNORE_CASE_BACKWARDS(find_this, in_this, ex_start, \ argument 52 StringSearch(find_this, in_this, &index, &length, false, false)); \ 57 #define EXPECT_MATCH_SENSITIVE_BACKWARDS(find_this, in_this, ex_start, ex_len) \ argument 62 StringSearch(find_this, in_this, &index, &length, true, false)); \ 67 #define EXPECT_MISS_IGNORE_CASE(find_this, in_this) \ argument [all …]
|
D | string_search.h | 28 bool StringSearchIgnoringCaseAndAccents(const std::u16string& find_this, 44 bool StringSearch(const std::u16string& find_this, 56 explicit FixedPatternStringSearch(const std::u16string& find_this, 79 const std::u16string& find_this); 96 RepeatingStringSearch(const std::u16string& find_this,
|
/external/libchrome/base/i18n/ |
D | string_search.cc | 16 FixedPatternStringSearchIgnoringCaseAndAccents(const string16& find_this) in FixedPatternStringSearchIgnoringCaseAndAccents() argument 17 : find_this_(find_this) { in FixedPatternStringSearchIgnoringCaseAndAccents() 72 bool StringSearchIgnoringCaseAndAccents(const string16& find_this, in StringSearchIgnoringCaseAndAccents() argument 76 return FixedPatternStringSearchIgnoringCaseAndAccents(find_this).Search( in StringSearchIgnoringCaseAndAccents()
|
D | string_search.h | 26 bool StringSearchIgnoringCaseAndAccents(const string16& find_this, 37 const string16& find_this);
|
/external/cronet/base/strings/ |
D | string_util.cc | 321 StringPiece16 find_this, in ReplaceFirstSubstringAfterOffset() argument 324 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceFirstSubstringAfterOffset() 330 StringPiece find_this, in ReplaceFirstSubstringAfterOffset() argument 333 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceFirstSubstringAfterOffset() 339 StringPiece16 find_this, in ReplaceSubstringsAfterOffset() argument 342 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceSubstringsAfterOffset() 348 StringPiece find_this, in ReplaceSubstringsAfterOffset() argument 351 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceSubstringsAfterOffset()
|
D | string_util_win.cc | 94 WStringPiece find_this, in ReplaceFirstSubstringAfterOffset() argument 97 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceFirstSubstringAfterOffset() 103 WStringPiece find_this, in ReplaceSubstringsAfterOffset() argument 106 str, start_offset, internal::MakeSubstringMatcher(find_this), in ReplaceSubstringsAfterOffset()
|
D | string_util_impl_helpers.h | 256 BasicStringPiece<CharT> find_this; member 259 return input.find(find_this.data(), pos, find_this.length()); in Find() 261 size_t MatchSize() { return find_this.length(); } in MatchSize() 266 auto MakeSubstringMatcher(T find_this) { in MakeSubstringMatcher() argument 267 return SubstringMatcher<CharT>{find_this}; in MakeSubstringMatcher()
|
D | string_util.h | 479 StringPiece16 find_this, 484 StringPiece find_this, 495 StringPiece16 find_this, 500 StringPiece find_this,
|
D | string_util_win.h | 174 WStringPiece find_this, 179 WStringPiece find_this,
|
D | string_util_unittest.cc | 711 StringPiece find_this; in TEST() member 750 ASCIIToUTF16(scenario.find_this), in TEST() 760 scenario.find_this, scenario.replace_with); in TEST() 771 scenario.find_this, scenario.replace_with); in TEST() 780 const char* find_this; in TEST() member 800 ASCIIToUTF16(i.find_this), in TEST()
|
/external/libchrome/base/strings/ |
D | string_util.cc | 698 BasicStringPiece<StringType> find_this; member 701 return input.find(find_this.data(), pos, find_this.length()); in Find() 703 size_t MatchSize() { return find_this.length(); } in MatchSize() 884 StringPiece16 find_this, in ReplaceFirstSubstringAfterOffset() argument 887 SubstringMatcher<string16>{find_this}, in ReplaceFirstSubstringAfterOffset() 893 StringPiece find_this, in ReplaceFirstSubstringAfterOffset() argument 896 SubstringMatcher<std::string>{find_this}, in ReplaceFirstSubstringAfterOffset() 902 StringPiece16 find_this, in ReplaceSubstringsAfterOffset() argument 905 SubstringMatcher<string16>{find_this}, in ReplaceSubstringsAfterOffset() 911 StringPiece find_this, in ReplaceSubstringsAfterOffset() argument [all …]
|
D | string_util.h | 381 StringPiece16 find_this, 386 StringPiece find_this, 398 StringPiece16 find_this, 403 StringPiece find_this,
|
D | string_util_unittest.cc | 590 StringPiece find_this; in TEST() member 629 ASCIIToUTF16(scenario.find_this), in TEST() 639 scenario.find_this, scenario.replace_with); in TEST() 650 scenario.find_this, scenario.replace_with); in TEST() 659 const char* find_this; in TEST() member 679 ASCIIToUTF16(cases[i].find_this), in TEST()
|