/external/chromium_org/third_party/webrtc/common_video/ |
D | plane_unittest.cc | 23 EXPECT_EQ(0, plane.allocated_size()); in TEST() 35 EXPECT_EQ(size, plane.allocated_size()); in TEST() 43 int allocated_size, plane_size, stride; in TEST() local 44 EXPECT_EQ(0, plane.allocated_size()); in TEST() 45 allocated_size = 30; in TEST() 48 EXPECT_EQ(0, plane.CreateEmptyPlane(allocated_size, stride, plane_size)); in TEST() 49 EXPECT_EQ(allocated_size, plane.allocated_size()); in TEST() 59 int size1 = plane1.allocated_size(); in TEST() 66 EXPECT_EQ(size1, plane1.allocated_size()); in TEST() 70 EXPECT_EQ(plane1.allocated_size(), plane2.allocated_size()); in TEST() [all …]
|
D | i420_video_frame_unittest.cc | 69 frame.allocated_size(kYPlane)); in TEST() 71 frame.allocated_size(kUPlane)); in TEST() 73 frame.allocated_size(kVPlane)); in TEST() 116 EXPECT_EQ(kSizeY, frame1.allocated_size(kYPlane)); in TEST() 117 EXPECT_EQ(kSizeU, frame1.allocated_size(kUPlane)); in TEST() 118 EXPECT_EQ(kSizeV, frame1.allocated_size(kVPlane)); in TEST() 173 EXPECT_LE(kSizeY, frame2.allocated_size(kYPlane)); in TEST() 174 EXPECT_LE(kSizeUv, frame2.allocated_size(kUPlane)); in TEST() 175 EXPECT_LE(kSizeUv, frame2.allocated_size(kVPlane)); in TEST() 261 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) && in EqualFrames() [all …]
|
D | i420_video_frame.cc | 66 int ret = CreateFrame(videoFrame.allocated_size(kYPlane), in CopyFrame() 68 videoFrame.allocated_size(kUPlane), in CopyFrame() 70 videoFrame.allocated_size(kVPlane), in CopyFrame() 117 int I420VideoFrame::allocated_size(PlaneType type) const { in allocated_size() function in webrtc::I420VideoFrame 120 return plane_ptr->allocated_size(); in allocated_size()
|
D | plane.cc | 29 int Plane::CreateEmptyPlane(int allocated_size, int stride, int plane_size) { in CreateEmptyPlane() argument 30 if (allocated_size < 1 || stride < 1 || plane_size < 1) in CreateEmptyPlane() 33 if (MaybeResize(allocated_size) < 0) in CreateEmptyPlane()
|
D | plane.h | 30 int CreateEmptyPlane(int allocated_size, int stride, int plane_size); 45 int allocated_size() const {return allocated_size_;} in allocated_size() function
|
D | texture_video_frame.cc | 79 int TextureVideoFrame::allocated_size(PlaneType type) const { in allocated_size() function in webrtc::TextureVideoFrame
|
/external/chromium_org/third_party/webrtc/video_engine/ |
D | vie_capturer_unittest.cc | 164 EXPECT_EQ(input_frames_.back()->allocated_size(kYPlane), in TEST_F() 165 copied_input_frames.back()->allocated_size(kYPlane)); in TEST_F() 224 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) && in EqualBufferFrames() 225 (frame1.allocated_size(kUPlane) == frame2.allocated_size(kUPlane)) && in EqualBufferFrames() 226 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane)) && in EqualBufferFrames() 228 frame1.allocated_size(kYPlane)) == 0) && in EqualBufferFrames() 230 frame1.allocated_size(kUPlane)) == 0) && in EqualBufferFrames() 232 frame1.allocated_size(kVPlane)) == 0)); in EqualBufferFrames()
|
/external/webp/src/utils/ |
D | bit_writer.c | 211 size_t allocated_size; in VP8LBitWriterResize() local 221 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize() 222 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize() 224 allocated_size = (((allocated_size >> 10) + 1) << 10); in VP8LBitWriterResize() 225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size); in VP8LBitWriterResize() 236 bw->end_ = bw->buf_ + allocated_size; in VP8LBitWriterResize()
|
/external/chromium_org/third_party/libwebp/utils/ |
D | bit_writer.c | 211 size_t allocated_size; in VP8LBitWriterResize() local 221 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize() 222 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize() 224 allocated_size = (((allocated_size >> 10) + 1) << 10); in VP8LBitWriterResize() 225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size); in VP8LBitWriterResize() 236 bw->end_ = bw->buf_ + allocated_size; in VP8LBitWriterResize()
|
/external/chromium_org/chromecast/media/cma/ipc/ |
D | media_message_fifo.cc | 164 size_t allocated_size = (size_ + wr_offset - rd_offset) % size_; in ReserveMemory() local 165 size_t free_size = size_ - 1 - allocated_size; in ReserveMemory() 196 allocated_size = (size_ + wr_offset - rd_offset) % size_; in ReserveMemory() 197 free_size = size_ - 1 - allocated_size; in ReserveMemory() 210 size_t allocated_size = (size_ + wr_offset - rd_offset) % size_; in Pop() local 212 if (allocated_size < MediaMessage::minimum_msg_size()) in Pop() 222 allocated_size -= trailing_byte_count; in Pop() 230 size_t max_msg_size = std::min(allocated_size, trailing_byte_count); in Pop()
|
/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/chromium_org/third_party/webrtc/test/ |
D | frame_generator.cc | 40 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); in NextFrame() 41 memset(frame_.buffer(kUPlane), u, frame_.allocated_size(kUPlane)); in NextFrame() 42 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane)); in NextFrame()
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
D | video_processing_unittest.cc | 49 memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane)); in SetUp() 50 memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane)); in SetUp() 51 memset(video_frame_.buffer(kVPlane), 0, video_frame_.allocated_size(kVPlane)); in SetUp() 351 int allocated_size1 = frame1.allocated_size(plane_type); in CompareFrames() 352 int allocated_size2 = frame2.allocated_size(plane_type); in CompareFrames()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_mac.cc | 47 uptr allocated_size = RoundUpTo(sizeof(asan_zone), page_size); in INTERCEPTOR() local 49 (malloc_zone_t*)asan_memalign(page_size, allocated_size, in INTERCEPTOR() 57 mprotect(new_zone, allocated_size, PROT_READ); in INTERCEPTOR()
|
D | asan_allocator2.cc | 337 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate() local 338 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate() 782 uptr allocated_size = AllocationSize(ptr); in __sanitizer_get_allocated_size() local 784 if (allocated_size == 0) { in __sanitizer_get_allocated_size() 788 return allocated_size; in __sanitizer_get_allocated_size()
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 33 size_t AttributeList::allocated_size() const { in allocated_size() function in AttributeList 75 size_t size = cur->allocated_size(); in reclaimPool()
|
/external/chromium_org/third_party/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 80 int allocated_size1 = frame1.allocated_size(plane_type); in CompareFrames() 81 int allocated_size2 = frame2.allocated_size(plane_type); in CompareFrames() 497 test_frame_.allocated_size(webrtc::kYPlane)); in TEST_F() 499 test_frame_.allocated_size(webrtc::kUPlane)); in TEST_F() 501 test_frame_.allocated_size(webrtc::kVPlane)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/common_video/interface/ |
D | texture_video_frame.h | 56 virtual int allocated_size(PlaneType type) const OVERRIDE;
|
/external/chromium_org/third_party/webrtc/video/ |
D | video_send_stream_tests.cc | 1194 ASSERT_EQ(frame1.allocated_size(kYPlane), frame2.allocated_size(kYPlane)); in ExpectEqualBufferFrames() 1198 frame1.allocated_size(kYPlane))); in ExpectEqualBufferFrames() 1199 ASSERT_EQ(frame1.allocated_size(kUPlane), frame2.allocated_size(kUPlane)); in ExpectEqualBufferFrames() 1203 frame1.allocated_size(kUPlane))); in ExpectEqualBufferFrames() 1204 ASSERT_EQ(frame1.allocated_size(kVPlane), frame2.allocated_size(kVPlane)); in ExpectEqualBufferFrames() 1208 frame1.allocated_size(kVPlane))); in ExpectEqualBufferFrames()
|
/external/chromium_org/third_party/webrtc/modules/video_render/test/testAPI/ |
D | testAPI.cc | 282 memset(frame->buffer(kYPlane), color, frame->allocated_size(kYPlane)); in GetTestVideoFrame() 283 memset(frame->buffer(kUPlane), color, frame->allocated_size(kUPlane)); in GetTestVideoFrame() 284 memset(frame->buffer(kVPlane), color, frame->allocated_size(kVPlane)); in GetTestVideoFrame()
|
/external/chromium_org/third_party/webrtc/common_video/libyuv/ |
D | scaler_unittest.cc | 110 EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane)); in TEST_F() 111 EXPECT_GT(size_uv_, test_frame2.allocated_size(kUPlane)); in TEST_F() 112 EXPECT_GT(size_uv_, test_frame2.allocated_size(kVPlane)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/ |
D | video_frame.h | 94 virtual 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/qemu/ |
D | kvm-all.c | 314 unsigned long size, allocated_size = 0; in kvm_physical_sync_dirty_bitmap() local 331 if (size > allocated_size) { in kvm_physical_sync_dirty_bitmap() 333 allocated_size = size; in kvm_physical_sync_dirty_bitmap()
|
/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()
|