Lines Matching full:cursor
25 uint64_t value = de.getULEB128(cursor); in parseStringAttribute()
39 uint64_t value = de.getULEB128(cursor); in integerAttribute()
55 StringRef desc = de.getCStrRef(cursor); in stringAttribute()
87 uint64_t value = de.getULEB128(cursor); in parseIndexList()
88 if (!cursor || !value) in parseIndexList()
96 uint64_t end = cursor.tell() + length; in parseAttributeList()
97 while ((pos = cursor.tell()) < end) { in parseAttributeList()
98 uint64_t tag = de.getULEB128(cursor); in parseAttributeList()
123 uint64_t end = cursor.tell() - sizeof(length) + length; in parseSubsection()
124 StringRef vendorName = de.getCStrRef(cursor); in parseSubsection()
135 cursor.seek(end); in parseSubsection()
139 while (cursor.tell() < end) { in parseSubsection()
141 uint8_t tag = de.getU8(cursor); in parseSubsection()
142 uint32_t size = de.getU32(cursor); in parseSubsection()
143 if (!cursor) in parseSubsection()
144 return cursor.takeError(); in parseSubsection()
154 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
176 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
197 // cursor. in parse()
199 DataExtractor::Cursor &cursor; in parse() member
200 ~ClearCursorError() { consumeError(cursor.takeError()); } in parse()
201 } clear{cursor}; in parse()
204 uint8_t formatVersion = de.getU8(cursor); in parse()
210 while (!de.eof(cursor)) { in parse()
211 uint32_t sectionLength = de.getU32(cursor); in parse()
212 if (!cursor) in parse()
213 return cursor.takeError(); in parse()
220 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size()) in parse()
224 utohexstr(cursor.tell() - 4)); in parse()
234 return cursor.takeError(); in parse()