Searched refs:safe_strdup (Results 1 – 12 of 12) sorted by relevance
358 return safe_strdup("dmi:"); in init_dmi()375 copy = safe_strdup(modalias); in init_dmi()395 return safe_strdup(""); in init_dt()404 copy = safe_strdup(compatible); in init_dt()417 char *path_dup = safe_strdup(path); in section_new()480 s->match.name = safe_strdup(value); in parse_match()527 s->match.dmi = safe_strdup(value); in parse_match()548 s->match.dt = safe_strdup(value); in parse_match()657 p->value.s = safe_strdup(value); in parse_attr()664 p->value.s = safe_strdup(value); in parse_attr()[all …]
137 seat_name = safe_strdup(seat_prop ? seat_prop : default_seat); in path_seat_get_for_device()140 seat_logical_name = safe_strdup(seat_logical_name_override); in path_seat_get_for_device()211 device->output_name = safe_strdup(output_name); in path_device_enable()
63 return safe_strdup(execdir); in builddir_lookup()
72 safe_strdup(const char *str) in safe_strdup() function328 str = safe_strdup(&input[strspn(input, what)]); in strstrip()
142 device->output_name = safe_strdup(output_name); in device_added()446 input->seat_id = safe_strdup(seat_id); in libinput_udev_assign_seat()
43 timer->timer_name = safe_strdup(timer_name); in libinput_timer_init()
1992 seat->physical_name = safe_strdup(physical_name); in libinput_seat_init()1993 seat->logical_name = safe_strdup(logical_name); in libinput_seat_init()3572 group->identifier = safe_strdup(identifier); in libinput_device_group_create()
361 t->name = safe_strdup(funcname); in litest_add_tcase_for_device()362 t->devname = safe_strdup(dev->shortname); in litest_add_tcase_for_device()388 t->name = safe_strdup(test_name); in litest_add_tcase_no_device()389 t->devname = safe_strdup("no device"); in litest_add_tcase_no_device()415 t->name = safe_strdup(test_name); in litest_add_tcase_deviceless()416 t->devname = safe_strdup("deviceless"); in litest_add_tcase_deviceless()456 s->name = safe_strdup(name); in get_suite()828 p->path = safe_strdup(path); in open_restricted()955 filename = safe_strdup(xml_prefix); in litest_export_xml()1364 file->path = safe_strdup(dest); in litest_copy_file()[all …]
429 sysname1 = safe_strdup(libinput_device_get_sysname(device)); in START_TEST()446 sysname2 = safe_strdup(libinput_device_get_sysname(device)); in START_TEST()
59 dir.dirname = safe_strdup(dirname); in make_data_dir()
2088 ctx->output_file = safe_strdup("stdout"); in open_output_file()2589 ctx.outfile = safe_strdup(output_arg); in main()2606 if (!init_device(&ctx, safe_strdup(*d))) { in main()2623 char *devnode = safe_strdup(argv[optind + i - 1]); in main()2631 path = ndevices <= 0 ? select_device() : safe_strdup(argv[optind++]); in main()
464 device_node = safe_strdup(udev_device_get_devnode(device)); in find_device()