Searched defs:os (Results 1 - 8 of 8) sorted by relevance
/systemd/ |
H A D | .ycm_extra_conf.py | 2 import os namespace 15 return os.path.dirname(os.path.abspath(__file__)) 30 new_flag = os.path.join(working_directory, flag) 39 new_flag = path_flag + os.path.join(working_directory, path)
|
/systemd/test/ |
H A D | rule-syntax-check.py | 21 import os namespace 29 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 30 rules_dir = os.path.join(os.environ.get('top_srcdir', root_dir), 'rules') 31 if not os.path.isdir(rules_dir): 34 rules_files = glob(os.path.join(rules_dir, '*.rules'))
|
H A D | networkd-test.py | 28 import os namespace 50 os.makedirs(os.path.dirname(self.config), exist_ok=True) 53 os.environ['SYSTEMD_LOG_TARGET'] = 'journal' 58 if os.path.exists(p): 73 if os.path.exists(self.config): 74 os.unlink(self.config) 178 if os.path.islink('/etc/resolv.conf'): 249 self.dnsmasq_log = os.path.join(self.workdir, 'dnsmasq.log') 250 lease_file = os [all...] |
H A D | sysv-generator-test.py | 21 import os namespace 34 sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator') 46 self.init_d_dir = os.path.join(self.workdir, 'init.d') 47 os.mkdir(self.init_d_dir) 49 self.unit_dir = os.path.join(self.workdir, 'systemd') 50 os.mkdir(self.unit_dir) 51 self.out_dir = os.path.join(self.workdir, 'output') 52 os.mkdir(self.out_dir) 68 env = os [all...] |
/systemd/tools/ |
H A D | make-man-rules.py | 23 import os.path namespace 72 return 'man/{}'.format(os.path.basename(file))
|
/systemd/src/resolve/ |
H A D | resolved-dns-rr.h | 146 char *os; member in struct:DnsResourceRecord::__anon231::__anon235
|
/systemd/src/core/ |
H A D | unit.c | 1820 void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_success) { argument 1825 assert(os < _UNIT_ACTIVE_STATE_MAX); 1830 * UnitActiveState! That means that ns == os is an expected 1840 if (UNIT_IS_INACTIVE_OR_FAILED(os) && !UNIT_IS_INACTIVE_OR_FAILED(ns)) 1842 else if (!UNIT_IS_INACTIVE_OR_FAILED(os) && UNIT_IS_INACTIVE_OR_FAILED(ns)) 1845 if (!UNIT_IS_ACTIVE_OR_RELOADING(os) && UNIT_IS_ACTIVE_OR_RELOADING(ns)) 1847 else if (UNIT_IS_ACTIVE_OR_RELOADING(os) && !UNIT_IS_ACTIVE_OR_RELOADING(ns)) 1861 if (UNIT_IS_INACTIVE_OR_FAILED(os) != UNIT_IS_INACTIVE_OR_FAILED(ns)) { 1954 if (UNIT_IS_INACTIVE_OR_FAILED(os) && UNIT_IS_ACTIVE_OR_ACTIVATING(ns)) 1956 else if (UNIT_IS_ACTIVE_OR_ACTIVATING(os) [all...] |
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-message.c | 1397 size_t os, start_part, end_part; local 1401 os = part->size; 1417 c->array_size = adjust_pointer(c->array_size, op, os, part->data); 1419 m->error.message = (const char*) adjust_pointer(m->error.message, op, os, part->data); 1816 size_t os; local 1829 os = m->body_end->size; 1837 a = adjust_pointer(a, op, os, m->body_end->data);
|
Completed in 72 milliseconds