Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4frame.c67 #define ALLOC_AND_ZERO(s) calloc(1,s) macro
519 LZ4F_cctx_t* const cctxPtr = (LZ4F_cctx_t*)ALLOC_AND_ZERO(sizeof(LZ4F_cctx_t)); in LZ4F_createCompressionContext()
632 cctxPtr->tmpBuff = (BYTE*)ALLOC_AND_ZERO(requiredBuffSize); in LZ4F_compressBegin_usingCDict()
1021 LZ4F_dctx* const dctx = (LZ4F_dctx*)ALLOC_AND_ZERO(sizeof(LZ4F_dctx)); in LZ4F_createDecompressionContext()
Dlz4.c166 #define ALLOC_AND_ZERO(s) calloc(1,s) macro
1747 LZ4_streamDecode_t* lz4s = (LZ4_streamDecode_t*) ALLOC_AND_ZERO(sizeof(LZ4_streamDecode_t)); in LZ4_createStreamDecode()