/systemd/src/test/ |
H A D | test-install.c | 56 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(p->path), &s); 189 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 197 r = unit_file_disable(UNIT_FILE_SYSTEM, false, NULL, STRV_MAKE(basename(files2[0])), &changes, &n_changes); 203 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 216 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 224 r = unit_file_disable(UNIT_FILE_SYSTEM, false, NULL, STRV_MAKE(basename(files2[0])), &changes, &n_changes); 230 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 243 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 257 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, basename(files2[0]), &state); 265 r = unit_file_disable(UNIT_FILE_SYSTEM, false, NULL, STRV_MAKE(basename(files [all...] |
H A D | test-path-util.c | 75 assert_se(streq(basename("./aa/bb/../file.da."), "file.da.")); 76 assert_se(streq(basename("/aa///.file"), ".file")); 77 assert_se(streq(basename("/aa///file..."), "file...")); 78 assert_se(streq(basename("file.../"), ""));
|
H A D | test-util.c | 1287 r = search_and_fopen(basename(name), "r", NULL, dirs, &f); 1295 r = search_and_fopen(basename(name), "r", "/", dirs, &f); 1307 r = search_and_fopen(basename(name), "r", NULL, dirs, &f); 1323 r = search_and_fopen_nulstr(basename(name), "r", NULL, dirs, &f); 1339 r = search_and_fopen_nulstr(basename(name), "r", NULL, dirs, &f);
|
/systemd/src/basic/ |
H A D | conf-files.c | 67 r = hashmap_put(h, basename(p), p); 88 return strcmp(basename(s1), basename(s2));
|
H A D | lockfile-util.c | 108 fn = basename(p);
|
H A D | mount-util.c | 237 return fd_is_mount_point(fd, basename(t), flags);
|
H A D | fs-util.c | 192 value = basename(link);
|
H A D | path-util.c | 29 * undefine basename() since libgen.h defines it as a macro to the 30 * POSIX version which is really broken. We prefer GNU basename(). */ 32 #undef basename macro
|
H A D | util.c | 200 name = basename(dirs[0]);
|
/systemd/src/delta/ |
H A D | delta.c | 294 unit, draw_special_char(DRAW_ARROW), basename(p), draw_special_char(DRAW_ARROW), p); 295 k = hashmap_put(h, basename(p), p); 345 log_debug("Adding at top: %s %s %s", basename(p), draw_special_char(DRAW_ARROW), p); 346 k = hashmap_put(top, basename(p), p); 356 log_debug("Adding at bottom: %s %s %s", basename(p), draw_special_char(DRAW_ARROW), p); 357 free(hashmap_remove(bottom, basename(p))); 358 k = hashmap_put(bottom, basename(p), p);
|
/systemd/src/network/ |
H A D | networkd-network-bus.c | 84 networkname = basename(name);
|
/systemd/tools/ |
H A D | make-man-rules.py | 72 return 'man/{}'.format(os.path.basename(file))
|
/systemd/src/import/ |
H A D | import.c | 72 local = basename(path); 167 local = basename(path);
|
H A D | export-raw.c | 23 * undefine basename() since libgen.h defines it as a macro to the POSIX 24 * version which is really broken. We prefer GNU basename(). */ 26 #undef basename macro
|
/systemd/src/shared/ |
H A D | cgroup-show.c | 168 printf("%s%s%s\n", prefix, draw_special_char(DRAW_TREE_BRANCH), cg_unescape(basename(last))); 191 printf("%s%s%s\n", prefix, draw_special_char(DRAW_TREE_RIGHT), cg_unescape(basename(last)));
|
H A D | install.c | 436 set_contains(remove_symlinks_to, basename(dest)) || 599 found_dest = streq(basename(dest), name); 758 name = basename(path); 1005 bn = basename(np); 1129 /* If the basename doesn't match, the caller should add a 1132 if (!streq(basename(i->symlink_target), i->name)) 1186 bn = basename(i->symlink_target); 1658 fn = basename(*i); 1693 path = path_make_absolute(basename(*i), config_path); 1890 /* First, we invoke the disable command with only the basename [all...] |
H A D | utmp-wtmp.c | 231 strncpy(store.ut_line, basename(line), sizeof(store.ut_line));
|
/systemd/test/ |
H A D | sysv-generator-test.py | 98 results[os.path.basename(service)] = cp 155 self.assertEqual(os.path.basename(unit_file), unit)
|
/systemd/src/analyze/ |
H A D | analyze-verify.c | 48 name = basename(abspath);
|
/systemd/src/machine/ |
H A D | machine-dbus.c | 25 * undefine basename() since libgen.h defines it as a macro to the POSIX 26 * version which is really broken. We prefer GNU basename(). */ 28 #undef basename macro 1030 mount_inside = strjoina("/run/systemd/nspawn/incoming/", basename(mount_outside)); 1182 host_basename = basename(host_path); 1186 container_basename = basename(container_path);
|
/systemd/src/locale/ |
H A D | localectl.c | 299 p = strdup(basename(fpath));
|
/systemd/src/login/ |
H A D | logind-inhibit.c | 53 i->id = basename(i->state_file);
|
H A D | logind-seat.c | 56 s->id = basename(s->state_file);
|
/systemd/src/sysv-generator/ |
H A D | sysv-generator.c | 361 r = sysv_translate_facility(word, basename(s->path), &m); 427 r = sysv_translate_facility(word, basename(s->path), &m);
|
/systemd/src/core/ |
H A D | execute.c | 1020 p = basename(path); 1557 r = setup_output(unit, context, params, STDOUT_FILENO, socket_fd, basename(command->path), uid, gid); 1563 r = setup_output(unit, context, params, STDERR_FILENO, socket_fd, basename(command->path), uid, gid);
|