Home
last modified time | relevance | path

Searched refs:BigEndianReader (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/
Dbig_endian.cc11 BigEndianReader::BigEndianReader(const char* buf, size_t len) in BigEndianReader() function in base::BigEndianReader
14 bool BigEndianReader::Skip(size_t len) { in Skip()
21 bool BigEndianReader::ReadBytes(void* out, size_t len) { in ReadBytes()
29 bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { in ReadPiece()
38 bool BigEndianReader::Read(T* value) { in Read()
46 bool BigEndianReader::ReadU8(uint8_t* value) { in ReadU8()
50 bool BigEndianReader::ReadU16(uint16_t* value) { in ReadU16()
54 bool BigEndianReader::ReadU32(uint32_t* value) { in ReadU32()
58 bool BigEndianReader::ReadU64(uint64_t* value) { in ReadU64()
Dbig_endian.h54 class BASE_EXPORT BigEndianReader {
56 BigEndianReader(const char* buf, size_t len);
Dbig_endian_unittest.cc23 BigEndianReader reader(data, sizeof(data)); in TEST()
53 BigEndianReader reader(data, sizeof(data)); in TEST()
/external/openscreen/util/
Dbig_endian.cc9 BigEndianReader::BigEndianReader(const uint8_t* buffer, size_t length) in BigEndianReader() function in openscreen::BigEndianReader
12 bool BigEndianReader::Read(size_t length, void* out) { in Read()
Dbig_endian_unittest.cc103 BigEndianReader reader(data, sizeof(data)); in TEST()
115 BigEndianReader reader(data, sizeof(data)); in TEST()
129 BigEndianReader reader(data, sizeof(data)); in TEST()
145 BigEndianReader reader(data, 0); in TEST()
160 BigEndianReader reader(data, sizeof(data)); in TEST()
193 BigEndianReader reader(data, sizeof(data)); in TEST()
232 BigEndianReader reader(data, sizeof(data)); in TEST()
235 BigEndianReader::Cursor cursor(&reader); in TEST()
271 BigEndianReader reader(data, sizeof(data)); in TEST()
274 BigEndianReader::Cursor cursor(&reader); in TEST()
Dbig_endian.h198 class BigEndianReader : public BigEndianBuffer<const uint8_t> {
200 BigEndianReader(const uint8_t* buffer, size_t length);
/external/openscreen/discovery/mdns/
Dmdns_reader.h20 class MdnsReader : public BigEndianReader {
24 using BigEndianReader::Read;
Dmdns_reader.cc34 : BigEndianReader(buffer, length), in MdnsReader()