/systemd-251/src/test/ |
D | test-time-util.c | 11 TEST(parse_sec) { in TEST() argument 14 assert_se(parse_sec("5s", &u) >= 0); in TEST() 16 assert_se(parse_sec("5s500ms", &u) >= 0); in TEST() 18 assert_se(parse_sec(" 5s 500ms ", &u) >= 0); in TEST() 20 assert_se(parse_sec(" 5.5s ", &u) >= 0); in TEST() 22 assert_se(parse_sec(" 5.5s 0.5ms ", &u) >= 0); in TEST() 24 assert_se(parse_sec(" .22s ", &u) >= 0); in TEST() 26 assert_se(parse_sec(" .50y ", &u) >= 0); in TEST() 28 assert_se(parse_sec("2.5", &u) >= 0); in TEST() 30 assert_se(parse_sec(".7", &u) >= 0); in TEST() [all …]
|
D | test-loop-block.c | 150 r = parse_sec(argv[3], &arg_timeout); in run()
|
/systemd-251/src/basic/ |
D | time-util.c | 654 return parse_sec(t + 1, usec); in parse_timestamp_impl() 663 r = parse_sec(t+1, &plus); in parse_timestamp_impl() 670 r = parse_sec(t+1, &minus); in parse_timestamp_impl() 679 r = parse_sec(t, &minus); in parse_timestamp_impl() 688 r = parse_sec(t, &plus); in parse_timestamp_impl() 1102 int parse_sec(const char *t, usec_t *usec) { in parse_sec() function 1113 r = parse_sec(t, &k); in parse_sec_fix_0() 1127 return parse_sec(t, ret); in parse_sec_def_infinity()
|
D | time-util.h | 146 int parse_sec(const char *t, usec_t *usec);
|
D | rlimit-util.c | 138 r = parse_sec(val, &t); in rlimit_parse_sec()
|
/systemd-251/src/fuzz/ |
D | fuzz-time-util.c | 19 (void) parse_sec(str, &usec); in LLVMFuzzerTestOneInput()
|
/systemd-251/src/integritysetup/ |
D | integrity-util.c | 45 r = parse_sec(val, &tmp_commit_time); in parse_integrity_options()
|
/systemd-251/src/network/tc/ |
D | sfq.c | 75 r = parse_sec(rvalue, &sfq->perturb_period); in config_parse_stochastic_fairness_queueing_perturb_period()
|
D | codel.c | 183 r = parse_sec(rvalue, p); in config_parse_controlled_delay_usec()
|
D | netem.c | 95 r = parse_sec(rvalue, &u); in config_parse_network_emulator_delay()
|
D | fq-codel.c | 211 r = parse_sec(rvalue, p); in config_parse_fair_queueing_controlled_delay_usec()
|
D | fq.c | 334 r = parse_sec(rvalue, &sec); in config_parse_fair_queueing_usec()
|
D | tbf.c | 290 r = parse_sec(rvalue, &u); in config_parse_token_bucket_filter_latency()
|
/systemd-251/src/udev/ |
D | udevadm-control.c | 163 r = parse_sec(optarg, &timeout); in control_main()
|
D | udevadm-settle.c | 64 r = parse_sec(optarg, &arg_timeout); in parse_argv()
|
D | udevd.c | 1715 r = parse_sec(value, &arg_event_timeout_usec); in parse_proc_cmdline_item() 1729 r = parse_sec(value, &arg_exec_delay_usec); in parse_proc_cmdline_item() 1831 r = parse_sec(optarg, &arg_exec_delay_usec); in parse_argv() 1844 r = parse_sec(optarg, &arg_event_timeout_usec); in parse_argv()
|
D | udevadm-wait.c | 285 r = parse_sec(optarg, &arg_timeout_usec); in parse_argv()
|
D | udevadm-lock.c | 107 r = parse_sec(optarg, &arg_timeout_usec); in parse_argv()
|
/systemd-251/src/network/wait-online/ |
D | wait-online.c | 181 r = parse_sec(optarg, &arg_timeout); in parse_argv()
|
/systemd-251/src/ask-password/ |
D | ask-password.c | 125 r = parse_sec(optarg, &arg_timeout); in parse_argv()
|
/systemd-251/src/shared/ |
D | udev-util.c | 90 r = parse_sec(exec_delay, ret_exec_delay_usec); in udev_parse_config_full() 97 r = parse_sec(event_timeout, ret_event_timeout_usec); in udev_parse_config_full()
|
/systemd-251/src/network/ |
D | networkd-radv.c | 898 r = parse_sec(rvalue, &usec); in config_parse_prefix_lifetime() 1063 r = parse_sec(rvalue, &usec); in config_parse_route_prefix_lifetime() 1290 r = parse_sec(rvalue, &usec); in config_parse_router_lifetime()
|
D | networkd-can.c | 238 r = parse_sec(rvalue, &usec); in config_parse_can_restart_usec()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-benchmark.c | 237 assert_se(parse_sec(argv[i], &arg_loop_usec) >= 0); in main()
|
/systemd-251/src/shutdown/ |
D | shutdown.c | 135 r = parse_sec(optarg, &arg_timeout); in parse_argv()
|