Searched refs:base (Results 1 - 12 of 12) sorted by relevance

/systemd/src/import/
H A Daufs-util.c37 fn = fpath + ftwbuf->base;
52 p = alloca(ftwbuf->base + strlen(original));
53 strcpy(mempcpy(p, fpath, ftwbuf->base), original);
/systemd/src/core/
H A Dtimer.c118 if (v->base == TIMER_CALENDAR) {
232 if (v->base == TIMER_CALENDAR) {
240 timer_base_to_string(v->base),
248 timer_base_to_string(v->base),
357 usec_t base = 0; local
384 if (v->base == TIMER_CALENDAR) {
406 switch (v->base) {
410 base = UNIT(t)->inactive_exit_timestamp.monotonic;
412 base = ts_monotonic;
418 base
[all...]
H A Ddbus-timer.c55 if (v->base == TIMER_CALENDAR)
58 s = timer_base_to_string(v->base);
102 if (v->base != TIMER_CALENDAR)
109 r = sd_bus_message_append(reply, "(sst)", timer_base_to_string(v->base), buf, v->next_elapse);
229 v->base = b;
260 v->base = TIMER_CALENDAR;
H A Dtimer.h38 TimerBase base; member in struct:TimerValue
H A Dload-fragment.c1388 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse timer base, ignoring: %s", lvalue);
1410 v->base = b;
/systemd/src/basic/
H A Dutil.h89 void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
94 * Normal qsort requires base to be nonnull. Here were require
97 static inline void qsort_safe(void *base, size_t nmemb, size_t size, comparison_fn_t compar) { argument
101 assert(base);
102 qsort(base, nmemb, size, compar);
H A Dparse-util.h37 int parse_size(const char *t, uint64_t base, uint64_t *size);
H A Dparse-util.c106 int parse_size(const char *t, uint64_t base, uint64_t *size) { argument
119 * to document which base you are parsing when you use this
155 assert(base == 1000 || base == 1024);
158 if (base == 1000) {
H A Dutil.c476 void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, argument
486 p = (void *)(((const char *) base) + (idx * size));
/systemd/src/udev/
H A Dudev-builtin-path_id.c359 char *base; local
394 base = strdup(udev_device_get_syspath(hostdev));
395 if (base == NULL)
397 pos = strrchr(base, '/');
403 dir = opendir(base);
438 free(base);
/systemd/src/libsystemd/sd-hwdb/
H A Dsd-hwdb.c105 const char *base = (const char *)node; local
107 base += le64toh(hwdb->head->node_size);
108 base += node->children_count * le64toh(hwdb->head->child_entry_size);
109 return (const struct trie_value_entry_f *)base;
/systemd/src/systemctl/
H A Dsystemctl.c4241 const char *base; local
4248 while ((r = sd_bus_message_read(m, "(stt)", &base, &value, &next_elapse)) > 0) {
4252 base,

Completed in 4221 milliseconds