/art/runtime/gc/collector/ |
mark_compact.cc | 75 const size_t alloc_size = RoundUp(obj->SizeOf(), space::BumpPointerSpace::kAlignment); local 85 bump_pointer_ += alloc_size;
|
concurrent_copying.cc | 1389 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); local [all...] |
/external/fio/ |
smalloc.c | 181 static int add_pool(struct pool *pool, unsigned int alloc_size) 188 alloc_size += sizeof(unsigned int); 190 alloc_size += sizeof(struct block_hdr); 191 if (alloc_size < INITIAL_SIZE) 192 alloc_size = INITIAL_SIZE; 195 alloc_size = (alloc_size + SMALLOC_BPL - 1) & ~(SMALLOC_BPL - 1); 196 bitmap_blocks = alloc_size / SMALLOC_BPL; 197 alloc_size += bitmap_blocks * sizeof(unsigned int); 198 pool->mmap_size = alloc_size; 427 size_t alloc_size = size + sizeof(struct block_hdr); local [all...] |
/external/jemalloc/src/ |
chunk.c | 207 size_t alloc_size, leadsize, trailsize; local 218 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); 220 if (alloc_size < size) 226 extent_node_init(&key, arena, new_addr, alloc_size, false, 231 alloc_size);
|
arena.c | 2502 size_t alloc_size, leadsize, trailsize; local [all...] |
/external/libusb/libusb/ |
io.c | 1163 int alloc_size = sizeof(struct usbi_transfer) local [all...] |
/art/runtime/gc/space/ |
large_object_space.cc | 213 size_t alloc_size = it->second.mem_map->BaseSize(); local 215 *usable_size = alloc_size; 217 return alloc_size; 390 size_t alloc_size = cur_info->ByteSize(); local 392 uint8_t* byte_end = byte_start + alloc_size; 393 callback(byte_start, byte_end, alloc_size, arg); 472 size_t alloc_size = info->ByteSize(); local 474 *usable_size = alloc_size; 476 return alloc_size;
|
/external/libdrm/amdgpu/ |
amdgpu.h | 139 uint64_t alloc_size; member in struct:amdgpu_bo_alloc_request 195 uint64_t alloc_size; member in struct:amdgpu_bo_info 224 uint64_t alloc_size; member in struct:amdgpu_bo_import_result [all...] |
/external/libusb-compat/libusb/ |
core.c | 417 size_t alloc_size = sizeof(struct usb_endpoint_descriptor) * num_endpoints; local 420 dest->endpoint = malloc(alloc_size); 423 memset(dest->endpoint, 0, alloc_size); 451 size_t alloc_size = sizeof(struct usb_interface_descriptor) local 455 dest->altsetting = malloc(alloc_size); 458 memset(dest->altsetting, 0, alloc_size); 477 size_t alloc_size = sizeof(struct usb_interface) * num_interfaces; local 480 dest->interface = malloc(alloc_size); 483 memset(dest->interface, 0, alloc_size); 510 size_t alloc_size; local [all...] |
/external/nanopb-c/ |
pb_decode.c | 1128 size_t alloc_size; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_graph_state.cpp | 46 int alloc_size = m_PathCount; local 47 if (alloc_size % 8) { 48 alloc_size += 8 - (alloc_size % 8); 50 m_pPathList = new CPDF_Path[alloc_size]; 54 m_pTypeList = FX_Alloc(uint8_t, alloc_size); 79 int alloc_size = (path_count + 7) / 8 * 8; local 80 m_pPathList = new CPDF_Path[alloc_size]; 81 m_pTypeList = FX_Alloc(uint8_t, alloc_size);
|
/system/extras/micro_bench/ |
micro_bench.cpp | 433 size_t alloc_size = size * 2 + 3 * cmd_data.dst_align; local [all...] |
/external/libusb/libusb/os/ |
linux_usbfs.c | 1348 size_t alloc_size; local 1459 size_t alloc_size; local [all...] |
/external/strace/ |
util.c | 711 unsigned int alloc_size; local 717 alloc_size = 4 * size; 718 if (alloc_size / 4 != size) { 723 alloc_size += 1 + (style & QUOTE_OMIT_LEADING_TRAILING_QUOTES ? 0 : 2); 725 if (use_alloca(alloc_size)) { 726 outstr = alloca(alloc_size); 729 outstr = buf = malloc(alloc_size);
|
/external/squashfs-tools/squashfs-tools/ |
action.c | 618 static int cur_size = 0, alloc_size = 0; local 624 alloc_size = ALLOC_SZ; 629 alloc_size = cur_size = 0; 642 if(alloc_size - cur_size < size) { 644 alloc_size = (cur_size + size + ALLOC_SZ - 1) & ~(ALLOC_SZ - 1); 646 expr_msg = realloc(expr_msg, alloc_size); [all...] |
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 4232 size_t alloc_size = __sanitizer_get_estimated_allocated_size(sizes[i]); local [all...] |
/art/runtime/gc/ |
heap.cc | 2371 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/ |
nestegg.c | 697 const size_t alloc_size = (size_t)length + 1; local 701 str = ne_pool_alloc(alloc_size, ctx->alloc_pool); 702 r = ne_io_read(ctx->io, (unsigned char *) str, alloc_size - 1); 705 str[alloc_size - 1] = '\0'; [all...] |
/hardware/intel/img/psb_video/src/ |
psb_drv_video.h | 594 unsigned int alloc_size; member in struct:object_buffer_s
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-xtensa.c | 2159 static bfd_size_type alloc_size = 0; local [all...] |