Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 29) sorted by relevance

12

/systemd-251/src/shared/
Dcalendarspec.c881 int calendar_spec_from_string(const char *p, CalendarSpec **spec) { in calendar_spec_from_string() argument
1101 if (spec) in calendar_spec_from_string()
1102 *spec = TAKE_PTR(c); in calendar_spec_from_string()
1120 const CalendarSpec *spec, in find_matching_component() argument
1138 bool end_of_month = spec->end_of_month && c == spec->day; in find_matching_component()
1144 start = find_end_of_month(tm, spec->utc, c->start); in find_matching_component()
1145 stop = find_end_of_month(tm, spec->utc, c->stop); in find_matching_component()
1246 static int find_next(const CalendarSpec *spec, struct tm *tm, usec_t *usec) { in find_next() argument
1253 assert(spec); in find_next()
1261 (void) mktime_or_timegm(&c, spec->utc); in find_next()
[all …]
Dcalendarspec.h38 bool calendar_spec_valid(CalendarSpec *spec);
40 int calendar_spec_to_string(const CalendarSpec *spec, char **p);
41 int calendar_spec_from_string(const char *p, CalendarSpec **spec);
43 int calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next);
/systemd-251/
D.packit.yml6 specfile_path: .packit_rpm/systemd.spec
9 - src: .packit_rpm/systemd.spec
10 dest: systemd.spec
27 - "sed -ri '/^Patch(0[0-4]?[0-9]{0,2})?\\:.+\\.patch/d' .packit_rpm/systemd.spec"
34 - 'sed -i "/^CONFIGURE_OPTS=(/a--werror" .packit_rpm/systemd.spec'
DTODO428 * maybe add a tool inspired by the GPT auto discovery spec that runs in the
734 * Maybe add a separate GPT partition type to the discoverable partition spec
785 * teach parse_timestamp() timezones like the calendar spec already knows it
1361 - dbus spec updates:
1423 - teach it to copy in unified kernel images and maybe type #1 boot loader spec entries from host
/systemd-251/src/analyze/
Danalyze-calendar.c10 _cleanup_(calendar_spec_freep) CalendarSpec *spec = NULL; in test_calendar_one()
16 r = calendar_spec_from_string(p, &spec); in test_calendar_one()
23 r = calendar_spec_to_string(spec, &t); in test_calendar_one()
64 r = calendar_spec_next_usec(spec, n, &next); in test_calendar_one()
/systemd-251/src/core/
Dpath.c279 LIST_REMOVE(spec, p->specs, s); in path_free_specs()
298 LIST_FOREACH(spec, s, p->specs) { in path_add_mount_dependencies()
424 LIST_FOREACH(spec, s, p->specs) in path_dump()
431 LIST_FOREACH(spec, s, p->specs) in path_unwatch()
440 LIST_FOREACH(spec, s, p->specs) { in path_watch()
538 LIST_FOREACH(spec, s, p->specs) in path_check_good()
591 LIST_FOREACH(spec, s, p->specs) in path_mkdir()
638 LIST_FOREACH(spec, s, p->specs) { in path_serialize()
705 LIST_FOREACH(spec, s, p->specs) in path_deserialize_item()
746 LIST_FOREACH(spec, i, p->specs) in path_dispatch_io()
Ddbus-path.c35 LIST_FOREACH(spec, k, p->specs) { in property_get_paths()
118 LIST_PREPEND(spec, p->specs, s); in bus_path_set_transient_property()
Dpath.h26 LIST_FIELDS(struct PathSpec, spec);
/systemd-251/src/test/
Dtest-specifier.c131 char spec[3]; in TEST() local
134 xsprintf(spec, "%%%c", s->specifier); in TEST()
136 … assert_se(specifier_printf(spec, SIZE_MAX, specifier_table, NULL, NULL, &resolved) >= 0); in TEST()
/systemd-251/src/basic/
Dcgroup-util.c938 int cg_split_spec(const char *spec, char **ret_controller, char **ret_path) { in cg_split_spec() argument
941 assert(spec); in cg_split_spec()
943 if (*spec == '/') { in cg_split_spec()
944 if (!path_is_normalized(spec)) in cg_split_spec()
948 path = strdup(spec); in cg_split_spec()
958 e = strchr(spec, ':'); in cg_split_spec()
960 controller = strndup(spec, e-spec); in cg_split_spec()
979 if (!cg_controller_is_valid(spec)) in cg_split_spec()
983 controller = strdup(spec); in cg_split_spec()
Dcgroup-util.h198 int cg_split_spec(const char *spec, char **ret_controller, char **ret_path);
/systemd-251/src/network/netdev/
Dl2tp-tunnel.c725 L2tpL2specType spec; in config_parse_l2tp_session_l2spec() local
738 spec = l2tp_l2spec_type_from_string(rvalue); in config_parse_l2tp_session_l2spec()
739 if (spec < 0) { in config_parse_l2tp_session_l2spec()
740 log_syntax(unit, LOG_WARNING, filename, line, spec, in config_parse_l2tp_session_l2spec()
745 session->l2tp_l2spec_type = spec; in config_parse_l2tp_session_l2spec()
/systemd-251/src/rpm/
Dtriggers.systemd.sh.in1 # -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */
8 # The contents of this are an example to be copied into systemd.spec.
Dmeson.build13 # the rpm spec file definition instead.
Dtriggers.systemd.in1 # -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */
7 # The contents of this are an example to be copied into systemd.spec.
Dmacros.systemd.in1 # -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */
/systemd-251/test/
Dtest-systemd-tmpfiles.py82 spec = line.format(arg)
83 test_line(spec, user=user, returncode=0, extra=extra)
Dtest-rpm-macros.sh31 RPM_SPEC="$(mktemp "$WORK_DIR/systemd-test-rpm-macros-XXX.spec")"
/systemd-251/src/machine/
Dmachinectl.c1255 static int parse_machine_uid(const char *spec, const char **machine, char **uid) { in parse_machine_uid() argument
1262 if (spec) { in parse_machine_uid()
1265 at = strchr(spec, '@'); in parse_machine_uid()
1267 if (at == spec) in parse_machine_uid()
1272 _uid = strndup(spec, at - spec); in parse_machine_uid()
1276 _machine = spec; in parse_machine_uid()
/systemd-251/src/journal-remote/
Djournal-remote-main.c746 static int negative_fd(const char *spec) { in negative_fd() argument
751 r = safe_atoi(spec, &fd); in negative_fd()
/systemd-251/docs/
DPASSWORD_AGENTS.md26 * You'll find an icon name (following the XDG icon naming spec) to show next to the message in the …
DPORTABILITY_AND_STABILITY.md95 | [$XDG_RUNTIME_DIR](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) …
/systemd-251/src/systemctl/
Dsystemctl-show.c1273 const char *base, *spec; in print_property() local
1280 … while ((r = sd_bus_message_read(m, "(sst)", &base, &spec, &next_elapse)) > 0) in print_property()
1282 "{ %s=%s ; next_elapse=%s }", base, spec, in print_property()
/systemd-251/src/boot/efi/
Dmeson.build22 # host_cc_arch: [efi_arch (see Table 3-2 in UEFI spec), gnu_efi_inc_arch]
/systemd-251/src/nspawn/
Dnspawn.c540 static int parse_capability_spec(const char *spec, uint64_t *ret_mask) { in parse_capability_spec() argument
547 r = extract_first_word(&spec, &t, ",", 0); in parse_capability_spec()

12