Lines Matching defs:const
47 string UnicodeStringToUtf8String(const UnicodeString& source) {
54 UnicodeString Utf8StringToUnicodeString(const string& source) {
55 // Note that we don't use icu::StringPiece(const string&).
68 explicit IcuRegExpInput(const string& utf8_input)
74 IcuRegExpInput(const IcuRegExpInput&) = delete;
75 IcuRegExpInput& operator=(const IcuRegExpInput&) = delete;
79 virtual string ToString() const {
90 int position() const {
108 explicit IcuRegExp(const string& utf8_regexp) {
121 IcuRegExp(const IcuRegExp&) = delete;
122 IcuRegExp& operator=(const IcuRegExp&) = delete;
133 string* matched_string6) const {
138 IcuRegExpInput* const input = static_cast<IcuRegExpInput*>(input_string);
140 const scoped_ptr<RegexMatcher> matcher(
148 string* const matched_strings[] = {matched_string1, matched_string2,
155 const int group_index = static_cast<int>(i + 1);
167 bool Match(const string& input_string,
169 string* matched_string) const {
175 const scoped_ptr<RegexMatcher> matcher(
191 const string& replacement_string) const {
198 const scoped_ptr<RegexMatcher> matcher(
227 const string replaced_string = UnicodeStringToUtf8String(output);
236 RegExpInput* ICURegExpFactory::CreateInput(const string& utf8_input) const {
240 RegExp* ICURegExpFactory::CreateRegExp(const string& utf8_regexp) const {