Searched refs:exists (Results 1 - 6 of 6) sorted by relevance
/systemd/src/test/ |
H A D | test-path-lookup.c | 34 char *exists, *not, *systemd_unit_path; local 37 exists = strjoina(template, "/exists"); 38 assert_se(mkdir(exists, 0755) == 0); 42 assert_se(lookup_paths_init(&lp_without_env, running_as, personal, NULL, exists, not, not) == 0); 45 assert_se(strv_contains(lp_without_env.unit_path, exists)); 50 assert_se(lookup_paths_init(&lp_with_env, running_as, personal, NULL, exists, not, not) == 0);
|
/systemd/src/udev/ |
H A D | udevadm-settle.c | 39 " -E --exit-if-exists=FILE Stop waiting if file exists\n" 46 { "exit-if-exists", required_argument, NULL, 'E' }, 54 const char *exists = NULL; local 76 exists = optarg; 134 if (exists && access(exists, F_OK) >= 0) {
|
/systemd/src/shared/ |
H A D | base-filesystem.c | 42 const char *exists; member in struct:BaseFilesystem 76 /* check if one of the targets exists */ 81 /* check if a specific file exists at the target path */ 82 if (table[i].exists) { 85 p = strjoin(s, "/", table[i].exists, NULL);
|
/systemd/test/ |
H A D | networkd-test.py | 58 if os.path.exists(p): 73 if os.path.exists(self.config):
|
H A D | sysv-generator-test.py | 154 self.assertTrue(os.path.exists(unit_file)) 157 self.assertFalse(os.path.exists(link), 158 '%s unexpectedly exists' % link)
|
/systemd/src/core/ |
H A D | path.c | 60 bool exists = false; local 111 exists = true; 113 /* Path exists, we don't need to watch parent 140 if (!exists) {
|
Completed in 997 milliseconds