/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_fixtures.h | 75 spvDiagnosticDestroy(diagnostic_); in DestroyDiagnostic() 76 diagnostic_ = nullptr; in DestroyDiagnostic() 84 spv_diagnostic diagnostic_; variable 90 ValidateBase<T>::ValidateBase() : binary_(nullptr), diagnostic_(nullptr) { in ValidateBase() 103 if (diagnostic_) { in TearDown() 104 spvDiagnosticPrint(diagnostic_); in TearDown() 164 get_const_binary(), &diagnostic_); in ValidateInstructions() 173 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState() 178 return diagnostic_ == nullptr ? std::string() in getDiagnosticString() 179 : 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::__anon3fb336a90111::OpTypeArrayLengthTest
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/ |
D | val_fixtures.h | 75 spvDiagnosticDestroy(diagnostic_); in DestroyDiagnostic() 76 diagnostic_ = nullptr; in DestroyDiagnostic() 84 spv_diagnostic diagnostic_; variable 90 ValidateBase<T>::ValidateBase() : binary_(nullptr), diagnostic_(nullptr) { in ValidateBase() 103 if (diagnostic_) { in TearDown() 104 spvDiagnosticPrint(diagnostic_); in TearDown() 164 get_const_binary(), &diagnostic_); in ValidateInstructions() 173 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState() 178 return diagnostic_ == nullptr ? std::string() in getDiagnosticString() 179 : std::string(diagnostic_->error); in getDiagnosticString() [all …]
|
D | val_id_test.cpp | 921 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 923 ~OpTypeArrayLengthTest() override { spvDiagnosticDestroy(diagnostic_); } in ~OpTypeArrayLengthTest() 928 spvDiagnosticDestroy(diagnostic_); in Val() 929 diagnostic_ = nullptr; in Val() 931 spvValidate(ScopedContext(env_).context, &cbinary, &diagnostic_); in Val() 933 spvDiagnosticPrint(diagnostic_); in Val() 934 EXPECT_THAT(std::string(diagnostic_->error), in Val() 945 spv_diagnostic diagnostic_; member in spvtools::val::__anon22ab0e760111::OpTypeArrayLengthTest
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_fixtures.h | 75 spvDiagnosticDestroy(diagnostic_); in DestroyDiagnostic() 76 diagnostic_ = nullptr; in DestroyDiagnostic() 84 spv_diagnostic diagnostic_; variable 90 ValidateBase<T>::ValidateBase() : binary_(nullptr), diagnostic_(nullptr) { in ValidateBase() 103 if (diagnostic_) { in TearDown() 104 spvDiagnosticPrint(diagnostic_); in TearDown() 164 get_const_binary(), &diagnostic_); in ValidateInstructions() 173 get_const_binary()->wordCount, &diagnostic_, &vstate_); in ValidateAndRetrieveValidationState() 178 return diagnostic_ == nullptr ? std::string() in getDiagnosticString() 179 : std::string(diagnostic_->error); in getDiagnosticString() [all …]
|
D | val_id_test.cpp | 921 diagnostic_(spvDiagnosticCreate(&position_, "")) {} 923 ~OpTypeArrayLengthTest() override { spvDiagnosticDestroy(diagnostic_); } in ~OpTypeArrayLengthTest() 928 spvDiagnosticDestroy(diagnostic_); in Val() 929 diagnostic_ = nullptr; in Val() 931 spvValidate(ScopedContext(env_).context, &cbinary, &diagnostic_); in Val() 933 spvDiagnosticPrint(diagnostic_); in Val() 934 EXPECT_THAT(std::string(diagnostic_->error), in Val() 945 spv_diagnostic diagnostic_; member in spvtools::val::__anon3a2f0ce30111::OpTypeArrayLengthTest
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 210 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 213 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anon97c473540111::BinaryParseTest 233 ~CxxBinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~CxxBinaryParseTest() 242 instruction_parser_, &diagnostic_)); in Parse() 245 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anon97c473540111::CxxBinaryParseTest 268 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 278 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 445 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 447 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/runtime/ |
D | diagnostics.h | 105 : engine_(other.engine_), diagnostic_(std::move(other.diagnostic_)) { in InFlightDiagnostic() 106 other.diagnostic_.reset(); in InFlightDiagnostic() 126 if (IsInFlight()) diagnostic_->append(std::forward<Arg>(arg)); in append() 153 : engine_(engine), diagnostic_(std::move(diagnostic)) {} in InFlightDiagnostic() 158 bool IsActive() const { return diagnostic_.has_value(); } in IsActive() 163 llvm::Optional<Diagnostic> diagnostic_; variable
|
D | diagnostics.cc | 30 engine_->Emit(std::move(*diagnostic_)); in Report() 33 diagnostic_.reset(); in Report()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 210 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 213 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anon177774470111::BinaryParseTest 234 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 331 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 333 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 350 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 352 EXPECT_STREQ("Invalid opcode: 65535", diagnostic_->error); in TEST_F() 364 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 376 invoke_instruction, &diagnostic_)); in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | binary_parse_test.cpp | 201 ~BinaryParseTest() override { spvDiagnosticDestroy(diagnostic_); } in ~BinaryParseTest() 210 invoke_header, invoke_instruction, &diagnostic_)); in Parse() 213 spv_diagnostic diagnostic_ = nullptr; member in spvtools::__anona041c1010111::BinaryParseTest 234 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 331 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 333 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 350 invoke_header, invoke_instruction, &diagnostic_)); in TEST_F() 352 EXPECT_STREQ("Invalid opcode: 65535", diagnostic_->error); in TEST_F() 364 EXPECT_EQ(nullptr, diagnostic_); in TEST_F() 376 invoke_instruction, &diagnostic_)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/ |
D | jit_compiler.h | 162 return tfrt::MakeStringError(original_error, ":\n", diagnostic_); in Error() 168 std::string diagnostic_; variable
|
D | jit_compiler.cc | 145 diagnostic_os_(diagnostic_), in JitCompiler()
|