Home
last modified time | relevance | path

Searched refs:utf8_string (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/components/query_parser/
Dsnippet.cc106 size_t AdvanceAndReturnUTF16Pos(const char* utf8_string, in AdvanceAndReturnUTF16Pos() argument
115 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char); in AdvanceAndReturnUTF16Pos()
188 const std::string& utf8_string, in ConvertMatchPositionsToWide() argument
193 const char* utf8_cstring = utf8_string.c_str(); in ConvertMatchPositionsToWide()
194 const int32_t utf8_length = static_cast<int32_t>(utf8_string.size()); in ConvertMatchPositionsToWide()
Dsnippet.h44 const std::string& utf8_string,
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_html_writer.cc210 std::string utf8_string; in Write() local
215 utf8_string = text; in Write()
216 ReplaceSubstringsAfterOffset(&utf8_string, 0, "\"", "&quot;"); in Write()
220 utf8_string = net::EscapeForHTML(text); in Write()
227 return Write(utf8_string); in Write()
/external/wpa_supplicant_8/src/crypto/
Dms_funcs.c25 static int utf8_to_ucs2(const u8 *utf8_string, size_t utf8_string_len, in utf8_to_ucs2() argument
32 u8 c = utf8_string[i]; in utf8_to_ucs2()
45 u8 c2 = utf8_string[++i]; in utf8_to_ucs2()
57 u8 c3 = utf8_string[++i]; in utf8_to_ucs2()
/external/pcre/dist/
Dpcrecpp_unittest.cc1186 const unsigned char utf8_string[] = { in main() local
1201 CHECK(re_test1.FullMatch(utf8_string)); in main()
1203 CHECK(re_test2.FullMatch(utf8_string)); in main()
1209 CHECK(re_test3.PartialMatch(utf8_string, &ss)); in main()
1212 CHECK(re_test4.PartialMatch(utf8_string, &ss)); in main()
1216 RE re_test5(utf8_string); in main()
1217 CHECK(re_test5.FullMatch(utf8_string)); in main()
1218 RE re_test6(utf8_string, pcrecpp::UTF8()); in main()
1219 CHECK(re_test6.FullMatch(utf8_string)); in main()
1223 CHECK(!re_test7.FullMatch(utf8_string)); in main()
[all …]
/external/chromium_org/third_party/re2/re2/testing/
Dre2_test.cc999 const char utf8_string[] = { in TEST() local
1014 CHECK(RE2::FullMatch(utf8_string, re_test1)); in TEST()
1016 CHECK(RE2::FullMatch(utf8_string, re_test2)); in TEST()
1022 CHECK(RE2::PartialMatch(utf8_string, re_test3, &s)); in TEST()
1025 CHECK(RE2::PartialMatch(utf8_string, re_test4, &s)); in TEST()
1029 RE2 re_test5(utf8_string, RE2::Latin1); in TEST()
1030 CHECK(RE2::FullMatch(utf8_string, re_test5)); in TEST()
1031 RE2 re_test6(utf8_string); in TEST()
1032 CHECK(RE2::FullMatch(utf8_string, re_test6)); in TEST()
1036 CHECK(!RE2::FullMatch(utf8_string, re_test7)); in TEST()
[all …]
/external/regex-re2/re2/testing/
Dre2_test.cc990 const char utf8_string[] = { in TEST() local
1005 CHECK(RE2::FullMatch(utf8_string, re_test1)); in TEST()
1007 CHECK(RE2::FullMatch(utf8_string, re_test2)); in TEST()
1013 CHECK(RE2::PartialMatch(utf8_string, re_test3, &s)); in TEST()
1016 CHECK(RE2::PartialMatch(utf8_string, re_test4, &s)); in TEST()
1020 RE2 re_test5(utf8_string, RE2::Latin1); in TEST()
1021 CHECK(RE2::FullMatch(utf8_string, re_test5)); in TEST()
1022 RE2 re_test6(utf8_string); in TEST()
1023 CHECK(RE2::FullMatch(utf8_string, re_test6)); in TEST()
1027 CHECK(!RE2::FullMatch(utf8_string, re_test7)); in TEST()
[all …]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
Dunicodetext.h448 inline UnicodeText UTF8ToUnicodeText(const string& utf8_string) { in UTF8ToUnicodeText() argument
449 return UTF8ToUnicodeText(utf8_string, true); in UTF8ToUnicodeText()
/external/chromium_org/ui/base/l10n/
Dl10n_util.cc690 std::string utf8_string = base::UTF16ToUTF8(format_string); in GetStringFUTF16() local
698 size_t pos = utf8_string.find(placeholder.c_str()); in GetStringFUTF16()
702 utf8_string; in GetStringFUTF16()
706 utf8_string; in GetStringFUTF16()
/external/chromium_org/v8/src/
Di18n.cc40 v8::String::Utf8Value utf8_string( in ExtractStringSetting() local
42 *setting = icu::UnicodeString::fromUTF8(*utf8_string); in ExtractStringSetting()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp1462 const char *utf8_string = "\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41\x41"; in Ticket10562() local
1463 UText *utf8Text = utext_openUTF8(NULL, utf8_string, -1, &status); in Ticket10562()
Dustrtest.cpp1897 std::string utf8_string((const char *)utf8, sizeof(utf8)); in TestUTF8() local
1898 UnicodeString from8b = UnicodeString::fromUTF8(utf8_string); in TestUTF8()
/external/chromium_org/third_party/icu/source/test/intltest/
Dustrtest.cpp1897 std::string utf8_string((const char *)utf8, sizeof(utf8)); in TestUTF8() local
1898 UnicodeString from8b = UnicodeString::fromUTF8(utf8_string); in TestUTF8()
/external/protobuf/src/google/protobuf/
Dunittest.proto471 optional string utf8_string = 6 [default = "\341\210\264"]; field
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dunittest.proto504 optional string utf8_string = 6 [default = "\341\210\264"]; field
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py472 self.assertEqual(u'\u1234', proto.utf8_string)
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py559 self.assertEqual(u'\u1234', proto.utf8_string)
/external/pcre/dist/doc/
Dpcre.txt9902 re.FullMatch(utf8_string);
9906 re.FullMatch(utf8_string);