Home
last modified time | relevance | path

Searched refs:DataSegment (Results 1 – 25 of 32) sorted by relevance

12

/external/image_io/src/base/
Ddata_segment.cc11 shared_ptr<DataSegment> DataSegment::Create( in Create()
13 DataSegment::BufferDispositionPolicy buffer_policy) { in Create()
14 return shared_ptr<DataSegment>( in Create()
15 new DataSegment(data_range, buffer, buffer_policy), in Create()
16 default_delete<DataSegment>()); in Create()
19 size_t DataSegment::Find(size_t start_location, Byte value) const { in Find()
29 size_t DataSegment::Find(size_t location, const char* str, in Find()
50 ValidatedByte DataSegment::GetValidatedByte(size_t location, in GetValidatedByte()
51 const DataSegment* segment1, in GetValidatedByte()
52 const DataSegment* segment2) { in GetValidatedByte()
[all …]
Distream_ref_data_source.cc15 std::shared_ptr<DataSegment> IStreamRefDataSource::GetDataSegment( in GetDataSegment()
43 std::shared_ptr<DataSegment> data_segment = Read(begin, end - begin); in TransferData()
66 std::shared_ptr<DataSegment> IStreamRefDataSource::Read(size_t begin, in Read()
68 std::shared_ptr<DataSegment> shared_data_segment; in Read()
75 DataSegment::Create(DataRange(begin, begin + bytes_read), buffer); in Read()
Ddata_segment_data_source.cc12 std::shared_ptr<DataSegment> DataSegmentDataSource::GetDataSegment( in GetDataSegment()
18 return std::shared_ptr<DataSegment>(nullptr); in GetDataSegment()
Ddata_range_tracking_destination.cc16 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
Dostream_ref_data_destination.cc14 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
/external/image_io/includes/image_io/base/
Ddata_segment.h21 class DataSegment {
38 static std::shared_ptr<DataSegment> Create(
49 static std::shared_ptr<DataSegment> Create(const DataRange& data_range, in Create()
133 const DataSegment* segment1,
134 const DataSegment* segment2);
149 const DataSegment* segment1, const DataSegment* segment2);
152 DataSegment(const DataRange& data_range, const Byte* buffer, in DataSegment() function
158 ~DataSegment() { in ~DataSegment()
167 friend struct std::default_delete<DataSegment>;
Ddata_segment_data_source.h15 const std::shared_ptr<DataSegment>& shared_data_segment) in DataSegmentDataSource()
18 std::shared_ptr<DataSegment> GetDataSegment(size_t begin,
24 std::shared_ptr<DataSegment> shared_data_segment_;
Distream_ref_data_source.h22 std::shared_ptr<DataSegment> GetDataSegment(size_t begin,
33 std::shared_ptr<DataSegment> Read(size_t begin, size_t count);
40 std::shared_ptr<DataSegment> current_data_segment_;
Ddata_context.h25 const DataSegment& segment, const DataLineMap& data_line_map) in DataContext()
51 const DataSegment& GetSegment() const { return segment_; } in GetSegment()
135 const DataSegment& segment_;
Ddata_destination.h53 const DataSegment& data_segment) = 0;
Ddata_source.h74 virtual std::shared_ptr<DataSegment> GetDataSegment(size_t begin,
Ddata_line_map.h39 void FindDataLines(const DataRange& range, const DataSegment& segment);
Ddata_range_tracking_destination.h44 const DataSegment& data_segment) override;
Dostream_ref_data_destination.h43 const DataSegment& data_segment) override;
/external/image_io/includes/image_io/jpeg/
Djpeg_segment.h33 JpegSegment(size_t begin, size_t end, const DataSegment* begin_segment, in JpegSegment()
34 const DataSegment* end_segment) in JpegSegment()
75 return DataSegment::GetValidatedByte(location, begin_segment_, in GetValidatedByte()
168 const DataSegment* begin_segment_;
172 const DataSegment* end_segment_;
Djpeg_scanner.h89 std::shared_ptr<DataSegment> current_segment_;
90 std::shared_ptr<DataSegment> next_segment_;
Djpeg_xmp_data_extractor.h39 const DataSegment& data_segment) override;
/external/image_io/src/utils/
Dfile_utils.cc56 std::shared_ptr<DataSegment> ReadEntireFile(const std::string& file_name, in ReadEntireFile()
59 std::shared_ptr<DataSegment> shared_data_segment; in ReadEntireFile()
67 DataSegment::Create(DataRange(0, buffer_size), buffer); in ReadEntireFile()
/external/image_io/src/extras/
Dbase64_decoder_data_destination.cc63 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
177 shared_ptr<DataSegment> decoded_data_segment = in Transfer()
178 DataSegment::Create(decoded_range, decoded_buffer.release()); in Transfer()
/external/llvm-project/lld/wasm/
DInputChunks.h38 enum Kind { DataSegment, Function, SyntheticFunction, Section }; enumerator
98 : InputChunk(f, InputChunk::DataSegment), segment(seg) {} in InputSegment()
100 static bool classof(const InputChunk *c) { return c->kind() == DataSegment; } in classof()
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DWasmYAML.h117 struct DataSegment { struct
383 std::vector<DataSegment> Segments;
412 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::DataSegment) in LLVM_YAML_IS_SEQUENCE_VECTOR()
522 template <> struct MappingTraits<WasmYAML::DataSegment> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
523 static void mapping(IO &IO, WasmYAML::DataSegment &Segment); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h114 struct DataSegment { struct
379 std::vector<DataSegment> Segments;
408 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::DataSegment) in LLVM_YAML_IS_SEQUENCE_VECTOR()
518 template <> struct MappingTraits<WasmYAML::DataSegment> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
519 static void mapping(IO &IO, WasmYAML::DataSegment &Segment); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/image_io/includes/image_io/utils/
Dfile_utils.h36 std::shared_ptr<DataSegment> ReadEntireFile(const std::string& file_name,
/external/image_io/includes/image_io/extras/
Dbase64_decoder_data_destination.h33 const DataSegment& data_segment) override;
/external/image_io/src/jpeg/
Djpeg_apple_depth_builder.cc200 auto jfif_segment = DataSegment::Create(jfif_range, jfif_bytes); in TransferNewJfifSegment()
229 auto mpf_segment = DataSegment::Create(mpf_range, mpf_byte_buffer.Release()); in TransferNewMpfSegment()

12