Lines Matching refs:offset_ptr
17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, in getU() argument
20 uint32_t offset = *offset_ptr; in getU()
27 *offset_ptr += sizeof(val); in getU()
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, in getUs() argument
35 uint32_t offset = *offset_ptr; in getUs()
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
42 *offset_ptr = offset; in getUs()
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { in getU8()
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8() argument
56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8()
61 uint16_t DataExtractor::getU16(uint32_t *offset_ptr) const { in getU16()
62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU16()
65 uint16_t *DataExtractor::getU16(uint32_t *offset_ptr, uint16_t *dst, in getU16() argument
67 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16()
71 uint32_t DataExtractor::getU24(uint32_t *offset_ptr) const { in getU24()
73 getU<uint24_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU24()
78 uint32_t DataExtractor::getU32(uint32_t *offset_ptr) const { in getU32()
79 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU32()
82 uint32_t *DataExtractor::getU32(uint32_t *offset_ptr, uint32_t *dst, in getU32() argument
84 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32()
88 uint64_t DataExtractor::getU64(uint32_t *offset_ptr) const { in getU64()
89 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU64()
92 uint64_t *DataExtractor::getU64(uint32_t *offset_ptr, uint64_t *dst, in getU64() argument
94 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
99 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned() argument
102 return getU8(offset_ptr); in getUnsigned()
104 return getU16(offset_ptr); in getUnsigned()
106 return getU32(offset_ptr); in getUnsigned()
108 return getU64(offset_ptr); in getUnsigned()
114 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() argument
117 return (int8_t)getU8(offset_ptr); in getSigned()
119 return (int16_t)getU16(offset_ptr); in getSigned()
121 return (int32_t)getU32(offset_ptr); in getSigned()
123 return (int64_t)getU64(offset_ptr); in getSigned()
128 const char *DataExtractor::getCStr(uint32_t *offset_ptr) const { in getCStr()
129 uint32_t offset = *offset_ptr; in getCStr()
132 *offset_ptr = pos + 1; in getCStr()
148 uint64_t DataExtractor::getULEB128(uint32_t *offset_ptr) const { in getULEB128()
154 uint32_t offset = *offset_ptr; in getULEB128()
165 *offset_ptr = offset; in getULEB128()
169 int64_t DataExtractor::getSLEB128(uint32_t *offset_ptr) const { in getSLEB128()
175 uint32_t offset = *offset_ptr; in getSLEB128()
190 *offset_ptr = offset; in getSLEB128()