/external/chromium_org/third_party/webrtc/common_video/ |
plane_unittest.cc | 23 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...] |
plane.h | 30 int CreateEmptyPlane(int allocated_size, int stride, int plane_size); 45 int allocated_size() const {return allocated_size_;} function in class:webrtc::Plane
|
plane.cc | 29 int Plane::CreateEmptyPlane(int allocated_size, int stride, int plane_size) { 30 if (allocated_size < 1 || stride < 1 || plane_size < 1) 33 if (MaybeResize(allocated_size) < 0)
|
i420_video_frame_unittest.cc | 69 frame.allocated_size(kYPlane)); 71 frame.allocated_size(kUPlane)); 73 frame.allocated_size(kVPlane)); 116 EXPECT_EQ(kSizeY, frame1.allocated_size(kYPlane)); 117 EXPECT_EQ(kSizeU, frame1.allocated_size(kUPlane)); 118 EXPECT_EQ(kSizeV, frame1.allocated_size(kVPlane)); 173 EXPECT_LE(kSizeY, frame2.allocated_size(kYPlane)); 174 EXPECT_LE(kSizeUv, frame2.allocated_size(kUPlane)); 175 EXPECT_LE(kSizeUv, frame2.allocated_size(kVPlane)); 261 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) & [all...] |
i420_video_frame.cc | 66 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();
|
texture_video_frame.cc | 79 int TextureVideoFrame::allocated_size(PlaneType type) const { function in class:webrtc::TextureVideoFrame
|
/bionic/libc/bionic/ |
getcwd.cpp | 43 size_t allocated_size = size; local 48 allocated_size = getpagesize(); 50 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); 59 int rc = __getcwd(buf, allocated_size);
|
/external/chromium_org/third_party/webrtc/video_engine/ |
vie_capturer_unittest.cc | 164 EXPECT_EQ(input_frames_.back()->allocated_size(kYPlane), 165 copied_input_frames.back()->allocated_size(kYPlane)); 224 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) && 225 (frame1.allocated_size(kUPlane) == frame2.allocated_size(kUPlane)) && 226 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane)) && 228 frame1.allocated_size(kYPlane)) == 0) && 230 frame1.allocated_size(kUPlane)) == 0) & [all...] |
/external/chromium_org/third_party/webrtc/test/ |
frame_generator.cc | 40 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); 41 memset(frame_.buffer(kUPlane), u, frame_.allocated_size(kUPlane)); 42 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane));
|
/external/chromium_org/chromecast/media/cma/ipc/ |
media_message_fifo.cc | 164 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/ |
bit_writer.c | 211 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/webp/src/utils/ |
bit_writer.c | 211 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/pcre/dist/sljit/ |
sljitExecAllocator.c | 147 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/third_party/webrtc/common_video/interface/ |
texture_video_frame.h | 56 virtual int allocated_size(PlaneType type) const OVERRIDE;
|
/external/clang/lib/Sema/ |
AttributeList.cpp | 33 size_t AttributeList::allocated_size() const { function in class:AttributeList 75 size_t size = cur->allocated_size();
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
video_processing_unittest.cc | 49 memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane)); 50 memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane)); 51 memset(video_frame_.buffer(kVPlane), 0, video_frame_.allocated_size(kVPlane)); 351 int allocated_size1 = frame1.allocated_size(plane_type); 352 int allocated_size2 = frame2.allocated_size(plane_type);
|
/external/compiler-rt/lib/asan/ |
asan_malloc_mac.cc | 47 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);
|
asan_allocator2.cc | 337 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/chromium_org/third_party/webrtc/ |
video_frame.h | 94 virtual int allocated_size(PlaneType type) const;
|
/external/chromium_org/third_party/webrtc/modules/video_capture/test/ |
video_capture_unittest.cc | 80 int allocated_size1 = frame1.allocated_size(plane_type); 81 int allocated_size2 = frame2.allocated_size(plane_type); 497 test_frame_.allocated_size(webrtc::kYPlane)); 499 test_frame_.allocated_size(webrtc::kUPlane)); 501 test_frame_.allocated_size(webrtc::kVPlane));
|
/external/chromium_org/third_party/webrtc/video/ |
video_send_stream_tests.cc | [all...] |
/external/chromium_org/third_party/webrtc/common_video/libyuv/ |
scaler_unittest.cc | 110 EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane)); 111 EXPECT_GT(size_uv_, test_frame2.allocated_size(kUPlane)); 112 EXPECT_GT(size_uv_, test_frame2.allocated_size(kVPlane));
|
/external/chromium_org/third_party/webrtc/modules/video_render/test/testAPI/ |
testAPI.cc | 282 memset(frame->buffer(kYPlane), color, frame->allocated_size(kYPlane)); 283 memset(frame->buffer(kUPlane), color, frame->allocated_size(kUPlane)); 284 memset(frame->buffer(kVPlane), color, frame->allocated_size(kVPlane));
|
/external/nanopb-c/ |
pb_decode.c | 543 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)) [all...] |
/external/qemu/ |
kvm-all.c | 314 unsigned long size, allocated_size = 0; local 331 if (size > allocated_size) { 333 allocated_size = size;
|