Searched refs:allocated_size (Results 1 – 8 of 8) sorted by relevance
/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/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/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_allocator.cc | 384 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate() local 385 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate() 887 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size() local 889 if (allocated_size == 0) { in __sanitizer_get_allocated_size() 893 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/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/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()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 212 size_t allocated_size() const;
|