Lines Matching refs:cursor

28   uint64_t value = de.getULEB128(cursor);  in parseStringAttribute()
42 uint64_t value = de.getULEB128(cursor); in integerAttribute()
58 StringRef desc = de.getCStrRef(cursor); in stringAttribute()
90 uint64_t value = de.getULEB128(cursor); in parseIndexList()
91 if (!cursor || !value) in parseIndexList()
99 uint64_t end = cursor.tell() + length; in parseAttributeList()
100 while ((pos = cursor.tell()) < end) { in parseAttributeList()
101 uint64_t tag = de.getULEB128(cursor); in parseAttributeList()
126 uint64_t end = cursor.tell() - sizeof(length) + length; in parseSubsection()
127 StringRef vendorName = de.getCStrRef(cursor); in parseSubsection()
138 cursor.seek(end); in parseSubsection()
142 while (cursor.tell() < end) { in parseSubsection()
144 uint8_t tag = de.getU8(cursor); in parseSubsection()
145 uint32_t size = de.getU32(cursor); in parseSubsection()
146 if (!cursor) in parseSubsection()
147 return cursor.takeError(); in parseSubsection()
157 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
179 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
202 DataExtractor::Cursor &cursor; in parse() member
203 ~ClearCursorError() { consumeError(cursor.takeError()); } in parse()
204 } clear{cursor}; in parse()
207 uint8_t formatVersion = de.getU8(cursor); in parse()
213 while (!de.eof(cursor)) { in parse()
214 uint32_t sectionLength = de.getU32(cursor); in parse()
215 if (!cursor) in parse()
216 return cursor.takeError(); in parse()
223 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size()) in parse()
227 utohexstr(cursor.tell() - 4)); in parse()
237 return cursor.takeError(); in parse()