HomeSort by relevance Sort by last modified time
    Searched defs:alloc_size (Results 26 - 50 of 52) sorted by null

12 3

  /external/fio/
smalloc.c 155 static bool add_pool(struct pool *pool, unsigned int alloc_size)
165 alloc_size += sizeof(unsigned int);
167 alloc_size += sizeof(struct block_hdr);
168 if (alloc_size < INITIAL_SIZE)
169 alloc_size = INITIAL_SIZE;
172 alloc_size = (alloc_size + SMALLOC_BPL - 1) & ~(SMALLOC_BPL - 1);
173 bitmap_blocks = alloc_size / SMALLOC_BPL;
174 alloc_size += bitmap_blocks * sizeof(unsigned int);
175 pool->mmap_size = alloc_size;
400 size_t alloc_size = size + sizeof(struct block_hdr); local
    [all...]
  /external/jemalloc/src/
chunk.c 208 size_t alloc_size, leadsize, trailsize; local
222 alloc_size = size + CHUNK_CEILING(alignment) - chunksize;
224 if (alloc_size < size)
230 extent_node_init(&key, arena, new_addr, alloc_size, 0, false,
234 node = chunk_first_best_fit(arena, chunks_szsnad, alloc_size);
arena.c 2706 size_t alloc_size, leadsize, trailsize; local
    [all...]
  /external/libcxx/test/support/
controlled_allocators.hpp 368 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T)));
407 static std::size_t alloc_size(std::size_t s) { function in class:MinAlignedAllocator
  /external/swiftshader/third_party/subzero/runtime/
szrt_asan.c 222 size_t alloc_size = nmemb * size; local
223 void *ret = __asan_malloc(alloc_size);
224 memset(ret, 0, alloc_size);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/
controlled_allocators.hpp 368 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T)));
407 static std::size_t alloc_size(std::size_t s) { function in class:MinAlignedAllocator
  /system/extras/simpleperf/
utils.cpp 52 size_t alloc_size = std::max(size, unit_size_); local
53 char* p = new char[alloc_size];
56 end_ = p + alloc_size;
  /art/runtime/gc/space/
large_object_space.cc 208 size_t alloc_size = it->second.mem_map->BaseSize(); local
210 *usable_size = alloc_size;
212 return alloc_size;
385 size_t alloc_size = cur_info->ByteSize(); local
387 uint8_t* byte_end = byte_start + alloc_size;
388 callback(byte_start, byte_end, alloc_size, arg);
467 size_t alloc_size = info->ByteSize(); local
469 *usable_size = alloc_size;
471 return alloc_size;
  /external/libdrm/amdgpu/
amdgpu.h 144 uint64_t alloc_size; member in struct:amdgpu_bo_alloc_request
200 uint64_t alloc_size; member in struct:amdgpu_bo_info
229 uint64_t alloc_size; member in struct:amdgpu_bo_import_result
    [all...]
  /external/libusb/libusb/
io.c 1262 size_t alloc_size = sizeof(struct usbi_transfer) local
    [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/python/cpython3/Objects/
codeobject.c 146 Py_ssize_t alloc_size = sizeof(unsigned char) * n_cellvars; local
148 cell2arg = PyMem_MALLOC(alloc_size);
151 memset(cell2arg, CO_CELL_NOT_AN_ARG, alloc_size);
  /external/strace/
util.c 629 unsigned int alloc_size; local
635 alloc_size = 4 * size;
636 if (alloc_size / 4 != size) {
641 alloc_size += 1 + (style & QUOTE_OMIT_LEADING_TRAILING_QUOTES ? 0 : 2) +
644 if (use_alloca(alloc_size)) {
645 outstr = alloca(alloc_size);
648 outstr = buf = malloc(alloc_size);
  /system/extras/micro_bench/
micro_bench.cpp 434 size_t alloc_size = size * 2 + 3 * cmd_data.dst_align; // should alloc_size be used? local
    [all...]
  /external/tensorflow/tensorflow/core/framework/
op_kernel.cc 675 int64 alloc_size = a->AllocatedSize(out_temp->tensor_data().data()); local
676 record_temp_memory_allocation(alloc_size, *out_temp);
698 int64 alloc_size = a->AllocatedSize(t->tensor_data().data()); local
700 record_persistent_memory_allocation(alloc_size, alloc_id);
    [all...]
  /art/runtime/gc/collector/
concurrent_copying.cc 1563 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); local
    [all...]
  /external/libusb/libusb/os/
linux_usbfs.c 1974 size_t alloc_size; local
    [all...]
  /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 4322 size_t alloc_size = __sanitizer_get_estimated_allocated_size(sizes[i]); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_pipe.h 376 uint32_t alloc_size; member in struct:r600_shader_driver_constants_info
  /external/v8/src/wasm/
wasm-module.cc 105 const size_t alloc_size = local
110 void* memory = base::OS::AllocateGuarded(alloc_size);
    [all...]
  /art/runtime/gc/
heap.cc 2233 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); local
    [all...]
  /hardware/intel/img/psb_video/src/
psb_drv_video.h 594 unsigned int alloc_size; member in struct:object_buffer_s
  /external/mesa3d/src/intel/vulkan/
anv_private.h 380 uint32_t alloc_size; member in struct:anv_state
448 anv_clflush_range(state.map, state.alloc_size);
    [all...]

Completed in 1779 milliseconds

12 3