Home
last modified time | relevance | path

Searched refs:malloc (Results 3276 - 3300 of 3676) sorted by relevance

1...<<131132133134135136137138139140>>...148

/kernel/linux/linux-5.10/tools/perf/util/
H A Dcallchain.c257 buf = malloc(strlen(arg) + 1); in parse_callchain_record()
1527 new = malloc(sizeof(*new)); in callchain_node__make_parent_list()
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1625 command_line = malloc((argc + 1) * sizeof(const char *)); in python_start_script()
1631 command_line = malloc((argc + 1) * sizeof(wchar_t *)); in python_start_script()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-kmem.c111 data = malloc(sizeof(*data)); in insert_alloc_stat()
113 pr_err("%s: malloc failed\n", __func__); in insert_alloc_stat()
156 data = malloc(sizeof(*data)); in insert_caller_stat()
158 pr_err("%s: malloc failed\n", __func__); in insert_caller_stat()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcallchain.c259 buf = malloc(strlen(arg) + 1); in parse_callchain_record()
1544 new = malloc(sizeof(*new)); in callchain_node__make_parent_list()
/kernel/liteos_a/syscall/
H A Dfs_syscall.c189 int *pollFds = (int *)malloc(sizeof(int) * nfds); in PollfdToSystem()
1561 kfds = (struct pollfd *)malloc(sizeof(struct pollfd) * nfds); in SysPoll()
/third_party/eudev/src/libudev/
H A Dlibudev-device.c1857 udev_device->monitor_buf = malloc(MONITOR_BUF_SIZE); in update_envp_monitor_buf()
1863 udev_device->envp = malloc(sizeof(char *) * ENVP_SIZE); in update_envp_monitor_buf()
/third_party/curl/src/
H A Dtool_getparam.c660 certname_place = malloc(param_length + 1); in parse_cert_parameter()
2799 config->next = malloc(sizeof(struct OperationConfig)); in parse_args()
/third_party/glfw/deps/glad/
H A Dgles2.h1661 exts_i = (char **) malloc(num_exts_i * (sizeof *exts_i)); in glad_gl_get_extensions()
1670 char *local_str = (char*) malloc(len * sizeof(char)); in glad_gl_get_extensions()
/third_party/alsa-lib/src/pcm/
H A Dpcm_direct.c1757 bindings = malloc(count * sizeof(unsigned int));
2045 char *buffer = (char *)malloc(len);
H A Dpcm_rate.c91 ap = malloc(sizeof(*ap) * channels); in rate_alloc_tmp_buf()
94 ap->addr = malloc(frames * channels * width / 8); in rate_alloc_tmp_buf()
/third_party/alsa-lib/src/mixer/
H A Dsimple_none.c1126 tlv = malloc(tlv_size); in init_db_range()
1134 rec->db_info = malloc(db_size); in init_db_range()
/third_party/alsa-lib/src/ucm/
H A Dparser.c2656 link = malloc(PATH_MAX); in parse_toplevel_path()
2668 dir2 = malloc(PATH_MAX); in parse_toplevel_path()
/third_party/alsa-lib/src/topology/
H A Ddata.c1330 tplg->manifest_pdata = malloc(manifest->priv.size); in tplg_build_manifest_data()
1983 priv = malloc(sizeof(*priv) + size); in tplg_add_data_bytes()
/third_party/backends/backend/
H A Dplustek-usb.c477 tmp = (DevList*)malloc(len); in usb_attach()
1094 scan->pScanBuffer = (u_long*)malloc( _SCANBUF_SIZE ); in usbDev_startScan()
H A Dsp15c.c1023 if (NULL == (dev = malloc (sizeof (*dev)))) in attach_scanner()
1030 if ((dev->buffer = malloc (dev->row_bufsize)) == NULL) in attach_scanner()
/third_party/curl/lib/
H A Dmime.c1285 mime = (curl_mime *) malloc(sizeof(*mime)); in curl_mime_init()
1322 part = (curl_mimepart *) malloc(sizeof(*part)); in curl_mime_addpart()
/third_party/icu/icu4c/source/test/perf/collperf2/
H A Dcollperf2.cpp370 uint8_t *part = (uint8_t *)malloc(bufSize); in call()
437 uint8_t *part = (uint8_t *)malloc(bufSize); in call()
/third_party/libuv/test/
H A Dtest-tty-escape-sequence-processing.c214 cs->text = malloc(cs->si.length * sizeof(*cs->text)); in capture_screen()
216 cs->attributes = (WORD*) malloc(cs->si.length * sizeof(*cs->attributes)); in capture_screen()
/third_party/libcoap/src/
H A Dcoap_session.c112 adapter_info = (IP_ADAPTER_INFO *)malloc(adapter_info_len); in loopback_packet_check()
114 coap_log_err("adapter_info malloc failed\n"); in loopback_packet_check()
119 adapter_info = (IP_ADAPTER_INFO *)malloc(adapter_info_len); in loopback_packet_check()
121 coap_log_err("adapter_info malloc failed\n"); in loopback_packet_check()
1887 coap_log_warn("coap_new_endpoint: malloc"); in coap_new_endpoint()
/third_party/lame/frontend/
H A Dget_audio.c2184 global.in_id3v2_tag = malloc(id3size); in lame123_decode_initfile()
2248 global.in_id3v2_tag = malloc(global.in_id3v2_size); in lame_decode_initfile()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_load_store_vectorize.c405 offset_defs = malloc(path_len * sizeof(nir_ssa_scalar)); in create_entry_key_from_deref()
406 offset_defs_mul = malloc(path_len * sizeof(uint64_t)); in create_entry_key_from_deref()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_formats.c1261 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers()
1318 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers_2()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_program.c127 zm = malloc(sizeof(struct zink_shader_module) + key->size + nonseamless_size + inline_size * sizeof(uint32_t)); in get_shader_module_for_stage()
322 zm = malloc(sizeof(struct zink_shader_module) + nonseamless_size + inline_size * sizeof(uint32_t)); in update_cs_shader_module()
/third_party/mesa3d/src/glx/
H A Dglxcmds.c724 glxDraw = malloc(sizeof(*glxDraw)); in glXCreateGLXPixmap()
1684 config_list = malloc(num_configs * sizeof *config_list); in glXGetFBConfigs()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcldrtest.c868 str = (UChar*) malloc(U_SIZEOF_UCHAR * strCapacity); in findSetMatch()
1497 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes()

Completed in 67 milliseconds

1...<<131132133134135136137138139140>>...148