Home
last modified time | relevance | path

Searched refs:narrow (Results 1 – 23 of 23) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.ctype.byname/
Dnarrow_1.pass.cpp29 assert(f.narrow(L' ', '*') == ' '); in main()
30 assert(f.narrow(L'A', '*') == 'A'); in main()
31 assert(f.narrow(L'\x07', '*') == '\x07'); in main()
32 assert(f.narrow(L'.', '*') == '.'); in main()
33 assert(f.narrow(L'a', '*') == 'a'); in main()
34 assert(f.narrow(L'1', '*') == '1'); in main()
35 assert(f.narrow(L'\xDA', '*') == '\xDA'); in main()
44 assert(f.narrow(L' ', '*') == ' '); in main()
45 assert(f.narrow(L'A', '*') == 'A'); in main()
46 assert(f.narrow(L'\x07', '*') == '\x07'); in main()
[all …]
Dnarrow_many.pass.cpp33 assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); in main()
51 assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dnarrow_1.pass.cpp26 assert(f.narrow(' ', '*') == ' '); in main()
27 assert(f.narrow('A', '*') == 'A'); in main()
28 assert(f.narrow('\x07', '*') == '\x07'); in main()
29 assert(f.narrow('.', '*') == '.'); in main()
30 assert(f.narrow('a', '*') == 'a'); in main()
31 assert(f.narrow('1', '*') == '1'); in main()
Dnarrow_many.pass.cpp30 assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/
Dnarrow_1.pass.cpp26 assert(f.narrow(L' ', '*') == ' '); in main()
27 assert(f.narrow(L'A', '*') == 'A'); in main()
28 assert(f.narrow(L'\x07', '*') == '\x07'); in main()
29 assert(f.narrow(L'.', '*') == '.'); in main()
30 assert(f.narrow(L'a', '*') == 'a'); in main()
31 assert(f.narrow(L'1', '*') == '1'); in main()
Dnarrow_many.pass.cpp30 assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/ios/basic.ios.members/
Dnarow.pass.cpp22 assert(ios.narrow('c', '*') == 'c'); in main()
23 assert(ios.narrow('\xFE', '*') == '*'); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ios.h106 inline char narrow(_CharT, char) const ;
145 basic_ios<_CharT, _Traits>::narrow(_CharT __c, char __default) const in narrow() function
146 { return _M_ctype_facet()->narrow(__c, __default); } in narrow()
156 basic_ios<char, char_traits<char> >::narrow(char __c, char) const in narrow() function
D_ctype.h106 char narrow(char __c, char __dfault) const { in narrow() function
109 const char* narrow(const char* __low, const char* __high, in narrow() function
211 char narrow(wchar_t __c, char __dfault) const in narrow() function
213 const wchar_t* narrow(const wchar_t* __low, const wchar_t* __high, in narrow() function
D_time_facets.c407 char __c = _Ct.narrow(*__pat, 0); in put()
411 __c = _Ct.narrow(*__pat++, 0); in put()
414 __c = _Ct.narrow(*__pat++, 0); in put()
D_bitset.c197 char __c = __is.narrow(__c2, '*');
D_bitset.h780 char __c = __is.narrow(__c2, '*');
831 char __c = __is.narrow(__c2, '*');
/ndk/tests/device/test-stlport/unit/
Dctype_facets_test.cpp158 CPPUNIT_ASSERT( ct.narrow('a', 'b') == 'a' ); in _ctype_facet()
165 ct.narrow(range, range + sizeof(range), 'b', res); in _ctype_facet()
303 CPPUNIT_CHECK( wct.narrow(L'a', 'b') == L'a' ); in _ctype_facet_w()
311 wct.narrow(range, range + sizeof(range) / sizeof(wchar_t), 'b', res); in _ctype_facet_w()
/ndk/tests/device/test-gnustl-full/unit/
Dctype_facets_test.cpp158 CPPUNIT_ASSERT( ct.narrow('a', 'b') == 'a' ); in _ctype_facet()
165 ct.narrow(range, range + sizeof(range), 'b', res); in _ctype_facet()
303 CPPUNIT_CHECK( wct.narrow(L'a', 'b') == L'a' ); in _ctype_facet_w()
311 wct.narrow(range, range + sizeof(range) / sizeof(wchar_t), 'b', res); in _ctype_facet_w()
/ndk/sources/cxx-stl/stlport/stlport/
Diostream59 // wide- and narrow-oriented I/O on the same stream. This implies
/ndk/sources/cxx-stl/llvm-libc++/include/
Dios153 char narrow(char_type c, char dfault) const;
617 char narrow(char_type __c, char __dfault) const;
716 basic_ios<_CharT, _Traits>::narrow(char_type __c, char __dfault) const
718 return use_facet<ctype<char_type> >(getloc()).narrow(__c, __dfault);
Dlocale1666 // Stage 1 - Get number in narrow char
1696 // Stage 1 - Get number in narrow char
1726 // Stage 1 - Get number in narrow char
1756 // Stage 1 - Get number in narrow char
1786 // Stage 1 - Get number in narrow char
1855 // Stage 1 - Get number in narrow char
1924 // Stage 1 - Get pointer in narrow char
1973 int __r = __ct.narrow(__c, 0) - '0';
1980 __r = __r * 10 + __ct.narrow(__c, 0) - '0';
2376 if (__ct.narrow(*__b, 0) != '%')
[all …]
D__locale478 char narrow(char_type __c, char __dfault) const
484 …const char_type* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to…
587 char narrow(char_type __c, char __dfault) const
593 …const char* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) con…
Dregex1231 return __value(static_cast<unsigned char>(__ct_->narrow(__ch, char_type())), __radix);
/ndk/sources/host-tools/sed-4.2.1/m4/
Dregex.m4153 /* Reject hosts whose regoff_t values are too narrow.
/ndk/sources/host-tools/make-3.81/config/
Dtexinfo.tex4898 % Amount to narrow the margins by for @lisp.
4932 % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
4969 % Flag to tell @lisp, etc., not to narrow margin.
5073 % @format/@smallformat: same as @display except don't narrow margins.
/ndk/sources/host-tools/sed-4.2.1/build-aux/
Dtexinfo.tex5977 % Amount to narrow the margins by for @lisp.
6011 % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
6048 % Flag to tell @lisp, etc., not to narrow margin.
6181 % @format/@smallformat: same as @display except don't narrow margins.
/ndk/sources/cxx-stl/llvm-libc++/src/
Dlocale.cpp4900 if (ct.narrow(*wbb, 0) == '%') in __analyze()