OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:char16_t
(Results
1 - 13
of
13
) sorted by null
/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,
/system/core/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
58
explicit String16(const
char16_t
* o);
59
explicit String16(const
char16_t
* o, size_t len);
66
inline const
char16_t
* string() const;
72
status_t setTo(const
char16_t
* other);
73
status_t setTo(const
char16_t
* other, size_t len);
79
status_t append(const
char16_t
* other, size_t len);
86
status_t insert(size_t pos, const
char16_t
* chrs);
88
const
char16_t
* chrs, size_t len);
90
ssize_t findFirst(
char16_t
c) const;
91
ssize_t findLast(
char16_t
c) const
[
all
...]
/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
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/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
c++98.cc
12
char16_t
,
enumerator in enum:cxx11_keywords
/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";
/external/chromium_org/third_party/icu/source/common/unicode/
umachine.h
298
* If wchar_t is not 16 bits wide, then define UChar to be uint16_t or
char16_t
because GCC >=4.4
312
typedef __CHAR16_TYPE__
char16_t
;
typedef
314
typedef
char16_t
UChar;
/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/clang/test/SemaCXX/
MicrosoftCompatibility.cpp
4
typedef unsigned short
char16_t
;
typedef
/external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp
25
#define
char16_t
macro
110
char16_t
Completed in 508 milliseconds