HomeSort by relevance Sort by last modified time
    Searched refs:allocated_size (Results 1 - 25 of 65) sorted by null

1 2 3

  /bionic/libc/bionic/
getcwd.cpp 45 size_t allocated_size = size; local
50 allocated_size = getpagesize();
52 buf = allocated_buf = static_cast<char*>(malloc(allocated_size));
61 int rc = __getcwd(buf, allocated_size);
  /external/protobuf/src/google/protobuf/
repeated_field.cc 70 if (old_rep && old_rep->allocated_size > 0) {
72 old_rep->allocated_size * sizeof(rep_->elements[0]));
73 rep_->allocated_size = old_rep->allocated_size;
75 rep_->allocated_size = 0;
92 for (int i = start + num; i < rep_->allocated_size; ++i)
95 rep_->allocated_size -= num;
repeated_field.h 523 int allocated_size; member in struct:google::protobuf::internal::RepeatedPtrFieldBase::Rep
    [all...]
  /external/libchrome/base/trace_event/
heap_profiler_allocation_register_posix.cc 51 void FreeGuardedVirtualMemory(void* address, size_t allocated_size) {
52 size_t size = bits::Align(allocated_size, GetPageSize()) + GetGuardSize();
malloc_dump_provider.cc 148 size_t allocated_size; member in struct:base::trace_event::__anon24410::WinHeapInfo
169 crt_heap_info->allocated_size += heap_entry.cbData;
241 allocated_objects_size = main_heap_info.allocated_size;
  /external/webrtc/webrtc/common_video/
i420_video_frame_unittest.cc 64 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));
  /external/webrtc/webrtc/video/
video_capture_input_unittest.cc 270 (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));
video_encoder_unittest.cc 111 frame_.allocated_size(webrtc::kYPlane));
113 frame_.allocated_size(webrtc::kUPlane));
115 frame_.allocated_size(webrtc::kVPlane));
  /external/webp/src/utils/
bit_writer_utils.c 208 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/dist2/src/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)) {
  /bionic/linker/
linker_allocator.cpp 246 size_t allocated_size = PAGE_END(size + sizeof(page_info)); local
247 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
254 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, allocated_size, "linker_alloc_lob");
259 info->allocated_size = allocated_size;
307 old_size = info->allocated_size - sizeof(page_info);
335 munmap(info, info->allocated_size);
linker_allocator.h 56 // we use allocated_size for large objects allocator
57 size_t allocated_size; member in union:page_info::__anon1485
  /system/core/lmkd/tests/
lmkd_test.cpp 191 size_t allocated_size = 0; local
194 while (allocated_size < data->total_size) {
201 memset((void*)ptr, (int)(allocated_size + 1), data->step_size);
202 allocated_size += data->step_size;
203 data->allocated = allocated_size;
207 data->finished = (allocated_size >= data->total_size);
  /external/pdfium/third_party/libtiff/
tif_close.c 99 if (tif->tif_fieldscompat[i].allocated_size)
  /external/curl/lib/
sendf.c 137 return psnd->buffer && psnd->allocated_size &&
145 size_t bytestorecv = psnd->allocated_size - psnd->recv_size;
160 psnd->allocated_size = 2 * conn->data->set.buffer_size;
161 psnd->buffer = malloc(psnd->allocated_size);
167 bytestorecv = psnd->allocated_size;
178 psnd->allocated_size = 0;
191 DEBUGASSERT(psnd->allocated_size > 0);
192 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size);
209 psnd->allocated_size = 0;
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
repeated_field.h 523 int allocated_size; member in struct:google::protobuf::internal::RepeatedPtrFieldBase::Rep
    [all...]
  /external/clang/lib/Sema/
AttributeList.cpp 34 size_t AttributeList::allocated_size() const { function in class:AttributeList
76 size_t size = cur->allocated_size();
  /external/tensorflow/tensorflow/core/framework/
tracking_allocator.cc 92 allocated_bytes = (*itr).second.allocated_size;
134 return (*it).second.allocated_size;
tracking_allocator.h 125 size_t allocated_size; member in struct:tensorflow::TrackingAllocator::Chunk
  /external/syslinux/core/fs/ntfs/
ntfs.h 83 int64_t allocated_size; member in struct:ntfs_inode
294 int64_t allocated_size; member in struct:ntfs_attr_record::__anon37098::__anon37100
297 * allocated_size if attribute value is
339 uint64_t allocated_size; member in struct:ntfs_filename_attr
397 uint32_t allocated_size; member in struct:ntfs_idx_header
  /external/webrtc/webrtc/test/
frame_generator_unittest.cc 62 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));
frame_generator.cc 42 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/
video_processing_unittest.cc 75 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/
simulcast_unittest.h 242 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(kVPlane))
    [all...]
  /external/compiler-rt/lib/interception/
interception_win.cc 293 uptr allocated_size; member in struct:__interception::TrampolineMemoryRegion
356 current->allocated_size = 0;
360 } else if (current->max_size - current->allocated_size > size) {
363 uptr next_address = current->content + current->allocated_size;
379 uptr allocated_space = region->content + region->allocated_size;
380 region->allocated_size += size;

Completed in 548 milliseconds

1 2 3