Searched refs:allocated_size (Results 1 - 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/common_video/
H A Di420_video_frame_unittest.cc64 frame.allocated_size(kYPlane));
66 frame.allocated_size(kUPlane));
68 frame.allocated_size(kVPlane));
110 memset(small_frame.buffer(kYPlane), 1, small_frame.allocated_size(kYPlane));
111 memset(small_frame.buffer(kUPlane), 2, small_frame.allocated_size(kUPlane));
112 memset(small_frame.buffer(kVPlane), 3, small_frame.allocated_size(kVPlane));
212 EXPECT_LE(kSizeY, frame2.allocated_size(kYPlane));
213 EXPECT_LE(kSizeUv, frame2.allocated_size(kUPlane));
214 EXPECT_LE(kSizeUv, frame2.allocated_size(kVPlane));
H A Dvideo_frame.cc183 int VideoFrame::allocated_size(PlaneType type) const { function in class:webrtc::VideoFrame
/external/webrtc/webrtc/video/
H A Dvideo_capture_input_unittest.cc270 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) &&
271 (frame1.allocated_size(kUPlane) == frame2.allocated_size(kUPlane)) &&
272 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane)) &&
274 frame1.allocated_size(kYPlane)) == 0) &&
276 frame1.allocated_size(kUPlane)) == 0) &&
278 frame1.allocated_size(kVPlane)) == 0));
H A Dvideo_encoder_unittest.cc111 frame_.allocated_size(webrtc::kYPlane));
113 frame_.allocated_size(webrtc::kUPlane));
115 frame_.allocated_size(webrtc::kVPlane));
H A Dvideo_send_stream_tests.cc1214 ASSERT_EQ(frame1.allocated_size(kYPlane), frame2.allocated_size(kYPlane));
1218 frame1.allocated_size(kYPlane)));
1219 ASSERT_EQ(frame1.allocated_size(kUPlane), frame2.allocated_size(kUPlane));
1223 frame1.allocated_size(kUPlane)));
1224 ASSERT_EQ(frame1.allocated_size(kVPlane), frame2.allocated_size(kVPlane));
1228 frame1.allocated_size(kVPlane)));
/external/webp/src/utils/
H A Dbit_writer.c208 size_t allocated_size; local
218 allocated_size = (3 * max_bytes) >> 1;
219 if (allocated_size < size_required) allocated_size = size_required;
221 allocated_size = (((allocated_size >> 10) + 1) << 10);
222 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
233 bw->end_ = bw->buf_ + allocated_size;
/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/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_malloc_mac.inc38 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
39 COMMON_MALLOC_MEMALIGN(page_size, allocated_size);
47 mprotect(new_zone, allocated_size, PROT_READ);
/external/pdfium/third_party/libtiff/
H A Dtif_close.c99 if (tif->tif_fieldscompat[i].allocated_size)
H A Dtif_dir.h271 uint32 allocated_size; /* 0 if array is constant, other if modified by future definition extension support */ member in struct:_TIFFFieldArray
/external/clang/lib/Sema/
H A DAttributeList.cpp34 size_t AttributeList::allocated_size() const { function in class:AttributeList
76 size_t size = cur->allocated_size();
/external/curl/lib/
H A Dsendf.c129 size_t bytestorecv = psnd->allocated_size - psnd->recv_size;
144 psnd->allocated_size = 2 * BUFSIZE;
145 psnd->buffer = malloc(psnd->allocated_size);
151 bytestorecv = psnd->allocated_size;
162 psnd->allocated_size = 0;
175 DEBUGASSERT(psnd->allocated_size > 0);
176 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size);
193 psnd->allocated_size = 0;
/external/webrtc/webrtc/test/
H A Dframe_generator_unittest.cc62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane));
66 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kUPlane));
70 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kVPlane));
H A Dframe_generator.cc42 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane));
43 memset(frame_.buffer(kUPlane), u, frame_.allocated_size(kUPlane));
44 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane));
/external/webrtc/webrtc/modules/video_processing/test/
H A Dvideo_processing_unittest.cc75 memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane));
76 memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane));
77 memset(video_frame_.buffer(kVPlane), 0, video_frame_.allocated_size(kVPlane));
384 int allocated_size1 = frame1.allocated_size(plane_type);
385 int allocated_size2 = frame2.allocated_size(plane_type);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
H A Dsimulcast_unittest.h242 memset(frame->buffer(plane_type), 0, frame->allocated_size(plane_type));
314 input_frame_.allocated_size(kYPlane));
316 input_frame_.allocated_size(kUPlane));
318 input_frame_.allocated_size(kVPlane));
564 input_frame_.allocated_size(kYPlane));
566 input_frame_.allocated_size(kUPlane));
568 input_frame_.allocated_size(kVPlane));
605 input_frame_.allocated_size(kYPlane));
607 input_frame_.allocated_size(kUPlane));
609 input_frame_.allocated_size(kVPlan
[all...]
/external/webrtc/webrtc/
H A Dvideo_frame.h94 int allocated_size(PlaneType type) const;
/external/webrtc/webrtc/common_video/libyuv/
H A Dscaler_unittest.cc109 EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane));
110 EXPECT_GT(size_uv_, test_frame2.allocated_size(kUPlane));
111 EXPECT_GT(size_uv_, test_frame2.allocated_size(kVPlane));
/external/compiler-rt/lib/asan/
H A Dasan_allocator.cc384 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); local
385 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic);
886 uptr allocated_size = instance.AllocationSize(ptr); local
888 if (allocated_size == 0) {
892 return allocated_size;
/external/webrtc/webrtc/modules/video_render/test/testAPI/
H A DtestAPI.cc279 memset(frame->buffer(kYPlane), color, frame->allocated_size(kYPlane));
280 memset(frame->buffer(kUPlane), color, frame->allocated_size(kUPlane));
281 memset(frame->buffer(kVPlane), color, frame->allocated_size(kVPlane));
/external/nanopb-c/
H A Dpb_decode.c543 size_t allocated_size = *size;
552 if (*size + 1 > allocated_size)
557 allocated_size += (substream.bytes_left - 1) / iter->pos->data_size + 1;
559 if (!allocate_field(&substream, iter->pData, iter->pos->data_size, allocated_size))
/external/webrtc/webrtc/modules/video_capture/test/
H A Dvideo_capture_unittest.cc78 int allocated_size1 = frame1.allocated_size(plane_type);
79 int allocated_size2 = frame2.allocated_size(plane_type);
/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);
/external/webrtc/talk/media/webrtc/
H A Dwebrtcvideoengine2.cc1652 video_frame->allocated_size(webrtc::kYPlane));
1654 video_frame->allocated_size(webrtc::kUPlane));
1656 video_frame->allocated_size(webrtc::kVPlane));
/external/clang/include/clang/Sema/
H A DAttributeList.h212 size_t allocated_size() const;

Completed in 1463 milliseconds

12