/systemd/src/basic/ |
H A D | replace-var.h | 22 char *replace_var(const char *text, char *(*lookup)(const char *variable, void*userdata), void *userdata);
|
H A D | replace-var.c | 57 char *replace_var(const char *text, char *(*lookup)(const char *variable, void*userdata), void *userdata) { argument 62 assert(text); 65 l = strlen(text); 70 f = text;
|
H A D | terminal-util.h | 59 int ask_char(char *ret, const char *replies, const char *text, ...) _printf_(3, 4); 60 int ask_string(char **ret, const char *text, ...) _printf_(2, 3);
|
H A D | log.h | 149 const char *text, 155 const char *text, 161 const char *text,
|
H A D | terminal-util.c | 145 int ask_char(char *ret, const char *replies, const char *text, ...) { argument 150 assert(text); 160 va_start(ap, text); 161 vprintf(text, ap); 193 int ask_string(char **ret, const char *text, ...) { argument 195 assert(text); 204 va_start(ap, text); 205 vprintf(text, ap); 251 /* Switch to text mode */
|
H A D | virt.c | 84 char text[13]; member in union:__anon32 102 if (streq(sig.text, cpuid_vendor_table[j].cpuid))
|
H A D | log.c | 766 const char *text, 778 xsprintf(buffer, format, text, file, line, func); 786 noreturn void log_assert_failed(const char *text, const char *file, int line, const char *func) { argument 787 log_assert(LOG_CRIT, text, file, line, func, "Assertion '%s' failed at %s:%u, function %s(). Aborting."); 791 noreturn void log_assert_failed_unreachable(const char *text, const char *file, int line, const char *func) { argument 792 log_assert(LOG_CRIT, text, file, line, func, "Code should not be reached '%s' at %s:%u, function %s(). Aborting."); 796 void log_assert_failed_return(const char *text, const char *file, int line, const char *func) { argument 798 log_assert(LOG_DEBUG, text, file, line, func, "Assertion '%s' failed at %s:%u, function %s(). Ignoring."); 764 log_assert( int level, const char *text, const char *file, int line, const char *func, const char *format) argument
|
H A D | string-util.c | 547 char *strreplace(const char *text, const char *old_string, const char *new_string) { argument 552 assert(text); 559 l = strlen(text); 564 f = text;
|
/systemd/src/core/ |
H A D | unit-printf.h | 24 int unit_name_printf(Unit *u, const char* text, char **ret); 25 int unit_full_printf(Unit *u, const char *text, char **ret);
|
/systemd/tools/ |
H A D | make-directive-index.py | 192 section = t.find('./refmeta/manvolnum').text 193 pagename = t.find('./refmeta/refentrytitle').text 204 text = re.sub(r'([= ]).*', r'\1', name.text).rstrip() 205 stor[text].append((pagename, section)) 206 if text not in formatting: 208 if name.text[-1] in '= ': 212 name.text = text 213 formatting[text] [all...] |
H A D | make-man-index.py | 82 section = t.find('./refmeta/manvolnum').text 83 refname = t.find('./refnamediv/refname').text 84 purpose = ' '.join(t.find('./refnamediv/refpurpose').text.split()) 86 infos = (f.text, section, purpose, refname) 87 index[f.text[0].upper()].append(infos) 93 title.text = letter 100 c.text = refname 102 d.text = section 121 para.text = COUNTS.format(count=count, pages=len(pages))
|
H A D | make-man-rules.py | 82 title = refmeta.find('./refentrytitle').text 83 number = refmeta.find('./manvolnum').text 85 target = man(refnames[0].text, number) 86 if title != refnames[0].text: 91 alias = man(refname.text, number)
|
/systemd/hwdb/ |
H A D | ids-update.pl | 20 my $text = $2; 23 print(OUT " ID_VENDOR_FROM_DATABASE=" . $text . "\n"); 30 my $text = $2; 33 print(OUT " ID_MODEL_FROM_DATABASE=" . $text . "\n"); 61 my $text = $2; 64 print(OUT " ID_USB_CLASS_FROM_DATABASE=" . $text . "\n"); 80 my $text = $2; 81 if ($text =~ m/^(\?|None|Unused)$/) { 86 print(OUT " ID_USB_SUBCLASS_FROM_DATABASE=" . $text . "\n"); 93 my $text [all...] |
/systemd/src/shared/ |
H A D | specifier.c | 41 int specifier_printf(const char *text, const Specifier table[], void *userdata, char **_ret) { argument 48 assert(text); 51 l = strlen(text); 58 for (f = text; *f; f++, l--) {
|
H A D | specifier.h | 30 int specifier_printf(const char *text, const Specifier table[], void *userdata, char **ret);
|
H A D | acl-util.h | 34 int parse_acl(const char *text, acl_t *acl_access, acl_t *acl_default, bool want_mask);
|
H A D | utmp-wtmp.c | 386 _cleanup_free_ char *text = NULL, *hn = NULL, *un = NULL, *stdin_tty = NULL; local 405 if (asprintf(&text, 438 q = write_to_terminal(path, text);
|
/systemd/src/journal/ |
H A D | test-compress-benchmark.c | 92 _cleanup_free_ char *text, *buf; local 97 text = make_buf(MAX_SIZE, type); 99 assert_se(text && buf); 113 r = compress(text, size, buf, size, &j); 133 assert_se(memcmp(text, buf2, size) == 0);
|
H A D | test-compress.c | 112 log_info("/* testing decompress_startswith with %s on %.20s text*/", 246 const char text[] = local 247 "text\0foofoofoofoo AAAA aaaaaaaaa ghost busters barbarbar FFF" 263 text, sizeof(text), false); 269 text, sizeof(text), false); 285 text, sizeof(text), false); 291 text, sizeo [all...] |
H A D | test-catalog.c | 231 _cleanup_free_ char *text = NULL; local 255 assert_se(catalog_get(database, SD_MESSAGE_COREDUMP, &text) >= 0); 256 printf(">>>%s<<<\n", text);
|
/systemd/src/test/ |
H A D | test-capability.c | 57 char *text; local 62 text = cap_to_text(caps, NULL); 63 assert_se(text); 65 log_info("Capabilities:%s", text); 67 cap_free(text);
|
H A D | test-copy.c | 66 char text[] = "boohoo\nfoo\n\tbar\n"; local 74 assert_se(write_string_file(in_fn, text, WRITE_STRING_FILE_CREATE) == 0); 79 assert_se(read(out_fd, buf, sizeof(buf)) == sizeof(text) - 1); 80 assert_se(streq(buf, text));
|
/systemd/src/udev/ |
H A D | udev-builtin-input_id.c | 86 char text[4096]; local 95 xsprintf(text, "%s", v); 96 log_debug("%s raw kernel attribute: %s", attr, text); 100 while ((word = strrchr(text, ' ')) != NULL) { 109 val = strtoul (text, NULL, 16); 117 xsprintf(text, " bit %%4u: %%0%zulX\n", 126 log_debug(text, i * BITS_PER_LONG, bitmask[i]);
|
/systemd/src/systemd/ |
H A D | sd-journal.h | 140 int sd_journal_get_catalog(sd_journal *j, char **text); 141 int sd_journal_get_catalog_for_message_id(sd_id128_t id, char **text);
|
/systemd/src/cryptsetup/ |
H A D | cryptsetup.c | 319 _cleanup_free_ char *description = NULL, *name_buffer = NULL, *mount_point = NULL, *maj_min = NULL, *text = NULL, *escaped_name = NULL; local 350 if (asprintf(&text, "Please enter passphrase for disk %s!", name) < 0) 367 r = ask_password_auto(text, "drive-harddisk", id, "cryptsetup", until, 378 if (asprintf(&text, "Please enter passphrase for disk %s! (verification)", name) < 0) 383 r = ask_password_auto(text, "drive-harddisk", id, "cryptsetup", until, ASK_PASSWORD_PUSH_CACHE, &passwords2);
|