Home
last modified time | relevance | path

Searched refs:malloc (Results 2126 - 2150 of 2633) sorted by relevance

1...<<81828384858687888990>>...106

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.c276 bo_log = malloc(sizeof(*bo_log)); in radv_amdgpu_log_bo()
1035 bos = malloc(sizeof(*bos) * ws->global_bo_list.count); in radv_amdgpu_dump_bo_ranges()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_queue.c784 (uint32_t *) malloc(sizeof(uint32_t) * submit.bo_handle_count); in handle_cl_job()
939 (uint32_t *) malloc(sizeof(uint32_t) * MAX2(4, submit->bo_handle_count * 2)); in handle_csd_job()
/third_party/ltp/testcases/kernel/fs/doio/
H A Diogen.c1259 b = buf = malloc(finfo.d_miniosz + finfo.d_mem); in create_file()
1777 File_List = malloc((argc - optind) * sizeof(struct file_info)); in parse_cmdline()
1781 "iogen%s: Could not malloc space for %d file_info structures\n", in parse_cmdline()
/third_party/ltp/lib/
H A Dsafe_macros.c22 #include <malloc.h>
171 rval = malloc(size); in safe_malloc()
175 "malloc(%zu) failed", size); in safe_malloc()
/third_party/mesa3d/src/intel/common/
H A Dintel_decoder.c528 out = malloc(4096); in zlib_inflate()
735 char *filename = malloc(filename_len); in intel_spec_load_from_path()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sqtt.c1020 record = malloc(sizeof(struct rgp_code_object_record)); in si_sqtt_add_code_object()
1047 uint8_t *code = malloc(shader->binary.uploaded_code_size); in si_sqtt_add_code_object()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_kopper.c710 arr = malloc(sizeof(struct util_dynarray)); in kopper_present()
728 struct kopper_present_info *cpi = malloc(sizeof(struct kopper_present_info)); in zink_kopper_present_queue()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_api.c309 malloc(8), /*data*/ in bits_per_pixel()
792 v->visinfo = malloc(sizeof(*visinfo)); in XMesaCreateVisual()
/third_party/ntfs-3g/libntfs-3g/
H A Dreparse.c1353 reparse = (REPARSE_POINT*)malloc(reparse_len); in ntfs_reparse_set_wsl_symlink()
1407 reparse = (REPARSE_POINT*)malloc(reparse_len); in ntfs_reparse_set_wsl_not_symlink()
/third_party/nghttp2/src/
H A Dutil.cc834 path = static_cast<char *>(malloc(len + 1)); in get_exec_path()
841 path = static_cast<char *>(malloc(len + 1 + cwdlen + 1)); in get_exec_path()
/third_party/libfuse/example/
H A Dpassthrough_ll.c971 value = malloc(size); in lo_getxattr()
1021 value = malloc(size); in lo_listxattr()
/third_party/skia/third_party/externals/brotli/c/tools/
H A Dbrotli.c1070 context.modified_path = (char*)malloc(modified_path_len); in main()
1071 context.buffer = (uint8_t*)malloc(kFileBufferSize * 2); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregcomp.c190 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in llvm_regcomp()
1526 g->must = malloc((size_t)g->mlen + 1); in findmust()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dregcomp.c318 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in llvm_regcomp()
1654 g->must = malloc((size_t)g->mlen + 1); in findmust()
/third_party/python/Programs/
H A D_testembed.c757 putenv("PYTHONMALLOC=malloc"); in set_most_env_vars()
839 putenv("PYTHONMALLOC=malloc"); in test_init_env_dev_mode_alloc()
1986 return allocator->malloc(allocator->ctx, size); in malloc_wrapper()
2015 .malloc = &malloc_wrapper, in wrap_allocator()
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dresource_tool.c816 content->load_addr = malloc(blocks * BLOCK_SIZE); in load_content()
929 void *data = malloc(blocks * BLOCK_SIZE); in load_file()
1061 level_confs = (anim_level_conf *)malloc(level_conf_num * sizeof(anim_level_conf)); in test_charge()
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dresource_tool.c825 content->load_addr = malloc(blocks * BLOCK_SIZE); in load_content()
943 void *data = malloc(blocks * BLOCK_SIZE); in load_file()
1080 (anim_level_conf *)malloc(level_conf_num * sizeof(anim_level_conf)); in test_charge()
/third_party/alsa-lib/src/pcm/
H A Dpcm_hw.c1079 sync_ptr = malloc(sizeof(*sync_ptr)); in map_status_and_control_data()
1345 map[i] = malloc(start[1] + 8); in snd_pcm_query_chmaps_from_hw()
1428 map = malloc(pcm->channels * sizeof(map->pos[0]) + sizeof(*map)); in snd_pcm_hw_get_chmap()
/third_party/alsa-lib/src/control/
H A Dcontrol.c791 buf = malloc(bytes); in snd_ctl_add_enumerated_elem_set()
1512 buf = malloc(strlen(str) + 32); in snd_ctl_open_conf()
1528 buf1 = malloc(strlen(str) + 32); in snd_ctl_open_conf()
1881 * \brief allocate an invalid #snd_ctl_elem_id_t using standard malloc
2293 * \brief allocate an invalid #snd_ctl_event_t using standard malloc
2356 * \brief allocate a #snd_ctl_elem_list_t using standard malloc.
2568 * \brief allocate an invalid #snd_ctl_elem_info_t using standard malloc
/third_party/alsa-utils/alsactl/
H A Dstate.c124 s = malloc(len * 8 + 1); in tlv_to_str()
146 tlv = malloc(sizeof(int) * len); in str_to_tlv()
1609 nfile = malloc(strlen(file) + 5); in save_state()
H A Dinit_parse.c158 pair = malloc(sizeof(struct pair)); in value_set()
1678 line = malloc(linesize); in parse()
1711 line = malloc(linesize); in parse()
/third_party/backends/backend/
H A Dmustek_usb_low.c64 chip = (ma1017 *) malloc (sizeof (ma1017)); in usb_low_init()
68 DBG (3, "usb_low_init: couldn't malloc %ld bytes for chip\n", in usb_low_init()
2488 pixel_temp = (SANE_Word *) malloc (6 * 1024 * sizeof (SANE_Word)); in usb_low_get_row_resample()
2535 pixel_temp = (SANE_Word *) malloc (6 * 1024 * sizeof (SANE_Word)); in usb_low_get_row_resample()
H A Dplustek_pp.c994 dev = malloc( sizeof (*dev)); in attach()
1296 devlist = malloc((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
1343 s = malloc (sizeof (*s)); in sane_open()
H A Dsm3840_scan.c308 whitemap = (unsigned short *) malloc (whitemapsize); in setup_scan()
387 whitebalance = (unsigned short *) malloc (whitebalancesize); in setup_scan()
740 lightmap = (unsigned short *) malloc (whitemapsize); in setup_scan()
H A Du12.c837 dev = malloc( sizeof (*dev)); in attach()
1075 devlist = malloc((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
1121 s = malloc (sizeof (*s)); in sane_open()

Completed in 55 milliseconds

1...<<81828384858687888990>>...106