Searched refs:new_handler (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/skia/ext/
H A DSkMemory_new_handler.cpp15 // to SkMemory_malloc.c, except that it disables the CRT's new_handler
63 std::new_handler old_handler = std::set_new_handler(NULL);
/external/stlport/stlport/stl/
H A D_new.h100 using ::new_handler;
103 using _STLP_VENDOR_EXCEPT_STD::new_handler;
/external/chromium/base/allocator/
H A Dallocator_shim.cc76 std::new_handler nh;
85 // Since exceptions are disabled, we don't really know if new_handler
90 // If no new_handler is established, the allocation failed.
96 // Otherwise, try the new_handler. If it returns, retry the
H A Dallocator_unittests.cc325 // test without new_handler:
326 std::new_handler saved_handler = std::set_new_handler(0);
329 // test with new_handler:
332 EXPECT_EQ(news_handled, 1) << "nothrow new_handler was not called.";
/external/chromium_org/content/browser/loader/
H A Dresource_loader.h47 void CompleteTransfer(scoped_ptr<ResourceHandler> new_handler);
H A Dbuffered_resource_handler.cc359 scoped_ptr<ResourceHandler> new_handler) {
385 next_handler_ = new_handler.Pass();
358 UseAlternateNextHandler( scoped_ptr<ResourceHandler> new_handler) argument
H A Dresource_loader.cc181 void ResourceLoader::CompleteTransfer(scoped_ptr<ResourceHandler> new_handler) { argument
185 handler_ = new_handler.Pass();
/external/chromium_org/base/allocator/
H A Dallocator_shim.cc83 std::new_handler nh;
93 // Since exceptions are disabled, we don't really know if new_handler
98 // If no new_handler is established, the allocation failed.
104 // Otherwise, try the new_handler. If it returns, retry the
H A Dallocator_unittests.cc324 // test without new_handler:
325 std::new_handler saved_handler = std::set_new_handler(0);
328 // test with new_handler:
331 EXPECT_EQ(news_handled, 1) << "nothrow new_handler was not called.";
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dtcmalloc_unittest.cc662 // test without new_handler:
663 std::new_handler saved_handler = std::set_new_handler(0);
666 // test with new_handler:
670 fprintf(LOGSTREAM, "new_handler was not called.\n");
705 // test without new_handler:
706 std::new_handler saved_handler = std::set_new_handler(0);
709 // test with new_handler:
713 fprintf(LOGSTREAM, "nothrow new_handler was not called.\n");
925 std::new_handler g_old_handler = NULL;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dtcmalloc_unittest.cc662 // test without new_handler:
663 std::new_handler saved_handler = std::set_new_handler(0);
666 // test with new_handler:
670 fprintf(LOGSTREAM, "new_handler was not called.\n");
705 // test without new_handler:
706 std::new_handler saved_handler = std::set_new_handler(0);
709 // test with new_handler:
713 fprintf(LOGSTREAM, "nothrow new_handler was not called.\n");
925 std::new_handler g_old_handler = NULL;
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Ddebugallocation.cc1122 std::new_handler nh;
1130 // Since exceptions are disabled, we don't really know if new_handler
1137 // If no new_handler is established, the allocation failed.
1142 // Otherwise, try the new_handler. If it returns, retry the
1329 std::new_handler nh;
1337 // Since exceptions are disabled, we don't really know if new_handler
1344 // If no new_handler is established, the allocation failed.
1348 // Otherwise, try the new_handler. If it returns, retry the
H A Dtcmalloc.cc1032 // Otherwise, it will run the std::new_handler if set.
1426 std::new_handler nh;
1434 // Since exceptions are disabled, we don't really know if new_handler
1441 // If no new_handler is established, the allocation failed.
1446 // Otherwise, try the new_handler. If it returns, retry the
1474 std::new_handler nh;
1482 // Since exceptions are disabled, we don't really know if new_handler
1489 // If no new_handler is established, the allocation failed.
1493 // Otherwise, try the new_handler. If it returns, retry the
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Ddebugallocation.cc1115 std::new_handler nh;
1123 // Since exceptions are disabled, we don't really know if new_handler
1130 // If no new_handler is established, the allocation failed.
1135 // Otherwise, try the new_handler. If it returns, retry the
1317 std::new_handler nh;
1325 // Since exceptions are disabled, we don't really know if new_handler
1332 // If no new_handler is established, the allocation failed.
1336 // Otherwise, try the new_handler. If it returns, retry the
H A Dtcmalloc.cc1024 // Otherwise, it will run the std::new_handler if set.
1384 std::new_handler nh;
1392 // Since exceptions are disabled, we don't really know if new_handler
1399 // If no new_handler is established, the allocation failed.
1404 // Otherwise, try the new_handler. If it returns, retry the
1432 std::new_handler nh;
1440 // Since exceptions are disabled, we don't really know if new_handler
1447 // If no new_handler is established, the allocation failed.
1451 // Otherwise, try the new_handler. If it returns, retry the

Completed in 595 milliseconds