Lines Matching refs:length

607                             size_t length, ::std::string* output) {  in Snappy_Compress()  argument
609 output->resize(snappy::MaxCompressedLength(length)); in Snappy_Compress()
611 snappy::RawCompress(input, length, &(*output)[0], &outlen); in Snappy_Compress()
616 (void)length; in Snappy_Compress()
622 inline bool Snappy_GetUncompressedLength(const char* input, size_t length, in Snappy_GetUncompressedLength() argument
625 return snappy::GetUncompressedLength(input, length, result); in Snappy_GetUncompressedLength()
628 (void)length; in Snappy_GetUncompressedLength()
634 inline bool Snappy_Uncompress(const char* input, size_t length, char* output) { in Snappy_Uncompress() argument
636 return snappy::RawUncompress(input, length, output); in Snappy_Uncompress()
639 (void)length; in Snappy_Uncompress()
647 inline size_t PutDecompressedSizeInfo(std::string* output, uint32_t length) { in PutDecompressedSizeInfo() argument
648 PutVarint32(output, length); in PutDecompressedSizeInfo()
674 size_t length, ::std::string* output) { in Zlib_Compress() argument
676 if (length > std::numeric_limits<uint32_t>::max()) { in Zlib_Compress()
684 output, static_cast<uint32_t>(length)); in Zlib_Compress()
688 output->resize(output_header_len + length); in Zlib_Compress()
724 _stream.avail_in = static_cast<unsigned int>(length); in Zlib_Compress()
727 _stream.avail_out = static_cast<unsigned int>(length); in Zlib_Compress()
746 (void)length; in Zlib_Compress()
863 size_t length, ::std::string* output) { in BZip2_Compress() argument
865 if (length > std::numeric_limits<uint32_t>::max()) { in BZip2_Compress()
872 output, static_cast<uint32_t>(length)); in BZip2_Compress()
876 output->resize(output_header_len + length); in BZip2_Compress()
891 _stream.avail_in = static_cast<unsigned int>(length); in BZip2_Compress()
894 _stream.avail_out = static_cast<unsigned int>(length); in BZip2_Compress()
912 (void)length; in BZip2_Compress()
1009 size_t length, ::std::string* output) { in LZ4_Compress() argument
1011 if (length > std::numeric_limits<uint32_t>::max()) { in LZ4_Compress()
1020 output, static_cast<uint32_t>(length)); in LZ4_Compress()
1027 memcpy(p, &length, sizeof(length)); in LZ4_Compress()
1029 int compress_bound = LZ4_compressBound(static_cast<int>(length)); in LZ4_Compress()
1043 static_cast<int>(length), compress_bound, 1); in LZ4_Compress()
1046 stream, input, &(*output)[output_header_len], static_cast<int>(length), in LZ4_Compress()
1052 static_cast<int>(length), compress_bound); in LZ4_Compress()
1064 (void)length; in LZ4_Compress()
1143 size_t length, ::std::string* output) { in LZ4HC_Compress() argument
1145 if (length > std::numeric_limits<uint32_t>::max()) { in LZ4HC_Compress()
1154 output, static_cast<uint32_t>(length)); in LZ4HC_Compress()
1161 memcpy(p, &length, sizeof(length)); in LZ4HC_Compress()
1163 int compress_bound = LZ4_compressBound(static_cast<int>(length)); in LZ4HC_Compress()
1186 static_cast<int>(length), compress_bound); in LZ4HC_Compress()
1189 stream, input, &(*output)[output_header_len], static_cast<int>(length), in LZ4HC_Compress()
1196 static_cast<int>(length), in LZ4HC_Compress()
1201 static_cast<int>(length), compress_bound); in LZ4HC_Compress()
1213 (void)length; in LZ4HC_Compress()
1220 inline bool XPRESS_Compress(const char* input, size_t length, in XPRESS_Compress() argument
1222 return port::xpress::Compress(input, length, output); in XPRESS_Compress()
1245 size_t length, ::std::string* output) { in ZSTD_Compress() argument
1247 if (length > std::numeric_limits<uint32_t>::max()) { in ZSTD_Compress()
1253 output, static_cast<uint32_t>(length)); in ZSTD_Compress()
1255 size_t compressBound = ZSTD_compressBound(length); in ZSTD_Compress()
1272 compressBound, input, length, in ZSTD_Compress()
1278 compressBound, input, length, in ZSTD_Compress()
1284 length, level); in ZSTD_Compress()
1294 (void)length; in ZSTD_Compress()