Searched refs:prefix_len (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/basic/ |
D | compress.c | 342 size_t prefix_len, in decompress_startswith_xz() argument 362 if (!(greedy_realloc(buffer, ALIGN_8(prefix_len + 1), 1))) in decompress_startswith_xz() 379 if (allocated - s.avail_out >= prefix_len + 1) in decompress_startswith_xz() 380 return memcmp(*buffer, prefix, prefix_len) == 0 && in decompress_startswith_xz() 381 ((const uint8_t*) *buffer)[prefix_len] == extra; in decompress_startswith_xz() 405 size_t prefix_len, in decompress_startswith_lz4() argument 423 if (!(greedy_realloc(buffer, ALIGN_8(prefix_len + 1), 1))) in decompress_startswith_lz4() 431 prefix_len + 1, in decompress_startswith_lz4() 438 if (r < 0 || (size_t) r < prefix_len + 1) { in decompress_startswith_lz4() 458 if (size < prefix_len + 1) in decompress_startswith_lz4() [all …]
|
D | compress.h | 39 const void *prefix, size_t prefix_len, 43 const void *prefix, size_t prefix_len, 47 const void *prefix, size_t prefix_len, 52 const void *prefix, size_t prefix_len,
|
/systemd-251/src/libsystemd-network/ |
D | sd-lldp-tx.c | 288 size_t prefix_len, in packet_append_prefixed_string() argument 297 assert(prefix_len == 0 || prefix); in packet_append_prefixed_string() 305 if (len > SIZE_MAX - prefix_len) in packet_append_prefixed_string() 308 r = packet_append_tlv_header(packet, packet_size, offset, type, prefix_len + len); in packet_append_prefixed_string() 312 memcpy_safe(packet + *offset, prefix, prefix_len); in packet_append_prefixed_string() 313 *offset += prefix_len; in packet_append_prefixed_string()
|
D | test-ndisc-rs.c | 105 unsigned prefix_len; in router_dump() local 121 assert_se(sd_ndisc_router_prefix_get_prefixlen(rt, &prefix_len) >= 0); in router_dump() 122 log_info("Prefix Length: %u", prefix_len); in router_dump()
|
/systemd-251/src/systemd/ |
D | sd-dhcp6-lease.h | 42 uint8_t *prefix_len,
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-enumerator.c | 278 size_t prefix_len; in sound_device_compare() local 298 prefix_len = sound_a - devpath_a; in sound_device_compare() 300 if (!strneq(devpath_a, devpath_b, prefix_len)) in sound_device_compare() 303 sound_b = devpath_b + prefix_len; in sound_device_compare()
|
/systemd-251/src/network/ |
D | networkd-radv.h | 67 int radv_add_prefix(Link *link, const struct in6_addr *prefix, uint8_t prefix_len,
|
D | networkd-radv.c | 659 uint8_t prefix_len, in radv_add_prefix() argument 675 r = sd_radv_prefix_set_prefix(p, prefix, prefix_len); in radv_add_prefix()
|
/systemd-251/src/test/ |
D | test-compress.c | 41 const void *prefix, size_t prefix_len,
|
/systemd-251/src/basic/linux/ |
D | rtnetlink.h | 567 unsigned char prefix_len; member
|
/systemd-251/src/core/ |
D | load-fragment.c | 6282 size_t prefix_len = dot - i; in unit_dump_config_items() local 6284 if (!prev || !strneq(prev, i, prefix_len+1)) { in unit_dump_config_items() 6288 fprintf(f, "[%.*s]\n", (int) prefix_len, i); in unit_dump_config_items()
|