Lines Matching refs:compressed
63 char compressed[512];
71 r = compress(data, data_len, compressed, sizeof(compressed), &csize);
77 r = decompress(compressed, csize,
88 /* make sure to have the minimal lz4 compressed size */
107 char *compressed;
118 compressed = compressed1 = malloc(BUFSIZE_1);
120 r = compress(data, data_len, compressed, BUFSIZE_1, &csize);
125 compressed = compressed2 = malloc(BUFSIZE_2);
127 r = compress(data, data_len, compressed, BUFSIZE_2, &csize);
134 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, data, len, '\0');
136 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, data, len, 'w');
138 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, "barbarbar", 9, ' ');
140 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, data, len - 1, data[len-1]);
142 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, data, len - 1, 'w');
144 r = decompress_sw(compressed, csize, (void **) &decompressed, &usize, data, len, '\0');
155 char pattern[] = "/tmp/systemd-test.compressed.XXXXXX",
156 pattern2[] = "/tmp/systemd-test.compressed.XXXXXX";
210 size_t buf_size = sizeof(buf), compressed;
221 compressed = r;
222 log_info("Compressed %i → %zu", HUGE_SIZE, compressed);
229 compressed,
238 compressed,