Lines Matching refs:std

22 void* operator new(std::size_t s) throw(std::bad_alloc)
25 return std::malloc(s);
31 std::free(p);
34 void check(const std::locale& loc)
36 assert(std::has_facet<std::collate<char> >(loc));
37 assert(std::has_facet<std::collate<wchar_t> >(loc));
39 assert(std::has_facet<std::ctype<char> >(loc));
40 assert(std::has_facet<std::ctype<wchar_t> >(loc));
41 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc)));
42 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc)));
43 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc)));
44 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc)));
46 assert((std::has_facet<std::moneypunct<char> >(loc)));
47 assert((std::has_facet<std::moneypunct<wchar_t> >(loc)));
48 assert((std::has_facet<std::money_get<char> >(loc)));
49 assert((std::has_facet<std::money_get<wchar_t> >(loc)));
50 assert((std::has_facet<std::money_put<char> >(loc)));
51 assert((std::has_facet<std::money_put<wchar_t> >(loc)));
53 assert((std::has_facet<std::numpunct<char> >(loc)));
54 assert((std::has_facet<std::numpunct<wchar_t> >(loc)));
55 assert((std::has_facet<std::num_get<char> >(loc)));
56 assert((std::has_facet<std::num_get<wchar_t> >(loc)));
57 assert((std::has_facet<std::num_put<char> >(loc)));
58 assert((std::has_facet<std::num_put<wchar_t> >(loc)));
60 assert((std::has_facet<std::time_get<char> >(loc)));
61 assert((std::has_facet<std::time_get<wchar_t> >(loc)));
62 assert((std::has_facet<std::time_put<char> >(loc)));
63 assert((std::has_facet<std::time_put<wchar_t> >(loc)));
65 assert((std::has_facet<std::messages<char> >(loc)));
66 assert((std::has_facet<std::messages<wchar_t> >(loc)));
72 std::locale loc(LOCALE_ru_RU_UTF_8);
74 std::locale loc2(loc, std::string(LOCALE_en_US_UTF_8), std::locale::monetary);