Searched refs:utf8_string (Results 1 - 17 of 17) sorted by relevance

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

Completed in 499 milliseconds