Searched defs:allocated_size (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/webrtc/common_video/
H A Dplane.cc29 int Plane::CreateEmptyPlane(int allocated_size, int stride, int plane_size) { argument
30 if (allocated_size < 1 || stride < 1 || plane_size < 1)
33 if (MaybeResize(allocated_size) < 0)
H A Dplane.h30 int CreateEmptyPlane(int allocated_size, int stride, int plane_size);
45 int allocated_size() const {return allocated_size_;} function in class:webrtc::Plane
H A Dplane_unittest.cc23 EXPECT_EQ(0, plane.allocated_size());
35 EXPECT_EQ(size, plane.allocated_size());
43 int allocated_size, plane_size, stride; local
44 EXPECT_EQ(0, plane.allocated_size());
45 allocated_size = 30;
48 EXPECT_EQ(0, plane.CreateEmptyPlane(allocated_size, stride, plane_size));
49 EXPECT_EQ(allocated_size, plane.allocated_size());
59 int size1 = plane1.allocated_size();
66 EXPECT_EQ(size1, plane1.allocated_size());
[all...]
H A Di420_video_frame.cc66 int ret = CreateFrame(videoFrame.allocated_size(kYPlane),
68 videoFrame.allocated_size(kUPlane),
70 videoFrame.allocated_size(kVPlane),
117 int I420VideoFrame::allocated_size(PlaneType type) const { function in class:webrtc::I420VideoFrame
120 return plane_ptr->allocated_size();
H A Dtexture_video_frame.cc79 int TextureVideoFrame::allocated_size(PlaneType type) const { function in class:webrtc::TextureVideoFrame
/external/pcre/dist/sljit/
H A DsljitExecAllocator.c147 static sljit_uw allocated_size; variable
204 allocated_size += size;
225 allocated_size += size;
236 allocated_size += chunk_size;
253 allocated_size -= header->size;
280 /* If this block is freed, we still have (allocated_size / 2) free space. */
281 if (total_size - free_block->size > (allocated_size * 3 / 2)) {
/external/chromium_org/chromecast/media/cma/ipc/
H A Dmedia_message_fifo.cc164 size_t allocated_size = (size_ + wr_offset - rd_offset) % size_; local
165 size_t free_size = size_ - 1 - allocated_size;
196 allocated_size = (size_ + wr_offset - rd_offset) % size_;
197 free_size = size_ - 1 - allocated_size;
210 size_t allocated_size = (size_ + wr_offset - rd_offset) % size_; local
212 if (allocated_size < MediaMessage::minimum_msg_size())
220 // trailing_byte_count < MediaMessage::minimum_msg_size() <= allocated_size
222 allocated_size -= trailing_byte_count;
230 size_t max_msg_size = std::min(allocated_size, trailing_byte_count);
/external/chromium_org/third_party/libwebp/utils/
H A Dbit_writer.c211 size_t allocated_size; local
221 allocated_size = (3 * max_bytes) >> 1;
222 if (allocated_size < size_required) allocated_size = size_required;
224 allocated_size = (((allocated_size >> 10) + 1) << 10);
225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
236 bw->end_ = bw->buf_ + allocated_size;
/external/clang/lib/Sema/
H A DAttributeList.cpp33 size_t AttributeList::allocated_size() const { function in class:AttributeList
75 size_t size = cur->allocated_size();
/external/compiler-rt/lib/asan/
H A Dasan_malloc_mac.cc47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); local
49 (malloc_zone_t*)asan_memalign(page_size, allocated_size,
57 mprotect(new_zone, allocated_size, PROT_READ);
H A Dasan_allocator2.cc337 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); local
338 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic);
782 uptr allocated_size = AllocationSize(ptr); local
784 if (allocated_size == 0) {
788 return allocated_size;
/external/webp/src/utils/
H A Dbit_writer.c211 size_t allocated_size; local
221 allocated_size = (3 * max_bytes) >> 1;
222 if (allocated_size < size_required) allocated_size = size_required;
224 allocated_size = (((allocated_size >> 10) + 1) << 10);
225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
236 bw->end_ = bw->buf_ + allocated_size;
/external/qemu/
H A Dkvm-all.c314 unsigned long size, allocated_size = 0; local
331 if (size > allocated_size) {
333 allocated_size = size;
/external/cmockery/cmockery_0_1_2/src/
H A Dcmockery.c61 size_t allocated_size; // Total size of the allocated block. member in struct:MallocBlockInfo
1276 block_info->allocated_size = allocate_size;
1329 memset(block, MALLOC_FREE_PATTERN, block_info->allocated_size);

Completed in 1945 milliseconds