Home
last modified time | relevance | path

Searched refs:find_this (Results 1 – 14 of 14) sorted by relevance

/external/cronet/base/i18n/
Dstring_search.cc17 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()
Dstring_search_unittest.cc20 #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 …]
Dstring_search.h28 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/
Dstring_search.cc16 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()
Dstring_search.h26 bool StringSearchIgnoringCaseAndAccents(const string16& find_this,
37 const string16& find_this);
/external/cronet/base/strings/
Dstring_util.cc321 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()
Dstring_util_win.cc94 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()
Dstring_util_impl_helpers.h256 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()
Dstring_util.h479 StringPiece16 find_this,
484 StringPiece find_this,
495 StringPiece16 find_this,
500 StringPiece find_this,
Dstring_util_win.h174 WStringPiece find_this,
179 WStringPiece find_this,
Dstring_util_unittest.cc711 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/
Dstring_util.cc698 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 …]
Dstring_util.h381 StringPiece16 find_this,
386 StringPiece find_this,
398 StringPiece16 find_this,
403 StringPiece find_this,
Dstring_util_unittest.cc590 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()