Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 122) sorted by relevance

12345

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<char> >(l)); in main()
30 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); in main()
32 (void)std::ctype<char>::id; in main()
34 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), ""); in main()
35 static_assert((std::is_base_of<std::ctype_base, std::ctype<char> >::value), ""); in main()
36 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
30 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); in main()
32 (void)std::ctype<wchar_t>::id; in main()
34 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), ""); in main()
35 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), ""); in main()
36 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), ""); in main()
Dctor.pass.cpp21 : public std::ctype<C>
27 : std::ctype<C>(refs) {++count;} in my_facet()
/ndk/sources/cxx-stl/stlport/src/
Dctype.cpp36 const size_t ctype<char>::table_size;
43 ctype<char>::classic_table() _STLP_NOTHROW { in classic_table()
200 const unsigned char _S_upper[ctype<char>::table_size] =
236 const unsigned char _S_lower[ctype<char>::table_size] =
316 ctype<char>::ctype(const ctype_base::mask * __tab, bool __del, size_t __refs) : in ctype() function in ctype
322 ctype<char>::~ctype() { in ~ctype()
331 ctype<char>::scan_is(ctype_base::mask __m, const char* __low, const char* __high) const in scan_is()
338 ctype<char>::scan_not(ctype_base::mask __m, const char* __low, const char* __high) const in scan_not()
341 char ctype<char>::do_toupper(char __c) const in do_toupper()
343 char ctype<char>::do_tolower(char __c) const in do_tolower()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/
Ddtor.pass.cpp37 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
42 std::ctype<char>::mask table[256]; in main()
44 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
51 new std::ctype<char>(new std::ctype<char>::mask[256], true)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/
Dtypes.pass.cpp36 assert(&std::use_facet<std::ctype<char> >(l) in main()
41 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
49 assert(&std::use_facet<std::ctype<char> >(l) in main()
54 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
62 assert(&std::use_facet<std::ctype<char> >(l) in main()
67 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
Dtolower_1.pass.cpp29 typedef std::ctype<char> F; in main()
45 typedef std::ctype<char> F; in main()
61 typedef std::ctype<wchar_t> F; in main()
77 typedef std::ctype<wchar_t> F; in main()
Dtolower_many.pass.cpp30 typedef std::ctype<char> F; in main()
47 typedef std::ctype<char> F; in main()
64 typedef std::ctype<wchar_t> F; in main()
81 typedef std::ctype<wchar_t> F; in main()
Dtoupper_1.pass.cpp29 typedef std::ctype<char> F; in main()
45 typedef std::ctype<char> F; in main()
61 typedef std::ctype<wchar_t> F; in main()
77 typedef std::ctype<wchar_t> F; in main()
Dtoupper_many.pass.cpp30 typedef std::ctype<char> F; in main()
47 typedef std::ctype<char> F; in main()
64 typedef std::ctype<wchar_t> F; in main()
81 typedef std::ctype<wchar_t> F; in main()
Dwiden_1.pass.cpp29 typedef std::ctype<wchar_t> F; in main()
44 typedef std::ctype<wchar_t> F; in main()
Dnarrow_1.pass.cpp26 typedef std::ctype<wchar_t> F; in main()
41 typedef std::ctype<wchar_t> F; in main()
Dnarrow_many.pass.cpp28 typedef std::ctype<wchar_t> F; in main()
46 typedef std::ctype<wchar_t> F; in main()
Dwiden_many.pass.cpp30 typedef std::ctype<wchar_t> F; in main()
48 typedef std::ctype<wchar_t> F; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dtable.pass.cpp21 typedef std::ctype<char> F; in main()
23 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
28 std::ctype<char>::mask table[256]; in main()
29 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
Dctor.pass.cpp20 : public std::ctype<char>
26 : std::ctype<char>(tbl, del, refs) {++count;} in my_facet()
/ndk/sources/android/support/
DAndroid.mk32 src/musl-ctype/iswalnum.c \
33 src/musl-ctype/iswalpha.c \
34 src/musl-ctype/iswblank.c \
35 src/musl-ctype/iswcntrl.c \
36 src/musl-ctype/iswctype.c \
37 src/musl-ctype/iswdigit.c \
38 src/musl-ctype/iswgraph.c \
39 src/musl-ctype/iswlower.c \
40 src/musl-ctype/iswprint.c \
41 src/musl-ctype/iswpunct.c \
[all …]
/ndk/sources/cxx-stl/stlport/stlport/
Dlocale84 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::space, c); }
88 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::print, c); }
92 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::cntrl, c); }
96 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::upper, c); }
100 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::lower, c); }
104 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::alpha, c); }
108 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::digit, c); }
112 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::punct, c); }
116 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::xdigit, c); }
120 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::alnum, c); }
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.types/locale.category/
Dcategory.pass.cpp32 assert(std::locale::ctype); in main()
38 & std::locale::ctype in main()
44 | std::locale::ctype in main()
53 test(std::locale::ctype); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ctype.h58 template <class charT> class ctype {};
64 class _STLP_CLASS_DECLSPEC ctype<char> : public locale::facet, public ctype_base {
67 typedef ctype<wchar_t> _Wctype;
70 friend class ctype<wchar_t>;
77 explicit ctype(const mask* __tab = 0, bool __del = false, size_t __refs = 0);
121 ~ctype();
147 class _STLP_CLASS_DECLSPEC ctype_byname<char>: public ctype<char> {
177 class _STLP_CLASS_DECLSPEC ctype<wchar_t> : public locale::facet, public ctype_base {
181 explicit ctype(size_t __refs = 0) : locale::facet(__refs) {} in facet()
220 ~ctype();
[all …]
/ndk/sources/android/support/tests/
Dctype_unittest.cc5 TEST(ctype, isblank) { in TEST() argument
13 TEST(ctype, isprint) { in TEST() argument
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0001-android-Add-locale-support.patch6 This is based on the Bionic <ctype.h> declarations. Note that
57 @@ -814,6 +814,8 @@ ctype<wchar_t>::do_toupper(char_type c) const
60 return isascii(c) ? ctype<char>::__classic_upper_table()[c] : c;
66 @@ -828,6 +830,8 @@ ctype<wchar_t>::do_toupper(char_type* low, const char_type* high) const
68 *low = isascii(*low) ? ctype<char>::__classic_upper_table()[*low]
75 @@ -841,6 +845,8 @@ ctype<wchar_t>::do_tolower(char_type c) const
78 return isascii(c) ? ctype<char>::__classic_lower_table()[c] : c;
84 @@ -855,6 +861,8 @@ ctype<wchar_t>::do_tolower(char_type* low, const char_type* high) const
86 *low = isascii(*low) ? ctype<char>::__classic_lower_table()[*low]
93 @@ -924,6 +932,8 @@ ctype<char>::do_toupper(char_type c) const
[all …]
/ndk/tests/device/test-stlport/unit/
Dctype_facets_test.cpp29 CPPUNIT_ASSERT( has_facet<ctype<char> >(loc) ); in _ctype_facet()
30 ctype<char> const& ct = use_facet<ctype<char> >(loc); in _ctype_facet()
173 CPPUNIT_ASSERT( has_facet<ctype<wchar_t> >(loc) ); in _ctype_facet_w()
174 ctype<wchar_t> const& wct = use_facet<ctype<wchar_t> >(loc); in _ctype_facet_w()
341 locale tmp(locale::classic(), tested_locales[i], locale::ctype); in test_supported_locale()
428 CPPUNIT_ASSERT( has_facet<ctype<char> >(loc) ); in ctype_by_name()
429 ctype<char> const& ct = use_facet<ctype<char> >(loc); in ctype_by_name()
441 ctype<char> const& cfacet_byname = use_facet<ctype<char> >(loc); in ctype_by_name()
442 ctype<char> const& cfacet = use_facet<ctype<char> >(locale::classic()); in ctype_by_name()
/ndk/tests/device/test-gnustl-full/unit/
Dctype_facets_test.cpp29 CPPUNIT_ASSERT( has_facet<ctype<char> >(loc) ); in _ctype_facet()
30 ctype<char> const& ct = use_facet<ctype<char> >(loc); in _ctype_facet()
173 CPPUNIT_ASSERT( has_facet<ctype<wchar_t> >(loc) ); in _ctype_facet_w()
174 ctype<wchar_t> const& wct = use_facet<ctype<wchar_t> >(loc); in _ctype_facet_w()
341 locale tmp(locale::classic(), tested_locales[i], locale::ctype); in test_supported_locale()
428 CPPUNIT_ASSERT( has_facet<ctype<char> >(loc) ); in ctype_by_name()
429 ctype<char> const& ct = use_facet<ctype<char> >(loc); in ctype_by_name()
441 ctype<char> const& cfacet_byname = use_facet<ctype<char> >(loc); in ctype_by_name()
442 ctype<char> const& cfacet = use_facet<ctype<char> >(locale::classic()); in ctype_by_name()
/ndk/sources/cxx-stl/stlport/stlport/using/
Dlocale28 // _lib.category.ctype_ and _lib.facet.ctype.special_, ctype:
30 using _STLP_NEW_IO_NAMESPACE::ctype;

12345