Lines Matching refs: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 while (cursor.tell() < end) { in parseSubsection()
137 uint8_t tag = de.getU8(cursor); in parseSubsection()
138 uint32_t size = de.getU32(cursor); in parseSubsection()
139 if (!cursor) in parseSubsection()
140 return cursor.takeError(); in parseSubsection()
150 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
172 Twine::utohexstr(cursor.tell() - 5)); in parseSubsection()
195 DataExtractor::Cursor &cursor; in parse() member
196 ~ClearCursorError() { consumeError(cursor.takeError()); } in parse()
197 } clear{cursor}; in parse()
200 uint8_t formatVersion = de.getU8(cursor); in parse()
206 while (!de.eof(cursor)) { in parse()
207 uint32_t sectionLength = de.getU32(cursor); in parse()
208 if (!cursor) in parse()
209 return cursor.takeError(); in parse()
216 if (sectionLength < 4 || cursor.tell() - 4 + sectionLength > section.size()) in parse()
220 utohexstr(cursor.tell() - 4)); in parse()
230 return cursor.takeError(); in parse()