Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 41) sorted by relevance

12

/systemd-251/src/analyze/
Danalyze-cat-config.c19 STRV_FOREACH(arg, list) { in verb_cat_config()
22 if (arg != list) in verb_cat_config()
25 if (path_is_absolute(*arg)) { in verb_cat_config()
29 t = path_startswith(*arg, dir); in verb_cat_config()
36 … "Path %s does not start with any known prefix.", *arg); in verb_cat_config()
38 t = *arg; in verb_cat_config()
/systemd-251/
Dconfigure9 for arg in "$@"; do
10 case "$arg" in
12 cflags="$arg"
15 cxxflags="$arg"
18 args+=("$arg")
/systemd-251/src/test/
Dtest-exec-util.c29 static int ignore_stdout_func(int fd, void *arg) { in ignore_stdout_func() argument
31 assert_se(arg == &here); in ignore_stdout_func()
36 static int ignore_stdout_func2(int fd, void *arg) { in ignore_stdout_func2() argument
38 assert_se(arg == &here2); in ignore_stdout_func2()
43 static int ignore_stdout_func3(int fd, void *arg) { in ignore_stdout_func3() argument
45 assert_se(arg == &here3); in ignore_stdout_func3()
201 static int gather_stdout_one(int fd, void *arg) { in gather_stdout_one() argument
202 char ***s = arg, *t; in gather_stdout_one()
214 static int gather_stdout_two(int fd, void *arg) { in gather_stdout_two() argument
215 char ***s = arg; in gather_stdout_two()
[all …]
Dtest-varlink.c143 static void *thread(void *arg) { in thread() argument
152 assert_se(varlink_connect_address(&c, arg) >= 0); in thread()
163 flood_test(arg); in thread()
Dtest-async.c13 static void *async_func(void *arg) { in async_func() argument
/systemd-251/test/
Dsd-script.py92 def __init__(self, arg): argument
93 if type(arg) is type(0):
94 self._num = arg
95 elif arg.startswith("sd"):
96 self._init_from_name(arg)
98 self._init_from_dev(arg)
Drun-integration-tests.sh30 for arg in $args; do
31 if ! is_valid_target "$arg"; then
32 echo "Invalid target: $arg" >&2
Dudev-test.pl2812 foreach my $arg (@ARGV) {
2813 if ($arg =~ m/--valgrind/) {
2816 } elsif ($arg =~ m/--gdb/) {
2819 } elsif ($arg =~ m/--strace/) {
2823 push(@list, $arg);
2829 foreach my $arg (@list) {
2830 if (defined($tests[$arg-1]->{desc})) {
2831 print "udev-test will run test number $arg:\n\n";
2832 run_test($tests[$arg-1], $arg, $sema);
Dtest-systemd-tmpfiles.py81 arg = d.name + subpath
82 spec = line.format(arg)
84 content = open(arg).read()
/systemd-251/src/shared/
Dparse-argument.c55 int parse_path_argument(const char *path, bool suppress_root, char **arg) { in parse_path_argument() argument
68 *arg = mfree(*arg); in parse_path_argument()
80 return free_and_replace(*arg, p); in parse_path_argument()
Ddlfcn-util.h21 #define DLSYM_ARG(arg) \ argument
22 &sym_##arg, STRINGIFY(arg)
Dexec-util.c255 static int gather_environment_generate(int fd, void *arg) { in gather_environment_generate() argument
256 char ***env = arg; in gather_environment_generate()
296 static int gather_environment_collect(int fd, void *arg) { in gather_environment_collect() argument
298 char ***env = arg; in gather_environment_collect()
322 static int gather_environment_consume(int fd, void *arg) { in gather_environment_consume() argument
324 char ***env = arg; in gather_environment_consume()
Dparse-argument.h8 int parse_path_argument(const char *path, bool suppress_root, char **arg);
Dexec-util.h8 typedef int (*gather_stdout_callback_t) (int fd, void *arg);
/systemd-251/src/systemctl/
Dsystemctl-start-special.c156 const char *arg = NULL; in verb_start_special() local
163 arg = argv[1]; in verb_start_special()
165 arg = arg_reboot_argument; in verb_start_special()
167 if (arg) { in verb_start_special()
168 r = update_reboot_parameter_and_warn(arg, false); in verb_start_special()
/systemd-251/src/delta/
Ddelta.c491 static int process_suffix_chop(const char *arg) { in process_suffix_chop() argument
494 assert(arg); in process_suffix_chop()
496 if (!path_is_absolute(arg)) in process_suffix_chop()
497 return process_suffix(arg, NULL); in process_suffix_chop()
503 suffix = startswith(arg, p); in process_suffix_chop()
509 return process_suffixes(arg); in process_suffix_chop()
514 "Invalid suffix specification %s.", arg); in process_suffix_chop()
/systemd-251/src/udev/
Dtest-udev-event.c47 static void test_event_spawn_self(const char *self, const char *arg, bool with_pidfd) { in test_event_spawn_self() argument
52 log_debug("/* %s(%s, %s) */", __func__, arg, yes_no(with_pidfd)); in test_event_spawn_self()
54 assert_se(cmd = strjoin(self, " ", arg)); in test_event_spawn_self()
/systemd-251/src/basic/
Draw-reboot.h12 static inline int raw_reboot(int cmd, const void *arg) { in raw_reboot() argument
13 return (int) syscall(SYS_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, arg); in raw_reboot()
Dsort-util.c8 comparison_userdata_fn_t compar, void *arg) { in xbsearch_r() argument
20 comparison = compar(key, p, arg); in xbsearch_r()
Dasync.c17 int asynchronous_job(void* (*func)(void *p), void *arg) { in asynchronous_job() argument
47 r = pthread_create(&t, &a, func, arg); in asynchronous_job()
Dasync.h8 int asynchronous_job(void* (*func)(void *p), void *arg);
/systemd-251/tools/
Dupdate-dbus-docs.py61 for num, arg in enumerate(elem.findall('./arg')):
62 argname = arg.get('name')
69 type = arg.get('type')
71 direction = arg.get('direction')
Dgdb-sd_dump_hashmaps.py12 def invoke(self, arg, from_tty): argument
36 if arg != "" and n_entries > 0:
/systemd-251/src/boot/efi/
Dmeson.build229 foreach arg : get_option('c_args')
230 if arg in [
235 ] or arg.split('=')[0] in [
238 ] or (get_option('mode') == 'developer' and arg in [
243 message('Using "@0@" from c_args for EFI compiler'.format(arg))
244 efi_cflags += arg
/systemd-251/src/journal-remote/
Dmicrohttpd-util.h60 void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_(2, 0);

12