Home
last modified time | relevance | path

Searched refs:strdup (Results 676 - 700 of 1053) sorted by relevance

1...<<21222324252627282930>>...43

/kernel/linux/linux-6.6/tools/perf/util/
H A Dbuild-id.c227 ret = strdup(buf + offs); /* Skip "../..[/]" */ in build_id_cache__origname()
553 sbuild_id = strdup(cand->s); in build_id_cache__complement()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dcommon.c201 pname = strdup(path); in open_obj_pinned()
497 path = strdup(fpath); in do_build_table_cb()
/third_party/f2fs-tools/fsck/
H A Dmain.c52 ret = strdup(file); in absolute_path()
818 c.devices[0].path = strdup(argv[optind]); in f2fs_parse_options()
/third_party/alsa-lib/src/
H A Dconfmisc.c640 res = strdup(str);
770 res = strdup(snd_ctl_card_info_get_driver(&info)); in snd_determine_driver()
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c707 return strdup(name); in search_for_file()
1078 device = strdup(optarg); in main()
/third_party/curl/lib/
H A Dldap.c864 p = path = strdup(data->state.up.path + 1); in _ldap_url_parse2()
870 q = query = strdup(data->state.up.query); in _ldap_url_parse2()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfscp.c942 parent_dirname = strdup(unix_name); in main()
945 parent_dirname = strdup(opts.dest_file); in main()
948 ntfs_log_perror("strdup() failed"); in main()
/third_party/toybox/kconfig/
H A Dsymbol.c193 sym->curr.val = strdup(str); in sym_validate_range()
675 new_name = strdup(name); in sym_lookup()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
H A Dspp_client.c190 tmp = strdup(cdata + 9); in process_update_node()
518 char *id = strdup(session_id); in hs20_spp_exec()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
H A Dspp_client.c190 tmp = strdup(cdata + 9); in process_update_node()
518 char *id = strdup(session_id); in hs20_spp_exec()
/third_party/backends/sanei/
H A Dsanei_usb.c435 /* since devname has been created by strdup() in store_device()
587 testing_xml_path = strdup(path); in sanei_usb_testing_enable_replay()
617 testing_record_backend = strdup(be_name); in sanei_usb_testing_enable_record()
618 testing_xml_path = strdup(path); in sanei_usb_testing_enable_record()
1129 // duplicate using strdup so that the caller can use free() in sanei_usb_testing_get_backend()
1130 char* ret = strdup(attr); in sanei_usb_testing_get_backend()
1301 device.devname = strdup(testing_xml_path); in sanei_usb_testing_init()
1677 device.devname = strdup (devname); in usbcall_scan_devices()
1773 device.devname = strdup (devname); in kernel_scan_devices()
1887 device.devname = strdup (devnam in libusb_scan_devices()
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-script.c2662 script_name = strdup(script); in parse_scriptname()
2674 char *str = strdup(arg); in parse_output_fields()
2861 s->name = strdup(name); in script_desc__new()
2944 desc->half_liner = strdup(skip_spaces(p)); in read_script_info()
2950 desc->args = strdup(skip_spaces(p)); in read_script_info()
2964 script_root = strdup(script_dirent->d_name); in get_script_root()
3200 return strdup(script_path); in get_script_path()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-sched.c3364 char *tmp, *tok, *str = strdup(sched->sort_order); in setup_sorting()
3439 rec_argv[i] = strdup(record_args[i]); in __cmd_record()
3441 rec_argv[i++] = strdup("-e"); in __cmd_record()
3444 rec_argv[i++] = strdup("sched:sched_waking"); in __cmd_record()
3446 rec_argv[i++] = strdup("sched:sched_wakeup"); in __cmd_record()
3449 rec_argv[i++] = strdup(schedstat_args[j]); in __cmd_record()
3452 rec_argv[i] = strdup(argv[j]); in __cmd_record()
H A Dbuiltin-script.c2954 return strdup(script); in find_script()
3000 script_name = strdup(script); in parse_scriptname()
3012 char *str = strdup(arg); in parse_output_fields()
3199 s->name = strdup(name); in script_desc__new()
3282 desc->half_liner = strdup(skip_spaces(p)); in read_script_info()
3288 desc->args = strdup(skip_spaces(p)); in read_script_info()
3302 script_root = strdup(script_dirent->d_name); in get_script_root()
3382 char *arg = strdup(s); in add_dlarg()
3575 return strdup(script_path); in get_script_path()
/third_party/curl/lib/vssh/
H A Dlibssh2.c66 #include "strdup.h"
203 responses[0].text = strdup(conn->passwd); in kbd_callback()
1081 sshc->rsa = strdup(data->set.str[STRING_SSH_PRIVATE_KEY]); in ssh_statemach_act()
1106 sshc->rsa = strdup("id_rsa"); in ssh_statemach_act()
1109 sshc->rsa = strdup("id_dsa"); in ssh_statemach_act()
1114 sshc->rsa = strdup(""); in ssh_statemach_act()
1128 sshc->rsa_pub = strdup(data->set.str[STRING_SSH_PUBLIC_KEY]); in ssh_statemach_act()
1425 sshc->homedir = strdup(tempHome); in ssh_statemach_act()
/third_party/backends/backend/
H A Dteco2.c1779 dev->devicename = strdup (devicename); in attach_scanner()
1894 dev->val[OPT_MODE].s = (SANE_Char *) strdup (""); /* will be set later */ in teco_init_options()
1971 dev->val[OPT_DITHER].s = strdup (dither_list[0]); in teco_init_options()
2038 dev->val[OPT_FILTER_COLOR].s = (SANE_Char *) strdup (filter_color_list[0]); in teco_init_options()
2779 dev->val[option].s = (SANE_String) strdup (val); in sane_control_option()
2784 dev->val[option].s = (SANE_String) strdup (val); in sane_control_option()
2793 dev->val[OPT_MODE].s = (SANE_Char *) strdup (val); in sane_control_option()
H A Dp5.c551 s->options[OPT_MODE].value.s = strdup (mode_list[0]); in set_automatic_value()
606 s->options[option].value.s = strdup (val); in set_option_value()
1675 device->name = strdup (devicename); in attach_p5()
1750 session->options[OPT_MODE].value.s = strdup (mode_list[0]); in init_options()
H A Dmustek.c1108 dev->name = strdup (devname); in attach()
4211 s->val[OPT_MODE].s = strdup (mode_list_se[1]); in init_options()
4219 s->val[OPT_MODE].s = strdup (mode_list_paragon[2]); in init_options()
4257 s->val[OPT_BIT_DEPTH].s = strdup (bit_depth_list_pro[0]); in init_options()
4269 s->val[OPT_SPEED].s = strdup (speed_list[4]); in init_options()
4290 s->val[OPT_SOURCE].s = strdup (ta_source_list[0]); in init_options()
4299 s->val[OPT_SOURCE].s = strdup (adf_source_list[0]); in init_options()
4308 s->val[OPT_SOURCE].s = strdup (source_list[0]); in init_options()
4598 s->val[OPT_HALFTONE_DIMENSION].s = strdup (halftone_list[0]); in init_options()
5902 s->val[option].s = strdup (va in sane_control_option()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_sockmap.c1796 ptr = strdup(opt->whitelist); in check_whitelist()
1816 ptr = strdup(opt->blacklist); in check_blacklist()
1967 options.whitelist = strdup(optarg); in main()
1972 options.blacklist = strdup(optarg); in main()
/kernel/linux/linux-5.10/scripts/mod/
H A Dmodpost.c405 namespace && namespace[0] ? NOFAIL(strdup(namespace)) : NULL; in sym_update_namespace()
726 char *munged = NOFAIL(strdup(symname)); in handle_symbol()
1405 return NOFAIL(strdup("")); in sec2annotation()
2038 tmp = NOFAIL(strdup(modname)); in read_symbols()
/kernel/linux/linux-5.10/tools/perf/bench/
H A Dnuma.c501 p0.cpu_list_str = strdup(arg); in parse_cpu_list()
519 str0 = str = strdup(g->p.cpu_list_str); in parse_setup_cpu_list()
638 p0.node_list_str = strdup(arg); in parse_node_list()
656 str0 = str = strdup(g->p.node_list_str); in parse_setup_node_list()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsymbol-elf.c905 ss->name = strdup(name); in symsrc__init()
2228 tmp->provider = strdup(provider); in populate_sdt_note()
2233 tmp->name = strdup(name); in populate_sdt_note()
2251 tmp->args = strdup(++args); in populate_sdt_note()
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dnuma.c529 p0.cpu_list_str = strdup(arg); in parse_cpu_list()
547 str0 = str = strdup(g->p.cpu_list_str); in parse_setup_cpu_list()
677 p0.node_list_str = strdup(arg); in parse_node_list()
695 str0 = str = strdup(g->p.node_list_str); in parse_setup_node_list()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_sockmap.c1883 ptr = strdup(opt->whitelist); in check_whitelist()
1903 ptr = strdup(opt->blacklist); in check_blacklist()
2054 options.whitelist = strdup(optarg); in main()
2059 options.blacklist = strdup(optarg); in main()
/third_party/libevdev/libevdev/
H A Dlibevdev.c402 dev->name = strdup(buf); in libevdev_set_fd()
417 dev->phys = strdup(buf); in libevdev_set_fd()
432 dev->uniq = strdup(buf); in libevdev_set_fd()
1255 dev->field = strdup(field); \

Completed in 63 milliseconds

1...<<21222324252627282930>>...43