Home
last modified time | relevance | path

Searched refs:num_words (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp73 spv_result_t parse(const uint32_t* words, size_t num_words,
142 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
153 assert(index < _.num_words); in peekAt()
177 num_words(num_words_arg), in State()
191 size_t num_words; // Number of words in the module. member
216 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument
218 _ = State(words, num_words, diagnostic_arg); in parse()
231 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule()
232 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule()
236 spv_const_binary_t binary{_.words, _.num_words}; in parseModule()
[all …]
Dparsed_operand.cpp28 assert(1 <= operand.num_words); in EmitNumericLiteral()
29 assert(operand.num_words <= 2); in EmitNumericLiteral()
32 if (operand.num_words == 1) { in EmitNumericLiteral()
52 } else if (operand.num_words == 2) { in EmitNumericLiteral()
Dvalidate.cpp238 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument
241 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
260 spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
266 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
343 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument
358 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
385 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument
396 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
Dvalidate_instruction.cpp241 for (size_t word_i = 2; word_i < inst->num_words; ++word_i) { in LimitCheckStruct()
318 if (inst->num_words > 3) { in RegisterDecorations()
320 inst->words + inst->num_words); in RegisterDecorations()
330 if (inst->num_words > 4) { in RegisterDecorations()
332 inst->words + inst->num_words); in RegisterDecorations()
349 for (int i = 2; i < inst->num_words; ++i) { in RegisterDecorations()
365 for (int i = 2; i + 1 < inst->num_words; i = i + 2) { in RegisterDecorations()
/third_party/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp84 spv_result_t parse(const uint32_t* words, size_t num_words,
154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
165 assert(index < _.num_words); in peekAt()
189 num_words(num_words_arg), in State()
203 size_t num_words; // Number of words in the module. member
229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument
231 _ = State(words, num_words, diagnostic_arg); in parse()
244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule()
245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule()
249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule()
[all …]
Dparsed_operand.cpp29 if (operand.num_words < 1) return; in EmitNumericLiteral()
31 if (operand.num_words > 2) return; in EmitNumericLiteral()
34 if (operand.num_words == 1) { in EmitNumericLiteral()
54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/spirv-tools/source/
Dbinary.cpp84 spv_result_t parse(const uint32_t* words, size_t num_words,
154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
165 assert(index < _.num_words); in peekAt()
189 num_words(num_words_arg), in State()
203 size_t num_words; // Number of words in the module. member
229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument
231 _ = State(words, num_words, diagnostic_arg); in parse()
244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule()
245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule()
249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule()
[all …]
Dparsed_operand.cpp29 if (operand.num_words < 1) return; in EmitNumericLiteral()
31 if (operand.num_words > 2) return; in EmitNumericLiteral()
34 if (operand.num_words == 1) { in EmitNumericLiteral()
54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp84 spv_result_t parse(const uint32_t* words, size_t num_words,
154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic()
165 assert(index < _.num_words); in peekAt()
189 num_words(num_words_arg), in State()
203 size_t num_words; // Number of words in the module. member
229 spv_result_t Parser::parse(const uint32_t* words, size_t num_words, in parse() argument
231 _ = State(words, num_words, diagnostic_arg); in parse()
244 if (_.num_words < SPV_INDEX_INSTRUCTION) in parseModule()
245 return diagnostic() << "Module has incomplete header: only " << _.num_words in parseModule()
249 spv_const_binary_t binary{_.words, _.num_words}; in parseModule()
[all …]
Dparsed_operand.cpp29 if (operand.num_words < 1) return; in EmitNumericLiteral()
31 if (operand.num_words > 2) return; in EmitNumericLiteral()
34 if (operand.num_words == 1) { in EmitNumericLiteral()
54 } else if (operand.num_words == 2) { in EmitNumericLiteral()
/third_party/spirv-tools/source/val/
Dvalidate.cpp156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument
159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument
390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
407 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument
420 words, num_words, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
Dinstruction.cpp23 : words_(inst->words, inst->words + inst->num_words), in Instruction()
25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate.cpp156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument
159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument
390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
407 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument
420 words, num_words, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
Dinstruction.cpp23 : words_(inst->words, inst->words + inst->num_words), in Instruction()
25 inst_({words_.data(), inst->num_words, inst->opcode, inst->ext_inst_type, in Instruction()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate.cpp156 const spv_context_t& context, const uint32_t* words, const size_t num_words, in ValidateBinaryUsingContextAndValidationState() argument
159 new spv_const_binary_t{words, num_words}); in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
381 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument
390 num_words, kDefaultMaxNumOfWarnings)); in ValidateBinaryAndKeepValidationState()
393 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
407 const uint32_t* words, const size_t num_words, in spvValidateBinary() argument
420 words, num_words, in spvValidateBinary()
425 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
Dinstruction.h104 assert(o.num_words * 4 >= sizeof(T)); in GetOperandAs()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
/third_party/openssl/crypto/bn/
Dbn_intern.c188 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words() argument
190 if (bn_wexpand(a, num_words) == NULL) { in bn_set_words()
195 memcpy(a->d, words, sizeof(BN_ULONG) * num_words); in bn_set_words()
196 a->top = num_words; in bn_set_words()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h83 assert(operand.num_words * 4 >= sizeof(T)); in GetOperandAs()
84 assert(operand.offset + operand.num_words <= inst_.num_words); in GetOperandAs()
/third_party/skia/third_party/externals/spirv-tools/tools/cfg/
Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot() argument
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinstruction.cpp36 inst.words + current_payload.offset + current_payload.num_words); in Instruction()
86 const uint32_t num_words = 1 + NumOperandWords(); in ToBinaryWithoutAttachedDebugInsts() local
87 binary->push_back((num_words << 16) | static_cast<uint16_t>(opcode_)); in ToBinaryWithoutAttachedDebugInsts()
/third_party/spirv-tools/tools/cfg/
Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot() argument
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/cfg/
Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot() argument
177 spvtools::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()
/third_party/flutter/skia/third_party/externals/spirv-tools/tools/cfg/
Dbin_to_dot.cpp169 size_t num_words, std::iostream* out, in BinaryToDot() argument
177 libspirv::FriendlyNameMapper friendly_mapper(context, words, num_words); in BinaryToDot()
180 if (auto error = spvBinaryParse(context, &converter, words, num_words, in BinaryToDot()

12345