Home
last modified time | relevance | path

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

/external/image_io/src/base/
Dbyte_buffer.cc14 static size_t WriteBytes(const ByteData& byte_data, Byte* pos) { in WriteBytes() argument
15 size_t byte_count = byte_data.GetByteCount(); in WriteBytes()
19 if (byte_data.GetType() == ByteData::kHex) { in WriteBytes()
20 const string& value = byte_data.GetValue(); in WriteBytes()
27 memcpy(pos, byte_data.GetValue().c_str(), byte_count); in WriteBytes()
44 for (const auto& byte_data : byte_data_vector) { in ByteBuffer() local
45 size_ += byte_data.GetByteCount(); in ByteBuffer()
55 for (const auto& byte_data : byte_data_vector) { in ByteBuffer() local
56 size_t bytes_written = WriteBytes(byte_data, pos); in ByteBuffer()
57 if (bytes_written == 0 && byte_data.GetByteCount() != 0) { in ByteBuffer()
/external/webrtc/webrtc/base/
Dbase64.cc103 const unsigned char* byte_data = static_cast<const unsigned char*>(data); in EncodeFromArray() local
109 c = (byte_data[i] >> 2) & 0x3f; in EncodeFromArray()
112 c = (byte_data[i] << 4) & 0x3f; in EncodeFromArray()
114 c |= (byte_data[i] >> 4) & 0x0f; in EncodeFromArray()
119 c = (byte_data[i] << 2) & 0x3f; in EncodeFromArray()
121 c |= (byte_data[i] >> 6) & 0x03; in EncodeFromArray()
129 c = byte_data[i] & 0x3f; in EncodeFromArray()
/external/sfntly/cpp/src/test/
Dtest_font_utils.cc99 void HexDump(const unsigned char* byte_data, size_t length) { in HexDump() argument
100 if (byte_data == NULL || length == 0) { in HexDump()
107 fprintf(stderr, "%02x ", byte_data[i]); in HexDump()
Dtest_font_utils.h37 void HexDump(const unsigned char* byte_data, size_t length);
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_builder.h37 void AddByteData(const ByteData& byte_data) { in AddByteData() argument
38 byte_data_.push_back(byte_data); in AddByteData()
/external/v8/src/parsing/
Dpreparse-data.cc776 ZonePreparseData::ZonePreparseData(Zone* zone, Vector<uint8_t>* byte_data, in ZonePreparseData() argument
778 : byte_data_(byte_data->begin(), byte_data->end(), zone), in ZonePreparseData()
782 int data_size = static_cast<int>(byte_data()->size()); in Serialize()
786 result->copy_in(0, byte_data()->data(), data_size); in Serialize()
798 int data_size = static_cast<int>(byte_data()->size()); in Serialize()
802 result->copy_in(0, byte_data()->data(), data_size); in Serialize()
815 : data_(data), scope_data_wrapper_(data_->byte_data()) { in ZoneConsumedPreparseData()
Dpreparse-data-impl.h198 V8_EXPORT_PRIVATE ZonePreparseData(Zone* zone, Vector<uint8_t>* byte_data,
213 ZoneVector<uint8_t>* byte_data() { return &byte_data_; } in byte_data() function