Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 50) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/src/
Dctype.cpp42 const ctype_base::mask*
45 static const ctype_base::mask _S_classic_table[table_size] = { in classic_table()
55 ctype_base::mask(space | cntrl) /* tab */, in classic_table()
56 ctype_base::mask(space | cntrl) /* LF */, in classic_table()
57 ctype_base::mask(space | cntrl) /* ^K */, in classic_table()
58 ctype_base::mask(space | cntrl) /* FF */, in classic_table()
59 ctype_base::mask(space | cntrl) /* ^M */, in classic_table()
78 ctype_base::mask(space | print) /* */, in classic_table()
79 ctype_base::mask(punct | print) /* ! */, in classic_table()
80 ctype_base::mask(punct | print) /* " */, in classic_table()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dsupport.h123 _LIBCPP_ALWAYS_INLINE int __builtin_ctzll(unsigned long long mask) in __builtin_ctzll() argument
129 if (_BitScanForward64(&where, mask)) in __builtin_ctzll()
134 if (_BitScanForward(&where, static_cast<unsigned long>(mask))) in __builtin_ctzll()
137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32))) in __builtin_ctzll()
145 _LIBCPP_ALWAYS_INLINE int __builtin_ctzl(unsigned long mask) in __builtin_ctzl() argument
150 if (_BitScanForward(&where, mask)) in __builtin_ctzl()
155 _LIBCPP_ALWAYS_INLINE int __builtin_ctz(unsigned int mask) in __builtin_ctz() argument
158 static_assert(sizeof(mask) == 4, ""); in __builtin_ctz()
160 return __builtin_ctzl(static_cast<unsigned long>(mask)); in __builtin_ctz()
165 _LIBCPP_ALWAYS_INLINE int __builtin_clzll(unsigned long long mask) in __builtin_clzll() argument
[all …]
/ndk/tests/build/b14811006-GOT_PREL-optimization/jni/
DSkAlphaMulQ.cc6 uint32_t mask = gMask_00FF00FF; in SkAlphaMulQ() local
8 uint32_t rb = ((c & mask) * scale) >> 8; in SkAlphaMulQ()
9 uint32_t ag = ((c >> 8) & mask) * scale; in SkAlphaMulQ()
10 return (rb & mask) | (ag & ~mask); in SkAlphaMulQ()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ctype.h41 enum mask { enum
77 explicit ctype(const mask* __tab = 0, bool __del = false, size_t __refs = 0);
78 bool is(mask __m, char __c) const in is()
81 const char* is(const char* __low, const char* __high, mask* __vec) const { in is()
88 const char* scan_is(mask __m, const char* __low, const char* __high) const;
89 const char* scan_not(mask __m, const char* __low, const char* __high) const;
118 const mask* table() const _STLP_NOTHROW { return _M_ctype_table; } in table()
119 static const mask* _STLP_CALL classic_table() _STLP_NOTHROW;
135 mask __m;
136 _Is_mask(mask __x): __m(__x) {} in _Is_mask()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
D__locale321 typedef unsigned short mask;
322 static const mask space = _ISspace;
323 static const mask print = _ISprint;
324 static const mask cntrl = _IScntrl;
325 static const mask upper = _ISupper;
326 static const mask lower = _ISlower;
327 static const mask alpha = _ISalpha;
328 static const mask digit = _ISdigit;
329 static const mask punct = _ISpunct;
330 static const mask xdigit = _ISxdigit;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0001-android-Add-locale-support.patch23 static const mask punct = _ISPUNCT;
24 static const mask xdigit = _ISXDIGIT;
25 static const mask blank = _ISBLANK;
28 + typedef unsigned short mask;
29 + static const mask space = _S;
30 + static const mask print = _P | _U | _L | _N | _B;
31 + static const mask cntrl = _C;
32 + static const mask upper = _U;
33 + static const mask lower = _L;
34 + static const mask alpha = _U | _L;
[all …]
D0009-Fix-locale-stuff-for-LP64.patch16 static const mask xdigit = _ISXDIGIT;
17 static const mask blank = _ISBLANK;
32 typedef unsigned short mask;
33 static const mask space = _S;
34 static const mask print = _P | _U | _L | _N | _B;
/ndk/sources/host-tools/ndk-stack/regex/
Dregex2.h107 uch mask; /* bit within array */ member
113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
115 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/
Ddtor.pass.cpp42 std::ctype<char>::mask table[256]; in main()
51 new std::ctype<char>(new std::ctype<char>::mask[256], true)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/
Dxlocale.c116 return __l->lc_ctype->mask[__c] & m;\
199 locale_t newlocale(int mask, const char *locale, locale_t base) { in newlocale() argument
230 ret->lc_collate = (mask & LC_COLLATE_MASK) ? p->lc_collate : base->lc_collate; in newlocale()
231 ret->lc_ctype = (mask & LC_CTYPE_MASK) ? p->lc_ctype : base->lc_ctype; in newlocale()
232 ret->lc_messages = (mask & LC_MESSAGES_MASK) ? p->lc_messages : base->lc_messages; in newlocale()
233 ret->lc_monetary = (mask & LC_MONETARY_MASK) ? p->lc_monetary : base->lc_monetary; in newlocale()
234 ret->lc_time = (mask & LC_TIME_MASK) ? p->lc_time : base->lc_time; in newlocale()
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/
Dc_locale_dummy.c210 _Locale_mask_t _WLocale_ctype(struct _Locale_ctype *lctype, wint_t wc, _Locale_mask_t mask) { in _WLocale_ctype() argument
212 if ((mask & _Locale_ALPHA) != 0 && iswalpha(wc)) in _WLocale_ctype()
215 if ((mask & _Locale_CNTRL) != 0 && iswcntrl(wc)) in _WLocale_ctype()
218 if ((mask & _Locale_DIGIT) != 0 && iswdigit(wc)) in _WLocale_ctype()
221 if ((mask & _Locale_PRINT) != 0 && iswprint(wc)) in _WLocale_ctype()
224 if ((mask & _Locale_PUNCT) != 0 && iswpunct(wc)) in _WLocale_ctype()
227 if ((mask & _Locale_SPACE) != 0 && iswspace(wc)) in _WLocale_ctype()
230 if ((mask & _Locale_XDIGIT) != 0 && iswxdigit(wc)) in _WLocale_ctype()
233 if ((mask & _Locale_UPPER) != 0 && iswupper(wc)) in _WLocale_ctype()
236 if ((mask & _Locale_LOWER) != 0 && iswlower(wc)) in _WLocale_ctype()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/
Dlookup_classname.pass.cpp25 test(const char_type* A, std::ctype_base::mask expected, bool icase = false) in test()
118 test("dig", std::ctype_base::mask()); in main()
119 test("", std::ctype_base::mask()); in main()
120 test("digits", std::ctype_base::mask()); in main()
206 test(L"dig", std::ctype_base::mask()); in main()
207 test(L"", std::ctype_base::mask()); in main()
208 test(L"digits", std::ctype_base::mask()); in main()
/ndk/sources/android/support/src/musl-locale/
Dnewlocale.c6 locale_t newlocale(int mask, const char *name, locale_t base) in newlocale() argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dregex.cpp210 ctype_base::mask mask_;
257 ctype_base::mask
262 ctype_base::mask r = 0; in __get_classname()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dtable.pass.cpp28 std::ctype<char>::mask table[256]; in main()
Dctor.pass.cpp25 explicit my_facet(const mask* tbl = 0, bool del = false, std::size_t refs = 0) in my_facet()
Dscan_is.pass.cpp30 std::vector<F::mask> m(in.size()); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dctype_facets_test.cpp46 ctype_base::mask res[sizeof(values)]; in _ctype_facet()
80 res = ct.scan_is((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet()
100 res = ct.scan_not((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet()
190 ctype_base::mask res[sizeof(values) / sizeof(wchar_t)]; in _ctype_facet_w()
224 res = wct.scan_is((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet_w()
244 res = wct.scan_not((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet_w()
430 …CPPUNIT_ASSERT( ct.is(ctype_base::mask(ctype_base::print | ctype_base::lower | ctype_base::alpha),… in ctype_by_name()
/ndk/tests/device/test-stlport/unit/
Dctype_facets_test.cpp46 ctype_base::mask res[sizeof(values)]; in _ctype_facet()
80 res = ct.scan_is((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet()
100 res = ct.scan_not((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet()
190 ctype_base::mask res[sizeof(values) / sizeof(wchar_t)]; in _ctype_facet_w()
224 res = wct.scan_is((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet_w()
244 res = wct.scan_not((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend); in _ctype_facet_w()
430 …CPPUNIT_ASSERT( ct.is(ctype_base::mask(ctype_base::print | ctype_base::lower | ctype_base::alpha),… in ctype_by_name()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/
Dlocale_win32.cpp15 locale_t newlocale( int mask, const char * locale, locale_t /*base*/ ) in newlocale() argument
17 return _create_locale( mask, locale ); in newlocale()
/ndk/sources/android/cpufeatures/
Dcpu-features.c347 uint32_t mask; member
352 list->mask = 0; in cpulist_init()
357 list1->mask &= list2->mask; in cpulist_and()
363 list->mask |= (uint32_t)(1U << index); in cpulist_set()
369 return __builtin_popcount(list->mask); in cpulist_count()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/
Dscan_is.pass.cpp33 std::vector<F::mask> m(in.size()); in main()
54 std::vector<F::mask> m(in.size()); in main()
Dscan_not.pass.cpp33 std::vector<F::mask> m(in.size()); in main()
54 std::vector<F::mask> m(in.size()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/
Dscan_not.pass.cpp30 std::vector<F::mask> m(in.size()); in main()
Dscan_is.pass.cpp30 std::vector<F::mask> m(in.size()); in main()

12