Home | History | Annotate | Download | only in tests

Lines Matching defs:output

24 int test_compress(const char *input, int inSize, char *output, int outSize)
40 lz4Stream, input + inOffset, output + outOffset + 8, length, outSize-outOffset, 1);
42 memcpy(output + outOffset, &length, 4); /* input length */
43 memcpy(output + outOffset + 4, &outBytes, 4); /* output length */
49 memset(output + outOffset, 0, 4);
50 memset(output + outOffset + 4, 0, 4);
60 char *output = outBufferA;
81 /* Put the last output in the dictionary */
85 lz4StreamDecode, compressed + offset, output, unBytes);
88 { int const r = memcmp(uncompressed + unOffset, output, unBytes);
91 { char* const tmp = output; output = lastOutput; lastOutput = tmp; }
118 char output[LZ4_COMPRESSBOUND(4096)];
124 if ((r = test_compress(input, sizeof(input), output, sizeof(output)))) {
127 if ((r = test_decompress(input, output))) {