Home
last modified time | relevance | path

Searched refs:diagnostic_ (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_fixtures.h73 spvDiagnosticDestroy(diagnostic_); in DestroyDiagnostic()
74 diagnostic_ = nullptr; in DestroyDiagnostic()
82 spv_diagnostic diagnostic_; variable
88 ValidateBase<T>::ValidateBase() : binary_(nullptr), diagnostic_(nullptr) { in ValidateBase()
101 if (diagnostic_) { in TearDown()
102 spvDiagnosticPrint(diagnostic_); in TearDown()
156 get_const_binary(), &diagnostic_); in ValidateInstructions()
165 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState()
170 return diagnostic_ == nullptr ? std::string() in getDiagnosticString()
171 : std::string(diagnostic_->error); in getDiagnosticString()
[all …]
Dval_id_test.cpp836 diagnostic_(spvDiagnosticCreate(&position_, "")) {}
838 ~OpTypeArrayLengthTest() { spvDiagnosticDestroy(diagnostic_); } in ~OpTypeArrayLengthTest()
843 spvDiagnosticDestroy(diagnostic_); in Val()
844 diagnostic_ = nullptr; in Val()
846 spvValidate(ScopedContext(env_).context, &cbinary, &diagnostic_); in Val()
848 spvDiagnosticPrint(diagnostic_); in Val()
849 EXPECT_THAT(std::string(diagnostic_->error), in Val()
860 spv_diagnostic diagnostic_; member in spvtools::val::__anon4b59b73e0111::OpTypeArrayLengthTest
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_fixtures.h73 spvDiagnosticDestroy(diagnostic_); in DestroyDiagnostic()
74 diagnostic_ = nullptr; in DestroyDiagnostic()
82 spv_diagnostic diagnostic_; variable
88 ValidateBase<T>::ValidateBase() : binary_(nullptr), diagnostic_(nullptr) { in ValidateBase()
101 if (diagnostic_) { in TearDown()
102 spvDiagnosticPrint(diagnostic_); in TearDown()
156 get_const_binary(), &diagnostic_); in ValidateInstructions()
165 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState()
170 return diagnostic_ == nullptr ? std::string() in getDiagnosticString()
171 : std::string(diagnostic_->error); in getDiagnosticString()
[all …]
Dval_id_test.cpp836 diagnostic_(spvDiagnosticCreate(&position_, "")) {}
838 ~OpTypeArrayLengthTest() { spvDiagnosticDestroy(diagnostic_); } in ~OpTypeArrayLengthTest()
843 spvDiagnosticDestroy(diagnostic_); in Val()
844 diagnostic_ = nullptr; in Val()
846 spvValidate(ScopedContext(env_).context, &cbinary, &diagnostic_); in Val()
848 spvDiagnosticPrint(diagnostic_); in Val()
849 EXPECT_THAT(std::string(diagnostic_->error), in Val()
860 spv_diagnostic diagnostic_; member in spvtools::val::__anon02690dc40111::OpTypeArrayLengthTest
/external/deqp-deps/SPIRV-Tools/test/
Dbinary_parse_test.cpp201 ~BinaryParseTest() { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest()
219 invoke_header, invoke_instruction, &diagnostic_)); in Parse()
222 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anon5eff7e220111::BinaryParseTest
243 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
340 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F()
342 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
359 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F()
361 EXPECT_STREQ("Invalid opcode: 65535", diagnostic_->error); in TEST_F()
373 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
385 invoke_instruction, &diagnostic_)); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dbinary_parse_test.cpp201 ~BinaryParseTest() { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest()
219 invoke_header, invoke_instruction, &diagnostic_)); in Parse()
222 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anona6c06e1c0111::BinaryParseTest
243 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
340 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F()
342 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
359 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F()
361 EXPECT_STREQ("Invalid opcode: 65535", diagnostic_->error); in TEST_F()
373 EXPECT_EQ(nullptr, diagnostic_); in TEST_F()
385 invoke_instruction, &diagnostic_)); in TEST_F()
[all …]