/external/libdrm/tests/amdgpu/ |
bo_tests.c | 77 req.alloc_size = BUFFER_SIZE; 147 CU_ASSERT_EQUAL(res.alloc_size, BUFFER_SIZE);
|
amdgpu_test.h | 125 req.alloc_size = size; 176 request.alloc_size = size;
|
/bionic/libc/include/ |
malloc.h | 27 #if defined(__clang__) && !__has_attribute(alloc_size)
|
/external/jemalloc/src/ |
pages.c | 108 pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size, 113 assert(alloc_size >= leadsize + size); 118 pages_unmap(addr, alloc_size); 128 size_t trailsize = alloc_size - leadsize - size;
|
zone.c | 125 size_t alloc_size; local 127 alloc_size = ivsalloc(tsdn_fetch(), ptr, config_prof); 128 if (alloc_size != 0) { 129 assert(alloc_size == size);
|
/external/libxml2/include/libxml/ |
xmlversion.h | 449 # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
|
xmlwin32version.h.in | 265 # define ATTRIBUTE_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
radv_amdgpu_bo.c | 84 request.alloc_size = size; 189 result.alloc_size, 1 << 20, 0, &va, &va_handle, 0); 193 r = amdgpu_bo_va_op(result.buf_handle, 0, result.alloc_size, va, 0, AMDGPU_VA_OP_MAP); 206 bo->size = result.alloc_size;
|
/art/runtime/gc/space/ |
space_test.h | 179 size_t alloc_size; local 181 alloc_size = object_size; 183 alloc_size = test_rand(&rand_seed) % static_cast<size_t>(-object_size); 186 if (alloc_size < size_of_zero_length_byte_array) { 187 alloc_size = size_of_zero_length_byte_array; 195 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr, 198 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr,
|
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;
|
large_object_space_test.cc | 133 size_t alloc_size, bytes_tl_bulk_allocated; local 134 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr,
|
/external/libchrome/base/trace_event/ |
trace_event_impl.cc | 135 size_t alloc_size = 0; local 137 alloc_size += GetAllocLength(name) + GetAllocLength(scope); 139 alloc_size += GetAllocLength(arg_names_[i]); 154 alloc_size += GetAllocLength(arg_values_[i].as_string); 157 if (alloc_size) { 159 parameter_copy_storage_->resize(alloc_size); 161 const char* end = ptr + alloc_size;
|
malloc_dump_provider.cc | 304 for (const auto& alloc_size : *allocation_register_) { 305 AllocationMetrics& metrics = metrics_by_context[alloc_size.context]; 306 metrics.size += alloc_size.size;
|
/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/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...] |
amdgpu_internal.h | 97 uint64_t alloc_size; member in struct:amdgpu_bo
|
/external/libnl/lib/netfilter/ |
log_obj.c | 51 nl_dump(p, "alloc_size=%u ", log->log_alloc_size); 168 void nfnl_log_set_alloc_size(struct nfnl_log *log, uint32_t alloc_size) 170 log->log_alloc_size = alloc_size; 248 diff |= NFNL_LOG_DIFF_VAL(ALLOC_SIZE, log_alloc_size); 262 __ADD(LOG_ATTR_ALLOC_SIZE, alloc_size)
|
/external/icu/icu4c/source/common/unicode/ |
platform.h | 463 #if (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || __has_attribute(alloc_size) 464 # define U_ALLOC_SIZE_ATTR(X) __attribute__ ((alloc_size(X))) 465 # define U_ALLOC_SIZE_ATTR2(X,Y) __attribute__ ((alloc_size(X,Y)))
|
/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);
|
/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;
|
/external/compiler-rt/lib/asan/ |
asan_report.h | 56 void ReportNewDeleteSizeMismatch(uptr addr, uptr alloc_size, uptr delete_size,
|
/art/runtime/gc/ |
heap.cc | 2233 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); local [all...] |
/external/libcxxabi/src/ |
fallback_malloc.cpp | 88 size_t alloc_size(size_t len) { function in namespace:__anon24571 98 const size_t nelems = alloc_size(len);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/src/ |
fallback_malloc.cpp | 88 size_t alloc_size(size_t len) { function in namespace:__anon666 98 const size_t nelems = alloc_size(len);
|
/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);
|