/external/libchrome/base/strings/ |
D | string16.cc | 22 int c16memcmp(const char16* s1, const char16* s2, size_t n) { in c16memcmp() 35 size_t c16len(const char16* s) { in c16len() 36 const char16 *s_orig = s; in c16len() 43 const char16* c16memchr(const char16* s, char16 c, size_t n) { in c16memchr() 53 char16* c16memmove(char16* s1, const char16* s2, size_t n) { in c16memmove() 54 return static_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); in c16memmove() 57 char16* c16memcpy(char16* s1, const char16* s2, size_t n) { in c16memcpy() 58 return static_cast<char16*>(memcpy(s1, s2, n * sizeof(char16))); in c16memcpy() 61 char16* c16memset(char16* s, char16 c, size_t n) { in c16memset() 62 char16 *s_orig = s; in c16memset() [all …]
|
D | string16.h | 43 typedef wchar_t char16; typedef 54 typedef uint16_t char16; typedef 59 BASE_EXPORT int c16memcmp(const char16* s1, const char16* s2, size_t n); 60 BASE_EXPORT size_t c16len(const char16* s); 61 BASE_EXPORT const char16* c16memchr(const char16* s, char16 c, size_t n); 62 BASE_EXPORT char16* c16memmove(char16* s1, const char16* s2, size_t n); 63 BASE_EXPORT char16* c16memcpy(char16* s1, const char16* s2, size_t n); 64 BASE_EXPORT char16* c16memset(char16* s, char16 c, size_t n); 72 typedef char16 char_type; 143 typedef std::basic_string<char16, [all …]
|
D | utf_string_conversions.cc | 35 struct SizeCoefficient<char16, char> { 48 struct SizeCoefficient<wchar_t, char16> { 66 void UnicodeAppendUnsafe(char16* out, int32_t* size, uint32_t code_point) { in UnicodeAppendUnsafe() 105 bool DoUTFConversion(const char16* src, in DoUTFConversion() 111 auto ConvertSingleChar = [&success](char16 in) -> int32_t { in DoUTFConversion() 217 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() 243 bool UTF16ToWide(const char16* src, size_t src_len, std::wstring* output) { in UTF16ToWide() 266 bool UTF16ToWide(const char16* src, size_t src_len, std::wstring* output) { in UTF16ToWide()
|
D | utf_string_conversions_fuzzer.cc | 27 reinterpret_cast<const base::char16*>(data), size / 2); in LLVMFuzzerTestOneInput() 29 base::UTF16ToWide(reinterpret_cast<const base::char16*>(data), size / 2, in LLVMFuzzerTestOneInput() 32 base::UTF16ToUTF8(reinterpret_cast<const base::char16*>(data), size / 2, in LLVMFuzzerTestOneInput()
|
D | string_util.h | 94 inline char16 ToLowerASCII(char16 c) { in ToLowerASCII() 103 inline char16 ToUpperASCII(char16 c) { in ToUpperASCII() 166 BASE_EXPORT extern const char16 kWhitespaceUTF16[]; // Includes Unicode. 168 BASE_EXPORT extern const char16 kWhitespaceASCIIAs16[]; // No unicode. 427 BASE_EXPORT char16* WriteInto(string16* str, size_t length_with_null);
|
D | old_utf_string_conversions.h | 18 using base::char16; 42 BASE_EXPORT bool UTF16ToWide(const char16* src, 49 BASE_EXPORT bool UTF16ToUTF8(const char16* src,
|
D | string_util_constants.cc | 41 const char16 kWhitespaceUTF16[] = { 55 const char16 kWhitespaceASCIIAs16[] = {
|
D | utf_string_conversion_utils.cc | 33 bool ReadUnicodeCharacter(const char16* src, in ReadUnicodeCharacter() 96 output->push_back(static_cast<char16>(code_point)); in WriteUnicodeCharacter() 129 template void PrepareForUTF8Output(const char16*, size_t, std::string*);
|
D | old_utf_string_conversions.cc | 139 bool UTF16ToWide(const char16* src, size_t src_len, std::wstring* output) { in UTF16ToWide() 164 bool UTF16ToWide(const char16* src, size_t src_len, std::wstring* output) { in UTF16ToWide() 207 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8() 236 bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { in UTF16ToUTF8()
|
D | utf_string_conversions.h | 34 BASE_EXPORT bool UTF16ToWide(const char16* src, size_t src_len, 40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
|
D | string_piece.h | 60 char16* buf, 74 char16 c, 87 char16 c, 107 char16 c, 120 char16 c, 130 char16 c,
|
D | string_util_unittest.cc | 394 static char16 char16_ascii[] = { in TEST() 513 EXPECT_EQ(static_cast<char16>('c'), ToLowerASCII(static_cast<char16>('C'))); in TEST() 514 EXPECT_EQ(static_cast<char16>('c'), ToLowerASCII(static_cast<char16>('c'))); in TEST() 515 EXPECT_EQ(static_cast<char16>('2'), ToLowerASCII(static_cast<char16>('2'))); in TEST() 526 EXPECT_EQ(static_cast<char16>('C'), ToUpperASCII(static_cast<char16>('C'))); in TEST() 527 EXPECT_EQ(static_cast<char16>('C'), ToUpperASCII(static_cast<char16>('c'))); in TEST() 528 EXPECT_EQ(static_cast<char16>('2'), ToUpperASCII(static_cast<char16>('2'))); in TEST()
|
/external/clang/test/SemaCXX/ |
D | vector.cpp | 5 typedef char char16 __attribute__ ((__vector_size__ (16))); typedef 11 void f0(char16); 13 void f0_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) { in f0_test() 20 int &f1(char16); // expected-note 2{{candidate function}} 23 void f1_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) { in f1_test() 33 void f2_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) { in f2_test() 43 void conditional(bool Cond, char16 c16, longlong16 ll16, char16_e c16e, in conditional() 66 (void)(char16)ll16; in casts() 70 (void)(char16)ll16e; in casts() 76 (void)char16(ll16); in casts() [all …]
|
/external/libchrome/base/i18n/ |
D | rtl.h | 21 const char16 kRightToLeftMark = 0x200F; 22 const char16 kLeftToRightMark = 0x200E; 23 const char16 kLeftToRightEmbeddingMark = 0x202A; 24 const char16 kRightToLeftEmbeddingMark = 0x202B; 25 const char16 kPopDirectionalFormatting = 0x202C; 26 const char16 kLeftToRightOverride = 0x202D; 27 const char16 kRightToLeftOverride = 0x202E;
|
/external/clang/test/SemaOpenCL/ |
D | as_type.cl | 4 typedef __attribute__(( ext_vector_type(16) )) char char16; 6 char3 f1(char16 x) { 7 …alid reinterpretation: sizes of 'char3' (vector of 3 'char' values) and 'char16' (vector of 16 'ch… 10 char16 f3(int x) { 11 …return __builtin_astype(x, char16); // expected-error{{invalid reinterpretation: sizes of 'char16'…
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 264 public static boolean isSurrogate(char char16) in isSurrogate() argument 266 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isSurrogate() 267 char16 <= TRAIL_SURROGATE_MAX_VALUE; in isSurrogate() 276 public static boolean isTrailSurrogate(char char16) in isTrailSurrogate() argument 278 return (TRAIL_SURROGATE_MIN_VALUE <= char16 && in isTrailSurrogate() 279 char16 <= TRAIL_SURROGATE_MAX_VALUE); in isTrailSurrogate() 288 public static boolean isLeadSurrogate(char char16) in isLeadSurrogate() argument 290 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isLeadSurrogate() 291 char16 <= LEAD_SURROGATE_MAX_VALUE; in isLeadSurrogate()
|
/external/cldr/tools/java/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 263 public static boolean isSurrogate(char char16) in isSurrogate() argument 265 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isSurrogate() 266 char16 <= TRAIL_SURROGATE_MAX_VALUE; in isSurrogate() 275 public static boolean isTrailSurrogate(char char16) in isTrailSurrogate() argument 277 return (TRAIL_SURROGATE_MIN_VALUE <= char16 && in isTrailSurrogate() 278 char16 <= TRAIL_SURROGATE_MAX_VALUE); in isTrailSurrogate() 287 public static boolean isLeadSurrogate(char char16) in isLeadSurrogate() argument 289 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isLeadSurrogate() 290 char16 <= LEAD_SURROGATE_MAX_VALUE; in isLeadSurrogate()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | UTF16Util.java | 268 public static boolean isSurrogate(char char16) in isSurrogate() argument 270 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isSurrogate() 271 char16 <= TRAIL_SURROGATE_MAX_VALUE; in isSurrogate() 280 public static boolean isTrailSurrogate(char char16) in isTrailSurrogate() argument 282 return (TRAIL_SURROGATE_MIN_VALUE <= char16 && in isTrailSurrogate() 283 char16 <= TRAIL_SURROGATE_MAX_VALUE); in isTrailSurrogate() 292 public static boolean isLeadSurrogate(char char16) in isLeadSurrogate() argument 294 return LEAD_SURROGATE_MIN_VALUE <= char16 && in isLeadSurrogate() 295 char16 <= LEAD_SURROGATE_MAX_VALUE; in isLeadSurrogate()
|
/external/libchrome/mojo/public/cpp/base/ |
D | string16_mojom_traits.cc | 17 out->assign(reinterpret_cast<const base::char16*>(view.data()), view.size()); in Read() 27 base::make_span(bytes, str.size() * sizeof(base::char16))); in data() 37 if (buffer.size() % sizeof(base::char16)) in Read() 39 *out = base::string16(reinterpret_cast<const base::char16*>(buffer.data()), in Read() 40 buffer.size() / sizeof(base::char16)); in Read()
|
/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/ |
D | spirv_convert.h | 875 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16(half16); 876 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_rtz(half16); 877 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_rte(half16); 878 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_rtp(half16); 879 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_rtn(half16); 880 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_sat(half16); 881 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_sat_rtz(half16); 882 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_sat_rte(half16); 883 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_sat_rtp(half16); 884 __attribute__((overloadable)) char16 __spirv_ConvertFToS_Rchar16_sat_rtn(half16); [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetUTF16.java | 164 char char16; in decodeLoop() local 185 …char16 = (char) (((toUBytesArray[0 ^ actualEndianXOR] & UConverterConstants.UNSIGNED_BYTE_MASK) <<… in decodeLoop() 187 if (!UTF16.isSurrogate(char16)) { in decodeLoop() 189 target.put(char16); in decodeLoop() 191 CoderResult cr = decodeTrail(source, target, offsets, char16); in decodeLoop()
|
/external/libchrome/mojo/core/ |
D | broker_win.cc | 108 data->pipe_name_length * sizeof(base::char16)); in Broker() 109 const base::char16* name_data = in Broker() 110 reinterpret_cast<const base::char16*>(data + 1); in Broker()
|
/external/libchrome/base/ |
D | pickle.cc | 172 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); in ReadString16() 176 result->assign(reinterpret_cast<const char16*>(read_from), len); in ReadString16() 184 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); in ReadStringPiece16() 188 *result = StringPiece16(reinterpret_cast<const char16*>(read_from), len); in ReadStringPiece16() 298 WriteBytes(value.data(), static_cast<int>(value.size()) * sizeof(char16)); in WriteString16()
|
/external/clang/lib/Headers/ |
D | opencl-c.h | 82 typedef char char16 __attribute__((ext_vector_type(16))); typedef 4103 char16 __ovld __cnfn convert_char16_rte(char16); 4104 char16 __ovld __cnfn convert_char16_sat_rte(char16); 4105 char16 __ovld __cnfn convert_char16_rtz(char16); 4106 char16 __ovld __cnfn convert_char16_sat_rtz(char16); 4107 char16 __ovld __cnfn convert_char16_rtp(char16); 4108 char16 __ovld __cnfn convert_char16_sat_rtp(char16); 4109 char16 __ovld __cnfn convert_char16_rtn(char16); 4110 char16 __ovld __cnfn convert_char16_sat_rtn(char16); 4111 char16 __ovld __cnfn convert_char16(char16); [all …]
|
/external/clang/test/CodeGen/ |
D | ext-vector.c | 295 typedef char char16 __attribute__((ext_vector_type(16))); typedef 299 char16 valA; in test17() 302 char16 destVal = valC ? valA : valB; in test17()
|