Home
last modified time | relevance | path

Searched refs:safeBuffer (Results 1 – 4 of 4) sorted by relevance

/lz4-3.4.0-2.7.6/lib/
Dlz4hc.h176 LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize);
Dlz4.h345 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
Dlz4hc.c1162 int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int dictSize) in LZ4_saveDictHC() argument
1166 DEBUGLOG(5, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC()
1171 if (safeBuffer == NULL) assert(dictSize == 0); in LZ4_saveDictHC()
1173 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1175 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
Dlz4.c1668 int LZ4_saveDict (LZ4_stream_t* LZ4_dict, char* safeBuffer, int dictSize) in LZ4_saveDict() argument
1676 if (safeBuffer == NULL) assert(dictSize == 0); in LZ4_saveDict()
1678 memmove(safeBuffer, previousDictEnd - dictSize, dictSize); in LZ4_saveDict()
1680 dict->dictionary = (const BYTE*)safeBuffer; in LZ4_saveDict()