HomeSort by relevance Sort by last modified time
    Searched defs:char16_t (Results 1 - 16 of 16) sorted by null

  /system/core/libcutils/include/cutils/
jstring.h 28 typedef uint16_t char16_t; typedef
30 // otherwise char16_t is a keyword with the right semantics
32 extern char * strndup16to8 (const char16_t* s, size_t n);
33 extern size_t strnlen16to8 (const char16_t* s, size_t n);
34 extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
36 extern char16_t * strdup8to16 (const char* s, size_t *out_len);
38 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
39 extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length
    [all...]
  /bionic/libc/include/
uchar.h 39 typedef __CHAR16_TYPE__ char16_t; typedef
46 size_t c16rtomb(char* __buf, char16_t __ch16, mbstate_t* __ps) __INTRODUCED_IN(21);
48 size_t mbrtoc16(char16_t* __ch16, const char* __s, size_t __n, mbstate_t* __ps) __INTRODUCED_IN(21);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
uchar.h 34 typedef uint_least16_t char16_t; typedef
45 size_t mbrtoc16 (char16_t *__restrict__ pc16,
51 char16_t c16,
  /external/clang/test/Lexer/
unicode-strings.c 7 typedef __CHAR16_TYPE__ char16_t; typedef
10 // expected-warning@17 {{'char16_t' type specifier is incompatible with C++98}}
12 // expected-warning@20 {{'char16_t' type specifier is incompatible with C++98}}
17 const char16_t *b = u"abcd"; // expected-warning {{unicode literals are incompatible with}}
20 char16_t d = u'a'; // expected-warning {{unicode literals are incompatible with}}
char-literal.cpp 6 typedef __CHAR16_TYPE__ char16_t; typedef
21 char16_t g = u'ab'; // expected-error {{Unicode character literals may not contain multiple characters}}
22 char16_t h = u'\U0010FFFD'; // expected-error {{character too large for enclosing character literal type}}
33 char16_t o = '?'; // expected-error {{character too large for enclosing character literal type}}
35 char16_t p[2] = u"\U0000FFFF";
36 char16_t q[2] = u"\U00010000";
cxx0x_keyword_as_cxx98.cpp 25 typedef IF_CXX11(char16_t, wchar_t) my_wide_char_t; // ok
29 int char16_t; // expected-warning {{'char16_t' is a keyword in C++11}} variable
keywords_test.cpp 47 CXX11_KEYWORD(char16_t); variable
48 CXX11_TYPE(char16_t); variable
string_concat.cpp 6 typedef __CHAR16_TYPE__ char16_t; typedef
21 const char16_t* g = u"abc" u8"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
22 const char16_t* h = u"abc" U"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
23 const char16_t* i = u"abc" L"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
25 const char16_t* j = u"abc" u8R"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
26 const char16_t* k = u"abc" UR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
27 const char16_t* l = u"abc" LR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
  /external/icu/icu4c/source/common/unicode/
char16ptr.h 15 * \brief C++ API: char16_t pointer wrappers with
17 * Also conversion functions from char16_t * to UChar * and OldUChar *.
36 * char16_t * wrapper with implicit conversion from distinct but bit-compatible pointer types.
46 inline Char16Ptr(char16_t *p);
49 * Converts the pointer to char16_t *.
57 * Converts the pointer to char16_t *.
81 inline char16_t *get() const;
83 * char16_t pointer access via type conversion (e.g., static_cast).
87 inline operator char16_t *() const { return get(); }
93 template<typename T> static char16_t *cast(T *t)
    [all...]
  /external/clang/test/CodeGen/
string-literal.c 10 typedef __CHAR16_TYPE__ char16_t; typedef
56 const char16_t *e = u"EF";
61 const char16_t *f = u"\u1120\u0220\U00102030";
66 const char16_t *p = u"\u1120\u0320" "\U00102030";
80 const char16_t *j = uR"foo(GH)foo";
112 const char16_t *t = uR\
  /system/core/libutils/include/utils/
String16.h 60 explicit String16(const char16_t* o);
61 explicit String16(const char16_t* o, size_t len);
68 inline const char16_t* string() const;
75 status_t setTo(const char16_t* other);
76 status_t setTo(const char16_t* other, size_t len);
82 status_t append(const char16_t* other, size_t len);
89 status_t insert(size_t pos, const char16_t* chrs);
91 const char16_t* chrs, size_t len);
93 ssize_t findFirst(char16_t c) const;
94 ssize_t findLast(char16_t c) const
    [all...]
  /external/clang/test/Sema/
string-init.c 5 typedef unsigned short char16_t; typedef
21 char16_t c1[] = "a"; // expected-error{{initializing wide char array with non-wide string literal}}
22 char16_t c2[] = u8"a"; // expected-error{{initializing wide char array with non-wide string literal}}
23 char16_t c3[] = u"a"; // No error.
24 char16_t c4[] = U"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
25 char16_t c5[] = L"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
49 char16_t c[] = 1; // expected-error{{array initializer must be an initializer list or wide string literal}}
  /external/libcxx/test/support/
filesystem_test_helper.hpp 271 const char16_t* u16;
276 operator const char16_t* () const { return u16; }
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
filesystem_test_helper.hpp 271 const char16_t* u16;
276 operator const char16_t* () const { return u16; }
  /external/clang/test/SemaCXX/
MicrosoftCompatibility.cpp 5 char16_t x;
8 typedef unsigned short char16_t; typedef
  /external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp 35 #define char16_t macro
120 char16_t

Completed in 482 milliseconds