Home
last modified time | relevance | path

Searched refs:nothrow (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/llvm-project/clang/test/SemaCXX/
Dnothrow-vs-exception-specs.cpp4 __attribute__((nothrow)) void f1();
11 __attribute__((nothrow)) void f2();
17 void f3() __attribute__((nothrow));
25 __attribute__((nothrow)) void f4() throw();
29 __attribute__((nothrow)) void f5() noexcept;
33 __attribute__((nothrow)) void f6() noexcept(true);
39 __attribute__((nothrow)) void f7() throw(int);
45 __attribute__((nothrow)) void f8() noexcept(false);
48 __declspec(nothrow) void foo1() noexcept;
49 __declspec(nothrow) void foo2() noexcept(true);
[all …]
Dnothrow-as-noexcept-ctor.cpp5 __attribute__((nothrow)) Base() {} in Base()
17 __attribute__((nothrow)) Derived2() = default;
21 __attribute__((nothrow)) Base3() {} in Base3()
25 __attribute__((nothrow)) Derived3() = default;
Dunavailable_aligned_allocation.cpp18 nothrow_t nothrow; variable
44 p = new (std::nothrow) S; in test()
48 pa = new (std::nothrow) S[4]; in test()
55 p = new (std::nothrow) OveralignedS; in testOveraligned()
60 pa = new (std::nothrow) OveralignedS[4]; in testOveraligned()
/external/llvm-project/clang/test/Analysis/
Dcxx-dynamic-memory-analysis-order.cpp68 p = new (std::nothrow) int; in f()
69 operator delete(p, std::nothrow); in f()
77 v = operator new(sizeof(int[2]), std::align_val_t(2), std::nothrow); in f()
78 operator delete(v, std::align_val_t(2), std::nothrow); in f()
120 p = new (std::nothrow) int[2]; in f()
121 operator delete[](p, std::nothrow); in f()
129 v = operator new[](sizeof(int[2]), std::align_val_t(2), std::nothrow); in f()
130 operator delete[](v, std::align_val_t(2), std::nothrow); in f()
/external/webrtc/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing_test.cc28 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
36 decltype(::new (std::nothrow) T(std::declval<T>()));
44 decltype(::new (std::nothrow) T(std::declval<const T&>()));
52 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
63 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
74 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
190 case ti::default_constructible::nothrow: in TYPED_TEST_P()
252 case ti::move_constructible::nothrow: in TYPED_TEST_P()
314 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
363 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/abseil-cpp/absl/types/internal/
Dconformance_testing_test.cc28 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
36 decltype(::new (std::nothrow) T(std::declval<T>()));
44 decltype(::new (std::nothrow) T(std::declval<const T&>()));
52 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
63 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
74 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
190 case ti::default_constructible::nothrow: in TYPED_TEST_P()
252 case ti::move_constructible::nothrow: in TYPED_TEST_P()
314 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
363 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/angle/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing_test.cc31 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
39 decltype(::new (std::nothrow) T(std::declval<T>()));
47 decltype(::new (std::nothrow) T(std::declval<const T&>()));
55 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
66 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
77 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
193 case ti::default_constructible::nothrow: in TYPED_TEST_P()
255 case ti::move_constructible::nothrow: in TYPED_TEST_P()
317 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
366 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/openscreen/third_party/abseil/src/absl/types/internal/
Dconformance_testing_test.cc31 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
39 decltype(::new (std::nothrow) T(std::declval<T>()));
47 decltype(::new (std::nothrow) T(std::declval<const T&>()));
55 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
66 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
77 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
193 case ti::default_constructible::nothrow: in TYPED_TEST_P()
255 case ti::move_constructible::nothrow: in TYPED_TEST_P()
317 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
366 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/internal/
Dconformance_testing_test.cc31 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
39 decltype(::new (std::nothrow) T(std::declval<T>()));
47 decltype(::new (std::nothrow) T(std::declval<const T&>()));
55 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
66 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
77 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
193 case ti::default_constructible::nothrow: in TYPED_TEST_P()
255 case ti::move_constructible::nothrow: in TYPED_TEST_P()
317 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
366 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/internal/
Dconformance_testing_test.cc31 using DefaultConstructibleWithNewImpl = decltype(::new (std::nothrow) T);
39 decltype(::new (std::nothrow) T(std::declval<T>()));
47 decltype(::new (std::nothrow) T(std::declval<const T&>()));
55 std::integral_constant<bool, noexcept(::new (std::nothrow) T)>>
66 bool, noexcept(::new (std::nothrow) T(std::declval<T>()))>>
77 bool, noexcept(::new (std::nothrow) T(std::declval<const T&>()))>>
193 case ti::default_constructible::nothrow: in TYPED_TEST_P()
255 case ti::move_constructible::nothrow: in TYPED_TEST_P()
317 case ti::copy_constructible::nothrow: in TYPED_TEST_P()
366 case ti::destructible::nothrow: in TYPED_TEST_P()
[all …]
Dconformance_aliases.h49 ConformanceProfile<default_constructible::nothrow>);
60 move_constructible::nothrow>);
74 copy_constructible::nothrow>);
89 copy_constructible::maybe, move_assignable::nothrow>);
106 copy_assignable::nothrow>);
124 copy_assignable::maybe, destructible::nothrow>);
137 equality_comparable::nothrow>);
152 inequality_comparable::nothrow>);
167 less_than_comparable::nothrow>);
184 less_equal_comparable::nothrow>);
[all …]
/external/OpenCSD/decoder/source/etmv4/
Dtrc_etmv4_stack_elem.cpp41 TrcStackElem *pElem = new (std::nothrow) TrcStackElem(p0_type, isP0, root_pkt, root_index); in createParamElemNoParam()
54 …TrcStackElemParam *pElem = new (std::nothrow) TrcStackElemParam(p0_type, isP0, root_pkt, root_inde… in createParamElem()
72 TrcStackElemAtom *pElem = new (std::nothrow) TrcStackElemAtom(root_pkt, root_index); in createAtomElem()
83 TrcStackElemExcept *pElem = new (std::nothrow) TrcStackElemExcept(root_pkt, root_index); in createExceptElem()
95 TrcStackElemCtxt *pElem = new (std::nothrow) TrcStackElemCtxt(root_pkt, root_index); in createContextElem()
111 TrcStackElemAddr *pElem = new (std::nothrow) TrcStackElemAddr(root_pkt, root_index); in createAddrElem()
122 TrcStackQElem *pElem = new (std::nothrow) TrcStackQElem(root_pkt, root_index); in createQElem()
133 TrcStackElemMarker *pElem = new (std::nothrow) TrcStackElemMarker(root_pkt, root_index); in createMarkerElem()
144 TrcStackElemAddr *pElem = new (std::nothrow) TrcStackElemAddr(root_pkt, root_index, true); in createSrcAddrElem()
/external/OpenCSD/decoder/source/pkt_printers/
Dtrc_print_fact.cpp41 pPrinter = new (std::nothrow)RawFramePrinter(); in createRawFramePrinter()
49 pPrinter = new (std::nothrow)TrcGenericElementPrinter(); in createGenElemPrinter()
61 pPrinter = new (std::nothrow) PacketPrinter<EtmV4ITrcPacket>(CSID); in createProtocolPrinter()
64 pPrinter = new (std::nothrow) PacketPrinter<EtmV3TrcPacket>(CSID); in createProtocolPrinter()
67 pPrinter = new (std::nothrow) PacketPrinter<PtmTrcPacket>(CSID); in createProtocolPrinter()
70 pPrinter = new (std::nothrow) PacketPrinter<StmTrcPacket>(CSID); in createProtocolPrinter()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dnew_delete_test.cpp18 static const nothrow_t nothrow; variable
61 operator delete(break_optimization(new S12), std::nothrow); in main()
63 operator delete[](break_optimization(new S12[100]), std::nothrow); in main()
69 std::align_val_t(alignof(S12_128)), std::nothrow); in main()
77 std::align_val_t(alignof(S12_128)), std::nothrow); in main()
/external/llvm-project/clang/test/Sema/
Dattr-nothrow.c9 void PR42113a(void) __attribute__((nothrow));
13 void PR42113b() __attribute__((nothrow));
16 __attribute__((nothrow)) void PR42113c();
/external/OpenCSD/decoder/include/common/
Docsd_dcd_mngr.h343 pComp = new (std::nothrow) PktProc(instID); in createPktProc()
345 pComp = new (std::nothrow) PktProc(); in createPktProc()
353 pComp = new (std::nothrow)PktDcd(instID); in createPktDecode()
355 pComp = new (std::nothrow)PktDcd(); in createPktDecode()
361 return new (std::nothrow) Pc((PcSt *)pDataStruct); in createConfig()
385 pComp = new (std::nothrow) PktProc(instID); in createPktProc()
387 pComp = new (std::nothrow) PktProc(); in createPktProc()
395 pComp = new (std::nothrow)PktDcd(instID); in createPktDecode()
397 pComp = new (std::nothrow)PktDcd(); in createPktDecode()
403 return new (std::nothrow) PcEx((PcSt *)pDataStruct); in createConfig()
[all …]
/external/OpenCSD/decoder/source/c_api/
Docsd_c_api.cpp48 namespace std { const nothrow_t nothrow = nothrow_t(); } variable
98 lib_dt_data_list *pList = new (std::nothrow) lib_dt_data_list; in ocsd_create_dcd_tree()
242 GenTraceElemCBObj * pCBObj = new (std::nothrow)GenTraceElemCBObj(pFn, p_context); in ocsd_dt_set_gen_elem_outfn()
484 *ppCBObj = new (std::nothrow) PktCBObj<EtmV4ITrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_sink_cb()
488 *ppCBObj = new (std::nothrow) PktCBObj<EtmV3TrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_sink_cb()
492 *ppCBObj = new (std::nothrow) PktCBObj<PtmTrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_sink_cb()
496 *ppCBObj = new (std::nothrow) PktCBObj<StmTrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_sink_cb()
502 *ppCBObj = new (std::nothrow) PktCBObj<void>(pPktInFn, p_context); in ocsd_create_pkt_sink_cb()
523 *ppCBObj = new (std::nothrow) PktMonCBObj<EtmV4ITrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_mon_cb()
527 *ppCBObj = new (std::nothrow) PktMonCBObj<EtmV3TrcPacket>(pPktInFn,p_context); in ocsd_create_pkt_mon_cb()
[all …]
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_local.h33 #define MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow) \ argument
37 if (!nothrow) \
47 #define MAYBE_ALLOCATE_FROM_LOCAL_POOL(nothrow) argument
/external/llvm-project/libcxx/test/libcxx/language.support/support.dynamic/
Dnew_faligned_allocation.pass.cpp62 void *ptr = ::operator new(1, std::align_val_t(128), std::nothrow); in main()
65 ::operator delete(ptr, std::align_val_t(128), std::nothrow); in main()
74 void *ptr = ::operator new[](1, std::align_val_t(128), std::nothrow); in main()
77 ::operator delete[](ptr, std::align_val_t(128), std::nothrow); in main()
/external/libcxx/test/libcxx/language.support/support.dynamic/
Dnew_faligned_allocation.sh.cpp68 void *ptr = ::operator new(1, std::align_val_t(128), std::nothrow); in main()
71 ::operator delete(ptr, std::align_val_t(128), std::nothrow); in main()
80 void *ptr = ::operator new[](1, std::align_val_t(128), std::nothrow); in main()
83 ::operator delete[](ptr, std::align_val_t(128), std::nothrow); in main()

12345678910>>...12