Searched defs:prefix_len (Results 1 - 3 of 3) sorted by relevance
/systemd/src/journal/ |
H A D | compress.c | 244 const void *prefix, size_t prefix_len, 266 if (!(greedy_realloc(buffer, buffer_size, ALIGN_8(prefix_len + 1), 1))) 281 if (*buffer_size - s.avail_out >= prefix_len + 1) 282 return memcmp(*buffer, prefix, prefix_len) == 0 && 283 ((const uint8_t*) *buffer)[prefix_len] == extra; 303 const void *prefix, size_t prefix_len, 323 if (!(greedy_realloc(buffer, buffer_size, ALIGN_8(prefix_len + 1), 1))) 327 prefix_len + 1, *buffer_size); 339 if (size >= prefix_len + 1) 340 return memcmp(*buffer, prefix, prefix_len) 242 decompress_startswith_xz(const void *src, uint64_t src_size, void **buffer, size_t *buffer_size, const void *prefix, size_t prefix_len, uint8_t extra) argument 301 decompress_startswith_lz4(const void *src, uint64_t src_size, void **buffer, size_t *buffer_size, const void *prefix, size_t prefix_len, uint8_t extra) argument 350 decompress_startswith(int compression, const void *src, uint64_t src_size, void **buffer, size_t *buffer_size, const void *prefix, size_t prefix_len, uint8_t extra) argument [all...] |
/systemd/src/libsystemd/sd-device/ |
H A D | device-enumerator.c | 299 unsigned prefix_len; local 301 prefix_len = sound_a - devpath_a; 303 if (strncmp(devpath_a, devpath_b, prefix_len) == 0) { 306 sound_b = devpath_b + prefix_len;
|
/systemd/src/core/ |
H A D | load-fragment.c | 3921 size_t prefix_len; local 3929 prefix_len = dot-i; 3932 if (!prev || !strneq(prev, i, prefix_len+1)) { 3936 fprintf(f, "[%.*s]\n", (int) prefix_len, i);
|
Completed in 3310 milliseconds