Home
last modified time | relevance | path

Searched refs:separator (Results 1 – 19 of 19) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-internal.c197 bool separator = false; in complex_pattern_check() local
207 return (separator && (*a == 0 || *b == 0)); in complex_pattern_check()
212 separator = *a == c; in complex_pattern_check()
237 bool separator = false; in simple_pattern_check() local
247 return *a == 0 && (*b == c || separator); in simple_pattern_check()
252 separator = *a == c; in simple_pattern_check()
/systemd-251/src/basic/
Dstrv.c354 char* strv_join_full(char * const *l, const char *separator, const char *prefix, bool escape_separa… in strv_join_full() argument
358 if (!separator) in strv_join_full()
359 separator = " "; in strv_join_full()
361 k = strlen(separator); in strv_join_full()
372 bool needs_escaping = escape_separator && strchr(*s, *separator); in strv_join_full()
384 e = stpcpy(e, separator); in strv_join_full()
389 bool needs_escaping = escape_separator && strchr(*s, *separator); in strv_join_full()
393 if ((*s)[i] == *separator) in strv_join_full()
888 int fputstrv(FILE *f, char * const *l, const char *separator, bool *space) { in fputstrv() argument
898 r = fputs_with_space(f, *s, separator, space); in fputstrv()
Dstring-util.h163 char *strextend_with_separator_internal(char **x, const char *separator, ...) _sentinel_;
164 #define strextend_with_separator(x, separator, ...) strextend_with_separator_internal(x, separator,… argument
167 int strextendf_with_separator(char **x, const char *separator, const char *format, ...) _printf_(3,…
Dstring-util.c723 char *strextend_with_separator_internal(char **x, const char *separator, ...) { in strextend_with_separator_internal() argument
734 l_separator = strlen_ptr(separator); in strextend_with_separator_internal()
736 va_start(ap, separator); in strextend_with_separator_internal()
769 va_start(ap, separator); in strextend_with_separator_internal()
777 if (need_separator && separator) in strextend_with_separator_internal()
778 p = stpcpy(p, separator); in strextend_with_separator_internal()
793 int strextendf_with_separator(char **x, const char *separator, const char *format, ...) { in strextendf_with_separator() argument
805 l_separator = isempty(*x) ? 0 : strlen_ptr(separator); in strextendf_with_separator()
832 memcpy_safe(*x + m, separator, l_separator); in strextendf_with_separator()
Dstrv.h104 char* strv_join_full(char * const *l, const char *separator, const char *prefix, bool escape_separa…
105 static inline char *strv_join(char * const *l, const char *separator) { in strv_join() argument
106 return strv_join_full(l, separator, NULL, false); in strv_join()
246 int fputstrv(FILE *f, char * const *l, const char *separator, bool *space);
Din-addr-util.c517 const char *separator = isempty(server_name) ? "" : "#"; in in_addr_port_ifindex_name_to_string() local
523 … r = asprintf(&x, "[%s]:%"PRIu16"%%%i%s%s", ip_str, port, ifindex, separator, server_name); in in_addr_port_ifindex_name_to_string()
525 … r = asprintf(&x, "[%s]:%"PRIu16"%s%s", ip_str, port, separator, server_name); in in_addr_port_ifindex_name_to_string()
527 r = asprintf(&x, "%s:%"PRIu16"%s%s", ip_str, port, separator, server_name); in in_addr_port_ifindex_name_to_string()
530 r = asprintf(&x, "%s%%%i%s%s", ip_str, ifindex, separator, server_name); in in_addr_port_ifindex_name_to_string()
532 x = strjoin(ip_str, separator, server_name); in in_addr_port_ifindex_name_to_string()
Dfileio.c1224 int fputs_with_space(FILE *f, const char *s, const char *separator, bool *space) { in fputs_with_space() argument
1238 if (!separator) in fputs_with_space()
1239 separator = " "; in fputs_with_space()
1242 r = fputs(separator, f); in fputs_with_space()
Dfileio.h103 int fputs_with_space(FILE *f, const char *s, const char *separator, bool *space);
Dset.h153 int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret);
Dhashmap.c1993 int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret) { in set_strjoin() argument
2006 separator_len = strlen_ptr(separator); in set_strjoin()
2023 memcpy(str + len, separator, separator_len); in set_strjoin()
2033 memcpy(str + len, separator, separator_len); in set_strjoin()
/systemd-251/src/core/
Ddbus-util.c165 const char *separator) { in bus_read_mount_options() argument
174 assert(separator); in bus_read_mount_options()
198 if (!strextend_with_separator(&format_str, separator, partition, ":", escaped)) in bus_read_mount_options()
221 … char *final = strjoin(*ret_format_str, !isempty(*ret_format_str) ? separator : "", format_str); in bus_read_mount_options()
Ddbus-util.h253 …ge, sd_bus_error *error, MountOptions **ret_options, char **ret_format_str, const char *separator);
/systemd-251/src/sysext/
Dsysext.c245 bool separator = false; in mount_overlayfs() local
261 if (!strextend(&options, separator ? ":" : "", escaped)) in mount_overlayfs()
264 separator = true; in mount_overlayfs()
/systemd-251/docs/
DJOURNAL_EXPORT_FORMATS.md21 …ame, followed by '=', followed by field data), followed by a newline as separator to the next fiel…
22 …size value, followed by the binary field data, followed by a newline as separator to the next fiel…
DUSER_NAMES.md134 record separator in `/etc/passwd`, and hence it's crucial to avoid
137 * No colon characters (rationale: it is used as field separator in `/etc/passwd`)
DBOOT_LOADER_SPECIFICATION.md373 path separator. This needs to be converted to an EFI-style "\\" separator in
/systemd-251/src/boot/efi/
Dboot.c618 _cleanup_freepool_ CHAR16 *clearline = NULL, *separator = NULL, *status = NULL; in menu_run() local
679 separator = mfree(separator); in menu_run()
703 separator = xnew(CHAR16, x_max + 1); in menu_run()
706 separator[i] = unicode_supported() ? L'─' : L'-'; in menu_run()
709 separator[x_max] = 0; in menu_run()
761 print_at(x, y_status - 1, COLOR_NORMAL, separator + x_max - len); in menu_run()
/systemd-251/hwdb.d/
D70-pointingstick.hwdb60 # Where <accel> is a floating point number, using a '.' separator, specifying
/systemd-251/
DNEWS7294 "-" as separator between month and day. For example, "*-02~03" means