Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.h176 LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize);
Dlz4hc.c1171 int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int dictSize) in LZ4_saveDictHC() argument
1175 DEBUGLOG(5, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC()
1180 if (safeBuffer == NULL) assert(dictSize == 0); in LZ4_saveDictHC()
1182 LZ4_memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1184 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
Dlz4.h403 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
Dlz4.c1739 int LZ4_saveDict (LZ4_stream_t* LZ4_dict, char* safeBuffer, int dictSize) in LZ4_saveDict() argument
1743 DEBUGLOG(5, "LZ4_saveDict : dictSize=%i, safeBuffer=%p", dictSize, safeBuffer); in LZ4_saveDict()
1748 if (safeBuffer == NULL) assert(dictSize == 0); in LZ4_saveDict()
1752 LZ4_memmove(safeBuffer, previousDictEnd - dictSize, (size_t)dictSize); in LZ4_saveDict()
1755 dict->dictionary = (const BYTE*)safeBuffer; in LZ4_saveDict()