Searched defs:std (Results 1 - 25 of 499) sorted by relevance

1234567891011>>

/external/clang/test/CXX/over/over.oper/over.literal/
H A Dp8.cpp1 // RUN: %clang_cc1 -std=c++11 %s -verify
4 namespace std { namespace
9 string operator "" _i18n(const char*, std::size_t); // ok
13 string operator "" 5X(const char *, std::size_t); // expected-error {{expected identifier}}
/external/clang/test/Index/
H A Dcomplete-preamble.h1 namespace std { namespace
5 namespace std { namespace
H A Dload-namespaces.cpp3 namespace std { namespace
9 namespace std { namespace
13 namespace std98 = std;
18 namespace std { namespace
22 using std::g;
24 void std::g() {
27 namespace my_rel_ops = std::rel_ops;
30 // CHECK: load-namespaces.cpp:3:11: Namespace=std:3:11 (Definition) Extent=[3:1 - 7:2]
33 // CHECK: load-namespaces.cpp:9:11: Namespace=std:9:11 (Definition) Extent=[9:1 - 11:2]
36 // CHECK: load-namespaces.cpp:13:19: NamespaceRef=std
[all...]
/external/clang/test/Modules/
H A Dsubmodules-preprocess.cpp5 @import std.vector;
19 @import std.typetraits; // expected-error{{no submodule named 'typetraits' in module 'std'; did you mean 'type_traits'?}}
33 @import std.vector.compare; // expected-error{{no submodule named 'compare' in module 'std.vector'}}
35 @import std; // import everything in 'std' variable
49 @import std.hash_map;
/external/libcxxabi/src/
H A Dexception.cpp14 namespace std namespace
25 return "std::exception";
36 return "std::bad_exception";
39 } // std
H A Dstdexcept.cpp18 static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
20 namespace std // purposefully not using versioning namespace namespace
48 } // std
H A Dcxa_handlers.hpp18 namespace std namespace
29 } // std
43 extern std::atomic<std::terminate_handler> __cxa_terminate_handler;
44 extern std::atomic<std::unexpected_handler> __cxa_unexpected_handler;
45 extern std::atomic<std::new_handler> __cxa_new_handler;
H A Dtypeinfo.cpp12 namespace std namespace
34 return "std::bad_cast";
50 return "std::bad_typeid";
53 } // std
/external/clang/test/CodeGenCXX/
H A Dpr11797.cpp3 namespace std __attribute__ ((__visibility__ ("default"))) {} namespace
/external/clang/test/Parser/
H A Dcxx-typeid.cpp4 namespace std { namespace
/external/icu/icu4c/source/common/unicode/
H A Dstd_string.h31 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
/external/icu/icu4c/source/common/
H A Dutypeinfo.h13 // Windows header <typeinfo> does not define 'exception' in 'std' namespace.
23 using std::exception;
26 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
/external/icu/icu4c/source/io/unicode/
H A Dustream.h30 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 namespace
50 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s);
58 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
/external/libcxx/src/
H A Doptional.cpp12 namespace std // purposefully not using versioning namespace namespace
25 }} // std::experimental
/external/stlport/stlport/stl/
H A D_cprolog.h7 #ifdef std
8 # undef std /* We undef "std" on entry , as STLport headers may include native ones. */ macro
H A D_epilog.h25 /* We redefine "std" to STLPORT, so that user code may use std:: transparently
26 * The STLPORT macro contains the STLport namespace name containing all the std
29 # if defined (std)
31 * Looks like the compiler native library on which STLport rely defined the std macro.
36 # endif /* std */
37 # define std STLPORT macro
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
H A Dp2-nodef.cpp8 int std = 17; variable
H A Dp2-noexceptions.cpp3 namespace std { namespace
11 void* operator new(std::size_t);
12 void* operator new[](std::size_t);
/external/clang/test/CXX/drs/
H A Ddr412.cpp1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT="throw()" -DBAD_ALLOC="throw(std::bad_alloc)"
2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC=
3 // RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC=
11 namespace std { struct bad_alloc {}; } namespace
/external/clang/test/CodeCompletion/
H A Dfunction-templates.cpp1 namespace std { namespace
15 std::sort(1, 2);
/external/clang/test/SemaCXX/
H A DMicrosoftCompatibilityNoExceptions.cpp5 namespace std {} namespace
H A Dcxx0x-initializer-stdinitializerlist-system-header.cpp1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -Wsystem-headers %s
7 namespace std { namespace
21 struct { int a, b; std::__debug::vector<int> c; } e[] = { {1, 1} }; // expected-note{{used in initialization here}}
H A Dlibstdcxx_atomic_ns_hack.cpp1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
3 // libstdc++ 4.6.x contains a bug where it defines std::__atomic[0,1,2] as a
14 namespace std { namespace
30 std::foobar fb;
33 using T = std::foobar; // expected-error {{different types ('std::foobar' (aka 'int') vs 'void')}}
H A Dlibstdcxx_common_type_hack.cpp1 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify
4 // an issue with GCC's <type_traits> implementation. std::common_type
11 namespace std { namespace
28 using T = std::common_type<int, int>::type;
31 using U = decltype(true ? std::declval<int>() : std::declval<int>()); // expected-error {{different types}}
H A Dtypeid-ref.cpp2 namespace std { namespace

Completed in 805 milliseconds

1234567891011>>