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

  /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/libwebp/utils/
bit_writer.c 201 size_t allocated_size; local
210 allocated_size = (3 * bw->max_bytes_) >> 1;
211 if (allocated_size < size_required) allocated_size = size_required;
213 allocated_size = (((allocated_size >> 10) + 1) << 10);
214 allocated_buf = (uint8_t*)malloc(allocated_size);
222 bw->max_bytes_ = allocated_size;
223 memset(allocated_buf + current_size, 0, allocated_size - current_size);
  /external/webp/src/utils/
bit_writer.c 201 size_t allocated_size; local
210 allocated_size = (3 * bw->max_bytes_) >> 1;
211 if (allocated_size < size_required) allocated_size = size_required;
213 allocated_size = (((allocated_size >> 10) + 1) << 10);
214 allocated_buf = (uint8_t*)malloc(allocated_size);
222 bw->max_bytes_ = allocated_size;
223 memset(allocated_buf + current_size, 0, allocated_size - current_size);
  /external/clang/lib/Sema/
AttributeList.cpp 22 size_t AttributeList::allocated_size() const { function in class:AttributeList
64 size_t size = cur->allocated_size();
  /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 803 uptr allocated_size = AllocationSize(ptr); local
805 if (allocated_size == 0) {
809 return allocated_size;
  /external/qemu/
kvm-all.c 300 unsigned long size, allocated_size = 0; local
317 } else if (size > allocated_size) {
320 allocated_size = size;
321 memset(d.dirty_bitmap, 0, allocated_size);
  /external/clang/include/clang/Sema/
AttributeList.h 179 size_t allocated_size() const;

Completed in 259 milliseconds