Searched refs:currOffset (Results 1 – 6 of 6) sorted by relevance
83 auto currOffset = spirv::kHeaderWordCount; in findInstruction() local85 while (currOffset < binarySize) { in findInstruction()86 auto wordCount = binary[currOffset] >> 16; in findInstruction()87 if (!wordCount || (currOffset + wordCount > binarySize)) { in findInstruction()91 static_cast<spirv::Opcode>(binary[currOffset] & 0xffff); in findInstruction()94 llvm::ArrayRef<uint32_t>(begin + currOffset + 1, in findInstruction()95 begin + currOffset + wordCount))) { in findInstruction()98 currOffset += wordCount; in findInstruction()
237 uint32_t currOffset; in initAliasData() local271 …currOffset = tableStart * (sizeof(uint32_t)/sizeof(uint16_t)) + (sizeof(uint32_t)/sizeof(uint16_t)… in initAliasData()272 gMainTable.converterList = table + currOffset; in initAliasData()274 currOffset += gMainTable.converterListSize; in initAliasData()275 gMainTable.tagList = table + currOffset; in initAliasData()277 currOffset += gMainTable.tagListSize; in initAliasData()278 gMainTable.aliasList = table + currOffset; in initAliasData()280 currOffset += gMainTable.aliasListSize; in initAliasData()281 gMainTable.untaggedConvArray = table + currOffset; in initAliasData()283 currOffset += gMainTable.untaggedConvArraySize; in initAliasData()[all …]
183 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local184 if (currOffset < Offset) in ZeroToOffset()185 ZeroFillBytes(OS, Offset - currOffset); in ZeroToOffset()235 auto currOffset = OS.tell() - fileStart; in writeSectionData() local246 if (currOffset < segOff) { in writeSectionData()247 ZeroFillBytes(OS, segOff - currOffset); in writeSectionData()257 currOffset = OS.tell() - fileStart; in writeSectionData()258 if (currOffset < Sec.offset) { in writeSectionData()259 ZeroFillBytes(OS, Sec.offset - currOffset); in writeSectionData()525 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local[all …]
203 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local204 if (currOffset < Offset) in ZeroToOffset()205 ZeroFillBytes(OS, Offset - currOffset); in ZeroToOffset()564 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local565 if (currOffset < Offset) in ZeroToOffset()566 ZeroFillBytes(OS, Offset - currOffset); in ZeroToOffset()
214 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local215 if (currOffset < Offset) in ZeroToOffset()216 ZeroFillBytes(OS, Offset - currOffset); in ZeroToOffset()627 auto currOffset = OS.tell() - fileStart; in ZeroToOffset() local628 if (currOffset < Offset) in ZeroToOffset()629 ZeroFillBytes(OS, Offset - currOffset); in ZeroToOffset()
62 currOffset = pos89 if currOffset == offsetValue: