Home
last modified time | relevance | path

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

/external/bsdiff/
Dbz2_decompressor.cc36 bool BZ2Decompressor::Read(uint8_t* output_data, size_t bytes_to_output) { in Read() argument
38 while (bytes_to_output > 0) { in Read()
40 std::numeric_limits<unsigned int>::max(), bytes_to_output); in Read()
49 bytes_to_output -= (output_size - stream_.avail_out); in Read()
Dbrotli_decompressor.cc23 bool BrotliDecompressor::Read(uint8_t* output_data, size_t bytes_to_output) { in Read() argument
25 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.h20 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.h21 bool Read(uint8_t* output_data, size_t bytes_to_output) override;
/external/v8/src/snapshot/
Dserializer.cc418 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; in SerializeExternalString() local
422 sink_->PutInt(bytes_to_output, "length"); in SerializeExternalString()
440 sink_->PutInt(bytes_to_output, "SkipDistance"); in SerializeExternalString()
767 int bytes_to_output = to_skip; in OutputRawData() local
776 bytes_to_output = object_->Size() + to_skip - bytes_processed_so_far_; in OutputRawData()
780 if (bytes_to_output != 0 && (!is_code_object || outputting_code)) { in OutputRawData()
781 if (!outputting_code && bytes_to_output == to_skip && in OutputRawData()
782 IsAligned(bytes_to_output, kPointerAlignment) && in OutputRawData()
783 bytes_to_output <= kNumberOfFixedRawData * kPointerSize) { in OutputRawData()
784 int size_in_words = bytes_to_output >> kPointerSizeLog2; in OutputRawData()
[all …]