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

123456

/freebsd-head/contrib/llvm-project/libcxx/src/
H A Dvariant.cpp11 namespace std { namespace
17 } // namespace std
H A Dany.cpp11 namespace std { namespace
20 // Preserve std::experimental::any_bad_cast for ABI compatibility
H A Doptional.cpp11 namespace std namespace
20 } // std
25 // Preserve std::experimental::bad_optional_access for ABI compatibility
30 : public std::logic_error
33 bad_optional_access() : std::logic_error("Bad optional Access") {}
H A Dnew.cpp29 namespace std namespace
50 } // std
62 operator new(std::size_t size) _THROW_BAD_ALLOC
71 std::new_handler nh = std::get_new_handler();
76 throw std::bad_alloc();
86 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT
112 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT
138 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT
159 operator delete[] (void* ptr, const std
[all...]
/freebsd-head/contrib/libcxxrt/
H A Dterminate.cc29 namespace std namespace
32 * Stub implementation of std::terminate. Used when the STL implementation
H A Dstdexcept.h32 namespace std namespace
95 } // namespace std
H A Dmemory.cc42 namespace std namespace
56 namespace std namespace
76 #define BADALLOC throw(std::bad_alloc)
93 new_handler h = std::get_new_handler();
100 throw std::bad_alloc();
109 void* operator new(size_t size, const std::nothrow_t &) NOEXCEPT
115 // std::bad_alloc exception in new handler
136 void * operator new[](size_t size, const std::nothrow_t &) NOEXCEPT
142 // std::bad_alloc exception in new handler
H A Dstdexcept.cc32 namespace std { namespace
43 return "std::exception";
69 return "std::bad_cast";
82 return "std::bad_typeid";
95 return "std::bad_array_new_length";
98 } // namespace std
/freebsd-head/contrib/kyua/utils/format/
H A Dcontainers.hpp45 namespace std { namespace
49 std::ostream& operator<<(std::ostream&, const std::map< K, V >&);
52 std::ostream& operator<<(std::ostream&, const std::pair< T1, T2 >&);
55 std::ostream& operator<<(std::ostream&, const std
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DMSVCErrorWorkarounds.h26 // std::future implementation which requires default constructible types.
31 MSVCPError(MSVCPError &&Other) : Error(std::move(Other)) {}
34 Error::operator=(std::move(Other));
38 MSVCPError(Error Err) : Error(std::move(Err)) {}
42 // std::future implementation, which requires default constructible types.
50 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {}
53 Expected<T>::operator=(std::move(Other));
57 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {}
62 typename std::enable_if<std
60 MSVCPExpected( OtherT &&Val, typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = nullptr) argument
67 MSVCPExpected( Expected<OtherT> &&Other, typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = nullptr) argument
74 MSVCPExpected( Expected<OtherT> &&Other, typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * = nullptr) argument
[all...]
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A DError.h19 const std::error_category &cxxdump_category();
27 inline std::error_code make_error_code(cxxdump_error e) {
28 return std::error_code(static_cast<int>(e), cxxdump_category());
33 namespace std { namespace
35 struct is_error_code_enum<llvm::cxxdump_error> : std::true_type {};
/freebsd-head/contrib/llvm-project/lld/include/lld/Common/
H A DLLVM.h95 namespace std { namespace
102 } // namespace std
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp21 namespace std { namespace
24 } // namespace std
33 std::nothrow_t const &) NOEXCEPT {
37 std::nothrow_t const &) NOEXCEPT {
40 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align) {
44 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align) {
48 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align,
49 std::nothrow_t const &) NOEXCEPT {
53 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align,
54 std
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/TextAPI/MachO/
H A DArchitectureSet.cpp18 ArchitectureSet::ArchitectureSet(const std::vector<Architecture> &Archs)
36 ArchitectureSet::operator std::string() const {
40 std::string result;
51 ArchitectureSet::operator std::vector<Architecture>() const {
52 std::vector<Architecture> archs;
61 void ArchitectureSet::print(raw_ostream &os) const { os << std::string(*this); }
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimeout.h19 // basically an llvm::Optional<std::chrono::duration<int64_t, Ratio>>, but we
21 // from Timeout<std::milli> to Timeout<std::micro>.
28 class Timeout : public llvm::Optional<std::chrono::duration<int64_t, Ratio>> {
30 template <typename Ratio2> using Dur = std::chrono::duration<int64_t, Ratio2>;
32 using EnableIf = std::enable_if<
33 std::is_convertible<std::chrono::duration<Rep2, Ratio2>,
34 std::chrono::duration<int64_t, Ratio>>::value>;
49 Timeout(const std argument
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFError.h29 namespace std { namespace
31 struct is_error_code_enum<llvm::msf::msf_error_code> : std::true_type {};
32 } // namespace std
36 const std::error_category &MSFErrCategory();
38 inline std::error_code make_error_code(msf_error_code E) {
39 return std::error_code(static_cast<int>(E), MSFErrCategory());
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DError.h19 const std::error_category &readobj_category();
30 inline std::error_code make_error_code(readobj_error e) {
31 return std::error_code(static_cast<int>(e), readobj_category());
36 namespace std { namespace
37 template <> struct is_error_code_enum<llvm::readobj_error> : std::true_type {};
/freebsd-head/contrib/llvm-project/lld/include/lld/Core/
H A DError.h23 const std::error_category &YamlReaderCategory();
30 inline std::error_code make_error_code(YamlReaderError e) {
31 return std::error_code(static_cast<int>(e), YamlReaderCategory());
40 std::error_code make_dynamic_error_code(StringRef msg);
50 const std::string &getMessage() const { return Msg; }
53 std::error_code convertToErrorCode() const override {
58 std::string Msg;
63 namespace std { namespace
64 template <> struct is_error_code_enum<lld::YamlReaderError> : std::true_type {};
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp25 // Fake std::nothrow_t to avoid including <new>.
26 namespace std { namespace
28 } // namespace std
31 // TODO(alekseys): throw std::bad_alloc instead of dying on OOM.
43 void *operator new(size_t size, std::nothrow_t const&) {
47 void *operator new[](size_t size, std::nothrow_t const&) {
60 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
62 void operator delete[](void *ptr, std::nothrow_t const&) {
/freebsd-head/contrib/lutok/
H A Doperations.cpp45 lutok::create_module(state& s, const std::string& name, argument
46 const std::map< std::string, cxx_function >& members)
50 for (std::map< std::string, cxx_function >::const_iterator
76 lutok::do_file(state& s, const std::string& file, const int nargs,
116 lutok::do_string(state& s, const std::string& str, const int nargs,
149 lutok::eval(state& s, const std::string& expression, const int nresults)
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h29 namespace std { namespace
31 struct is_error_code_enum<llvm::codeview::cv_error_code> : std::true_type {};
32 } // namespace std
36 const std::error_category &CVErrorCategory();
38 inline std::error_code make_error_code(cv_error_code E) {
39 return std::error_code(static_cast<int>(E), CVErrorCategory());
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAError.h28 namespace std { namespace
30 struct is_error_code_enum<llvm::pdb::dia_error_code> : std::true_type {};
31 } // namespace std
35 const std::error_category &DIAErrCategory();
37 inline std::error_code make_error_code(dia_error_code E) {
38 return std::error_code(static_cast<int>(E), DIAErrCategory());
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DGenericError.h29 namespace std { namespace
31 struct is_error_code_enum<llvm::pdb::pdb_error_code> : std::true_type {};
32 } // namespace std
36 const std::error_category &PDBErrCategory();
38 inline std::error_code make_error_code(pdb_error_code E) {
39 return std::error_code(static_cast<int>(E), PDBErrCategory());
/freebsd-head/contrib/llvm-project/clang/lib/Tooling/
H A DStandaloneExecution.cpp31 llvm::ArrayRef<std::string> SourcePaths,
33 std::shared_ptr<PCHContainerOperations> PCHContainerOps)
34 : Tool(Compilations, SourcePaths, std::move(PCHContainerOps),
35 std::move(BaseFS)),
44 std::shared_ptr<PCHContainerOperations> PCHContainerOps)
45 : OptionsParser(std::move(Options)),
47 std::move(PCHContainerOps)),
54 std::pair<std::unique_ptr<FrontendActionFactory>, ArgumentsAdjuster>>
74 llvm::Expected<std
52 execute( llvm::ArrayRef< std::pair<std::unique_ptr<FrontendActionFactory>, ArgumentsAdjuster>> Actions) argument
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp25 // Fake std::nothrow_t and std::align_val_t to avoid including <new>.
26 namespace std { namespace
29 } // namespace std
32 // TODO(alekseys): throw std::bad_alloc instead of dying on OOM.
49 void *operator new(size_t size, std::nothrow_t const&) {
53 void *operator new[](size_t size, std::nothrow_t const&) {
57 void *operator new(size_t size, std::align_val_t align)
60 void *operator new[](size_t size, std::align_val_t align)
63 void *operator new(size_t size, std
[all...]

Completed in 83 milliseconds

123456