Home
last modified time | relevance | path

Searched refs:bytes_to_output (Results 1 – 7 of 7) sorted by relevance

/external/bsdiff/
Dbz2_decompressor.cc43 bool BZ2Decompressor::Read(uint8_t* output_data, size_t bytes_to_output) { in Read() argument
49 while (bytes_to_output > 0) { in Read()
51 std::numeric_limits<unsigned int>::max(), bytes_to_output); in Read()
61 bytes_to_output -= (output_size - stream_.avail_out); in Read()
62 if (bytes_to_output && prev_avail_in == stream_.avail_in && in Read()
65 << bytes_to_output << " bytes to decompress"; in Read()
Dbrotli_decompressor.cc28 bool BrotliDecompressor::Read(uint8_t* output_data, size_t bytes_to_output) { in Read() argument
34 size_t available_out = bytes_to_output; in Read()
Dbspatch.cc70 size_t bytes_to_output = std::min(size, buf_size); in ReadStreamAndWriteAll() local
71 if (!read_func(buf, bytes_to_output)) { in ReadStreamAndWriteAll()
76 if (!WriteAll(file, buf, bytes_to_output)) { in ReadStreamAndWriteAll()
80 size -= bytes_to_output; in ReadStreamAndWriteAll()
Dbz2_decompressor.h21 bool Read(uint8_t* output_data, size_t bytes_to_output) override;
Ddecompressor_interface.h29 virtual bool Read(uint8_t* output_data, size_t bytes_to_output) = 0;
Dbrotli_decompressor.h22 bool Read(uint8_t* output_data, size_t bytes_to_output) override;
/external/v8/src/snapshot/
Dserializer.cc556 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; in SerializeExternalStringAsSequentialString() local
560 sink_->PutInt(bytes_to_output, "length"); in SerializeExternalStringAsSequentialString()
937 int bytes_to_output = to_skip; in OutputRawData() local
940 if (bytes_to_output != 0) { in OutputRawData()
941 DCHECK(to_skip == bytes_to_output); in OutputRawData()
942 if (IsAligned(bytes_to_output, kPointerAlignment) && in OutputRawData()
943 bytes_to_output <= kNumberOfFixedRawData * kPointerSize) { in OutputRawData()
944 int size_in_words = bytes_to_output >> kPointerSizeLog2; in OutputRawData()
948 sink_->PutInt(bytes_to_output, "length"); in OutputRawData()
953 reinterpret_cast<void*>(object_start + base), bytes_to_output); in OutputRawData()
[all …]