/systemd/src/libsystemd-network/ |
H A D | dhcp6-network.c | 42 int r, off = 0, on = 1; local 57 r = setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &off, sizeof(off));
|
/systemd/src/basic/ |
H A D | strbuf.c | 135 ssize_t off; local 152 off = node->value_off + node->value_len - len; 153 if (depth == len || (node->value_len >= len && memcmp(str->buf + off, s, len) == 0)) { 156 return off; 175 off = str->len; 176 memcpy(str->buf + off, s, len); 184 node_child->value_off = off; 199 return off;
|
/systemd/src/boot/efi/ |
H A D | util.c | 306 INTN file_read(EFI_FILE_HANDLE dir, CHAR16 *name, UINTN off, UINTN size, CHAR8 **content) { argument 326 if (off > 0) { 327 err = uefi_call_wrapper(handle->SetPosition, 2, handle, off);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-dump.c | 351 const char *off; local 356 off = ansi_normal(); 357 suffix = strjoina(off, "\n");
|
/systemd/src/libsystemd/sd-hwdb/ |
H A D | sd-hwdb.c | 112 static const struct trie_node_f *trie_node_from_off(sd_hwdb *hwdb, le64_t off) { argument 113 return (const struct trie_node_f *)(hwdb->map + le64toh(off)); 116 static const char *trie_string(sd_hwdb *hwdb, le64_t off) { argument 117 return hwdb->map + le64toh(off);
|
/systemd/src/hwdb/ |
H A D | hwdb.c | 208 ssize_t off; local 231 off = strbuf_add_string(trie->strings, s, p); 232 if (off < 0) 233 return off; 235 node->prefix_off = off; 255 ssize_t off; local 262 off = strbuf_add_string(trie->strings, search + i+1, strlen(search + i+1)); 263 if (off < 0) { 265 return off; 268 child->prefix_off = off; [all...] |
/systemd/src/network/ |
H A D | networkctl.c | 166 static void operational_state_to_color(const char *state, const char **on, const char **off) { argument 168 assert(off); 172 *off = ansi_normal(); 175 *off = ansi_normal(); 177 *on = *off = ""; 180 static void setup_state_to_color(const char *state, const char **on, const char **off) { argument 182 assert(off); 186 *off = ansi_normal(); 189 *off = ansi_normal(); 192 *off [all...] |
/systemd/src/udev/ |
H A D | udevadm-hwdb.c | 189 ssize_t off; local 212 off = strbuf_add_string(trie->strings, s, p); 213 if (off < 0) 214 return off; 216 node->prefix_off = off; 236 ssize_t off; local 243 off = strbuf_add_string(trie->strings, search + i+1, strlen(search + i+1)); 244 if (off < 0) { 246 return off; 249 child->prefix_off = off; [all...] |
H A D | udev-rules.c | 86 static char *rules_str(struct udev_rules *rules, unsigned int off) { argument 87 return rules->strbuf->buf + off; 478 unsigned int off; local 483 off = rules->uids[i].name_off; 484 if (streq(rules_str(rules, off), owner)) { 514 off = rules_add_string(rules, owner); 515 if (off <= 0) 517 rules->uids[rules->uids_cur].name_off = off; 525 unsigned int off; local 530 off 1516 const int off = 0; local [all...] |
/systemd/src/cgtop/ |
H A D | cgtop.c | 458 * recursive summing is off, since that is actually 576 const char *on, *off; local 583 off = ansi_underline(); 588 arg_order == ORDER_PATH ? off : "", 590 arg_order == ORDER_TASKS ? off : "", 592 arg_order == ORDER_CPU ? off : "", 594 arg_order == ORDER_MEMORY ? off : "", 596 arg_order == ORDER_IO ? off : "", 598 arg_order == ORDER_IO ? off : "",
|
/systemd/src/shared/ |
H A D | logs-show.c | 463 const char *on = "", *off = ""; local 474 off = ANSI_NORMAL; 482 fputs(off, f); 491 off);
|
/systemd/src/journal/ |
H A D | journalctl.c | 246 int off = 0, r; local 260 r = safe_atoi(x, &off); 265 r = safe_atoi(x, &off); 274 *offset = off; 1793 " Pass -q to turn off this notice.", s); 1801 " turn off this notice.");
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 495 const char *on, *off; local 504 off = ansi_normal(); 507 off = ansi_normal(); 513 on, n_shown, off); 517 on, n_shown, off); 814 const char *on, *off; local 864 off = ansi_normal(); 869 off = ansi_normal(); 873 printf("%s%u sockets listed.%s\n", on, cs, off); 1068 const char *on, *off; local 1329 const char *on, *off; local 2055 const char *on, *off; local 3413 const char *active_on, *active_off, *on, *off, *ss; local 4576 const char *on, *off; local [all...] |