Searched refs:nothrow (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/libstdc++/libsupc++/
H A Dnew_opvnt.cc35 operator new[] (std::size_t sz, const std::nothrow_t& nothrow) throw() argument
37 return ::operator new(sz, nothrow);
H A Dnew_handler.cc35 const std::nothrow_t std::nothrow = { }; member in class:std
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_local.h33 #define MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow) \
37 if (!nothrow) \
47 #define MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow)
H A Dasan_new_delete.cpp33 COMMENT_EXPORT("??2@YAPEAX_KAEBUnothrow_t@std@@@Z") // operator new nothrow
40 COMMENT_EXPORT("??2@YAPAXIABUnothrow_t@std@@@Z") // operator new nothrow
74 #define OPERATOR_NEW_BODY(type, nothrow) \
75 MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow); \
78 if (!nothrow && UNLIKELY(!res)) \
81 #define OPERATOR_NEW_BODY_ALIGN(type, nothrow) \
82 MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow); \
85 if (!nothrow && UNLIKELY(!res)) \
99 { OPERATOR_NEW_BODY(FROM_NEW, false /*nothrow*/); }
102 { OPERATOR_NEW_BODY(FROM_NEW_BR, false /*nothrow*/); }
[all...]
/freebsd-11-stable/contrib/libstdc++/include/backward/
H A Dnew.h38 using std::nothrow;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp32 #define OPERATOR_NEW_BODY(nothrow) \
35 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
39 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
41 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
44 OPERATOR_NEW_BODY(true /*nothrow*/);
48 OPERATOR_NEW_BODY(true /*nothrow*/);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp33 #define OPERATOR_NEW_BODY(nothrow) \
36 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
38 #define OPERATOR_NEW_BODY_ALIGN(nothrow) \
41 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
45 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
47 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
50 OPERATOR_NEW_BODY(true /*nothrow*/);
54 OPERATOR_NEW_BODY(true /*nothrow*/);
58 { OPERATOR_NEW_BODY_ALIGN(false /*nothrow*/); }
61 { OPERATOR_NEW_BODY_ALIGN(false /*nothrow*/); }
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_new_delete.cpp31 #define OPERATOR_NEW_BODY(mangled_name, nothrow) \
38 if (!nothrow && UNLIKELY(!p)) { \
46 #define OPERATOR_NEW_BODY_ALIGN(mangled_name, nothrow) \
53 if (!nothrow && UNLIKELY(!p)) { \
64 OPERATOR_NEW_BODY(_Znwm, false /*nothrow*/);
70 OPERATOR_NEW_BODY(_Znam, false /*nothrow*/);
76 OPERATOR_NEW_BODY(_ZnwmRKSt9nothrow_t, true /*nothrow*/);
82 OPERATOR_NEW_BODY(_ZnamRKSt9nothrow_t, true /*nothrow*/);
88 OPERATOR_NEW_BODY_ALIGN(_ZnwmSt11align_val_t, false /*nothrow*/);
94 OPERATOR_NEW_BODY_ALIGN(_ZnamSt11align_val_t, false /*nothrow*/);
[all...]
/freebsd-11-stable/contrib/libstdc++/include/std/
H A Dstd_memory.h83 nothrow));
106 * Provides the nothrow exception guarantee.
123 { ::operator delete(__p, nothrow); }
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-runtime.h89 __attribute((nothrow));
91 __attribute((nothrow));
93 __attribute((nothrow));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp203 #define OPERATOR_NEW_BODY(nothrow)\
207 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
209 #define OPERATOR_NEW_BODY_ALIGN(nothrow)\
213 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
229 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
231 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
234 { OPERATOR_NEW_BODY(true /*nothrow*/); }
237 { OPERATOR_NEW_BODY(true /*nothrow*/); }
240 { OPERATOR_NEW_BODY_ALIGN(false /*nothrow*/); }
243 { OPERATOR_NEW_BODY_ALIGN(false /*nothrow*/); }
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_runtime_wrapper.h341 __device__ void free(void *) __attribute((nothrow));
342 __device__ void *malloc(size_t) __attribute((nothrow)) __attribute__((malloc));
/freebsd-11-stable/contrib/llvm-project/libcxx/src/
H A Dnew.cpp33 const nothrow_t nothrow{};
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h138 # define JEMALLOC_NOTHROW __declspec(nothrow)
170 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
/freebsd-11-stable/contrib/gcc/cp/
H A Dinit.c1606 int nothrow, check_new;
1845 nothrow = TYPE_NOTHROW_P (TREE_TYPE (alloc_fn));
1846 check_new = (flag_check_new || nothrow) && ! use_java_new;
1604 int nothrow, check_new; local
H A Dcall.c276 int nothrow; local
312 nothrow = ((decl && TREE_NOTHROW (decl))
340 TREE_NOTHROW (function) = nothrow;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp284 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow));
459 // new(std::nothrow) returns 0.
/freebsd-11-stable/contrib/gcc/
H A Ddwarf2out.c239 unsigned nothrow : 1;
2202 if ((fde_table[i].nothrow || fde_table[i].all_throwers_are_sibcalls)
2210 enabled, we won't have collected nothrow information, and if we
2221 else if (! fde_table[i].nothrow
2375 && (fde->nothrow || fde->all_throwers_are_sibcalls)
2589 fde->nothrow = TREE_NOTHROW (current_function_decl);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp1231 std::unique_ptr<uint8_t[]> buffer (new (std::nothrow) uint8_t[byte_count]);
/freebsd-11-stable/contrib/gcc/config/arm/
H A Darm.c12617 tree nothrow = tree_cons (get_identifier ("nothrow"), NULL, NULL);
12618 tree const_nothrow = tree_cons (get_identifier ("const"), NULL, nothrow);
12597 tree nothrow = tree_cons (get_identifier ("nothrow"), NULL, NULL); local

Completed in 215 milliseconds