Searched refs:streamSize (Results 1 – 4 of 4) sorted by relevance
304 let streamSize = 0307 streamSize += chunk.length320 if (typeof opts.size === 'number' && streamSize !== opts.size) {321 …Error(`stream size mismatch when checking ${sri}.\n Wanted: ${opts.size}\n Found: ${streamSize}`)323 err.found = streamSize328 …ecksum failed when using ${algorithm}: wanted ${digests} but got ${newSri}. (${streamSize} bytes)`)336 stream.emit('size', streamSize)
25 const size_t streamSize = stream.bytesWritten(); in stream_equals() local27 if (offset + len > streamSize) { in stream_equals()31 SkAutoTMalloc<char> data(streamSize); in stream_equals()
26 const size_t streamSize = stream.bytesWritten(); in stream_equals() local28 if (offset + len > streamSize) { in stream_equals()32 SkAutoTMalloc<char> data(streamSize); in stream_equals()
949 unsigned long long streamSize = 0; in LZ4IO_decodeLegacyStream() local979 streamSize += (unsigned long long)decodeSize; in LZ4IO_decodeLegacyStream()991 return streamSize; in LZ4IO_decodeLegacyStream()