Searched refs:CanAllocate (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/content/browser/loader/
H A Dresource_buffer_unittest.cc13 EXPECT_TRUE(buf->CanAllocate());
21 EXPECT_TRUE(buf->CanAllocate());
27 EXPECT_TRUE(buf->CanAllocate());
36 EXPECT_TRUE(buf->CanAllocate());
43 EXPECT_TRUE(buf->CanAllocate());
99 EXPECT_FALSE(buf->CanAllocate());
105 EXPECT_TRUE(buf->CanAllocate());
115 EXPECT_FALSE(buf->CanAllocate());
130 EXPECT_FALSE(buf->CanAllocate());
134 EXPECT_FALSE(buf->CanAllocate());
[all...]
H A Dresource_buffer.h22 // is fully reserved (at which point CanAllocate returns false). Allocations
34 // DCHECK(buf->CanAllocate());
83 bool CanAllocate() const;
H A Dresource_buffer.cc77 bool ResourceBuffer::CanAllocate() const { function in class:content::ResourceBuffer
91 DCHECK(CanAllocate());
H A Dasync_resource_handler.cc132 if (buffer_->CanAllocate())
249 DCHECK(buffer_->CanAllocate());
304 if (!buffer_->CanAllocate()) {
/external/chromium_org/net/disk_cache/blockfile/
H A Dblock_files.h59 bool CanAllocate(int block_count) const;
H A Dblock_bitmaps_v3.cc140 if (bitmaps_[header_num].CanAllocate(block_count)) {
H A Dblock_files.cc206 bool BlockHeader::CanAllocate(int block_count) const { function in class:disk_cache::BlockHeader
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc94 if (!a->CanAllocate(size, 1)) continue;
671 if (!a->CanAllocate(size, 1)) continue;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h336 static bool CanAllocate(uptr size, uptr alignment) { function in class:__sanitizer::SizeClassAllocator64
709 static bool CanAllocate(uptr size, uptr alignment) { function in class:__sanitizer::SizeClassAllocator32
1255 bool from_primary = primary_.CanAllocate(size, alignment);
/external/compiler-rt/lib/asan/
H A Dasan_allocator2.cc310 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) {

Completed in 137 milliseconds