/external/clang/test/SemaCXX/ |
short-wchar-sign.cpp | 6 // Check that short wchar_t is unsigned, and that regular wchar_t is not. 7 int test[(wchar_t(-1)<wchar_t(0)) == (sizeof(wchar_t) == 4) ?1:-1];
|
no-wchar.cpp | 2 wchar_t x; // expected-error {{unknown type name 'wchar_t'}} 4 typedef unsigned short wchar_t; 5 void foo(const wchar_t* x); 11 void foo1(wchar_t * t = L""); 12 // expected-warning@-1 {{conversion from string literal to 'wchar_t *' (aka 'unsigned short *') is deprecated}} 21 wchar_t *c = true ? L"a" : L""; 22 // expected-error@-1 {{cannot initialize a variable of type 'wchar_t *' (aka 'unsigned short *') with}} 24 const wchar_t *d1 = 0; 25 const wchar_t *d2 = 0 [all...] |
wchar_t.cpp | 2 wchar_t x; 4 void f(wchar_t p) { 5 wchar_t x; 6 unsigned wchar_t y; // expected-warning {{'wchar_t' cannot be signed or unsigned}} 7 signed wchar_t z; // expected-warning {{'wchar_t' cannot be signed or unsigned}} 12 wchar_t const c = L'c'; 25 basic_string<wchar_t>() + L'-'; 31 wchar_t in[] = L"\x434" "\x434"; // No warnin [all...] |
/prebuilts/ndk/r16/sources/android/support/include/ |
wchar.h | 37 int vfwscanf(FILE*, const wchar_t*, va_list); 38 int vswscanf(const wchar_t*, const wchar_t*, va_list); 39 int vwscanf(const wchar_t*, va_list); 40 size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*); 41 size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*); 42 float wcstof(const wchar_t*, wchar_t**); 43 long long wcstoll(const wchar_t*, wchar_t**, int) [all...] |
/external/clang/test/CodeGenCXX/ |
uncode-string.cpp | 4 wchar_t s[] = L"\u2722";
|
debug-info-wchar.cpp | 3 // CHECK: !DIBasicType(name: "wchar_t" 4 const wchar_t w = L'x';
|
/external/libcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
assign3.pass.cpp | 12 // template<> struct char_traits<wchar_t> 21 wchar_t s2[3] = {0}; 22 assert(std::char_traits<wchar_t>::assign(s2, 3, wchar_t(5)) == s2); 23 assert(s2[0] == wchar_t(5)); 24 assert(s2[1] == wchar_t(5)); 25 assert(s2[2] == wchar_t(5)); 26 assert(std::char_traits<wchar_t>::assign(NULL, 0, wchar_t(5)) == NULL);
|
copy.pass.cpp | 12 // template<> struct char_traits<wchar_t> 21 wchar_t s1[] = {1, 2, 3}; 22 wchar_t s2[3] = {0}; 23 assert(std::char_traits<wchar_t>::copy(s2, s1, 3) == s2); 24 assert(s2[0] == wchar_t(1)); 25 assert(s2[1] == wchar_t(2)); 26 assert(s2[2] == wchar_t(3)); 27 assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL); 28 assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/ |
assign3.pass.cpp | 12 // template<> struct char_traits<wchar_t> 21 wchar_t s2[3] = {0}; 22 assert(std::char_traits<wchar_t>::assign(s2, 3, wchar_t(5)) == s2); 23 assert(s2[0] == wchar_t(5)); 24 assert(s2[1] == wchar_t(5)); 25 assert(s2[2] == wchar_t(5)); 26 assert(std::char_traits<wchar_t>::assign(NULL, 0, wchar_t(5)) == NULL);
|
copy.pass.cpp | 12 // template<> struct char_traits<wchar_t> 21 wchar_t s1[] = {1, 2, 3}; 22 wchar_t s2[3] = {0}; 23 assert(std::char_traits<wchar_t>::copy(s2, s1, 3) == s2); 24 assert(s2[0] == wchar_t(1)); 25 assert(s2[1] == wchar_t(2)); 26 assert(s2[2] == wchar_t(3)); 27 assert(std::char_traits<wchar_t>::copy(NULL, s1, 0) == NULL); 28 assert(std::char_traits<wchar_t>::copy(s1, NULL, 0) == s1);
|
/external/clang/test/CodeGen/ |
string-literal-short-wstring.c | 3 // Runs in c++ mode so that wchar_t is available. 16 const wchar_t *foo = L"AB"; 21 const wchar_t *bar = L"\u1120\u0220\U00102030"; 30 wchar_t wa = L'a'; 34 wchar_t wb = L'ab'; 38 wchar_t wc = L'\uF00B';
|
/bionic/tests/headers/posix/ |
wchar_h.c | 39 TYPE(wchar_t); 50 FUNCTION(fgetws, wchar_t* (*f)(wchar_t*, int, FILE*)); 51 FUNCTION(fputwc, wint_t (*f)(wchar_t, FILE*)); 52 FUNCTION(fputws, int (*f)(const wchar_t*, FILE*)); 54 FUNCTION(fwprintf, int (*f)(FILE*, const wchar_t*, ...)); 55 FUNCTION(fwscanf, int (*f)(FILE*, const wchar_t*, ...)); 59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, mbstate_t*)); 61 FUNCTION(mbsnrtowcs, size_t (*f)(wchar_t*, const char**, size_t, size_t, mbstate_t*)); 62 FUNCTION(mbsrtowcs, size_t (*f)(wchar_t*, const char**, size_t, mbstate_t*)) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/include/c++/v1/ |
wchar.h | 39 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...); 40 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...); 41 int swprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, ...); 42 int swscanf(const wchar_t* restrict s, const wchar_t* restrict format, ...); 43 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); 44 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99 45 int vswprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, va_list arg) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/include/c++/v1/ |
wchar.h | 39 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...); 40 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...); 41 int swprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, ...); 42 int swscanf(const wchar_t* restrict s, const wchar_t* restrict format, ...); 43 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); 44 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99 45 int vswprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, va_list arg) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Wchar/ |
Copying.c | 30 wchar_t *wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2)
32 return (wchar_t *)StrCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2);
45 wchar_t *wcsncpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n)
47 return (wchar_t *)StrnCpy( (CHAR16 *)s1, (CONST CHAR16 *)s2, (UINTN)n);
58 wchar_t *wmemcpy(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) [all...] |
/external/pdfium/core/fxcrt/css/ |
cfx_cssvaluelistparser.h | 15 CFX_CSSValueListParser(const wchar_t* psz, int32_t iLen, wchar_t separator); 18 const wchar_t** pStart, 23 int32_t SkipTo(wchar_t wch, bool breakOnSpace, bool matchBrackets); 25 wchar_t m_Separator; 26 const wchar_t* m_pCur; 27 const wchar_t* m_pEnd;
|
/external/pdfium/core/fxcrt/ |
fx_arabic.h | 18 wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next); 19 wchar_t GetFormChar(const CFX_Char* cur, 26 wchar_t FX_GetArabicFromShaddaTable(wchar_t shadda);
|
/bionic/libc/include/ |
wchar.h | 47 int fwprintf(FILE* __fp, const wchar_t* __fmt, ...); 48 int fwscanf(FILE* __fp, const wchar_t* __fmt, ...); 50 wchar_t* fgetws(wchar_t* __buf, int __size, FILE* __fp); 51 wint_t fputwc(wchar_t __wc, FILE* __fp); 52 int fputws(const wchar_t* __s, FILE* __fp); 58 size_t mbrtowc(wchar_t* __buf, const char* __s, size_t __n, mbstate_t* __ps); 59 size_t mbsrtowcs(wchar_t* __dst, const char** __src, size_t __dst_n, mbstate_t* __ps); 60 size_t mbsnrtowcs(wchar_t* __dst, const char** __src, size_t __src_n, size_t __dst_n, mbstate_t* __ps) __INTRODUCED_IN(21); 61 wint_t putwc(wchar_t __wc, FILE* __fp) [all...] |
/external/clang/test/Headers/ |
wchar_limits.cpp | 7 const bool swchar = (wchar_t)-1 > (wchar_t)0; 9 int max_test[WCHAR_MAX == (swchar ? -(WCHAR_MIN+1) : (wchar_t)-1)];
|
/external/clang/test/CXX/lex/lex.charset/ |
p2-cxx98.cpp | 20 wchar_t w007f = L'\u007f'; // expected-error {{universal character name refers to a control character}} 21 wchar_t w0080 = L'\u0080'; // expected-error {{universal character name refers to a control character}} 22 wchar_t w009f = L'\u009f'; // expected-error {{universal character name refers to a control character}} 23 wchar_t w00a0 = L'\u00a0'; 25 wchar_t wd799 = L'\ud799'; 26 wchar_t wd800 = L'\ud800'; // expected-error {{invalid universal character}} 27 wchar_t wdfff = L'\udfff'; // expected-error {{invalid universal character}} 28 wchar_t we000 = L'\ue000'; 47 const wchar_t *ws007f = L"\u007f"; // expected-error {{universal character name refers to a control character}} 48 const wchar_t *ws0080 = L"\u0080"; // expected-error {{universal character name refers to a control character} [all...] |
/external/clang/test/Index/ |
index-pch.cpp | 5 const wchar_t *wideStr = L"123";
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
wchar.h | 23 wchar_t Type of wide characters.
24 wint_t Type capable of holding all wchar_t values and WEOF.
33 const wchar_t * __restrict format, ...);
35 const wchar_t * __restrict format, ...);
36 int swprintf (wchar_t * __restrict s, size_t n,
37 const wchar_t * __restrict format, ...);
38 int swscanf (const wchar_t * __restrict s,
39 const wchar_t * __restrict format, ...);
41 const wchar_t * __restrict format, va_list arg);
43 const wchar_t * __restrict format, va_list arg); [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcspbrk.c | 39 wchar_t * 40 wcspbrk(const wchar_t *s, const wchar_t *set) 42 const wchar_t *p; 43 const wchar_t *q; 51 return (wchar_t *)p;
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.string/ |
p1.cpp | 13 wchar_t x4[](L"hello"); 14 extern wchar_t x4[6]; 16 wchar_t x5[] = L"hello"; 17 extern wchar_t x5[6]; 19 wchar_t x6[] = { L"hello" }; 20 extern wchar_t x6[6];
|
/external/e2fsprogs/intl/ |
vasnwprintf.h | 25 /* Get wchar_t, size_t. */ 39 extern wchar_t * asnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, ...); 40 extern wchar_t * vasnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, va_list args);
|