Searched refs:ALLOC_AND_ZERO (Results 1 – 2 of 2) sorted by relevance
77 # define ALLOC_AND_ZERO(s) calloc(1,(s)) macro538 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()
180 #define ALLOC_AND_ZERO(s) calloc(1,s) macro2170 LZ4_streamDecode_t* lz4s = (LZ4_streamDecode_t*) ALLOC_AND_ZERO(sizeof(LZ4_streamDecode_t)); in LZ4_createStreamDecode()