/system/core/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 44 void* ptr1 = malloc(128); in TEST_F() 48 void* ptr2 = malloc(128); in TEST_F() 59 void* ptr = malloc(128); in TEST_F() 65 void* ptr = malloc(128); in TEST_F() 110 void* ptr = malloc(128); in TEST_F()
|
/system/keymaster/ |
D | valgrind.supp | 4 fun:malloc 12 fun:malloc 27 fun:malloc
|
/system/extras/memory_replay/dumps/ |
D | README | 16 malloc - Allocate memory using the malloc function. 26 <tid>: malloc <ptr> <size> 27 Allocation made by malloc(<size>). <ptr> is the value returned by malloc. 31 100: malloc 0xb48390a0 48
|
/system/chre/platform/linux/ |
D | memory.cc | 24 return malloc(size); in memoryAlloc() 28 return malloc(size); in palSystemApiMemoryAlloc()
|
D | platform_audio.cc | 146 malloc(sizeof(uint8_t) * sampleCount)); in addAudioSource() 150 malloc(sizeof(uint16_t) * sampleCount)); in addAudioSource()
|
/system/chre/platform/slpi/ |
D | memory.cc | 67 return malloc(size); in memoryAlloc() 72 return malloc(size); in memoryAllocBigImage() 76 return malloc(size); in palSystemApiMemoryAlloc()
|
/system/bt/osi/src/ |
D | allocator.cc | 30 void* ptr = malloc(real_size); in osi_strdup() 46 void* ptr = malloc(real_size); in osi_strndup() 60 void* ptr = malloc(real_size); in osi_malloc()
|
/system/keymaster/android_keymaster/ |
D | keymaster_stl.cpp | 28 return malloc(__sz); in operator new() 31 return malloc(__sz); in operator new[]()
|
/system/bt/osi/test/ |
D | allocation_tracker_test.cc | 28 void* dummy_allocation = malloc(4); in TEST() 51 void* dummy_allocation = malloc(with_canary_size); in TEST()
|
/system/core/libmemunreachable/ |
D | README.md | 6 …ferences to remove the overhead. Instead of instrumenting every call to malloc and free, it queri… 19 To enable malloc\_debug backtraces on allocations for a single app process on a userdebug device, u… 22 adb shell setprop libc.debug.malloc.program app_process 24 adb shell setprop libc.debug.malloc.options backtrace=4 29 To disable malloc\_debug: 31 adb shell setprop libc.debug.malloc.options "''" 32 adb shell setprop libc.debug.malloc.program "''" 90 - `malloc enable()`: re-enable allocations in all threads.
|
/system/vold/ |
D | Devmapper.cpp | 64 char* buffer = (char*)malloc(DEVMAPPER_BUFFER_SIZE); in create() 164 char* buffer = (char*)malloc(DEVMAPPER_BUFFER_SIZE); in destroy() 198 char* buffer = (char*)malloc(1024 * 64); in destroyAll() 205 char* buffer2 = (char*)malloc(DEVMAPPER_BUFFER_SIZE); in destroyAll()
|
/system/extras/cpustats/ |
D | cpustats.c | 110 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main() 112 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main() 119 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); in main() 121 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); in main() 131 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); in main() 133 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); in main()
|
/system/chre/util/ |
D | container_support.cc | 31 return malloc(bytes); in chreHeapAlloc()
|
/system/extras/memory_replay/tests/ |
D | ActionTest.cpp | 24 TEST(ActionTest, malloc) { in TEST() argument 55 pointers.Add(0x1234, malloc(10)); in TEST() 105 pointers.Add(0xabcd, malloc(10)); in TEST()
|
/system/core/libcutils/ |
D | load_file.cpp | 39 data = (char*) malloc(sz + 1); in load_file()
|
/system/security/keystore/ |
D | keystore_get.cpp | 41 *value = reinterpret_cast<uint8_t*>(malloc(result.size())); in keystore_get()
|
/system/chre/external/kiss_fft/ |
D | kiss_fft.h | 32 #define KISS_FFT_MALLOC malloc
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 350 malloc(sizeof(keymaster_key_characteristics_t))); in BuildCharacteristics() 434 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms() 470 *modes = reinterpret_cast<keymaster_block_mode_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_block_modes() 506 *modes = reinterpret_cast<keymaster_padding_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_padding_modes() 541 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests))); in get_supported_digests() 574 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats))); in get_supported_import_formats() 607 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats))); in get_supported_export_formats() 763 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size)); in generate_key() 845 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size)); in generate_key() 967 key_blob->key_material = reinterpret_cast<uint8_t*>(malloc(key_blob->key_material_size)); in import_key() [all …]
|
/system/extras/pagecache/ |
D | dumpcache.c | 60 info->name = malloc(strlen(fpath) + 1); in get_file_info() 134 g_files = malloc(INITIAL_NUM_FILES * sizeof(struct file_info*)); in main()
|
/system/extras/tests/memeater/ |
D | memeater.c | 69 char *p = malloc(bytesToAllocate); in main()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 221 cp_block_1 = malloc(F2FS_BLKSIZE); in validate_checkpoint() 234 cp_block_2 = malloc(F2FS_BLKSIZE); in validate_checkpoint() 318 info->sit_blocks = malloc(num_sit_blocks * sizeof(struct f2fs_sit_block)); in gather_sit_info() 391 sb = malloc(sizeof(*sb)); in generate_f2fs_info() 424 info->sit_bmp = malloc(bmp_size); in generate_f2fs_info() 616 char *buf = malloc(F2FS_BLKSIZE); in main()
|
/system/libufdt/tests/src/ |
D | util.c | 31 char *buf = malloc(len); in load_file_contents()
|
/system/nvram/messages/ |
D | blob.cpp | 56 data_ = static_cast<uint8_t*>(malloc(size)); in Assign()
|
/system/core/libdiskconfig/ |
D | write_lst.c | 34 if (!(item = malloc(sizeof(struct write_list) + data_len))) { in alloc_wl()
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper_ipc.c | 53 struct gatekeeper_message *msg = malloc(msg_size); in trusty_gatekeeper_call()
|