Home
last modified time | relevance | path

Searched refs:word_index (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp125 return libspirv::DiagnosticStream({0, 0, _.word_index}, consumer_, error); in diagnostic()
142 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
145 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic()
149 uint32_t peek() const { return peekAt(_.word_index); } in peek()
179 word_index(0), in State()
193 size_t word_index; // The current position in words. member
260 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule()
261 while (_.word_index < _.num_words) in parseModule()
265 assert(_.word_index == _.num_words); in parseModule()
287 assert(_.word_index < _.num_words); in parseInstruction()
[all …]
/third_party/spirv-tools/source/
Dbinary.cpp164 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
167 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic()
171 uint32_t peek() const { return peekAt(_.word_index); } in peek()
201 word_index(0), in State()
215 size_t word_index; // The current position in words. member
283 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule()
284 while (_.word_index < _.num_words) in parseModule()
288 assert(_.word_index == _.num_words); in parseModule()
312 assert(_.word_index < _.num_words); in parseInstruction()
326 const size_t inst_offset = _.word_index; in parseInstruction()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp154 << ((_.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()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp154 << ((_.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()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp82 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument
84 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo()
107 const Instruction* inst, uint32_t word_index, in ValidateUint32ConstantOperandForDebugInfo() argument
109 if (!IsUint32Constant(_, inst->word(word_index))) { in ValidateUint32ConstantOperandForDebugInfo()
137 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument
138 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation()
139 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation()
155 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument
156 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation()
157 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation()
[all …]
Dvalidate_composites.cpp40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local
42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType()
43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType()
64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType()
65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
Dvalidate_image.cpp247 uint32_t word_index) { in ValidateImageOperands() argument
254 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands()
255 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands()
272 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands()
277 } else if (num_words != word_index - 1) { in ValidateImageOperands()
315 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
345 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
376 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
377 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
410 const uint32_t id = inst->word(word_index++); in ValidateImageOperands()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp82 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument
84 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo()
107 const Instruction* inst, uint32_t word_index, in ValidateUint32ConstantOperandForDebugInfo() argument
109 if (!IsUint32Constant(_, inst->word(word_index))) { in ValidateUint32ConstantOperandForDebugInfo()
137 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument
138 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation()
139 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation()
156 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
161 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand()
188 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument
[all …]
Dvalidate_image.cpp245 uint32_t word_index) { in ValidateImageOperands() argument
252 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands()
253 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands()
269 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands()
274 } else if (num_words != word_index - 1) { in ValidateImageOperands()
312 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
342 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
373 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
374 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
407 const uint32_t id = inst->word(word_index++); in ValidateImageOperands()
[all …]
Dvalidate_composites.cpp40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local
42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType()
43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType()
64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType()
65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp82 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument
84 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo()
107 const Instruction* inst, uint32_t word_index, in ValidateUint32ConstantOperandForDebugInfo() argument
109 if (!IsUint32Constant(_, inst->word(word_index))) { in ValidateUint32ConstantOperandForDebugInfo()
137 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument
138 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation()
139 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation()
156 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument
161 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand()
188 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument
[all …]
Dvalidate_image.cpp245 uint32_t word_index) { in ValidateImageOperands() argument
252 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands()
253 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands()
269 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands()
274 } else if (num_words != word_index - 1) { in ValidateImageOperands()
312 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
342 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
373 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
374 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands()
407 const uint32_t id = inst->word(word_index++); in ValidateImageOperands()
[all …]
Dvalidate_composites.cpp40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local
42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType()
43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType()
64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType()
65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.cc703 size_t word_index = 0; in Layout() local
964 if (word_index < words.size()) { in Layout()
966 words[word_index].start == run.start() + glyph_code_units.start; in Layout()
968 words[word_index].end == run.start() + glyph_code_units.end; in Layout()
982 word_index++; in Layout()
/third_party/flutter/txt/src/txt/
Dparagraph_txt.cc720 size_t word_index = 0; in Layout() local
996 if (word_index < words.size()) { in Layout()
998 words[word_index].start == run.start() + glyph_code_units.start; in Layout()
1000 words[word_index].end == run.start() + glyph_code_units.end; in Layout()
1014 word_index++; in Layout()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeS390X.c383 const sljit_uw word_index = x >> 6; in have_facility_dynamic() local
400 return (cpu_features.bits[word_index] & bit_index) != 0; in have_facility_dynamic()