Home
last modified time | relevance | path

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

/third_party/node/deps/npm/node_modules/registry-auth-token/
Dbase64.js1 const safeBuffer = require('safe-buffer').Buffer constant
4 return safeBuffer.from(base64, 'base64').toString('utf8')
8 return safeBuffer.from(string, 'utf8').toString('base64')
/third_party/lz4/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.c1158 int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int dictSize) in LZ4_saveDictHC() argument
1162 DEBUGLOG(5, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC()
1167 if (safeBuffer == NULL) assert(dictSize == 0); in LZ4_saveDictHC()
1169 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1171 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()