Lines Matching refs:wct

174   ctype<wchar_t> const& wct = use_facet<ctype<wchar_t> >(loc);
177 CPPUNIT_CHECK( wct.is(ctype_base::digit, L'0') );
178 CPPUNIT_CHECK( wct.is(ctype_base::upper, L'A') );
179 CPPUNIT_CHECK( wct.is(ctype_base::lower, L'a') );
180 CPPUNIT_CHECK( wct.is(ctype_base::alpha, L'A') );
181 CPPUNIT_CHECK( wct.is(ctype_base::space, L' ') );
182 CPPUNIT_CHECK( !wct.is(ctype_base::space, L'2') );
183 CPPUNIT_CHECK( wct.is(ctype_base::punct, L'.') );
184 CPPUNIT_CHECK( wct.is(ctype_base::xdigit, L'a') );
191 wct.is(values, values + (sizeof(values) / sizeof(wchar_t)), res);
224 res = wct.scan_is((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend);
228 res = wct.scan_is(ctype_base::upper, rbeg, rend);
232 res = wct.scan_is(ctype_base::punct, rbeg, rend);
244 res = wct.scan_not((ctype_base::mask)(ctype_base::alpha | ctype_base::lower), rbeg, rend);
248 res = wct.scan_not(ctype_base::alpha, rbeg, rend);
252 res = wct.scan_not(ctype_base::punct, rbeg, rend);
259 CPPUNIT_CHECK( wct.toupper(L'a') == L'A' );
260 CPPUNIT_CHECK( wct.toupper(L'A') == L'A' );
261 CPPUNIT_CHECK( wct.toupper(L'1') == L'1' );
268 wct.toupper(range, range + sizeof(range) / sizeof(wchar_t));
274 CPPUNIT_CHECK( wct.tolower(L'A') == L'a' );
275 CPPUNIT_CHECK( wct.tolower(L'a') == L'a' );
276 CPPUNIT_CHECK( wct.tolower(L'1') == L'1' );
283 wct.tolower(range, range + sizeof(range) / sizeof(wchar_t));
289 CPPUNIT_CHECK( wct.widen('a') == L'a' );
297 wct.widen(range, range + sizeof(range), res);
303 CPPUNIT_CHECK( wct.narrow(L'a', 'b') == L'a' );
311 wct.narrow(range, range + sizeof(range) / sizeof(wchar_t), 'b', res);