Home
last modified time | relevance | path

Searched refs:wchar_t (Results 1 – 25 of 134) sorted by relevance

123456

/ndk/sources/android/support/include/
Dwchar.h100 wchar_t *wcscpy (wchar_t *__restrict__, const wchar_t *__restrict__);
101 wchar_t *wcsncpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
103 wchar_t *wcscat (wchar_t *__restrict__, const wchar_t *__restrict__);
104 wchar_t *wcsncat (wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
106 int wcscmp (const wchar_t *, const wchar_t *);
107 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
109 int wcscoll(const wchar_t *, const wchar_t *);
110 size_t wcsxfrm (wchar_t *__restrict__, const wchar_t *__restrict__, size_t n);
112 wchar_t *wcschr (const wchar_t *, wchar_t);
113 wchar_t *wcsrchr (const wchar_t *, wchar_t);
[all …]
Dstdio.h56 int vfwscanf(FILE* __restrict__, const wchar_t* __restrict__, va_list);
57 int vswscanf(const wchar_t *__restrict__, const wchar_t * __restrict__, va_list);
58 int vwscanf(const wchar_t *__restrict__, va_list);
/ndk/sources/android/support/src/
Dwchar_support.c7 static int _wc_indelim(wchar_t wc, const wchar_t* delim) { in _wc_indelim()
16 wchar_t *wcpcpy(wchar_t *to, const wchar_t *from) { in wcpcpy()
19 wchar_t wc = from[n]; in wcpcpy()
28 wchar_t *wcpncpy(wchar_t *dst, const wchar_t *src, size_t n) { in wcpncpy()
31 wchar_t wc = src[i]; in wcpncpy()
43 int wcscasecmp(const wchar_t *s1, const wchar_t *s2) { in wcscasecmp()
46 wchar_t wc1 = towlower(s1[n]); in wcscasecmp()
47 wchar_t wc2 = towlower(s2[n]); in wcscasecmp()
56 wchar_t *wcscat(wchar_t *s1, const wchar_t *s2) { in wcscat()
63 wchar_t wc = s2[i]; in wcscat()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcwchar34 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...);
35 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...);
36 int swprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, ...);
37 int swscanf(const wchar_t* restrict s, const wchar_t* restrict format, ...);
38 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg);
39 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99
40 int vswprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, va_list arg);
41 int vswscanf(const wchar_t* restrict s, const wchar_t* restrict format, va_list arg); // C99
42 int vwprintf(const wchar_t* restrict format, va_list arg);
43 int vwscanf(const wchar_t* restrict format, va_list arg); // C99
[all …]
Diosfwd49 typedef basic_ios<wchar_t> wios;
66 typedef basic_streambuf<wchar_t> wstreambuf;
67 typedef basic_istream<wchar_t> wistream;
68 typedef basic_ostream<wchar_t> wostream;
69 typedef basic_iostream<wchar_t> wiostream;
71 typedef basic_stringbuf<wchar_t> wstringbuf;
72 typedef basic_istringstream<wchar_t> wistringstream;
73 typedef basic_ostringstream<wchar_t> wostringstream;
74 typedef basic_stringstream<wchar_t> wstringstream;
76 typedef basic_filebuf<wchar_t> wfilebuf;
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ctype.h67 typedef ctype<wchar_t> _Wctype;
70 friend class ctype<wchar_t>;
177 class _STLP_CLASS_DECLSPEC ctype<wchar_t> : public locale::facet, public ctype_base {
179 typedef wchar_t char_type;
183 bool is(mask __m, wchar_t __c) const in is()
186 const wchar_t* is(const wchar_t* __low, const wchar_t* __high, in is()
190 const wchar_t* scan_is(mask __m, in scan_is()
191 const wchar_t* __low, const wchar_t* __high) const in scan_is()
194 const wchar_t* scan_not (mask __m, in scan_not()
195 const wchar_t* __low, const wchar_t* __high) const in scan_not()
[all …]
D_collate.h79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet {
81 typedef wchar_t char_type;
86 int compare(const wchar_t* __low1, const wchar_t* __high1, in compare()
87 const wchar_t* __low2, const wchar_t* __high2) const { in compare()
91 string_type transform(const wchar_t* __low, const wchar_t* __high) const { in transform()
95 long hash(const wchar_t* __low, const wchar_t* __high) const in hash()
103 virtual int do_compare(const wchar_t*, const wchar_t*,
104 const wchar_t*, const wchar_t*) const;
105 virtual string_type do_transform(const wchar_t*, const wchar_t*) const;
106 virtual long do_hash(const wchar_t* __low, const wchar_t* __high) const;
[all …]
D_iosfwd.h81 typedef basic_ios<wchar_t, char_traits<wchar_t> > wios;
109 _STLP_TEMPLATE_NULL class ctype<wchar_t>;
110 _STLP_TEMPLATE_NULL class ctype_byname<wchar_t>;
111 _STLP_TEMPLATE_NULL class collate<wchar_t>;
112 _STLP_TEMPLATE_NULL class collate_byname<wchar_t>;
137 typedef basic_streambuf<wchar_t, char_traits<wchar_t> > wstreambuf;
138 typedef basic_istream<wchar_t, char_traits<wchar_t> > wistream;
139 typedef basic_ostream<wchar_t, char_traits<wchar_t> > wostream;
140 typedef basic_iostream<wchar_t, char_traits<wchar_t> > wiostream;
142 typedef basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstringbuf;
[all …]
D_cwchar.h87 extern wchar_t *wcsstr();
89 extern wchar_t *wmemchr();
91 extern wchar_t *wmemcpy();
92 extern wchar_t *wmemmove();
93 extern wchar_t *wmemset();
102 …extern "C" size_t wcsftime(wchar_t * str, size_t max_size, const wchar_t * format_str, const struc…
123 # define WCHAR_MAX ((wchar_t)~0)
142 _STLP_STATIC_ASSERT(((wchar_t)-1 > 0))
309 inline wchar_t* _STLP_wmemcpy(wchar_t* __wdst, const wchar_t* __wsrc, size_t __n) in _STLP_wmemcpy()
310 { return __STATIC_CAST(wchar_t*, _STLP_VENDOR_CSTD::wmemcpy(__wdst, __wsrc, __n)); } in _STLP_wmemcpy()
[all …]
D_monetary.h168 class _STLP_CLASS_DECLSPEC moneypunct<wchar_t, true> : public locale::facet, public money_base {
170 typedef wchar_t char_type;
172 explicit moneypunct _STLP_PSPEC2(wchar_t, true) (size_t __refs = 0);
173 wchar_t decimal_point() const { return do_decimal_point(); } in decimal_point()
174 wchar_t thousands_sep() const { return do_thousands_sep(); } in thousands_sep()
190 ~moneypunct _STLP_PSPEC2(wchar_t, true) ();
192 virtual wchar_t do_decimal_point() const;
193 virtual wchar_t do_thousands_sep() const;
207 class _STLP_CLASS_DECLSPEC moneypunct<wchar_t, false> : public locale::facet, public money_base {
209 typedef wchar_t char_type;
[all …]
D_numpunct.h77 class _STLP_CLASS_DECLSPEC numpunct<wchar_t> : public locale::facet {
79 typedef wchar_t char_type;
85 wchar_t decimal_point() const { return do_decimal_point(); } in decimal_point()
86 wchar_t thousands_sep() const { return do_thousands_sep(); } in thousands_sep()
96 virtual wchar_t do_decimal_point() const;
97 virtual wchar_t do_thousands_sep() const;
138 class _STLP_CLASS_DECLSPEC numpunct_byname<wchar_t>: public numpunct<wchar_t> {
141 typedef wchar_t char_type;
149 virtual wchar_t do_decimal_point() const;
150 virtual wchar_t do_thousands_sep() const;
[all …]
D_codecvt.h270 class _STLP_CLASS_DECLSPEC codecvt<wchar_t, char, mbstate_t>
273 typedef wchar_t intern_type;
280 const wchar_t* __from, in out()
281 const wchar_t* __from_end, in out()
282 const wchar_t*& __from_next, in out()
303 wchar_t* __to, in in()
304 wchar_t* __to_limit, in in()
305 wchar_t*& __to_next) const { in in()
332 const wchar_t* __from,
333 const wchar_t* __from_end,
[all …]
D_num_put.h129 _STLP_EXPORT_TEMPLATE_CLASS num_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >;
159 …_convert_float_buffer(__iostring const&, __iowstring&, const ctype<wchar_t>&, wchar_t, bool = true…
169 extern ptrdiff_t _STLP_CALL __insert_grouping(wchar_t*, wchar_t*, const string&, wchar_t, wchar_t,
170 … _STLP_CALL __insert_grouping(__iowstring&, size_t, const string&, wchar_t, wchar_t, wchar_t, int);
Dchar_traits.h243 class _STLP_CLASS_DECLSPEC char_traits<wchar_t>
244 : public __char_traits_base<wchar_t, wint_t> {
248 static wchar_t* _STLP_CALL move(wchar_t* __dest, const wchar_t* __src, size_t __n) in move()
252 static wchar_t* _STLP_CALL copy(wchar_t* __dest, const wchar_t* __src, size_t __n) in copy()
256 static int _STLP_CALL compare(const wchar_t* __s1, const wchar_t* __s2, size_t __n) in compare()
260 static wchar_t* _STLP_CALL assign(wchar_t* __s, size_t __n, wchar_t __c) in assign()
263 static size_t _STLP_CALL length(const wchar_t* __s) in length()
266 static void _STLP_CALL assign(wchar_t& __c1, const wchar_t& __c2) in assign()
/ndk/sources/android/support/src/wcstox/
Dwcstol.c8 static unsigned long long wcstox(const wchar_t * restrict s, in wcstox()
9 wchar_t ** restrict p, in wcstox()
14 wchar_t *t = (wchar_t *)s; in wcstox()
20 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
25 unsigned long long wcstoull(const wchar_t *restrict s, in wcstoull()
26 wchar_t **restrict p, in wcstoull()
32 long long wcstoll(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstoll()
37 unsigned long wcstoul(const wchar_t *restrict s, in wcstoul()
38 wchar_t **restrict p, in wcstoul()
44 long wcstol(const wchar_t *restrict s, wchar_t **restrict p, int base) in wcstol()
[all …]
Dwcstod.c6 static long double wcstox(const wchar_t * restrict s, in wcstox()
7 wchar_t ** restrict p, in wcstox()
10 wchar_t *t = (wchar_t *)s; in wcstox()
17 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
22 float wcstof(const wchar_t *restrict s, wchar_t **restrict p) in wcstof()
27 double wcstod(const wchar_t *restrict s, wchar_t **restrict p) in wcstod()
32 long double wcstold(const wchar_t *restrict s, wchar_t **restrict p) in wcstold()
/ndk/sources/cxx-stl/stlport/src/
Dc_locale.h244 wchar_t * /* to */,
259 const wchar_t,
291 const wchar_t * /* s1 */, size_t /* n1 */,
292 const wchar_t * /* s2 */, size_t /* n2 */);
310 wchar_t * /* s1 */, size_t /* n1 */,
311 const wchar_t * /* s2 */, size_t /* n2 */);
328 wchar_t _WLocale_decimal_point(struct _Locale_numeric *);
329 wchar_t _WLocale_thousands_sep(struct _Locale_numeric *);
340 const wchar_t * _WLocale_true(struct _Locale_numeric *, wchar_t* /* buf */, size_t /* bufSize */);
341 const wchar_t * _WLocale_false(struct _Locale_numeric *, wchar_t* /* buf */, size_t /* bufSize */);
[all …]
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/
Dc_wlocale_win32.c22 static const wchar_t* __wtrue_name = L"true";
23 static const wchar_t* __wfalse_name = L"false";
37 wchar_t buf[2]; in _WLocale_ctype()
46 wchar_t in_c = c; in _WLocale_tolower()
47 wchar_t res; in _WLocale_tolower()
54 wchar_t in_c = c; in _WLocale_toupper()
55 wchar_t res; in _WLocale_toupper()
120 static int __mbtowc(_Locale_codecvt_t *l, wchar_t *dst, const char *from, unsigned int count) { in __mbtowc()
143 size_t _WLocale_mbtowc(_Locale_codecvt_t *lcodecvt, wchar_t *to, in _WLocale_mbtowc()
169 const wchar_t c, mbstate_t *shift_state) { in _WLocale_wctomb()
[all …]
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/
Dc_locale_dummy.c48 static const wchar_t *_empty_wstr = "";
50 static const wchar_t *_empty_wstr = L"";
253 wchar_t *to, in _WLocale_mbtowc()
260 const wchar_t c, in _WLocale_wctomb()
292 const wchar_t* s1, size_t n1, const wchar_t* s2, size_t n2) { in _WLocale_strcmp()
294 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp()
323 wchar_t* dest, size_t dest_n, in _WLocale_strxfrm()
324 const wchar_t* src, size_t src_n) { in _WLocale_strxfrm()
347 wchar_t _WLocale_decimal_point(struct _Locale_numeric* lnum) in _WLocale_decimal_point()
349 wchar_t _WLocale_thousands_sep(struct _Locale_numeric* lnum) in _WLocale_thousands_sep()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/solaris/
Dxlocale.h45 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l);
47 size_t mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n,
50 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l);
56 size_t mbsrtowcs_l(wchar_t *__dest, const char **__src, size_t __len,
80 int iswalnum_l(wchar_t,locale_t);
81 int iswalpha_l(wchar_t,locale_t);
82 int iswblank_l(wchar_t,locale_t);
83 int iswcntrl_l(wchar_t,locale_t);
84 int iswdigit_l(wchar_t,locale_t);
85 int iswgraph_l(wchar_t,locale_t);
[all …]
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/
Dc_locale_glibc2.c12 static wchar_t* _ToWChar(const char* buf, wchar_t *wbuf, size_t wbufSize) { in _ToWChar()
13 wchar_t *wcur = wbuf; in _ToWChar()
14 wchar_t *wend = wbuf + wbufSize - 1; in _ToWChar()
344 wchar_t *to, in _WLocale_mbtowc()
351 const wchar_t c, in _WLocale_wctomb()
383 const wchar_t *s1, size_t n1, in _WLocale_strcmp()
384 const wchar_t *s2, size_t n2) { in _WLocale_strcmp()
386 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp()
432 wchar_t *dest, size_t dest_n, in _WLocale_strxfrm()
433 const wchar_t *src, size_t src_n ) in _WLocale_strxfrm()
[all …]
/ndk/sources/android/support/src/stdio/
Dstdio_impl.c22 wchar_t* buffer, in fake_file_init_wbuffer()
24 fake_file_init_buffer(file, (char*)buffer, buffer_size * sizeof(wchar_t)); in fake_file_init_wbuffer()
46 void fake_file_outw(FakeFILE* file, const wchar_t* text, size_t length) { in fake_file_outw()
62 size_t avail = (file->buffer_size - file->buffer_pos) / sizeof(wchar_t); in fake_file_outw()
67 length * sizeof(wchar_t)); in fake_file_outw()
68 file->buffer_pos += length * sizeof(wchar_t); in fake_file_outw()
99 wchar_t* wide_buffer = malloc((wide_len + 1) * sizeof(wchar_t)); in fake_fprintf()
121 void fake_fputwc(wchar_t wc, FakeFILE* file) { in fake_fputwc()
125 if (file->buffer_pos + sizeof(wchar_t) - 1U < file->buffer_size) { in fake_fputwc()
126 *(wchar_t*)(&file->buffer[file->buffer_pos]) = wc; in fake_fputwc()
[all …]
/ndk/sources/android/support/src/musl-locale/
Dwcscoll.c7 int wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) in wcscoll_l()
12 int wcscoll(const wchar_t *l, const wchar_t *r) in wcscoll()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/ibm/
Dxlocale.h144 int iswalnum_l(wchar_t wc, locale_t locale) in iswalnum_l()
150 int iswalpha_l(wchar_t wc, locale_t locale) in iswalpha_l()
156 int iswblank_l(wchar_t wc, locale_t locale) in iswblank_l()
162 int iswcntrl_l(wchar_t wc, locale_t locale) in iswcntrl_l()
168 int iswdigit_l(wchar_t wc, locale_t locale) in iswdigit_l()
174 int iswgraph_l(wchar_t wc, locale_t locale) in iswgraph_l()
180 int iswlower_l(wchar_t wc, locale_t locale) in iswlower_l()
186 int iswprint_l(wchar_t wc, locale_t locale) in iswprint_l()
192 int iswpunct_l(wchar_t wc, locale_t locale) in iswpunct_l()
198 int iswspace_l(wchar_t wc, locale_t locale) in iswspace_l()
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-string.h108 static std::string ShowWideCString(const wchar_t* wide_c_str);
116 static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs);
139 static bool CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
140 const wchar_t* rhs);

123456