Searched refs:MEM_INIT (Results 1 - 3 of 3) sorted by relevance
/third_party/lz4/lib/ |
H A D | lz4frame.c | 90 # define MEM_INIT(p,v,s) memset((p),(v),(s)) macro 112 if (p != NULL) MEM_INIT(p, 0, s); in LZ4F_calloc() 404 else MEM_INIT(&prefs, 0, sizeof(prefs)); in LZ4F_compressFrameBound() 435 MEM_INIT(&prefs, 0, sizeof(prefs)); in LZ4F_compressFrame_usingCDict() 444 MEM_INIT(&options, 0, sizeof(options)); in LZ4F_compressFrame_usingCDict() 489 MEM_INIT(&cctx, 0, sizeof(cctx)); in LZ4F_compressFrame() 1300 MEM_INIT(&(dctx->frameInfo), 0, sizeof(dctx->frameInfo)); in LZ4F_decodeHeader() 1576 MEM_INIT(&optionsNull, 0, sizeof(optionsNull)); in LZ4F_decompress()
|
H A D | lz4.c | 234 #define MEM_INIT(p,v,s) LZ4_memset((p),(v),(s)) macro 522 MEM_INIT(v, *srcPtr, 8); in LZ4_memcpy_using_offset() 880 MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE); in LZ4_prepareTable() 1513 MEM_INIT(buffer, 0, sizeof(LZ4_stream_t_internal)); in LZ4_initStream() 1522 MEM_INIT(LZ4_stream, 0, sizeof(LZ4_stream_t_internal)); in LZ4_resetStream()
|
H A D | lz4hc.c | 96 MEM_INIT(hc4->hashTable, 0, sizeof(hc4->hashTable)); in LZ4HC_clearTables() 97 MEM_INIT(hc4->chainTable, 0xFF, sizeof(hc4->chainTable)); in LZ4HC_clearTables() 1021 MEM_INIT(hcstate, 0, sizeof(*hcstate)); } in LZ4_initStreamHC()
|
Completed in 11 milliseconds