HomeSort by relevance Sort by last modified time
    Searched full:allocationsize (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/third_party/angle/src/compiler/
PoolAlloc.cpp 216 // much memory the caller asked for. allocationSize is the total
219 size_t allocationSize = TAllocation::allocationSize(numBytes);
221 if (allocationSize < numBytes)
228 if (allocationSize <= pageSize - currentPageOffset) {
233 currentPageOffset += allocationSize;
239 if (allocationSize > pageSize - headerSkip) {
244 size_t numBytesToAlloc = allocationSize + headerSkip;
246 if (numBytesToAlloc < allocationSize)
281 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask
    [all...]
PoolAlloc.h 68 inline static size_t allocationSize(size_t size) {
  /art/runtime/gc/space/
large_object_space.h 85 size_t AllocationSize(const mirror::Object* obj);
111 size_t AllocationSize(const mirror::Object* obj) EXCLUSIVE_LOCKS_REQUIRED(lock_);
140 size_t AllocationSize() const {
151 return AllocationSize() == 0;
194 if (a->AllocationSize() < b->AllocationSize()) return true;
195 if (a->AllocationSize() > b->AllocationSize()) return false;
large_object_space.cc 91 size_t LargeObjectMapSpace::AllocationSize(const mirror::Object* obj) {
154 size_t alloc_size = cur_header->AllocationSize();
193 size_t allocation_size = header->AllocationSize();
217 DCHECK(IsAligned<kAlignment>(next_next_header->AllocationSize()));
242 size_t FreeListSpace::AllocationSize(const mirror::Object* obj) {
246 return header->AllocationSize();
316 size_t alloc_size = cur_header->AllocationSize();
space_test.cc 120 size_t free3 = space->AllocationSize(ptr3);
130 size_t free1 = space->AllocationSize(ptr1);
155 free1 = space->AllocationSize(ptr1);
192 size_t free3 = space->AllocationSize(ptr3);
202 size_t free1 = space->AllocationSize(ptr1);
227 ASSERT_EQ(allocation_size, los->AllocationSize(obj));
281 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i]));
295 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i]));
363 size_t allocation_size = space->AllocationSize(object);
415 size_t allocation_size = space->AllocationSize(object)
    [all...]
dlmalloc_space.cc 79 virtual size_t AllocationSize(const mirror::Object* obj) {
80 size_t result = DlMallocSpace::AllocationSize(reinterpret_cast<const mirror::Object*>(
89 size_t allocation_size = DlMallocSpace::AllocationSize(
452 size_t DlMallocSpace::AllocationSize(const mirror::Object* obj) {
dlmalloc_space.h 60 virtual size_t AllocationSize(const mirror::Object* obj);
space.h 163 virtual size_t AllocationSize(const mirror::Object* obj) = 0;
  /external/chromium_org/third_party/WebKit/Source/heap/
Heap.cpp 177 size_t allocationSize = payloadSize + 2 * osPageSize() + blinkPageSize;
180 Address base = static_cast<Address>(mmap(0, allocationSize, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0));
183 Address end = base + allocationSize;
214 base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS));
222 allocationSize = payloadSize + 2 * osPageSize();
230 base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS));
240 PageMemory* storage = new PageMemory(MemoryRegion(base, allocationSize), MemoryRegion(payloadBase, payloadSize));
  /external/chromium_org/content/browser/renderer_host/media/
video_capture_buffer_pool_unittest.cc 49 media::VideoFrame::AllocationSize(media::VideoFrame::I420, dimensions);
84 ASSERT_LE(media::VideoFrame::AllocationSize(media::VideoFrame::I420, size_lo),
88 ASSERT_LE(media::VideoFrame::AllocationSize(media::VideoFrame::I420, size_lo),
92 ASSERT_LE(media::VideoFrame::AllocationSize(media::VideoFrame::I420, size_lo),
171 ASSERT_LE(media::VideoFrame::AllocationSize(media::VideoFrame::I420, size_hi),
183 ASSERT_LE(media::VideoFrame::AllocationSize(media::VideoFrame::I420, size_lo),
video_capture_controller.cc 470 media::VideoFrame::AllocationSize(format, dimensions);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
AllocationProfile.js 174 node.allocationSize,
202 this.allocationSize = size;
216 this.allocationSize = 0;
278 this.totalSize += node.allocationSize;
298 var size = node.allocationSize;
301 backTraceNode.allocationSize += size;
  /external/chromium_org/third_party/angle/src/libGLESv2/
utilities.h 30 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
utilities.cpp 173 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize)
175 ASSERT(allocationSize <= bitsSize);
177 unsigned int mask = std::numeric_limits<unsigned int>::max() >> (std::numeric_limits<unsigned int>::digits - allocationSize);
179 for (unsigned int i = 0; i < bitsSize - allocationSize + 1; i++)
  /external/compiler-rt/lib/msan/
msan_allocator.cc 110 static uptr AllocationSize(const void *p) {
153 return AllocationSize(p) != 0;
157 return AllocationSize(p);
  /external/chromium_org/media/video/capture/
fake_video_capture_device.cc 140 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size);
159 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size);
243 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size);
  /external/chromium_org/third_party/WebKit/Source/wtf/
FastMalloc.cpp 400 #define END_POISON_INDEX(allocationSize) (((allocationSize) - sizeof(uint32_t)) / sizeof(uint32_t))
401 #define POISON_ALLOCATION(allocation, allocationSize) do { \
402 ASSERT((allocationSize) >= 2 * sizeof(uint32_t)); \
405 if ((allocationSize) < 4 * sizeof(uint32_t)) \
408 reinterpret_cast<uint32_t*>(allocation)[END_POISON_INDEX(allocationSize)] = 0xbadbeef7; \
411 #define POISON_DEALLOCATION_EXPLICIT(allocation, allocationSize, startPoison, endPoison) do { \
412 ASSERT((allocationSize) >= 2 * sizeof(uint32_t)); \
415 if ((allocationSize) < 4 * sizeof(uint32_t)) \
418 reinterpret_cast<uint32_t*>(allocation)[END_POISON_INDEX(allocationSize)] = (endPoison) ^ PTR_TO_UINT32(allocation);
    [all...]
Vector.h 262 size_t sizeToAllocate = allocationSize(newCapacity);
267 size_t allocationSize(size_t capacity) const
347 using Base::allocationSize;
410 size_t allocationSize(size_t capacity) const
414 return Base::allocationSize(capacity);
611 using Base::allocationSize;
872 if (Base::allocationSize(capacity()) == Base::allocationSize(newCapacity))
    [all...]
  /external/compiler-rt/lib/asan/
asan_allocator2.cc 560 static uptr AllocationSize(uptr p) {
684 uptr usable_size = AllocationSize(reinterpret_cast<uptr>(ptr));
691 return AllocationSize(reinterpret_cast<uptr>(ptr));
797 return (AllocationSize(ptr) > 0);
803 uptr allocated_size = AllocationSize(ptr);
  /external/chromium_org/content/renderer/pepper/
pepper_video_capture_host.cc 148 media::VideoFrame::AllocationSize(frame->format(),
186 const size_t size = media::VideoFrame::AllocationSize(
  /external/chromium_org/content/renderer/media/
rtc_video_capturer.cc 116 media::VideoFrame::AllocationSize(frame->format(), frame->coded_size());
  /external/chromium_org/media/base/
video_frame.cc 133 if (data_size < AllocationSize(format, coded_size))
278 size_t VideoFrame::AllocationSize(Format format, const gfx::Size& coded_size) {
video_frame.h 200 static size_t AllocationSize(Format format, const gfx::Size& coded_size);
  /external/chromium_org/sandbox/win/src/
nt_internals.h 133 IN PLARGE_INTEGER AllocationSize OPTIONAL,
187 LARGE_INTEGER AllocationSize;
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 634 // care because it only overflows if allocationSize does, too, and
641 llvm::APInt allocationSize
649 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize);
651 allocationSize = allocationSize.uadd_ov(cookieSize, overflow);
659 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize);
    [all...]

Completed in 387 milliseconds

1 2