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/perfetto/src/trace_processor/python/perfetto/trace_processor/
Dhttp.py30 byte_data = args.SerializeToString()
31 self.conn.request('POST', '/query', body=byte_data)
40 byte_data = args.SerializeToString()
41 self.conn.request('POST', '/compute_metric', body=byte_data)
/external/webrtc/rtc_base/third_party/base64/
Dbase64.cc101 const unsigned char* byte_data = static_cast<const unsigned char*>(data); in EncodeFromArray() local
107 c = (byte_data[i] >> 2) & 0x3f; in EncodeFromArray()
110 c = (byte_data[i] << 4) & 0x3f; in EncodeFromArray()
112 c |= (byte_data[i] >> 4) & 0x0f; in EncodeFromArray()
117 c = (byte_data[i] << 2) & 0x3f; in EncodeFromArray()
119 c |= (byte_data[i] >> 6) & 0x03; in EncodeFromArray()
127 c = byte_data[i] & 0x3f; in EncodeFromArray()
/external/tensorflow/tensorflow/security/fuzzing/
Darg_def_case_fuzz.cc26 uint8_t *byte_data = const_cast<uint8_t *>(data); in LLVMFuzzerTestOneInput() local
27 char *char_data = reinterpret_cast<char *>(byte_data); in LLVMFuzzerTestOneInput()
/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()