Home
last modified time | relevance | path

Searched refs:csize (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-benchmark.c78 size_t lsize, rsize, csize; in client_bisect() local
103 csize = (lsize + rsize) / 2; in client_bisect()
105 if (csize <= lsize) in client_bisect()
108 if (csize <= 0) in client_bisect()
111 printf("%zu\t", csize); in client_bisect()
117 transaction(b, csize, server_name); in client_bisect()
127 transaction(b, csize, server_name); in client_bisect()
137 lsize = csize; in client_bisect()
139 rsize = csize; in client_bisect()
144 assert_se(sd_bus_message_append(x, "t", csize) >= 0); in client_bisect()
[all …]
/systemd-251/src/test/
Dtest-compress.c58 size_t csize; in test_compress_decompress() local
65 r = compress(data, data_len, compressed, sizeof(compressed), &csize); in test_compress_decompress()
71 r = decompress(compressed, csize, in test_compress_decompress()
72 (void **) &decompressed, &csize, 0); in test_compress_decompress()
79 (void **) &decompressed, &csize, 0); in test_compress_decompress()
84 (void **) &decompressed, &csize, 0); in test_compress_decompress()
88 (void **) &decompressed, &csize, 0); in test_compress_decompress()
103 size_t csize, len; in test_decompress_startswith() local
114 r = compress(data, data_len, compressed, BUFSIZE_1, &csize); in test_decompress_startswith()
121 r = compress(data, data_len, compressed, BUFSIZE_2, &csize); in test_decompress_startswith()
[all …]
/systemd-251/src/fuzz/
Dfuzz-compress.c47 size_t csize; in LLVMFuzzerTestOneInput() local
48 r = compress_blob_explicit(alg, h->data, data_len, buf, size, &csize); in LLVMFuzzerTestOneInput()
54 log_debug("Compressed %zu bytes to → %zu bytes", data_len, csize); in LLVMFuzzerTestOneInput()
65 r = decompress_startswith(alg, buf, csize, &buf2, h->data, sw_len, h->data[sw_len]); in LLVMFuzzerTestOneInput()