Searched refs:UncheckedMalloc (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/base/process/
H A Dmemory.cc21 if (!UncheckedMalloc(alloc_size, result))
H A Dmemory.h74 BASE_EXPORT WARN_UNUSED_RESULT bool UncheckedMalloc(size_t size,
H A Dmemory_win.cc91 bool UncheckedMalloc(size_t size, void** result) { function in namespace:base
H A Dmemory_unittest.cc114 // to implement EnableTerminationOnOutOfMemory() with UncheckedMalloc() under
397 // initialization - and test that UncheckedMalloc and UncheckedCalloc
403 // TODO(b.kelemen): make UncheckedMalloc and UncheckedCalloc work
405 // UncheckedMalloc() and UncheckedCalloc() work as regular malloc()/calloc()
408 TEST_F(OutOfMemoryHandledTest, UncheckedMalloc) {
411 // to implement EnableTerminationOnOutOfMemory() with UncheckedMalloc() under
416 EXPECT_TRUE(base::UncheckedMalloc(kSafeMallocSize, &value_));
420 EXPECT_FALSE(base::UncheckedMalloc(test_size_, &value_));
H A Dmemory_linux.cc16 // Used by UncheckedMalloc. If tcmalloc is linked to the executable
201 bool UncheckedMalloc(size_t size, void** result) { function in namespace:base
/external/chromium_org/skia/ext/
H A DSkMemory_new_handler.cpp54 // TODO(b.kelemen): we should always use UncheckedMalloc but currently it
60 ignore_result(base::UncheckedMalloc(size, &result));

Completed in 194 milliseconds