Home
last modified time | relevance | path

Searched refs:ALLOC_AND_ZERO (Results 1 – 2 of 2) sorted by relevance

/external/lz4/lib/
Dlz4frame.c77 # define ALLOC_AND_ZERO(s) calloc(1,(s)) macro
538 LZ4F_cctx_t* const cctxPtr = (LZ4F_cctx_t*)ALLOC_AND_ZERO(sizeof(LZ4F_cctx_t)); in LZ4F_createCompressionContext()
653 cctxPtr->tmpBuff = (BYTE*)ALLOC_AND_ZERO(requiredBuffSize); in LZ4F_compressBegin_usingCDict()
1067 LZ4F_dctx* const dctx = (LZ4F_dctx*)ALLOC_AND_ZERO(sizeof(LZ4F_dctx)); in LZ4F_createDecompressionContext()
Dlz4.c180 #define ALLOC_AND_ZERO(s) calloc(1,s) macro
2170 LZ4_streamDecode_t* lz4s = (LZ4_streamDecode_t*) ALLOC_AND_ZERO(sizeof(LZ4_streamDecode_t)); in LZ4_createStreamDecode()