/external/opencv3/3rdparty/libwebp/utils/ |
D | bit_writer.c | 201 size_t allocated_size; in VP8LBitWriterResize() local 210 allocated_size = (3 * bw->max_bytes_) >> 1; in VP8LBitWriterResize() 211 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize() 213 allocated_size = (((allocated_size >> 10) + 1) << 10); in VP8LBitWriterResize() 214 allocated_buf = (uint8_t*)malloc(allocated_size); in VP8LBitWriterResize() 222 bw->max_bytes_ = allocated_size; in VP8LBitWriterResize() 223 memset(allocated_buf + current_size, 0, allocated_size - current_size); in VP8LBitWriterResize()
|
/external/webrtc/webrtc/video/ |
D | video_capture_input_unittest.cc | 270 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) && in EqualBufferFrames() 271 (frame1.allocated_size(kUPlane) == frame2.allocated_size(kUPlane)) && in EqualBufferFrames() 272 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane)) && in EqualBufferFrames() 274 frame1.allocated_size(kYPlane)) == 0) && in EqualBufferFrames() 276 frame1.allocated_size(kUPlane)) == 0) && in EqualBufferFrames() 278 frame1.allocated_size(kVPlane)) == 0)); in EqualBufferFrames()
|
D | video_encoder_unittest.cc | 111 frame_.allocated_size(webrtc::kYPlane)); in EncodeFrame() 113 frame_.allocated_size(webrtc::kUPlane)); in EncodeFrame() 115 frame_.allocated_size(webrtc::kVPlane)); in EncodeFrame()
|
D | video_send_stream_tests.cc | 1214 ASSERT_EQ(frame1.allocated_size(kYPlane), frame2.allocated_size(kYPlane)); in ExpectEqualBufferFrames() 1218 frame1.allocated_size(kYPlane))); in ExpectEqualBufferFrames() 1219 ASSERT_EQ(frame1.allocated_size(kUPlane), frame2.allocated_size(kUPlane)); in ExpectEqualBufferFrames() 1223 frame1.allocated_size(kUPlane))); in ExpectEqualBufferFrames() 1224 ASSERT_EQ(frame1.allocated_size(kVPlane), frame2.allocated_size(kVPlane)); in ExpectEqualBufferFrames() 1228 frame1.allocated_size(kVPlane))); in ExpectEqualBufferFrames()
|
/external/webrtc/webrtc/common_video/ |
D | i420_video_frame_unittest.cc | 64 frame.allocated_size(kYPlane)); in TEST() 66 frame.allocated_size(kUPlane)); in TEST() 68 frame.allocated_size(kVPlane)); in TEST() 110 memset(small_frame.buffer(kYPlane), 1, small_frame.allocated_size(kYPlane)); in TEST() 111 memset(small_frame.buffer(kUPlane), 2, small_frame.allocated_size(kUPlane)); in TEST() 112 memset(small_frame.buffer(kVPlane), 3, small_frame.allocated_size(kVPlane)); in TEST() 212 EXPECT_LE(kSizeY, frame2.allocated_size(kYPlane)); in TEST() 213 EXPECT_LE(kSizeUv, frame2.allocated_size(kUPlane)); in TEST() 214 EXPECT_LE(kSizeUv, frame2.allocated_size(kVPlane)); in TEST()
|
D | video_frame.cc | 183 int VideoFrame::allocated_size(PlaneType type) const { in allocated_size() function in webrtc::VideoFrame
|
/external/webp/src/utils/ |
D | bit_writer.c | 208 size_t allocated_size; in VP8LBitWriterResize() local 218 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize() 219 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize() 221 allocated_size = (((allocated_size >> 10) + 1) << 10); in VP8LBitWriterResize() 222 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size); in VP8LBitWriterResize() 233 bw->end_ = bw->buf_ + allocated_size; in VP8LBitWriterResize()
|
/external/pcre/dist/sljit/ |
D | sljitExecAllocator.c | 147 static sljit_uw allocated_size; variable 204 allocated_size += size; in sljit_malloc_exec() 225 allocated_size += size; in sljit_malloc_exec() 236 allocated_size += chunk_size; in sljit_malloc_exec() 253 allocated_size -= header->size; in sljit_free_exec() 281 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
|
/external/webrtc/webrtc/test/ |
D | frame_generator_unittest.cc | 62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); in CheckFrameAndMutate() 66 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kUPlane)); in CheckFrameAndMutate() 70 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kVPlane)); in CheckFrameAndMutate()
|
D | frame_generator.cc | 42 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); in NextFrame() 43 memset(frame_.buffer(kUPlane), u, frame_.allocated_size(kUPlane)); in NextFrame() 44 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane)); in NextFrame()
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | video_processing_unittest.cc | 75 memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane)); in SetUp() 76 memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane)); in SetUp() 77 memset(video_frame_.buffer(kVPlane), 0, video_frame_.allocated_size(kVPlane)); in SetUp() 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/ |
D | simulcast_unittest.h | 242 memset(frame->buffer(plane_type), 0, frame->allocated_size(plane_type)); in CreateImage() 314 input_frame_.allocated_size(kYPlane)); in SetUpCodec() 316 input_frame_.allocated_size(kUPlane)); in SetUpCodec() 318 input_frame_.allocated_size(kVPlane)); in SetUpCodec() 564 input_frame_.allocated_size(kYPlane)); in SwitchingToOneStream() 566 input_frame_.allocated_size(kUPlane)); in SwitchingToOneStream() 568 input_frame_.allocated_size(kVPlane)); in SwitchingToOneStream() 605 input_frame_.allocated_size(kYPlane)); in SwitchingToOneStream() 607 input_frame_.allocated_size(kUPlane)); in SwitchingToOneStream() 609 input_frame_.allocated_size(kVPlane)); in SwitchingToOneStream()
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 34 size_t AttributeList::allocated_size() const { in allocated_size() function in AttributeList 76 size_t size = cur->allocated_size(); in reclaimPool()
|
/external/webrtc/webrtc/common_video/libyuv/ |
D | scaler_unittest.cc | 109 EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane)); in TEST_F() 110 EXPECT_GT(size_uv_, test_frame2.allocated_size(kUPlane)); in TEST_F() 111 EXPECT_GT(size_uv_, test_frame2.allocated_size(kVPlane)); in TEST_F()
|
/external/pdfium/third_party/libtiff/ |
D | tif_close.c | 99 if (tif->tif_fieldscompat[i].allocated_size) in TIFFCleanup()
|
D | tif_dir.h | 271 …uint32 allocated_size; /* 0 if array is constant, other if modified by future definition exte… member
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_close.c | 99 if (tif->tif_fieldscompat[i].allocated_size) in TIFFCleanup()
|
D | tif_dir.h | 271 …uint32 allocated_size; /* 0 if array is constant, other if modified by future definition exte… member
|
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
D | testAPI.cc | 279 memset(frame->buffer(kYPlane), color, frame->allocated_size(kYPlane)); in GetTestVideoFrame() 280 memset(frame->buffer(kUPlane), color, frame->allocated_size(kUPlane)); in GetTestVideoFrame() 281 memset(frame->buffer(kVPlane), color, frame->allocated_size(kVPlane)); in GetTestVideoFrame()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_malloc_mac.inc | 38 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/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 384 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate() local 385 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate() 886 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size() local 888 if (allocated_size == 0) { in __sanitizer_get_allocated_size() 892 return allocated_size; in __sanitizer_get_allocated_size()
|
/external/webrtc/webrtc/ |
D | video_frame.h | 94 int allocated_size(PlaneType type) const;
|
/external/nanopb-c/ |
D | pb_decode.c | 543 size_t allocated_size = *size; in decode_pointer_field() 552 if (*size + 1 > allocated_size) in decode_pointer_field() 557 allocated_size += (substream.bytes_left - 1) / iter->pos->data_size + 1; in decode_pointer_field() 559 … if (!allocate_field(&substream, iter->pData, iter->pos->data_size, allocated_size)) in decode_pointer_field()
|
/external/webrtc/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 78 int allocated_size1 = frame1.allocated_size(plane_type); in CompareFrames() 79 int allocated_size2 = frame2.allocated_size(plane_type); in CompareFrames()
|
/external/cmockery/cmockery_0_1_2/src/ |
D | cmockery.c | 61 size_t allocated_size; // Total size of the allocated block. member 1276 block_info->allocated_size = allocate_size; in _test_malloc() 1329 memset(block, MALLOC_FREE_PATTERN, block_info->allocated_size); in _test_free()
|