/third_party/spirv-tools/source/val/ |
D | validate_decorations.cpp | 71 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 …]
|
D | validate.cpp | 157 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 …]
|
D | validate.h | 237 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 116 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/ |
D | validate_decorations.cpp | 71 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 …]
|
D | validate.cpp | 157 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 …]
|
D | validate.h | 237 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 116 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/ |
D | validate_decorations.cpp | 71 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 …]
|
D | validate.cpp | 157 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 …]
|
D | validate.h | 237 std::unique_ptr<ValidationState_t>* vstate);
|
D | validation_state.cpp | 116 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/ |
D | validate_decorations.cpp | 33 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 …]
|
D | validate.cpp | 239 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 …]
|
D | validate.h | 166 std::unique_ptr<libspirv::ValidationState_t>* vstate); 171 libspirv::ValidationState_t* vstate, const spv_parsed_instruction_t* inst);
|
D | validate_id.cpp | 410 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/ |
D | openvt.c | 79 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/ |
D | valid.c | 297 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/ |
D | valid.c | 326 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 …]
|
D | valid.in.h | 126 xmlValidState *vstate; /* current state */ member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.cpp | 1765 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/ |
D | tr_screen.c | 1065 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/ |
D | valid.h | 98 xmlValidState *vstate; /* current state */ member
|
/third_party/curl/lib/vssh/ |
D | libssh.c | 335 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/ |
D | valid.rpgle | 77 d vstate * xmlValidState *
|