/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.create/ |
H A D | make_unique.single.pass.cpp | 18 std::unique_ptr<int> p1 = std::make_unique<int>(1); 20 p1 = std::make_unique<int> (); 25 std::unique_ptr<std::string> p2 = std::make_unique<std::string> ( "Meow!" ); 27 p2 = std::make_unique<std::string> (); 29 p2 = std [all...] |
/external/oprofile/libutil++/ |
H A D | string_filter.h | 34 string_filter(std::string const & include_patterns, 35 std::string const & exclude_patterns); 40 string_filter(std::vector<std::string> const & include_patterns, 41 std::vector<std::string> const & exclude_patterns); 46 virtual bool match(std::string const & str) const; 50 std::vector<std::string> include; 52 std [all...] |
/external/chromium_org/base/ios/ |
H A D | device_util.h | 41 std::string GetPlatform(); 63 std::string GetMacAddress(const std::string& interface_name); 66 std::string GetRandomId(); 73 std::string GetDeviceIdentifier(const char* salt); 78 std::string GetSaltedString(const std::string& in_string, 79 const std::string& salt);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
H A D | extension_token_key.h | 14 ExtensionTokenKey(const std::string& extension_id, 15 const std::string& account_id, 16 const std::set<std::string>& scopes); 19 std::string extension_id; 20 std::string account_id; 21 std::set<std::string> scopes;
|
/external/chromium_org/chrome_elf/ |
H A D | chrome_elf_types.h | 11 typedef std::map<std::string, void*> FunctionLookupTable;
|
/external/chromium_org/chromeos/network/onc/ |
H A D | onc_translator_unittest.cc | 20 : public ::testing::TestWithParam<std::pair<std::string, std::string> > { 25 std::string source_onc_filename = GetParam().first; 28 std::string result_shill_filename = GetParam().second; 45 std::make_pair("ethernet.onc", "shill_ethernet.json"), 46 std::make_pair("ethernet_with_eap_and_cert_pems.onc", 48 std::make_pair("valid_wifi_psk.onc", "shill_wifi_psk.json"), 49 std::make_pair("wifi_clientcert_with_cert_pems.onc", 51 std [all...] |
/external/chromium_org/content/public/common/ |
H A D | user_agent.h | 15 CONTENT_EXPORT std::string GetWebKitVersion(); 21 CONTENT_EXPORT std::string GetWebKitRevision(); 24 CONTENT_EXPORT std::string BuildOSCpuInfo(); 28 CONTENT_EXPORT std::string BuildUserAgentFromProduct( 29 const std::string& product); 33 CONTENT_EXPORT std::string BuildUserAgentFromOSAndProduct( 34 const std::string& os_info, 35 const std::string& product);
|
/external/chromium_org/sync/internal_api/public/base/ |
H A D | unique_position.h | 46 static bool IsValidSuffix(const std::string& suffix); 47 static bool IsValidBytes(const std::string& bytes); 51 static std::string RandomSuffix(); 63 static UniquePosition FromInt64(int64 i, const std::string& suffix); 66 static UniquePosition InitialPosition(const std::string& suffix); 71 const std::string& suffix); 73 const std::string& suffix); 76 const std::string& suffix); 88 void SerializeToString(std::string* blob) const; 91 std [all...] |
/external/chromium_org/third_party/angle/util/ |
H A D | path_utils.h | 12 std::string GetExecutablePath(); 13 std::string GetExecutableDirectory();
|
/external/eigen/doc/examples/ |
H A D | tut_matrix_resize.cpp | 10 std::cout << "The matrix m is of size " 11 << m.rows() << "x" << m.cols() << std::endl; 12 std::cout << "It has " << m.size() << " coefficients" << std::endl; 15 std::cout << "The vector v is of size " << v.size() << std::endl; 16 std::cout << "As a matrix, v is of size " 17 << v.rows() << "x" << v.cols() << std::endl;
|
/external/libcxx/test/atomics/atomics.flag/ |
H A D | copy_ctor.fail.cpp | 21 std::atomic_flag f0; 22 std::atomic_flag f(f0);
|
/external/libcxx/test/atomics/atomics.order/ |
H A D | kill_dependency.pass.cpp | 19 assert(std::kill_dependency(5) == 5); 20 assert(std::kill_dependency(-5.5) == -5.5);
|
/external/libcxx/test/depr/exception.unexpected/set.unexpected/ |
H A D | get_unexpected.pass.cpp | 21 std::exit(0); 27 std::unexpected_handler old = std::get_unexpected(); 30 std::set_unexpected(f1); 31 assert(std::get_unexpected() == f1); 33 std::set_unexpected(f2); 34 assert(std::get_unexpected() == f2); 36 std::set_terminate(f3);
|
/external/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ |
H A D | ctor_error_code_string.pass.cpp | 24 std::string what_arg("test message"); 25 std::system_error se(make_error_code(std::errc::not_a_directory), what_arg); 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(what_arg) != std::string::npos); 29 assert(what_message.find("Not a directory") != std::string::npos);
|
/external/libcxx/test/input.output/file.streams/fstreams/fstream.cons/ |
H A D | default.pass.cpp | 23 std::fstream fs; 26 std::wfstream fs;
|
/external/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/ |
H A D | default.pass.cpp | 23 std::ifstream fs; 26 std::wifstream fs;
|
/external/libcxx/test/input.output/file.streams/fstreams/ofstream.cons/ |
H A D | default.pass.cpp | 23 std::ofstream fs; 26 std::wofstream fs;
|
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.members.static/ |
H A D | sync_with_stdio.pass.cpp | 19 assert( std::ios_base::sync_with_stdio(false)); 20 assert(!std::ios_base::sync_with_stdio(false)); 21 assert(!std::ios_base::sync_with_stdio(true)); 22 assert( std::ios_base::sync_with_stdio(true)); 23 assert( std::ios_base::sync_with_stdio()); 24 assert( std::ios_base::sync_with_stdio(false)); 25 assert(!std::ios_base::sync_with_stdio()); 26 assert( std::ios_base::sync_with_stdio());
|
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.cons/ |
H A D | copy.fail.cpp | 20 std::streambuf get(); 24 std::streambuf sb = get();
|
/external/libcxx/test/iterators/stream.iterators/istream.iterator/istream.iterator.cons/ |
H A D | default.pass.cpp | 21 std::istream_iterator<int> i; 22 assert(i == std::istream_iterator<int>());
|
/external/libcxx/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator.cons/ |
H A D | proxy.pass.cpp | 23 std::istringstream inf("abc"); 24 std::istreambuf_iterator<char> j(inf); 25 std::istreambuf_iterator<char> i = j++; 26 assert(i != std::istreambuf_iterator<char>()); 30 std::wistringstream inf(L"abc"); 31 std::istreambuf_iterator<wchar_t> j(inf); 32 std::istreambuf_iterator<wchar_t> i = j++; 33 assert(i != std::istreambuf_iterator<wchar_t>());
|
/external/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/ |
H A D | decimal_point.pass.cpp | 21 std::locale l = std::locale::classic(); 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l);
|
H A D | thousands_sep.pass.cpp | 21 std::locale l = std::locale::classic(); 24 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l); 29 const std::numpunct<C>& np = std::use_facet<std::numpunct<C> >(l);
|
/external/libcxx/test/numerics/numarray/template.gslice.array/ |
H A D | types.pass.cpp | 23 static_assert((std::is_same<std::gslice_array<int>::value_type, int>::value), "");
|
/external/libcxx/test/numerics/numarray/template.indirect.array/ |
H A D | types.pass.cpp | 23 static_assert((std::is_same<std::indirect_array<int>::value_type, int>::value), "");
|