Searched refs:free_and_strdup (Results 1 - 25 of 39) sorted by relevance

12

/systemd/src/debug-generator/
H A Ddebug-generator.c88 r = free_and_strdup(&arg_default_unit, value);
97 r = free_and_strdup(&arg_default_unit, target);
175 r = free_and_strdup(&arg_default_unit, SPECIAL_DEFAULT_TARGET);
/systemd/src/locale/
H A Dlocaled.c173 r = free_and_strdup(&c->locale[p],
608 if (free_and_strdup(&c->x11_layout, strnulldash(a[1])) < 0 ||
609 free_and_strdup(&c->x11_model, strnulldash(a[2])) < 0 ||
610 free_and_strdup(&c->x11_variant, strnulldash(a[3])) < 0 ||
611 free_and_strdup(&c->x11_options, strnulldash(a[4])) < 0)
740 r = free_and_strdup(new_keymap, a[0]);
986 r = free_and_strdup(&c->locale[p], *i + k + 1);
1070 if (free_and_strdup(&c->vc_keymap, keymap) < 0 ||
1071 free_and_strdup(&c->vc_keymap_toggle, keymap_toggle) < 0)
1209 if (free_and_strdup(
[all...]
/systemd/src/basic/
H A Dproc-cmdline.c117 r = free_and_strdup(&ret, e);
H A Dstring-util.h165 int free_and_strdup(char **p, const char *s);
H A Dstring-util.c782 int free_and_strdup(char **p, const char *s) { function
H A Dunit-name.c759 r = free_and_strdup(&s, "-.slice");
/systemd/src/fstab-generator/
H A Dfstab-generator.c596 if (free_and_strdup(&arg_root_what, value) < 0)
601 if (free_and_strdup(&arg_root_fstype, value) < 0)
618 if (free_and_strdup(&arg_usr_what, value) < 0)
623 if (free_and_strdup(&arg_usr_fstype, value) < 0)
/systemd/src/firstboot/
H A Dfirstboot.c707 r = free_and_strdup(&arg_locale, optarg);
719 r = free_and_strdup(&arg_locale_messages, optarg);
731 r = free_and_strdup(&arg_timezone, optarg);
738 r = free_and_strdup(&arg_root_password, optarg);
759 r = free_and_strdup(&arg_hostname, optarg);
/systemd/src/libsystemd/sd-bus/
H A Dbusctl.c721 r = free_and_strdup(&m->interface, interface);
750 r = free_and_strdup(&m->interface, interface);
754 r = free_and_strdup(&m->name, name);
758 r = free_and_strdup(&m->signature, signature);
762 r = free_and_strdup(&m->result, result);
791 r = free_and_strdup(&m->interface, interface);
795 r = free_and_strdup(&m->name, name);
799 r = free_and_strdup(&m->signature, signature);
829 r = free_and_strdup(&m->interface, interface);
833 r = free_and_strdup(
[all...]
H A Dbus-control.c495 r = free_and_strdup(&c->comm, item->str);
505 r = free_and_strdup(&c->tid_comm, item->str);
515 r = free_and_strdup(&c->exe, item->str);
540 r = free_and_strdup(&c->cgroup, item->str);
548 r = free_and_strdup(&c->cgroup_root, bus->cgroup_root);
575 r = free_and_strdup(&c->label, item->str);
607 r = free_and_strdup(&c->description, item->str);
H A Dbus-slot.c276 return free_and_strdup(&slot->description, description);
/systemd/src/cryptsetup/
H A Dcryptsetup-generator.c323 } else if (free_and_strdup(&arg_default_options, value) < 0)
337 } else if (free_and_strdup(&arg_default_keyfile, value) < 0)
/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c753 r = free_and_strdup(&boot, subnode);
769 r = free_and_strdup(&home, subnode);
785 r = free_and_strdup(&srv, subnode);
/systemd/src/nspawn/
H A Dnspawn.c442 r = free_and_strdup(&arg_user, optarg);
450 r = free_and_strdup(&arg_network_bridge, optarg);
541 r = free_and_strdup(&arg_machine, optarg);
878 r = free_and_strdup(&arg_chdir, optarg);
1995 r = free_and_strdup(&home, node);
2007 r = free_and_strdup(&srv, node);
2020 r = free_and_strdup(&root, node);
2034 r = free_and_strdup(&secondary_root, node);
2046 r = free_and_strdup(&generic, node);
2067 r = free_and_strdup(
[all...]
/systemd/src/bus-proxyd/
H A Dbus-proxyd.c222 r = free_and_strdup(&arg_address, optarg);
/systemd/src/import/
H A Dexport-raw.c312 r = free_and_strdup(&e->path, path);
H A Dexport-tar.c278 r = free_and_strdup(&e->path, path);
H A Dimport-tar.c365 r = free_and_strdup(&i->local, local);
H A Dimport-raw.c444 r = free_and_strdup(&i->local, local);
H A Dpull-tar.c491 r = free_and_strdup(&i->local, local);
/systemd/src/sysv-generator/
H A Dsysv-generator.c534 r = free_and_strdup(&chkconfig_description, j);
549 r = free_and_strdup(&s->pid_file, fn);
612 r = free_and_strdup(&long_description, j);
625 r = free_and_strdup(&short_description, j);
/systemd/src/core/
H A Ddbus-execute.c984 r = free_and_strdup(&c->tty_path, s);
987 r = free_and_strdup(&c->root_directory, s);
1019 r = free_and_strdup(&c->working_directory, s);
1136 else if (free_and_strdup(&c->utmp_id, id) < 0)
1174 else if (free_and_strdup(&c->pam_name, n) < 0)
H A Dmain.c318 return free_and_strdup(&arg_default_unit, value);
323 return free_and_strdup(&arg_default_unit, value);
422 return free_and_strdup(&arg_default_unit, target);
870 r = free_and_strdup(&arg_default_unit, optarg);
1477 r = free_and_strdup(&arg_default_unit, SPECIAL_DEFAULT_TARGET);
/systemd/src/shared/
H A Dcondition.c73 r = free_and_strdup(&c->parameter, parameter);
/systemd/src/network/
H A Dnetworkctl.c960 r = free_and_strdup(&chassis, b);
965 r = free_and_strdup(&port, b);

Completed in 1007 milliseconds

12