Home
last modified time | relevance | path

Searched refs:ByteData (Results 1 – 15 of 15) sorted by relevance

/external/image_io/src/jpeg/
Djpeg_segment_builder.cc37 if (byte_datum.GetType() == ByteData::kAscii0) { in GetByteDataValues()
48 hex_string += ByteData::Byte2Hex((size >> 8) & 0xFF); in AddMarkerAndSize()
49 hex_string += ByteData::Byte2Hex(size & 0xFF); in AddMarkerAndSize()
51 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSize()
60 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSizePlaceholder()
68 const ByteData& byte_datum = byte_data_[index]; in ReplaceSizePlaceholder()
69 if (byte_datum.GetType() != ByteData::kHex) { in ReplaceSizePlaceholder()
77 if (!ByteData::Hex2Byte(value[0], value[1], &flag) || in ReplaceSizePlaceholder()
78 !ByteData::Hex2Byte(value[2], value[3], &type)) { in ReplaceSizePlaceholder()
86 value.replace(2, 2, ByteData::Byte2Hex((size >> 8) & 0xFF)); in ReplaceSizePlaceholder()
[all …]
Djpeg_apple_depth_builder.cc212 vector<ByteData> mpf_bytes; in TransferNewMpfSegment()
214 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex0); in TransferNewMpfSegment()
215 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
216 ByteData::Size2BigEndianHex(primary_image_length)); in TransferNewMpfSegment()
217 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex1); in TransferNewMpfSegment()
218 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
219 ByteData::Size2BigEndianHex(depth_image_length)); in TransferNewMpfSegment()
220 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
221 ByteData::Size2BigEndianHex(depth_image_offset)); in TransferNewMpfSegment()
222 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex2); in TransferNewMpfSegment()
/external/v8/src/parsing/
Dpreparsed-scope-data.h69 class ByteData : public ZoneObject {
71 explicit ByteData(Zone* zone) in ByteData() function
171 ByteData* byte_data_;
186 class ByteData {
188 ByteData() in ByteData() function
196 ReadingScope(ByteData* consumed_data, PodArray<uint8_t>* data) in ReadingScope()
204 ByteData* consumed_data_;
246 std::unique_ptr<ByteData> scope_data_;
Dpreparsed-scope-data.cc94 void ProducedPreParsedScopeData::ByteData::WriteUint32(uint32_t data) { in WriteUint32()
107 void ProducedPreParsedScopeData::ByteData::OverwriteFirstUint32(uint32_t data) { in OverwriteFirstUint32()
120 void ProducedPreParsedScopeData::ByteData::WriteUint8(uint8_t data) { in WriteUint8()
129 void ProducedPreParsedScopeData::ByteData::WriteQuarter(uint8_t data) { in WriteQuarter()
147 Handle<PodArray<uint8_t>> ProducedPreParsedScopeData::ByteData::Serialize( in Serialize()
165 byte_data_(new (zone) ByteData(zone)), in ProducedPreParsedScopeData()
434 ConsumedPreParsedScopeData::ByteData::ReadingScope::ReadingScope( in ReadingScope()
438 int32_t ConsumedPreParsedScopeData::ByteData::ReadUint32() { in ReadUint32()
454 uint8_t ConsumedPreParsedScopeData::ByteData::ReadUint8() { in ReadUint8()
465 uint8_t ConsumedPreParsedScopeData::ByteData::ReadQuarter() { in ReadQuarter()
[all …]
/external/image_io/src/base/
Dbyte_buffer.cc14 static size_t WriteBytes(const ByteData& byte_data, Byte* pos) { in WriteBytes()
19 if (byte_data.GetType() == ByteData::kHex) { in WriteBytes()
22 if (!ByteData::Hex2Byte(value[2 * index], value[2 * index + 1], pos++)) { in WriteBytes()
42 ByteBuffer::ByteBuffer(const std::vector<ByteData>& byte_data_vector) { in ByteBuffer()
Ddata_context.cc154 ss << "\\x" << ByteData::Byte2Hex(cbyte); in GetLineString()
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_builder.h27 const std::vector<ByteData>& GetByteData() const { return byte_data_; } in GetByteData()
37 void AddByteData(const ByteData& byte_data) { in AddByteData()
134 std::vector<ByteData> byte_data_;
/external/u-boot/drivers/fpga/
Divm_core.c1357 void ispVMData(unsigned char *ByteData) in ispVMData() argument
1410 ByteData[index] = 0x00; in ispVMData()
1418 ByteData[index] = compr_char; in ispVMData()
1427 ByteData[index] |= in ispVMData()
1435 ByteData[index] = 0x00; in ispVMData()
1445 ByteData[j/2] |= in ispVMData()
1448 ByteData[j/2] |= in ispVMData()
1452 ByteData[j/2] |= in ispVMData()
1455 ByteData[j/2] |= in ispVMData()
1477 ByteData[index] = cDataByte; in ispVMData()
[all …]
/external/image_io/includes/image_io/base/
Dbyte_data.h14 class ByteData {
32 ByteData(Type type, const std::string& value) : type_(type), value_(value) {} in ByteData() function
Dbyte_buffer.h29 explicit ByteBuffer(const std::vector<ByteData>& byte_data_vector);
/external/flatbuffers/dart/lib/
Dflat_buffers.dart29 final ByteData _buffer;
33 ByteData buf = new ByteData.view(uint8List.buffer, uint8List.offsetInBytes);
116 ByteData _buf;
442 _buf = new ByteData(initialSize);
719 ByteData newBuf = new ByteData(newCapacity);
735 static void _setFloat64AtTail(ByteData _buf, int tail, double x) {
739 static void _setFloat32AtTail(ByteData _buf, int tail, double x) {
743 static void _setUint64AtTail(ByteData _buf, int tail, int x) {
747 static void _setInt64AtTail(ByteData _buf, int tail, int x) {
751 static void _setInt32AtTail(ByteData _buf, int tail, int x) {
[all …]
/external/ImageMagick/MagickCore/
Dmime-private.h29 ByteData, enumerator
Dmime.c284 case ByteData: in GetMimeInfo()
Doption.c1255 { "Byte", ByteData, UndefinedOptionFlag, MagickFalse },
/external/flatbuffers/dart/test/
Dflat_buffers_test.dart160 // Convert byteList to a ByteData so that we can read data from it.
161 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);
229 // Convert byteList to a ByteData so that we can read data from it.
230 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);