Lines Matching refs:cursor

27   uint64_t value = de.getULEB128(cursor);  in parseStringAttribute()
41 uint64_t value = de.getULEB128(cursor); in integerAttribute()
57 StringRef desc = de.getCStrRef(cursor); in stringAttribute()
89 uint64_t value = de.getULEB128(cursor); in parseIndexList()
90 if (!cursor || !value) in parseIndexList()
98 uint64_t end = cursor.tell() + length; in parseAttributeList()
99 while ((pos = cursor.tell()) < end) { in parseAttributeList()
100 uint64_t tag = de.getULEB128(cursor); in parseAttributeList()
125 uint64_t end = cursor.tell() - sizeof(length) + length; in parseSubsection()
126 StringRef vendorName = de.getCStrRef(cursor); in parseSubsection()
137 while (cursor.tell() < end) { in parseSubsection()
139 uint8_t tag = de.getU8(cursor); in parseSubsection()
140 uint32_t size = de.getU32(cursor); in parseSubsection()
141 if (!cursor) in parseSubsection()
142 return cursor.takeError(); in parseSubsection()
152 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
174 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
197 DataExtractor::Cursor &cursor; in parse() member
198 ~ClearCursorError() { consumeError(cursor.takeError()); } in parse()
199 } clear{cursor}; in parse()
202 uint8_t formatVersion = de.getU8(cursor); in parse()
208 while (!de.eof(cursor)) { in parse()
209 uint32_t sectionLength = de.getU32(cursor); in parse()
210 if (!cursor) in parse()
211 return cursor.takeError(); in parse()
218 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size()) in parse()
222 utohexstr(cursor.tell() - 4)); in parse()
232 return cursor.takeError(); in parse()