Home
last modified time | relevance | path

Searched refs:ByteReader (Results 1 – 25 of 45) sorted by relevance

12

/external/google-breakpad/src/common/dwarf/
Dbytereader.cc37 ByteReader::ByteReader(enum Endianness endian) in ByteReader() function in dwarf2reader::ByteReader
43 ByteReader::~ByteReader() { } in ~ByteReader()
45 void ByteReader::SetOffsetSize(uint8 size) { in SetOffsetSize()
49 this->offset_reader_ = &ByteReader::ReadFourBytes; in SetOffsetSize()
51 this->offset_reader_ = &ByteReader::ReadEightBytes; in SetOffsetSize()
55 void ByteReader::SetAddressSize(uint8 size) { in SetAddressSize()
59 this->address_reader_ = &ByteReader::ReadFourBytes; in SetAddressSize()
61 this->address_reader_ = &ByteReader::ReadEightBytes; in SetAddressSize()
65 uint64 ByteReader::ReadInitialLength(const char* start, size_t* len) { in ReadInitialLength()
82 bool ByteReader::ValidEncoding(DwarfPointerEncoding encoding) const { in ValidEncoding()
[all …]
Dbytereader-inl.h38 inline uint8 ByteReader::ReadOneByte(const char* buffer) const { in ReadOneByte()
42 inline uint16 ByteReader::ReadTwoBytes(const char* signed_buffer) const { in ReadTwoBytes()
54 inline uint64 ByteReader::ReadFourBytes(const char* signed_buffer) const { in ReadFourBytes()
68 inline uint64 ByteReader::ReadEightBytes(const char* signed_buffer) const { in ReadEightBytes()
92 inline uint64 ByteReader::ReadUnsignedLEB128(const char* buffer, in ReadUnsignedLEB128()
117 inline int64 ByteReader::ReadSignedLEB128(const char* buffer, in ReadSignedLEB128()
137 inline uint64 ByteReader::ReadOffset(const char* buffer) const { in ReadOffset()
142 inline uint64 ByteReader::ReadAddress(const char* buffer) const { in ReadAddress()
147 inline void ByteReader::SetCFIDataBase(uint64 section_base, in SetCFIDataBase()
154 inline void ByteReader::SetTextBase(uint64 text_base) { in SetTextBase()
[all …]
Dbytereader_unittest.cc42 using dwarf2reader::ByteReader;
62 ByteReader reader(ENDIANNESS_BIG); in TEST_F()
90 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F()
379 ByteReader reader(ENDIANNESS_BIG); in TEST_F()
388 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F()
400 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F()
410 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F()
420 ByteReader reader(ENDIANNESS_BIG); in TEST_F()
430 ByteReader reader(ENDIANNESS_BIG); in TEST_F()
442 ByteReader reader(ENDIANNESS_LITTLE); in TEST_F()
[all …]
Dbytereader.h50 class ByteReader {
57 explicit ByteReader(enum Endianness endianness);
58 virtual ~ByteReader();
282 typedef uint64 (ByteReader::*AddressReader)(const char*) const;
Ddwarf2reader.h89 ByteReader* reader, LineInfoHandler* handler);
111 static bool ProcessOneOpcode(ByteReader* reader,
131 ByteReader* reader_;
225 ByteReader* reader, Dwarf2Handler* handler);
305 ByteReader* reader_;
641 ByteReader *reader, Handler *handler, Reporter *reporter,
797 ByteReader *reader_;
Dfunctioninfo.h119 ByteReader* reader) in CUFunctionInfoHandler()
182 ByteReader* reader_;
Ddwarf2reader_cfi_unittest.cc77 using dwarf2reader::ByteReader;
191 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
214 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
239 ByteReader byte_reader(ENDIANNESS_LITTLE); in TEST_F()
263 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
289 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
310 ByteReader byte_reader(ENDIANNESS_LITTLE); in TEST_F()
340 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
383 ByteReader byte_reader(ENDIANNESS_BIG); in TEST_F()
432 ByteReader byte_reader(ENDIANNESS_LITTLE); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc106 TestRead<uint16_t, ByteReader<uint16_t>::ReadBigEndian, in TEST_F()
113 TestRead<uint32_t, ByteReader<uint32_t, 3>::ReadBigEndian, 3>(true); in TEST_F()
118 TestRead<uint32_t, ByteReader<uint32_t>::ReadBigEndian, in TEST_F()
125 TestRead<uint64_t, ByteReader<uint64_t>::ReadBigEndian, in TEST_F()
132 TestRead<int16_t, ByteReader<int16_t>::ReadBigEndian, in TEST_F()
139 TestRead<int32_t, ByteReader<int32_t, 3>::ReadBigEndian, 3>(true); in TEST_F()
144 TestRead<int32_t, ByteReader<int32_t>::ReadBigEndian, in TEST_F()
151 TestRead<int64_t, ByteReader<int64_t>::ReadBigEndian, in TEST_F()
158 TestRead<uint16_t, ByteReader<uint16_t>::ReadLittleEndian, in TEST_F()
165 TestRead<uint32_t, ByteReader<uint32_t, 3>::ReadLittleEndian, 3>(false); in TEST_F()
[all …]
Drtp_utility.cc173 uint32_t SSRC = ByteReader<uint32_t>::ReadBigEndian(ptr); in ParseRtcp()
206 uint32_t RTPTimestamp = ByteReader<uint32_t>::ReadBigEndian(ptr); in Parse()
209 uint32_t SSRC = ByteReader<uint32_t>::ReadBigEndian(ptr); in Parse()
231 uint32_t CSRC = ByteReader<uint32_t>::ReadBigEndian(ptr); in Parse()
273 uint16_t definedByProfile = ByteReader<uint16_t>::ReadBigEndian(ptr); in Parse()
277 size_t XLen = ByteReader<uint16_t>::ReadBigEndian(ptr); in Parse()
346 ByteReader<int32_t, 3>::ReadBigEndian(ptr); in ParseOneByteExtensionHeader()
378 ByteReader<uint32_t, 3>::ReadBigEndian(ptr); in ParseOneByteExtensionHeader()
Dbyte_io.h73 class ByteReader; variable
77 class ByteReader<T, B, false> {
107 class ByteReader<T, B, true> {
112 U unsigned_val = ByteReader<T, B, false>::ReadBigEndian(data); in ReadBigEndian()
119 U unsigned_val = ByteReader<T, B, false>::ReadLittleEndian(data); in ReadLittleEndian()
249 class ByteReader<T, 1, false> {
278 class ByteReader<T, 2, false> {
309 class ByteReader<T, 4, false> {
345 class ByteReader<T, 8, false> {
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dvoip_metric.cc48 RTC_DCHECK(ByteReader<uint16_t>::ReadBigEndian(&buffer[2]) == kBlockLength); in Parse()
49 ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[4]); in Parse()
54 voip_metric_.burstDuration = ByteReader<uint16_t>::ReadBigEndian(&buffer[12]); in Parse()
55 voip_metric_.gapDuration = ByteReader<uint16_t>::ReadBigEndian(&buffer[14]); in Parse()
57 ByteReader<uint16_t>::ReadBigEndian(&buffer[16]); in Parse()
59 ByteReader<uint16_t>::ReadBigEndian(&buffer[18]); in Parse()
70 voip_metric_.JBnominal = ByteReader<uint16_t>::ReadBigEndian(&buffer[30]); in Parse()
71 voip_metric_.JBmax = ByteReader<uint16_t>::ReadBigEndian(&buffer[32]); in Parse()
72 voip_metric_.JBabsMax = ByteReader<uint16_t>::ReadBigEndian(&buffer[34]); in Parse()
Dreport_block.cc55 source_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[0]); in Parse()
57 cumulative_lost_ = ByteReader<uint32_t, 3>::ReadBigEndian(&buffer[5]); in Parse()
58 extended_high_seq_num_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[8]); in Parse()
59 jitter_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[12]); in Parse()
60 last_sr_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[16]); in Parse()
61 delay_since_last_sr_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[20]); in Parse()
Ddlrr.cc39 ByteReader<uint16_t>::ReadBigEndian(&buffer[2])); in Parse()
49 sub_block.ssrc = ByteReader<uint32_t>::ReadBigEndian(&read_at[0]); in Parse()
50 sub_block.last_rr = ByteReader<uint32_t>::ReadBigEndian(&read_at[4]); in Parse()
52 ByteReader<uint32_t>::ReadBigEndian(&read_at[8]); in Parse()
Drrtr.cc33 RTC_DCHECK(ByteReader<uint16_t>::ReadBigEndian(&buffer[2]) == kBlockLength); in Parse()
34 uint32_t seconds = ByteReader<uint32_t>::ReadBigEndian(&buffer[4]); in Parse()
35 uint32_t fraction = ByteReader<uint32_t>::ReadBigEndian(&buffer[8]); in Parse()
Drtpfb.cc35 sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[0]); in ParseCommonFeedback()
36 media_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in ParseCommonFeedback()
Dpsfb.cc35 sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[0]); in ParseCommonFeedback()
36 media_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in ParseCommonFeedback()
Dapp.cc39 ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[0]); in Parse()
40 name_ = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in Parse()
Dtransport_feedback.cc683 packet->packet_sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[4]); in ParseFrom()
684 packet->media_source_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&buffer[8]); in ParseFrom()
685 packet->base_seq_ = ByteReader<uint16_t>::ReadBigEndian(&buffer[12]); in ParseFrom()
686 uint16_t num_packets = ByteReader<uint16_t>::ReadBigEndian(&buffer[14]); in ParseFrom()
687 packet->base_time_ = ByteReader<int32_t, 3>::ReadBigEndian(&buffer[16]); in ParseFrom()
735 ByteReader<int16_t>::ReadBigEndian(&buffer[index])); in ParseFrom()
Dbye.cc60 sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(payload); in Parse()
63 csrcs_[i - 1] = ByteReader<uint32_t>::ReadBigEndian(&payload[4 * i]); in Parse()
Ddlrr_unittest.cc48 uint16_t block_length = ByteReader<uint16_t>::ReadBigEndian(&kBlock[2]); in TEST()
95 uint16_t block_length = ByteReader<uint16_t>::ReadBigEndian(&buffer[2]); in TEST()
Dnack.cc66 packed_[index].first_pid = ByteReader<uint16_t>::ReadBigEndian(next_nack); in Parse()
67 packed_[index].bitmask = ByteReader<uint16_t>::ReadBigEndian(next_nack + 2); in Parse()
/external/turbine/java/com/google/turbine/bytecode/
DConstantPoolReader.java47 private final ByteReader byteReader;
49 private ConstantPoolReader(int[] constantPool, ByteReader byteReader) { in ConstantPoolReader()
58 public static ConstantPoolReader readConstantPool(ByteReader reader) { in readConstantPool()
69 private static int skipConstantPool(ByteReader reader) { in skipConstantPool()
DByteReader.java26 public class ByteReader { class
32 public ByteReader(byte[] bytes, int pos) { in ByteReader() method in ByteReader
/external/webrtc/webrtc/call/
Drtc_event_log2rtp_dump.cc136 webrtc::ByteReader<uint32_t>::ReadBigEndian( in main()
176 webrtc::ByteReader<uint32_t>::ReadBigEndian( in main()
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc209 explicit DumperLineToModule(dwarf2reader::ByteReader *byte_reader) in DumperLineToModule()
222 dwarf2reader::ByteReader *byte_reader_;
235 dwarf2reader::ByteReader byte_reader(endianness); in LoadDwarf()
346 dwarf2reader::ByteReader byte_reader(endianness); in LoadDwarfCFI()
471 dwarf2reader::ByteReader byte_reader(endianness); in ReadDebugLink()

12