Home
last modified time | relevance | path

Searched refs:nothrow_alloc (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/angle/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc397 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
402 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
403 nothrow_alloc.deallocate(ptr, 1); in TEST()
453 nothrow_alloc; in TEST() local
457 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
461 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
464 nothrow_alloc.destroy(ptr); in TEST()
465 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/cronet/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/tensorflow/third_party/absl/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/libtextclassifier/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()
/external/openscreen/third_party/abseil/src/absl/base/
Dexception_safety_testing_test.cc394 ThrowingAllocator<ThrowingValue<>, AllocSpec::kNoThrowAllocate> nothrow_alloc; in TEST() local
399 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
400 nothrow_alloc.deallocate(ptr, 1); in TEST()
450 nothrow_alloc; in TEST() local
454 ExpectNoThrow([&]() { ptr = nothrow_alloc.allocate(1); }); in TEST()
458 [&]() { nothrow_alloc.construct(ptr, 2, testing::nothrow_ctor); }); in TEST()
461 nothrow_alloc.destroy(ptr); in TEST()
462 nothrow_alloc.deallocate(ptr, 1); in TEST()