/external/jemalloc/src/ |
chunk_mmap.c | 10 size_t alloc_size; local 12 alloc_size = size + alignment - PAGE; 14 if (alloc_size < size) 19 pages = pages_map(NULL, alloc_size); 24 ret = pages_trim(pages, alloc_size, leadsize, size);
|
zone.c | 124 size_t alloc_size; local 126 alloc_size = ivsalloc(ptr, config_prof); 127 if (alloc_size != 0) { 128 assert(alloc_size == size);
|
/external/jemalloc/test/integration/ |
iterate.c | 8 static size_t alloc_size; variable 15 alloc_size += size; 34 alloc_size = 0; 64 alloc_size = 0; 96 alloc_size = 0;
|
/external/boringssl/src/crypto/buf/ |
buf.c | 93 size_t n, alloc_size; local 112 alloc_size = n * 4; 113 if (alloc_size / 4 != n) { 120 new_buf = OPENSSL_malloc(alloc_size); 123 new_buf = OPENSSL_realloc_clean(buf->data, buf->max, alloc_size); 125 new_buf = OPENSSL_realloc(buf->data, alloc_size); 134 buf->max = alloc_size; 172 size_t alloc_size; local 180 alloc_size = size + 1; 181 if (alloc_size < size) [all...] |
/external/libvpx/libvpx/vpx/src/ |
vpx_image.c | 149 const uint64_t alloc_size = (fmt & VPX_IMG_FMT_PLANAR) ? local 152 if (alloc_size != (size_t)alloc_size) 155 img->img_data = (uint8_t *)vpx_memalign(buf_align, (size_t)alloc_size);
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_memmgr.cpp | 59 size_t alloc_size = size > m_TrunkSize ? size : m_TrunkSize; local 61 sizeof(_FX_GrowOnlyTrunk) + alloc_size); 62 pTrunk->m_Size = alloc_size;
|
/system/extras/tests/pagingtest/ |
pagingtest.c | 14 #define ALLOC_SIZE (10 * 1024 * 1024) 135 unsigned long long alloc_size = 0ULL; local 140 //arguments: <program> [test_runs [alloc_size [file_size]]] 148 alloc_size = strtoull(argv[2], NULL, 10); 150 if (!alloc_size) { 151 alloc_size = ALLOC_SIZE; 160 rc = mmap_test(test_runs, alloc_size);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_upload_mgr.c | 163 unsigned alloc_size = align( size, upload->alignment ); local 176 if (MAX2(upload->offset, alloc_offset) + alloc_size > upload->size) { 178 alloc_offset + alloc_size); 209 upload->offset = offset + alloc_size;
|
/art/runtime/gc/space/ |
large_object_space_test.cc | 123 size_t alloc_size, bytes_tl_bulk_allocated; local 124 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr,
|
/art/runtime/mirror/ |
string-inl.h | 167 size_t alloc_size = RoundUp(size, kObjectAlignment); local 186 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, string_class, alloc_size,
|
/development/ndk/platforms/android-3/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/external/boringssl/src/crypto/lhash/ |
lhash.c | 167 size_t i, alloc_size; local 169 alloc_size = sizeof(LHASH_ITEM *) * new_num_buckets; 170 if (alloc_size / sizeof(LHASH_ITEM*) != new_num_buckets) { 174 new_buckets = OPENSSL_malloc(alloc_size); 178 memset(new_buckets, 0, alloc_size);
|
/external/boringssl/src/crypto/stack/ |
stack.c | 156 size_t alloc_size = new_alloc * sizeof(void *); local 160 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { 162 alloc_size = new_alloc * sizeof(void *); 166 if (new_alloc < sk->num_alloc || alloc_size / sizeof(void *) != new_alloc) { 170 data = OPENSSL_realloc(sk->data, alloc_size);
|
/external/dbus/dbus/ |
dbus-mempool.c | 220 int alloc_size; local 229 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + 233 block = dbus_malloc0 (alloc_size); 235 block = dbus_malloc (alloc_size); 282 int alloc_size; local 295 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + pool->block_size; 309 block = dbus_malloc0 (alloc_size); 311 block = dbus_malloc (alloc_size);
|
/external/libchrome/base/trace_event/ |
trace_event_impl.cc | 127 size_t alloc_size = 0; local 129 alloc_size += GetAllocLength(name); 131 alloc_size += GetAllocLength(arg_names_[i]); 146 alloc_size += GetAllocLength(arg_values_[i].as_string); 149 if (alloc_size) { 151 parameter_copy_storage_->data().resize(alloc_size); 153 const char* end = ptr + alloc_size;
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/linux/ |
relay.h | 53 size_t alloc_size; member in struct:rchan
|