Home
last modified time | relevance | path

Searched refs:parse_sec (Results 1 – 25 of 44) sorted by relevance

12

/systemd-251/src/test/
Dtest-time-util.c11 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 …]
Dtest-loop-block.c150 r = parse_sec(argv[3], &arg_timeout); in run()
/systemd-251/src/basic/
Dtime-util.c654 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()
Dtime-util.h146 int parse_sec(const char *t, usec_t *usec);
Drlimit-util.c138 r = parse_sec(val, &t); in rlimit_parse_sec()
/systemd-251/src/fuzz/
Dfuzz-time-util.c19 (void) parse_sec(str, &usec); in LLVMFuzzerTestOneInput()
/systemd-251/src/integritysetup/
Dintegrity-util.c45 r = parse_sec(val, &tmp_commit_time); in parse_integrity_options()
/systemd-251/src/network/tc/
Dsfq.c75 r = parse_sec(rvalue, &sfq->perturb_period); in config_parse_stochastic_fairness_queueing_perturb_period()
Dcodel.c183 r = parse_sec(rvalue, p); in config_parse_controlled_delay_usec()
Dnetem.c95 r = parse_sec(rvalue, &u); in config_parse_network_emulator_delay()
Dfq-codel.c211 r = parse_sec(rvalue, p); in config_parse_fair_queueing_controlled_delay_usec()
Dfq.c334 r = parse_sec(rvalue, &sec); in config_parse_fair_queueing_usec()
Dtbf.c290 r = parse_sec(rvalue, &u); in config_parse_token_bucket_filter_latency()
/systemd-251/src/udev/
Dudevadm-control.c163 r = parse_sec(optarg, &timeout); in control_main()
Dudevadm-settle.c64 r = parse_sec(optarg, &arg_timeout); in parse_argv()
Dudevd.c1715 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()
Dudevadm-wait.c285 r = parse_sec(optarg, &arg_timeout_usec); in parse_argv()
Dudevadm-lock.c107 r = parse_sec(optarg, &arg_timeout_usec); in parse_argv()
/systemd-251/src/network/wait-online/
Dwait-online.c181 r = parse_sec(optarg, &arg_timeout); in parse_argv()
/systemd-251/src/ask-password/
Dask-password.c125 r = parse_sec(optarg, &arg_timeout); in parse_argv()
/systemd-251/src/shared/
Dudev-util.c90 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/
Dnetworkd-radv.c898 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()
Dnetworkd-can.c238 r = parse_sec(rvalue, &usec); in config_parse_can_restart_usec()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-benchmark.c237 assert_se(parse_sec(argv[i], &arg_loop_usec) >= 0); in main()
/systemd-251/src/shutdown/
Dshutdown.c135 r = parse_sec(optarg, &arg_timeout); in parse_argv()

12