Home
last modified time | relevance | path

Searched refs:size_allocated (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/gpu/command_buffer/client/
Dtransfer_buffer_unittest.cc176 unsigned int size_allocated = 0; in TEST_F() local
178 kTransferBufferSize + 1, &size_allocated); in TEST_F()
180 EXPECT_EQ(kTransferBufferSize - kStartingOffset, size_allocated); in TEST_F()
197 unsigned int size_allocated = 0; in TEST_F() local
199 void* ptr = transfer_buffer_->AllocUpTo(8u, &size_allocated); in TEST_F()
201 EXPECT_EQ(8u, size_allocated); in TEST_F()
339 unsigned int size_allocated = 0; in TEST_F() local
340 void* ptr = transfer_buffer_->AllocUpTo(kSize1, &size_allocated); in TEST_F()
342 EXPECT_EQ(kSize1, size_allocated); in TEST_F()
358 ptr = transfer_buffer_->AllocUpTo(kSize2, &size_allocated); in TEST_F()
[all …]
Dtransfer_buffer.cc129 unsigned int size, unsigned int* size_allocated) { in AllocUpTo() argument
130 DCHECK(size_allocated); in AllocUpTo()
139 *size_allocated = std::min(max_size, size); in AllocUpTo()
140 bytes_since_last_flush_ += *size_allocated; in AllocUpTo()
141 return ring_buffer_->Alloc(*size_allocated); in AllocUpTo()
Dtransfer_buffer.h42 virtual void* AllocUpTo(unsigned int size, unsigned int* size_allocated) = 0;
73 unsigned int size, unsigned int* size_allocated) OVERRIDE;
Dgles2_implementation_unittest.cc132 unsigned int size, unsigned int* size_allocated) OVERRIDE;
263 unsigned int size, unsigned int* size_allocated) { in AllocUpTo() argument
264 EXPECT_TRUE(size_allocated != NULL); in AllocUpTo()
277 *size_allocated = size; in AllocUpTo()
/external/compiler-rt/lib/asan/
Dasan_stats.h71 uptr size_allocated; member
Dasan_stats.cc118 malloc_stats->size_allocated = stats.mmaped; in FillMallocStatistics()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dlibc_override_osx.h183 stats->size_allocated = 0; in mi_statistics()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dlibc_override_osx.h183 stats->size_allocated = 0; in mi_statistics()
/external/valgrind/main/perf/
Dtinycc.c2143 int size_allocated; member
7200 size = cstr->size_allocated; in cstr_realloc()
7209 cstr->size_allocated = size; in cstr_realloc()
7218 if (size > cstr->size_allocated) in cstr_ccat()
7241 if (size > cstr->size_allocated) in cstr_wccat()
7296 cstr_buf.size_allocated = sizeof(buf); in get_tok_str()
8057 cstr->size_allocated = cstr->size; in tok_str_add2()