Searched refs:std (Results 151 - 175 of 33291) sorted by relevance

1234567891011>>

/external/libcxx/test/containers/unord/unord.map/
H A Dbucket_count.pass.cpp27 typedef std::unordered_map<int, std::string> C;
29 typedef std::pair<int, std::string> P;
34 typedef std::unordered_map<int, std::string> C;
36 typedef std::pair<int, std::string> P;
48 const C c(std::begin(a), std
[all...]
/external/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/
H A Dctor_error_code.pass.cpp24 std::system_error se(static_cast<int>(std::errc::not_a_directory),
25 std::generic_category(), "some text");
26 assert(se.code() == std::make_error_code(std::errc::not_a_directory));
27 std::string what_message(se.what());
28 assert(what_message.find("Not a directory") != std::string::npos);
H A Dctor_int_error_category.pass.cpp24 std::system_error se(static_cast<int>(std::errc::not_a_directory),
25 std::generic_category());
26 assert(se.code() == std::make_error_code(std::errc::not_a_directory));
27 std::string what_message(se.what());
28 assert(what_message.find("Not a directory") != std::string::npos);
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_iostate/
H A Diostate.pass.cpp24 assert(std::ios_base::badbit);
25 assert(std::ios_base::eofbit);
26 assert(std::ios_base::failbit);
30 ( std::ios_base::badbit
31 & std::ios_base::eofbit
32 & std::ios_base::failbit) == 0
35 assert(std::ios_base::goodbit == 0);
/external/libcxx/test/input.output/stream.buffers/streambuf/
H A Dtypes.pass.cpp28 static_assert((std::is_same<std::streambuf::char_type, char>::value), "");
29 static_assert((std::is_same<std::streambuf::traits_type, std::char_traits<char> >::value), "");
30 static_assert((std::is_same<std::streambuf::int_type, std::char_traits<char>::int_type>::value), "");
31 static_assert((std::is_same<std
[all...]
/external/libcxx/test/iterators/iterator.primitives/std.iterator.tags/
H A Dbidirectional_iterator_tag.pass.cpp19 std::bidirectional_iterator_tag tag;
20 static_assert((std::is_base_of<std::forward_iterator_tag,
21 std::bidirectional_iterator_tag>::value), "");
22 static_assert((!std::is_base_of<std::output_iterator_tag,
23 std::bidirectional_iterator_tag>::value), "");
H A Dforward_iterator_tag.pass.cpp19 std::forward_iterator_tag tag;
20 static_assert((std::is_base_of<std::input_iterator_tag,
21 std::forward_iterator_tag>::value), "");
22 static_assert((!std::is_base_of<std::output_iterator_tag,
23 std::forward_iterator_tag>::value), "");
H A Drandom_access_iterator_tag.pass.cpp19 std::random_access_iterator_tag tag;
20 static_assert((std::is_base_of<std::bidirectional_iterator_tag,
21 std::random_access_iterator_tag>::value), "");
22 static_assert((!std::is_base_of<std::output_iterator_tag,
23 std::random_access_iterator_tag>::value), "");
/external/libcxx/test/language.support/cstdint/cstdint.syn/
H A Dcstdint.pass.cpp22 // typedef std::int8_t
23 static_assert(sizeof(std::int8_t)*CHAR_BIT == 8,
24 "sizeof(std::int8_t)*CHAR_BIT == 8");
25 static_assert(std::is_signed<std::int8_t>::value,
26 "std::is_signed<std::int8_t>::value");
27 // typedef std::int16_t
28 static_assert(sizeof(std::int16_t)*CHAR_BIT == 16,
29 "sizeof(std
[all...]
/external/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/
H A Dbad_alloc.pass.cpp18 static_assert((std::is_base_of<std::exception, std::bad_alloc>::value),
19 "std::is_base_of<std::exception, std::bad_alloc>::value");
20 static_assert(std::is_polymorphic<std::bad_alloc>::value,
21 "std::is_polymorphic<std
[all...]
/external/libcxx/test/language.support/support.dynamic/alloc.errors/new.badlength/
H A Dbad_array_length.pass.cpp19 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_length>::value),
20 "std::is_base_of<std::bad_alloc, std::bad_array_length>::value");
21 static_assert(std::is_polymorphic<std::bad_array_length>::value,
22 "std::is_polymorphic<std
[all...]
H A Dbad_array_new_length.pass.cpp18 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value),
19 "std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value");
20 static_assert(std::is_polymorphic<std::bad_array_new_length>::value,
21 "std::is_polymorphic<std
[all...]
/external/libcxx/test/language.support/support.exception/bad.exception/
H A Dbad_exception.pass.cpp18 static_assert((std::is_base_of<std::exception, std::bad_exception>::value),
19 "std::is_base_of<std::exception, std::bad_exception>::value");
20 static_assert(std::is_polymorphic<std::bad_exception>::value,
21 "std::is_polymorphic<std
[all...]
/external/libcxx/test/language.support/support.rtti/bad.cast/
H A Dbad_cast.pass.cpp18 static_assert((std::is_base_of<std::exception, std::bad_cast>::value),
19 "std::is_base_of<std::exception, std::bad_cast>::value");
20 static_assert(std::is_polymorphic<std::bad_cast>::value,
21 "std::is_polymorphic<std
[all...]
/external/libcxx/test/language.support/support.rtti/bad.typeid/
H A Dbad_typeid.pass.cpp18 static_assert((std::is_base_of<std::exception, std::bad_typeid>::value),
19 "std::is_base_of<std::exception, std::bad_typeid>::value");
20 static_assert(std::is_polymorphic<std::bad_typeid>::value,
21 "std::is_polymorphic<std
[all...]
/external/libcxx/test/language.support/support.runtime/
H A Dctime.pass.cpp25 std::clock_t c = 0;
26 std::size_t s = 0;
27 std::time_t t = 0;
28 std::tm tm = {0};
29 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), "");
30 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), "");
31 static_assert((std
[all...]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/
H A Dtime_base.pass.cpp23 std::time_base::dateorder d = std::time_base::no_order;
24 assert(std::time_base::no_order == 0);
25 assert(std::time_base::dmy == 1);
26 assert(std::time_base::mdy == 2);
27 assert(std::time_base::ymd == 3);
28 assert(std::time_base::ydm == 4);
/external/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
H A Deq_int_type.pass.cpp21 assert( std::char_traits<char>::eq_int_type('a', 'a'));
22 assert(!std::char_traits<char>::eq_int_type('a', 'A'));
23 assert(!std::char_traits<char>::eq_int_type(std::char_traits<char>::eof(), 'A'));
24 assert( std::char_traits<char>::eq_int_type(std::char_traits<char>::eof(),
25 std::char_traits<char>::eof()));
/external/libcxx/test/strings/string.conversions/
H A Dstoi.pass.cpp20 assert(std::stoi("0") == 0);
21 assert(std::stoi(L"0") == 0);
22 assert(std::stoi("-0") == 0);
23 assert(std::stoi(L"-0") == 0);
24 assert(std::stoi("-10") == -10);
25 assert(std::stoi(L"-10") == -10);
26 assert(std::stoi(" 10") == 10);
27 assert(std::stoi(L" 10") == 10);
29 assert(std::stoi("10g", &idx, 16) == 16);
32 assert(std
[all...]
/external/libcxx/test/utilities/date.time/
H A Dtested_elsewhere.pass.cpp23 std::clock_t c = 0;
24 std::size_t s = 0;
25 std::time_t t = 0;
26 std::tm tm = {0};
28 static_assert((std::is_same<decltype(std::clock()), std::clock_t>::value), "");
29 static_assert((std::is_same<decltype(std::difftime(t,t)), double>::value), "");
30 static_assert((std
[all...]
/external/libcxx/test/utilities/time/time.point/time.point.cast/
H A Dtoduration.fail.cpp24 typedef std::chrono::system_clock Clock;
25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint;
26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
27 std::chrono::time_point_cast<ToTimePoint>(FromTimePoint(std::chrono::milliseconds(3)));
/external/libcxx/test/localization/locales/locale/locale.cons/
H A Dlocale_facetptr.pass.cpp22 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
[all...]
/external/libcxx/test/input.output/iostream.format/std.manip/
H A Dsetbase.pass.cpp19 : public std::basic_streambuf<CharT>
28 std::istream is(&sb);
29 is >> std::setbase(8);
30 assert((is.flags() & std::ios_base::basefield) == std::ios_base::oct);
31 is >> std::setbase(10);
32 assert((is.flags() & std::ios_base::basefield) == std::ios_base::dec);
33 is >> std::setbase(16);
34 assert((is.flags() & std
[all...]
/external/libcxx/test/strings/c.strings/
H A Dcstring.pass.cpp21 std::size_t s = 0;
26 static_assert((std::is_same<decltype(std::memcpy(vp, vpc, s)), void*>::value), "");
27 static_assert((std::is_same<decltype(std::memmove(vp, vpc, s)), void*>::value), "");
28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), "");
29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), "");
30 static_assert((std
[all...]
/external/chromium_org/chrome/common/
H A Dauto_start_linux.h16 static bool AddApplication(const std::string& autostart_filename,
17 const std::string& application_name,
18 const std::string& command_line,
21 static bool Remove(const std::string& autostart_filename);
23 static bool GetAutostartFileContents(const std::string& autostart_filename,
24 std::string* contents);
26 static bool GetAutostartFileValue(const std::string& autostart_filename,
27 const std::string& value_name,
28 std::string* value);

Completed in 316 milliseconds

1234567891011>>