/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_fixtures.cpp | 28 ValidateBase<T>::ValidateBase() : binary_(), diagnostic_() { in ValidateBase() 41 if (diagnostic_) { in TearDown() 42 spvDiagnosticPrint(diagnostic_); in TearDown() 44 spvDiagnosticDestroy(diagnostic_); in TearDown() 72 get_const_binary(), &diagnostic_); in ValidateInstructions() 80 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState() 85 return diagnostic_ == nullptr ? in getDiagnosticString() 86 std::string() : std::string(diagnostic_->error); in getDiagnosticString() 96 return diagnostic_ == nullptr ? spv_position_t() : diagnostic_->position; in getErrorPosition()
|
D | val_fixtures.h | 59 spv_diagnostic diagnostic_; variable
|
D | val_id_test.cpp | 561 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 563 ~OpTypeArrayLengthTest() { spvDiagnosticDestroy(diagnostic_); } in ~OpTypeArrayLengthTest() 569 spvValidate(ScopedContext().context, &cbinary, &diagnostic_); in Val() 571 spvDiagnosticPrint(diagnostic_); in Val() 572 EXPECT_THAT(std::string(diagnostic_->error), HasSubstr(expected_err)); in Val() 579 spv_diagnostic diagnostic_; member in __anonaa1de74d0111::OpTypeArrayLengthTest
|
/third_party/spirv-tools/test/val/ |
D | val_fixtures.h | 73 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 …]
|
D | val_id_test.cpp | 836 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 838 ~OpTypeArrayLengthTest() override { 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::__anonef9045430111::OpTypeArrayLengthTest
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_fixtures.h | 73 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 …]
|
D | val_id_test.cpp | 836 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 838 ~OpTypeArrayLengthTest() override { 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::__anon3fa337c40111::OpTypeArrayLengthTest
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_fixtures.h | 73 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 …]
|
D | val_id_test.cpp | 836 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 838 ~OpTypeArrayLengthTest() override { 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::__anonefab04580111::OpTypeArrayLengthTest
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 219 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 222 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anona49969b60111::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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 219 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 222 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anond36c28220111::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 …]
|
/third_party/spirv-tools/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 219 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 222 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anon32d291610111::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 …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | binary_parse_test.cpp | 214 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 217 spv_diagnostic diagnostic_ = nullptr; member in __anonc750ddeb0111::BinaryParseTest 238 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 341 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 343 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 362 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 364 EXPECT_STREQ("Invalid opcode: 65535", diagnostic_->error); in TEST_F() 378 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 390 invoke_instruction, &diagnostic_)); in TEST_F() 391 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() [all …]
|