/external/clang/test/CodeGenCXX/ |
debug-info-char16.cpp | 4 char16_t char_a = u'h'; 6 // CHECK: !7 = metadata !{i32 {{.*}}, null, metadata !"char16_t", null, i32 0, i64 16, i64 16, i64 0, i32 0, i32 16} ; [ DW_TAG_base_type ]
|
/system/core/include/cutils/ |
jstring.h | 27 typedef uint16_t char16_t; typedef 29 extern char * strndup16to8 (const char16_t* s, size_t n); 30 extern size_t strnlen16to8 (const char16_t* s, size_t n); 31 extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n); 33 extern char16_t * strdup8to16 (const char* s, size_t *out_len); 35 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len); 36 extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
|
/external/clang/test/SemaCXX/ |
overloaded-builtin-operators-0x.cpp | 9 void test_char16t(X<char16_t> x) { 10 bool b = x == char16_t();
|
cxx0x-type-convert-construct.cpp | 6 char16_t *ustr; 7 ustr = u"a UTF-16 string"; // expected-error {{assigning to 'char16_t *' from incompatible type 'const char16_t [16]'}} 17 char16_t *uRstr; 18 uRstr = uR"foo(a UTF-16 raw string)foo"; // expected-error {{assigning to 'char16_t *' from incompatible type 'const char16_t [20]'}}
|
literal-operators.cpp | 21 void operator "" _good (char16_t); 29 void operator "" _good (const char16_t *, size_t);
|
/frameworks/native/include/utils/ |
Unicode.h | 26 typedef uint16_t char16_t; typedef 28 // Standard string functions on char16_t strings. 29 int strcmp16(const char16_t *, const char16_t *); 30 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n); 31 size_t strlen16(const char16_t *); 32 size_t strnlen16(const char16_t *, size_t); 33 char16_t *strcpy16(char16_t *, const char16_t *) [all...] |
String16.h | 49 explicit String16(const char16_t* o); 50 explicit String16(const char16_t* o, size_t len); 57 inline const char16_t* string() const; 63 status_t setTo(const char16_t* other); 64 status_t setTo(const char16_t* other, size_t len); 70 status_t append(const char16_t* other, size_t len); 77 status_t insert(size_t pos, const char16_t* chrs); 79 const char16_t* chrs, size_t len); 81 ssize_t findFirst(char16_t c) const; 82 ssize_t findLast(char16_t c) const [all...] |
/external/clang/test/Lexer/ |
char-literal.cpp | 12 char16_t g = u'ab'; // expected-error {{Unicode character literals may not contain multiple characters}} 13 char16_t h = u'\U0010FFFD'; // expected-error {{character too large for enclosing character literal type}} 24 char16_t o = '?'; // expected-error {{character too large for enclosing character literal type}}
|
string-literal-encoding.c | 10 char16_t const *b = u"?????"; // expected-error {{illegal character encoding in string literal}} 13 char16_t const *e = uR"(?????)"; // expected-error {{illegal character encoding in string literal}} 24 char16_t const *b = u"foo ?????"; // expected-error {{illegal character encoding in string literal}} 27 char16_t const *e = uR"(foo ?????)"; // expected-error {{illegal character encoding in string literal}}
|
string_concat.cpp | 12 const char16_t* g = u"abc" u8"abc"; // expected-error {{unsupported non-standard concatenation of string literals}} 13 const char16_t* h = u"abc" U"abc"; // expected-error {{unsupported non-standard concatenation of string literals}} 14 const char16_t* i = u"abc" L"abc"; // expected-error {{unsupported non-standard concatenation of string literals}} 15 const char16_t* j = u"abc" u8R"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}} 16 const char16_t* k = u"abc" UR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}} 17 const char16_t* l = u"abc" LR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
|
/frameworks/native/libs/utils/ |
String16.cpp | 36 static char16_t* gEmptyString = NULL; 38 static inline char16_t* getEmptyString() 46 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)); 47 char16_t* str = (char16_t*)buf->data(); 62 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) 75 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1)); 78 char16_t* u16str = (char16_t*)buf->data(); 111 String16::String16(const char16_t* o [all...] |
Unicode.cpp | 212 int strcmp16(const char16_t *s1, const char16_t *s2) 214 char16_t ch; 226 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) 228 char16_t ch; 240 char16_t *strcpy16(char16_t *dst, const char16_t *src) 242 char16_t *q = dst [all...] |
/external/clang/test/CodeGen/ |
string-literal.c | 40 const char16_t *e = u"EF"; 44 const char16_t *f = u"\u1120\u0220\U00102030"; 48 const char16_t *p = u"\u1120\u0320" "\U00102030"; 60 const char16_t *j = uR"foo(GH)foo";
|
char-literal.c | 43 char16_t ua = u'a'; 49 char16_t ua1 = u'?'; 51 char16_t ua2 = u'?'; 53 char16_t ua3 = u'?'; 71 char16_t uc = u'\uF00B';
|
string-literal-unicode-conversion.c | 44 char16_t const *e = u"2?????"; 53 char16_t const *g = uR"(5?????)";
|
/external/clang/test/FixIt/ |
fixit-vexing-parse-cxx0x.cpp | 17 char16_t u16(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
|
/system/core/libcutils/ |
strdup8to16.c | 43 extern char16_t * strdup8to16 (const char* s, size_t *out_len) 45 char16_t *ret; 53 if (len && SIZE_MAX/len < sizeof(char16_t)) 57 ret = (char16_t *) malloc (sizeof(char16_t) * len); 151 extern char16_t * strcpy8to16 (char16_t *utf16Str, const char*utf8Str, 154 char16_t *dest = utf16Str; 162 *dest++ = (char16_t) ret; 185 extern char16_t * strcpylen8to16 (char16_t *utf16Str, const char*utf8Str [all...] |
/external/clang/test/CXX/over/over.oper/over.literal/ |
p3.cpp | 13 char operator "" _a(char16_t); 17 char operator "" _a(const char16_t *, size_t); 37 char operator "" _a(char16_t *, size_t); // expected-error {{parameter}}
|
/external/clang/test/CXX/lex/lex.literal/lex.ccon/ |
p1.cpp | 12 extern char16_t d;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
stringfwd.h | 67 template<> struct char_traits<char16_t>; 70 typedef basic_string<char16_t> u16string;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
stringfwd.h | 76 template<> struct char_traits<char16_t>; 79 typedef basic_string<char16_t> u16string; /// A string of @c char16_t
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
stringfwd.h | 76 template<> struct char_traits<char16_t>; 79 typedef basic_string<char16_t> u16string; /// A string of @c char16_t
|
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stringfwd.h | 67 template<> struct char_traits<char16_t>; 70 typedef basic_string<char16_t> u16string;
|
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stringfwd.h | 67 template<> struct char_traits<char16_t>; 70 typedef basic_string<char16_t> u16string;
|
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
stringfwd.h | 67 template<> struct char_traits<char16_t>; 70 typedef basic_string<char16_t> u16string;
|