Searched refs:chunkP (Results 1 - 2 of 2) sorted by relevance

/external/lz4/programs/
H A Dfullbench.c428 struct chunkParameters* chunkP; local
457 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
470 free(chunkP);
485 free(chunkP);
519 chunkP[i].id = i;
520 chunkP[i].origBuffer = in; in += chunkSize;
521 if ((int)remaining > chunkSize) { chunkP[i].origSize = chunkSize; remaining -= chunkSize; } else { chunkP[i].origSize = (int)remaining; remaining = 0; }
522 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize;
523 chunkP[
[all...]
H A Dbench.c275 struct chunkParameters* chunkP; local
297 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
310 free(chunkP);
323 chunkP[i].id = i;
324 chunkP[i].origBuffer = in; in += chunkSize;
325 if ((int)remaining > chunkSize) { chunkP[i].origSize = chunkSize; remaining -= chunkSize; } else { chunkP[i].origSize = (int)remaining; remaining = 0; }
326 chunkP[i].compressedBuffer = out; out += maxCompressedChunkSize;
327 chunkP[i].compressedSize = 0;
341 free(chunkP);
[all...]

Completed in 38 milliseconds