Lines Matching refs:word_index

154                         << ((_.word_index < _.num_words) ? ": truncated "  in exhaustedInputDiagnostic()
157 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic()
161 uint32_t peek() const { return peekAt(_.word_index); } in peek()
191 word_index(0), in State()
205 size_t word_index; // The current position in words. member
273 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule()
274 while (_.word_index < _.num_words) in parseModule()
278 assert(_.word_index == _.num_words); in parseModule()
302 assert(_.word_index < _.num_words); in parseInstruction()
316 const size_t inst_offset = _.word_index; in parseInstruction()
317 _.word_index++; in parseInstruction()
331 while (_.word_index < inst_offset + inst_word_count) { in parseInstruction()
332 const uint16_t inst_word_index = uint16_t(_.word_index - inst_offset); in parseInstruction()
360 if ((inst_offset + inst_word_count) != _.word_index) { in parseInstruction()
364 << " words, but found " << _.word_index - inst_offset in parseInstruction()
414 parsed_operand.offset = uint16_t(_.word_index - inst_offset); in parseOperand()
428 if (_.word_index >= _.num_words) in parseOperand()
581 reinterpret_cast<const char*>(_.words + _.word_index); in parseOperand()
585 sizeof(uint32_t) * (_.num_words - _.word_index); in parseOperand()
731 const size_t index_after_operand = _.word_index + parsed_operand.num_words; in parseOperand()
744 std::transform(_.words + _.word_index, _.words + index_after_operand, in parseOperand()
750 words->insert(words->end(), _.words + _.word_index, in parseOperand()
756 _.word_index = index_after_operand; in parseOperand()