Searched refs:remaining (Results 1 - 4 of 4) sorted by relevance

/systemd/src/journal/
H A Djournald-native.c92 size_t remaining, m = 0, entry_size = 0; local
101 remaining = buffer_size;
103 while (remaining > 0) {
106 e = memchr(p, '\n', remaining);
128 remaining--;
135 remaining -= (e - p) + 1;
216 remaining -= (e - p) + 1;
224 if (remaining < e - p + 1 + sizeof(uint64_t) + 1) {
237 if ((uint64_t) remaining < e - p + 1 + sizeof(uint64_t) + l + 1 ||
261 remaining
[all...]
H A Djournald-stream.c389 size_t remaining; local
395 remaining = s->length;
400 end = memchr(p, '\n', remaining);
403 else if (remaining >= sizeof(s->buffer) - 1) {
405 skip = remaining;
415 remaining -= skip;
419 if (force_flush && remaining > 0) {
420 p[remaining] = 0;
425 p += remaining;
426 remaining
[all...]
/systemd/src/basic/
H A Descape.c327 size_t remaining; local
332 remaining = s + length - f;
333 assert(remaining > 0);
341 if (remaining == 1) {
352 k = cunescape_one(f + 1, remaining - 1, &u, &eight_bit);
/systemd/src/journal-remote/
H A Djournal-remote.c504 size_t remaining; local
546 remaining = source_non_empty(source);
547 if (remaining > 0) {
548 log_warning("Premature EOFbyte. %zu bytes lost.", remaining);
551 remaining);
1047 size_t remaining; local
1052 remaining = source_non_empty(source);
1053 if (remaining > 0)
1054 log_notice("Premature EOF. %zu bytes lost.", remaining);
1056 log_debug("%zu active sources remaining",
[all...]

Completed in 17 milliseconds