Searched defs:eq (Results 1 - 8 of 8) sorted by relevance
/systemd/src/basic/ |
H A D | env-util.c | 102 const char *eq; local 104 eq = strchr(e, '='); 105 if (!eq) 108 if (!env_name_is_valid_n(e, eq - e)) 111 if (!env_value_is_valid(eq + 1))
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-match.c | 812 const char *eq, *q; local 822 eq = strchr(p, '='); 823 if (!eq) 826 t = bus_match_node_type_from_string(p, eq - p); 830 quoted = eq[1] == '\''; 832 for (q = eq + 1 + quoted;; q++) {
|
/systemd/src/journal-remote/ |
H A D | journal-gatewayd.c | 513 const char *eq; local 516 eq = memchr(d, '=', l); 517 if (!eq) 520 j = l - (eq - d + 1); 523 fprintf(f, "{ \"%.*s\" : ", (int) (eq - d), d); 524 json_escape(f, eq+1, j, OUTPUT_FULL_WIDTH); 527 fwrite(eq+1, 1, j, f);
|
/systemd/src/shared/ |
H A D | logs-show.c | 700 const char *eq; local 708 eq = memchr(data, '=', length); 709 if (!eq) 712 n = strndup(data, eq - (const char*) data); 744 const char *eq; local 755 eq = memchr(data, '=', length); 756 if (!eq) 766 m = eq - (const char*) data; 787 json_escape(f, eq + 1, length - m - 1, flags); 801 json_escape(f, eq [all...] |
H A D | bus-util.c | 1398 const char *eq, *field; local 1404 eq = strchr(assignment, '='); 1405 if (!eq) { 1414 field = strndupa(assignment, eq - assignment); 1415 eq ++; 1419 if (isempty(eq)) 1421 else if (endswith(eq, "%")) { 1424 if (sscanf(eq, "%lf%%", &percent) != 1 || percent <= 0) { 1425 log_error("CPU quota '%s' invalid.", eq); 1440 eq[ [all...] |
/systemd/src/journal/ |
H A D | journal-file.c | 1080 const void *eq; local 1140 eq = NULL; 1142 eq = memchr(data, '=', size); 1143 if (eq && eq > data) { 1148 r = journal_file_append_field(f, data, (uint8_t*) eq - (uint8_t*) data, &fo, &fp);
|
H A D | journalctl.c | 1291 char **pattern, *eq; local 1295 eq = memchr(data, '=', size); 1296 if (eq) 1297 prefix = eq - (char*) data + 1; 2265 const void *eq; local 2270 eq = memchr(data, '=', size); 2271 if (eq) 2272 printf("%.*s\n", (int) (size - ((const uint8_t*) eq - (const uint8_t*) data + 1)), (const char*) eq + 1);
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 5174 const char *eq; local 5176 eq = startswith(*b, *a); 5177 if (eq && *eq == '=') {
|
Completed in 51 milliseconds