Home | History | Annotate | Download | only in tests

Lines Matching refs:outOffset

30     int outOffset = 0;
37 if (outSize - (outOffset + 8) < LZ4_compressBound(length)) return -3;
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 */
45 outOffset += outBytes + 8;
48 if (outOffset + 8 > outSize) return -5;
49 memset(output + outOffset, 0, 4);
50 memset(output + outOffset + 4, 0, 4);