HomeSort by relevance Sort by last modified time
    Searched refs:utf16 (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/chromium_org/base/strings/
latin1_string_conversions.cc 11 const char16* utf16) {
16 return string16(utf16, utf16 + length);
latin1_string_conversions.h 28 const char16* utf16);
utf_string_conversions.cc 88 std::wstring UTF16ToWide(const string16& utf16) {
89 return utf16;
116 std::wstring UTF16ToWide(const string16& utf16) {
118 UTF16ToWide(utf16.data(), utf16.length(), &ret);
124 // UTF16 <-> UTF8 --------------------------------------------------------------
146 std::string UTF16ToUTF8(const string16& utf16) {
150 UTF16ToUTF8(utf16.data(), utf16.length(), &ret);
169 std::string UTF16ToUTF8(const string16& utf16) {
    [all...]
utf_offset_string_conversions.cc 101 const base::StringPiece16& utf16,
106 std::string result = UTF16ToUTF8AndAdjustOffsets(utf16, &offsets);
113 const base::StringPiece16& utf16,
116 PrepareForUTF8Output(utf16.data(), utf16.length(), &result);
117 ConvertUnicode(utf16.data(), utf16.length(), &result, offsets_for_adjustment);
  /external/icu4c/samples/ucnv/
Makefile 20 CLEANFILES += *.out data40.utf16 data41.utf16
  /external/chromium/net/proxy/
proxy_resolver_script_data.cc 22 const string16& utf16) {
23 return new ProxyResolverScriptData(TYPE_SCRIPT_CONTENTS, GURL(), utf16);
38 const string16& ProxyResolverScriptData::utf16() const { function in class:net::ProxyResolverScriptData
50 const string16& utf16)
53 utf16_(utf16) {
proxy_resolver_script_data.h 34 // Creates a script data given the UTF16 bytes of the content.
36 const string16& utf16);
48 // Returns the contents of the script as UTF16.
50 const string16& utf16() const;
60 const string16& utf16);
  /external/chromium_org/net/proxy/
proxy_resolver_script_data.cc 22 const base::string16& utf16) {
23 return new ProxyResolverScriptData(TYPE_SCRIPT_CONTENTS, GURL(), utf16);
39 const base::string16& ProxyResolverScriptData::utf16() const { function in class:net::ProxyResolverScriptData
56 return utf16() == other->utf16();
68 const base::string16& utf16)
71 utf16_(utf16) {
proxy_resolver_script_data.h 34 // Creates a script data given the UTF16 bytes of the content.
36 const base::string16& utf16);
48 // Returns the contents of the script as UTF16.
50 const base::string16& utf16() const;
63 const base::string16& utf16);
  /external/chromium_org/ppapi/tests/
test_char_set.cc 39 std::vector<uint16_t> utf16; local
40 utf16.push_back(0);
44 instance_->pp_instance(), &utf16[0], 0, "latin1",
53 utf16 = UTF8ToUTF16(utf8source);
55 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
61 utf16 = UTF8ToUTF16("h\xe4\xbd\xa0i");
66 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
73 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size())
113 std::vector<uint16_t> utf16; local
    [all...]
  /dalvik/libdex/
DexUtf.cpp 69 u2 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); local
72 switch (utf16 >> 8) {
75 return (utf16 > 0x00a0);
85 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr);
86 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff);
98 switch (utf16 & 0xfff8) {
  /external/chromium_org/ppapi/shared_impl/private/
ppb_char_set_shared.h 19 static char* UTF16ToCharSetDeprecated(const uint16_t* utf16,
24 static PP_Bool UTF16ToCharSet(const uint16_t utf16[],
ppb_char_set_shared.cc 62 const uint16_t* utf16,
73 UTF16ToCharSet(utf16, utf16_len, output_char_set, on_error, NULL,
81 PP_Bool result = UTF16ToCharSet(utf16, utf16_len, output_char_set, on_error,
94 const uint16_t utf16[],
100 if (!utf16 || !output_char_set || !output_length) {
156 reinterpret_cast<const UChar*>(utf16), utf16_len, &status));
  /external/chromium/base/i18n/
icu_string_conversions.cc 153 bool UTF16ToCodepage(const string16& utf16,
164 return ConvertFromUTF16(converter, utf16.c_str(),
165 static_cast<int>(utf16.length()), on_error, encoded);
171 string16* utf16) {
172 utf16->clear();
190 int actual_size = ucnv_toUChars(converter, WriteInto(utf16, uchar_max_length),
195 utf16->clear(); // Make sure the output is empty on error.
199 utf16->resize(actual_size);
223 std::vector<UChar> utf16(wide.length() * 2 + 1);
224 u_strFromUTF32(&utf16[0], utf16.size(), &utf16_len
274 string16 utf16; local
    [all...]
icu_string_conversions.h 46 bool UTF16ToCodepage(const string16& utf16,
53 string16* utf16);
  /external/chromium_org/base/i18n/
icu_string_conversions.cc 149 bool UTF16ToCodepage(const string16& utf16,
160 return ConvertFromUTF16(converter, utf16.c_str(),
161 static_cast<int>(utf16.length()), on_error, encoded);
167 string16* utf16) {
168 utf16->clear();
192 utf16->clear(); // Make sure the output is empty on error.
196 utf16->assign(buffer.get(), actual_size);
220 std::vector<UChar> utf16(wide.length() * 2 + 1);
221 u_strFromUTF32(&utf16[0], utf16.size(), &utf16_len
272 string16 utf16; local
    [all...]
icu_string_conversions.h 41 BASE_I18N_EXPORT bool UTF16ToCodepage(const string16& utf16,
48 string16* utf16);
  /external/chromium_org/ppapi/thunk/
ppb_char_set_thunk.cc 16 const uint16_t* utf16, uint32_t utf16_len,
27 utf16, utf16_len, output_char_set, on_error, output_length);
30 PP_Bool UTF16ToCharSet(const uint16_t utf16[],
47 utf16, utf16_len, output_char_set, on_error,
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-icu.cc 189 UChar utf16[4], normalized[5]; local
196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err);
198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err);
202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
248 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local
259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err);
263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err)
318 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local
    [all...]
  /external/harfbuzz_ng/src/
hb-icu.cc 189 UChar utf16[4], normalized[5]; local
196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err);
198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err);
202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
248 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local
259 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err);
263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err)
318 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
speedtest16.c 5 ** It converts each SQL statement into UTF16 and submits it to SQLite
6 ** for evaluation. A new UTF16 database is created at the beginning of
67 void *utf16; local
75 utf16 = asciiToUtf16le(zSql);
77 rc = sqlite3_prepare16_v2(db, utf16, -1, &pStmt, &stmtTail);
95 free(utf16);
99 void *utf16; local
113 "Runs SQL-SCRIPT as UTF16 against a UTF16 database\n",
127 utf16 = asciiToUtf16le(argv[1])
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkUtils.h 73 int SkUTF16_CountUnichars(const uint16_t utf16[]);
74 int SkUTF16_CountUnichars(const uint16_t utf16[],
80 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL);
82 size_t SkUTF16_ToUTF8(const uint16_t utf16[], int numberOf16BitValues,
  /external/skia/include/core/
SkUtils.h 73 int SkUTF16_CountUnichars(const uint16_t utf16[]);
74 int SkUTF16_CountUnichars(const uint16_t utf16[],
80 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL);
82 size_t SkUTF16_ToUTF8(const uint16_t utf16[], int numberOf16BitValues,
  /external/chromium/base/
utf_offset_string_conversions.cc 142 std::wstring UTF16ToWideAndAdjustOffset(const string16& utf16,
144 if (offset_for_adjustment && (*offset_for_adjustment >= utf16.length()))
146 return utf16;
150 const string16& utf16,
155 LimitOffset<std::wstring>(utf16.length()));
157 return utf16;
190 std::wstring UTF16ToWideAndAdjustOffset(const string16& utf16,
196 UTF16ToWideAndAdjustOffsets(utf16.data(), utf16.length(), &result,
204 const string16& utf16,
    [all...]
utf_string_conversions.cc 91 std::wstring UTF16ToWide(const string16& utf16) {
92 return utf16;
119 std::wstring UTF16ToWide(const string16& utf16) {
121 UTF16ToWide(utf16.data(), utf16.length(), &ret);
127 // UTF16 <-> UTF8 --------------------------------------------------------------
149 std::string UTF16ToUTF8(const string16& utf16) {
153 UTF16ToUTF8(utf16.data(), utf16.length(), &ret);
172 std::string UTF16ToUTF8(const string16& utf16) {
    [all...]

Completed in 418 milliseconds

1 2 3 4 5