HomeSort by: relevance | last modified time | path
    Searched refs:cBuf (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/zstd/dist/tests/fuzz/
decompress_dstSize_tooSmall.c 54 void *cBuf = FUZZ_malloc(cBufSize);
56 size_t const cSize = ZSTD_compressCCtx(cctx, cBuf, cBufSize, src, size, 1);
58 size_t const rSize = ZSTD_decompressDCtx(dctx, rBuf, rBufSize, cBuf, cSize);
65 free(cBuf);
huf_round_trip.c 85 void* cBuf = FUZZ_malloc(cBufSize);
94 size_t const tableSize = HUF_writeCTable_wksp(cBuf, cBufSize, ct, maxSymbol, tableLog, wksp, wkspSize);
101 FUZZ_ZASSERT(HUF_readDTableX1_wksp(dt, cBuf, tableSize, wksp, wkspSize, flags));
103 size_t const ret = HUF_readDTableX2_wksp(dt, cBuf, tableSize, wksp, wkspSize, flags);
105 FUZZ_ZASSERT(HUF_readDTableX1_wksp(dt, cBuf, tableSize, wksp, wkspSize, flags));
114 cSize = HUF_compress1X_usingCTable(cBuf, cBufSize, src, size, ct, flags);
117 rSize = HUF_decompress1X_usingDTable(rBuf, size, cBuf, cSize, dt, flags);
119 cSize = HUF_compress4X_usingCTable(cBuf, cBufSize, src, size, ct, flags);
122 rSize = HUF_decompress4X_usingDTable(rBuf, size, cBuf, cSize, dt, flags);
131 free(cBuf);
    [all...]
block_round_trip.c 30 static void* cBuf = NULL;
72 if (neededBufSize > bufSize || !cBuf || !rBuf) {
73 free(cBuf);
75 cBuf = FUZZ_malloc(neededBufSize);
90 roundTripTest(rBuf, neededBufSize, cBuf, neededBufSize, src, size,
dictionary_loader.c 86 void* const cBuf = FUZZ_malloc(cBufSize);
89 compress(cBuf, cBufSize, src, size, src, size, dlm, dct, refPrefix);
96 decompress(rBuf, size, cBuf, cSize, src, size, dlm, dct, refPrefix);
101 free(cBuf);
stream_round_trip.c 29 static uint8_t* cBuf = NULL;
170 free(cBuf);
172 cBuf = (uint8_t*)FUZZ_malloc(neededBufSize);
186 size_t const cSize = compress(cBuf, neededBufSize, src, size, producer);
187 size_t const rSize = decompress(rBuf, neededBufSize, cBuf, cSize, producer);
194 size_t const margin = ZSTD_decompressionMargin(cBuf, cSize);
200 memcpy(input, cBuf, cSize);
dictionary_round_trip.c 122 void *cBuf;
128 cBuf = FUZZ_malloc(cBufSize);
141 roundTripTest(rBuf, rBufSize, cBuf, cBufSize, src, size, producer);
147 free(cBuf);
dictionary_stream_round_trip.c 29 static uint8_t* cBuf = NULL;
163 free(cBuf);
165 cBuf = (uint8_t*)FUZZ_malloc(neededBufSize);
183 size_t const cSize = compress(cBuf, neededBufSize, src, size, dict.buff, dict.size, producer, refPrefix, dictContentType);
195 ZSTD_decompressDCtx(dctx, rBuf, neededBufSize, cBuf, cSize);
simple_round_trip.c 148 void* cBuf;
161 cBuf = FUZZ_malloc(cBufSize);
172 roundTripTest(rBuf, rBufSize, cBuf, cBufSize, src, size, producer);
174 free(cBuf);
sequence_compression_api.c 342 void* cBuf;
427 cBuf = FUZZ_malloc(cBufSize);
433 cBuf, cBufSize,
441 free(cBuf);
  /src/external/public-domain/sqlite/dist/
shell.c 6913 char *cBuf;
6933 cBuf = sqlite3_malloc64(nc);
6934 if( !cBuf ) goto memFail;
6935 nc = (int)(toBase64(bBuf, nb, cBuf) - cBuf);
6936 sqlite3_result_text(context, cBuf, nc, sqlite3_free);
6947 cBuf = (char *)sqlite3_value_text(av[0]);
6948 if( !cBuf ){
6957 nb = (int)(fromBase64(cBuf, nc, bBuf) - bBuf);
7290 char *cBuf;
    [all...]

Completed in 39 milliseconds