Searched refs:input (Results 1 - 14 of 14) sorted by relevance

/systemd/src/core/
H A Dima-setup.c37 _cleanup_fclose_ FILE *input = NULL; local
47 input = fopen(IMA_POLICY_PATH, "re");
48 if (!input) {
65 FOREACH_LINE(line, input,
/systemd/src/test/
H A Dtest-calendarspec.c27 static void test_one(const char *input, const char *output) { argument
34 assert_se(calendar_spec_from_string(input, &c) >= 0);
37 printf("\"%s\" → \"%s\"\n", input, p);
53 static void test_next(const char *input, const char *new_tz, usec_t after, usec_t expect) { argument
70 assert_se(calendar_spec_from_string(input, &c) >= 0);
72 printf("\"%s\"\n", input);
H A Dtest-util.c270 char input[] = " hello, waldo. "; local
272 r = strstrip(input);
278 char input[] = " hello, waldo. abc"; local
280 r = delete_chars(input, WHITESPACE);
/systemd/src/journal/
H A Dtest-catalog.c79 const char *input = local
84 h = test_import(input, -1, -EINVAL);
92 const char *input = local
102 h = test_import(input, -1, 0);
115 const char *input = local
136 h = test_import(input, -1, 0);
149 const char *input = local
169 h = test_import(input, -1, 0);
/systemd/src/journal-remote/
H A Djournal-upload.h37 int input; member in struct:Uploader
H A Djournal-upload.c306 if (u->input < 0)
309 r = read(u->input, buf, size * nmemb);
321 log_error_errno(errno, "Aborting transfer after read error on input: %m.");
329 if (u->input >= 0)
330 close_nointr(u->input);
331 u->input = -1;
374 u->input = fd;
381 return log_error_errno(r, "Failed to register input event: %m");
433 u->input = -1;
569 " --follow[=BOOL] Do [not] wait for input\
[all...]
/systemd/src/import/
H A Dexport-raw.c194 uint8_t input[COPY_BUFFER_SIZE]; local
201 l = read(e->input_fd, input, sizeof(input));
212 r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated);
H A Dexport-tar.c189 uint8_t input[COPY_BUFFER_SIZE]; local
196 l = read(e->tar_fd, input, sizeof(input));
207 r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated);
/systemd/src/shared/
H A Ddns-domain.c300 _cleanup_free_ uint32_t *input = NULL; local
325 input = stringprep_utf8_to_ucs4(encoded, encoded_size, &input_size);
326 if (!input)
329 if (idna_to_ascii_4i(input, input_size, buffer, 0) != 0)
355 _cleanup_free_ uint32_t *input = NULL; local
374 input = stringprep_utf8_to_ucs4(encoded, encoded_size, &input_size);
375 if (!input)
381 idna_to_unicode_44i(input, input_size, output, &output_size, 0);
/systemd/src/login/
H A Dlogind-button.c25 #include <linux/input.h>
245 p = strjoina("/dev/input/", b->name);
252 r = log_error_errno(errno, "Failed to get input name: %m");
262 log_info("Watching system buttons on /dev/input/%s (%s)", b->name, name);
H A Dlogind-session-device.c21 #include <linux/input.h>
263 } else if (streq_ptr(subsystem, "input")) {
295 dev = udev_device_get_parent_with_subsystem_devtype(p, "input", NULL);
303 * subsystem "input" must be opened via the evdev node as
/systemd/src/udev/
H A Dudev-builtin-keyboard.c24 #include <linux/input.h>
H A Dudev-builtin-input_id.c2 * expose input properties via udev
31 #include <linux/input.h>
297 /* walk up the parental chain until we find the real input device; the
301 pdev = udev_device_get_parent_with_subsystem_devtype(pdev, "input", NULL);
304 /* Use this as a flag that input devices were detected, so that this
/systemd/src/basic/
H A Dmissing.h29 #include <linux/input.h>

Completed in 2605 milliseconds