Lines Matching refs:OffsetPtr
102 uint32_t DataExtractor::getU24(uint64_t *OffsetPtr, Error *Err) const { in getU24() argument
103 uint24_t ExtractedVal = getU<uint24_t>(OffsetPtr, Err); in getU24()
156 StringRef DataExtractor::getCStrRef(uint64_t *OffsetPtr, Error *Err) const { in getCStrRef() argument
161 uint64_t Start = *OffsetPtr; in getCStrRef()
164 *OffsetPtr = Pos + 1; in getCStrRef()
174 StringRef DataExtractor::getFixedLengthString(uint64_t *OffsetPtr, in getFixedLengthString() argument
177 StringRef Bytes(getBytes(OffsetPtr, Length)); in getFixedLengthString()
181 StringRef DataExtractor::getBytes(uint64_t *OffsetPtr, uint64_t Length, in getBytes() argument
187 if (!prepareRead(*OffsetPtr, Length, Err)) in getBytes()
190 StringRef Result = Data.substr(*OffsetPtr, Length); in getBytes()
191 *OffsetPtr += Length; in getBytes()
196 static T getLEB128(StringRef Data, uint64_t *OffsetPtr, Error *Err, in getLEB128() argument
200 assert(*OffsetPtr <= Bytes.size()); in getLEB128()
208 Decoder(Bytes.data() + *OffsetPtr, &bytes_read, Bytes.end(), &error); in getLEB128()
214 *OffsetPtr, error); in getLEB128()
217 *OffsetPtr += bytes_read; in getLEB128()