Home
last modified time | relevance | path

Searched refs:vstate (Results 1 – 25 of 29) sorted by relevance

12

/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument
82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar()
90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
100 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument
101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute()
112 ValidationState_t& vstate) { in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
[all …]
Dvalidate.cpp157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument
186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState()
190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState()
233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
246 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState()
255 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState()
256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState()
[all …]
Dvalidate.h237 std::unique_ptr<ValidationState_t>* vstate);
Dvalidation_state.cpp116 ValidationState_t& vstate = in setHeader() local
118 vstate.setIdBound(id_bound); in setHeader()
119 vstate.setGenerator(generator); in setHeader()
120 vstate.setVersion(version); in setHeader()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument
82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar()
90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
100 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument
101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute()
112 ValidationState_t& vstate) { in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
[all …]
Dvalidate.cpp157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument
186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState()
190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState()
233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
246 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState()
255 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState()
256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState()
[all …]
Dvalidate.h237 std::unique_ptr<ValidationState_t>* vstate);
Dvalidation_state.cpp116 ValidationState_t& vstate = in setHeader() local
118 vstate.setIdBound(id_bound); in setHeader()
119 vstate.setGenerator(generator); in setHeader()
120 vstate.setVersion(version); in setHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
81 bool isBuiltInVar(uint32_t var_id, ValidationState_t& vstate) { in isBuiltInVar() argument
82 const auto& decorations = vstate.id_decorations(var_id); in isBuiltInVar()
90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
100 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument
101 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute()
112 ValidationState_t& vstate) { in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
[all …]
Dvalidate.cpp157 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument
186 if (header.bound > vstate->options()->universal_limits_.max_id_bound) { in ValidateBinaryUsingContextAndValidationState()
190 << vstate->options()->universal_limits_.max_id_bound << "."; in ValidateBinaryUsingContextAndValidationState()
200 spvBinaryParse(&hijacked_context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
206 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState()
233 vstate->RegisterEntryPoint(entry_point, execution_model, in ValidateBinaryUsingContextAndValidationState()
246 return vstate->diag(SPV_ERROR_INVALID_DATA, inst) in ValidateBinaryUsingContextAndValidationState()
255 if (!vstate->in_function_body()) { in ValidateBinaryUsingContextAndValidationState()
256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState()
[all …]
Dvalidate.h237 std::unique_ptr<ValidationState_t>* vstate);
Dvalidation_state.cpp116 ValidationState_t& vstate = in setHeader() local
118 vstate.setIdBound(id_bound); in setHeader()
119 vstate.setGenerator(generator); in setHeader()
120 vstate.setVersion(version); in setHeader()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_decorations.cpp33 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
34 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
43 bool hasImportLinkageAttribute(uint32_t id, ValidationState_t& vstate) { in hasImportLinkageAttribute() argument
44 const auto& decorations = vstate.id_decorations(id); in hasImportLinkageAttribute()
53 spv_result_t CheckLinkageAttrOfFunctions(ValidationState_t& vstate) { in CheckLinkageAttrOfFunctions() argument
54 for (const auto& function : vstate.functions()) { in CheckLinkageAttrOfFunctions()
58 if (!hasImportLinkageAttribute(function.id(), vstate)) { in CheckLinkageAttrOfFunctions()
59 return vstate.diag(SPV_ERROR_INVALID_BINARY) in CheckLinkageAttrOfFunctions()
65 if (hasImportLinkageAttribute(function.id(), vstate)) { in CheckLinkageAttrOfFunctions()
66 return vstate.diag(SPV_ERROR_INVALID_BINARY) in CheckLinkageAttrOfFunctions()
[all …]
Dvalidate.cpp239 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument
260 spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
266 if (auto error = spvBinaryParse(&context, vstate, words, num_words, in ValidateBinaryUsingContextAndValidationState()
270 if (vstate->in_function_body()) in ValidateBinaryUsingContextAndValidationState()
271 return vstate->diag(SPV_ERROR_INVALID_LAYOUT) in ValidateBinaryUsingContextAndValidationState()
277 if (vstate->unresolved_forward_id_count() > 0) { in ValidateBinaryUsingContextAndValidationState()
279 vector<uint32_t> ids = vstate->UnresolvedForwardIds(); in ValidateBinaryUsingContextAndValidationState()
282 bind(&ValidationState_t::getIdName, std::ref(*vstate), _1)); in ValidateBinaryUsingContextAndValidationState()
285 return vstate->diag(SPV_ERROR_INVALID_ID) in ValidateBinaryUsingContextAndValidationState()
292 if (auto error = PerformCfgChecks(*vstate)) return error; in ValidateBinaryUsingContextAndValidationState()
[all …]
Dvalidate.h166 std::unique_ptr<libspirv::ValidationState_t>* vstate);
171 libspirv::ValidationState_t* vstate, const spv_parsed_instruction_t* inst);
Dvalidate_id.cpp410 ValidationState_t& vstate = const_cast<ValidationState_t&>(module_); in isValid() local
455 for (auto decoration : vstate.id_decorations(struct_id)) { in isValid()
473 vstate.RegisterStructTypeWithBuiltInMember(struct_id); in isValid()
/third_party/toybox/toys/pending/
Dopenvt.c79 struct vt_stat vstate; in openvt_main() local
85 if (!ioctl(fd, VT_GETSTATE, &vstate)) { in openvt_main()
93 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
100 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
127 ioctl(fd, VT_ACTIVATE, vstate.v_active); in openvt_main()
128 ioctl(fd, VT_WAITACTIVE, vstate.v_active); in openvt_main()
/third_party/libxml2/
Dvalid.c297 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr]; in vstateVPush()
331 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr - 1]; in vstateVPop()
333 ctxt->vstate = NULL; in vstateVPop()
361 #define CONT ctxt->vstate->cont
362 #define NODE ctxt->vstate->node
363 #define DEPTH ctxt->vstate->depth
364 #define OCCURS ctxt->vstate->occurs
365 #define STATE ctxt->vstate->state
367 #define OCCURRENCE (ctxt->vstate->occurs & (1 << DEPTH))
368 #define PARENT_OCCURRENCE (ctxt->vstate->occurs & ((1 << DEPTH) - 1))
[all …]
/third_party/gettext/gnulib-local/lib/libxml/
Dvalid.c326 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr]; in vstateVPush()
360 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr - 1]; in vstateVPop()
362 ctxt->vstate = NULL; in vstateVPop()
390 #define CONT ctxt->vstate->cont
391 #define NODE ctxt->vstate->node
392 #define DEPTH ctxt->vstate->depth
393 #define OCCURS ctxt->vstate->occurs
394 #define STATE ctxt->vstate->state
396 #define OCCURRENCE (ctxt->vstate->occurs & (1 << DEPTH))
397 #define PARENT_OCCURRENCE (ctxt->vstate->occurs & ((1 << DEPTH) - 1))
[all …]
Dvalid.in.h126 xmlValidState *vstate; /* current state */ member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.cpp1765 struct si_vertex_state *vstate = (struct si_vertex_state *)state; in si_upload_and_prefetch_VB_descriptors() local
1780 vstate->velems.vb_desc_list_alloc_size : in si_upload_and_prefetch_VB_descriptors()
1820 radeon_emit_array(&vstate->descriptors[velem_index * 4], 4); in si_upload_and_prefetch_VB_descriptors()
1829 memcpy(desc, &vstate->descriptors[velem_index * 4], 16); in si_upload_and_prefetch_VB_descriptors()
1832 if (vstate->b.input.vbuffer.buffer.resource != vstate->b.input.indexbuf) { in si_upload_and_prefetch_VB_descriptors()
1834 si_resource(vstate->b.input.vbuffer.buffer.resource), in si_upload_and_prefetch_VB_descriptors()
2118 struct si_vertex_state *vstate = (struct si_vertex_state *)state; in si_draw() local
2121 (IS_DRAW_VERTEX_STATE && vstate->velems.count < vs->num_vs_inputs) || in si_draw()
2508 struct pipe_vertex_state *vstate, in si_draw_vertex_state() argument
2514 struct si_vertex_state *state = (struct si_vertex_state *)vstate; in si_draw_vertex_state()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_screen.c1065 struct pipe_vertex_state *vstate = in trace_screen_create_vertex_state() local
1068 trace_dump_ret(ptr, vstate); in trace_screen_create_vertex_state()
1070 return vstate; in trace_screen_create_vertex_state()
/third_party/libxml2/include/libxml/
Dvalid.h98 xmlValidState *vstate; /* current state */ member
/third_party/curl/lib/vssh/
Dlibssh.c335 int vstate; in myssh_is_known() local
392 vstate = ssh_session_get_known_hosts_entry(sshc->ssh_session, in myssh_is_known()
433 switch(vstate) { in myssh_is_known()
452 vstate = ssh_is_server_known(sshc->ssh_session); in myssh_is_known()
453 switch(vstate) { in myssh_is_known()
/third_party/libxml2/os400/libxmlrpg/
Dvalid.rpgle77 d vstate * xmlValidState *

12