/external/deqp-deps/SPIRV-Tools/source/ |
binary.cpp | 27 #include "source/diagnostic.h" 73 // Otherwise returns an error code and issues a diagnostic. 75 spv_diagnostic* diagnostic); 88 // On failure, returns an error code and issues a diagnostic. 100 // issues a diagnostic. 121 // Returns a diagnostic stream object initialized with current position in 123 // returned object will be propagated to the current parse's diagnostic 125 spvtools::DiagnosticStream diagnostic(spv_result_t error) { function in class:__anon20235::Parser 130 // Returns a diagnostic stream object with the default parse error code. 131 spvtools::DiagnosticStream diagnostic() { function in class:__anon20235::Parser [all...] |
diagnostic.cpp | 15 #include "source/diagnostic.h" 25 // Diagnostic API 29 spv_diagnostic diagnostic = new spv_diagnostic_t; local 30 if (!diagnostic) return nullptr; 32 diagnostic->error = new char[length]; 33 if (!diagnostic->error) { 34 delete diagnostic; 37 diagnostic->position = *position; 38 diagnostic->isTextSource = false; 39 memset(diagnostic->error, 0, length) [all...] |
/external/deqp-deps/SPIRV-Tools/test/ |
text_destroy_test.cpp | 47 spv_diagnostic diagnostic = nullptr; local 49 &binary, &diagnostic)); 53 if (diagnostic) { 54 spvDiagnosticPrint(diagnostic); 61 &resultText, &diagnostic)); 63 if (diagnostic) { 64 spvDiagnosticPrint(diagnostic); 65 spvDiagnosticDestroy(diagnostic);
|
c_interface_test.cpp | 213 // When having both a consumer and an diagnostic object, the diagnostic object 226 spv_diagnostic diagnostic = nullptr; local 229 &diagnostic)); 231 EXPECT_STREQ("Expected operand, found end of stream.", diagnostic->error); 233 spvDiagnosticDestroy(diagnostic); 254 spv_diagnostic diagnostic = nullptr; local 258 &diagnostic)); 261 EXPECT_STREQ("Invalid opcode: 65535", diagnostic->error); 264 spvDiagnosticDestroy(diagnostic); 283 spv_diagnostic diagnostic = nullptr; local [all...] |
diagnostic_test.cpp | 27 // Returns a newly created diagnostic value. 30 spv_diagnostic diagnostic = spvDiagnosticCreate(&position, ""); local 31 EXPECT_NE(nullptr, diagnostic); 32 return diagnostic; 35 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } 37 TEST(Diagnostic, DestroyValidDiagnostic) { 38 spv_diagnostic diagnostic = MakeValidDiagnostic(); local 39 spvDiagnosticDestroy(diagnostic); 40 // We aren't allowed to use the diagnostic pointer anymore. 44 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) 45 spv_diagnostic diagnostic = MakeValidDiagnostic(); local 55 spv_diagnostic_t diagnostic = {{2, 3, 5}, message}; local [all...] |
ext_inst.glsl_test.cpp | 65 spv_diagnostic diagnostic; local 67 &binary, &diagnostic); 69 spvDiagnosticPrint(diagnostic); 70 spvDiagnosticDestroy(diagnostic); 96 &diagnostic); 99 spvDiagnosticPrint(diagnostic); 100 spvDiagnosticDestroy(diagnostic);
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
binary.cpp | 27 #include "source/diagnostic.h" 73 // Otherwise returns an error code and issues a diagnostic. 75 spv_diagnostic* diagnostic); 88 // On failure, returns an error code and issues a diagnostic. 100 // issues a diagnostic. 121 // Returns a diagnostic stream object initialized with current position in 123 // returned object will be propagated to the current parse's diagnostic 125 spvtools::DiagnosticStream diagnostic(spv_result_t error) { function in class:__anon41169::Parser 130 // Returns a diagnostic stream object with the default parse error code. 131 spvtools::DiagnosticStream diagnostic() { function in class:__anon41169::Parser [all...] |
diagnostic.cpp | 15 #include "source/diagnostic.h" 25 // Diagnostic API 29 spv_diagnostic diagnostic = new spv_diagnostic_t; local 30 if (!diagnostic) return nullptr; 32 diagnostic->error = new char[length]; 33 if (!diagnostic->error) { 34 delete diagnostic; 37 diagnostic->position = *position; 38 diagnostic->isTextSource = false; 39 memset(diagnostic->error, 0, length) [all...] |
/external/swiftshader/third_party/SPIRV-Tools/test/ |
text_destroy_test.cpp | 47 spv_diagnostic diagnostic = nullptr; local 49 &binary, &diagnostic)); 53 if (diagnostic) { 54 spvDiagnosticPrint(diagnostic); 61 &resultText, &diagnostic)); 63 if (diagnostic) { 64 spvDiagnosticPrint(diagnostic); 65 spvDiagnosticDestroy(diagnostic);
|
c_interface_test.cpp | 213 // When having both a consumer and an diagnostic object, the diagnostic object 226 spv_diagnostic diagnostic = nullptr; local 229 &diagnostic)); 231 EXPECT_STREQ("Expected operand, found end of stream.", diagnostic->error); 233 spvDiagnosticDestroy(diagnostic); 254 spv_diagnostic diagnostic = nullptr; local 258 &diagnostic)); 261 EXPECT_STREQ("Invalid opcode: 65535", diagnostic->error); 264 spvDiagnosticDestroy(diagnostic); 283 spv_diagnostic diagnostic = nullptr; local [all...] |
diagnostic_test.cpp | 27 // Returns a newly created diagnostic value. 30 spv_diagnostic diagnostic = spvDiagnosticCreate(&position, ""); local 31 EXPECT_NE(nullptr, diagnostic); 32 return diagnostic; 35 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } 37 TEST(Diagnostic, DestroyValidDiagnostic) { 38 spv_diagnostic diagnostic = MakeValidDiagnostic(); local 39 spvDiagnosticDestroy(diagnostic); 40 // We aren't allowed to use the diagnostic pointer anymore. 44 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) 45 spv_diagnostic diagnostic = MakeValidDiagnostic(); local 55 spv_diagnostic_t diagnostic = {{2, 3, 5}, message}; local [all...] |
ext_inst.glsl_test.cpp | 65 spv_diagnostic diagnostic; local 67 &binary, &diagnostic); 69 spvDiagnosticPrint(diagnostic); 70 spvDiagnosticDestroy(diagnostic); 96 &diagnostic); 99 spvDiagnosticPrint(diagnostic); 100 spvDiagnosticDestroy(diagnostic);
|
/external/deqp-deps/SPIRV-Tools/tools/cfg/ |
cfg.cpp | 109 spv_diagnostic diagnostic = nullptr; local 113 BinaryToDot(context, contents.data(), contents.size(), &ss, &diagnostic); 115 spvDiagnosticPrint(diagnostic); 116 spvDiagnosticDestroy(diagnostic); 123 spvDiagnosticDestroy(diagnostic);
|
/external/swiftshader/third_party/SPIRV-Tools/tools/cfg/ |
cfg.cpp | 109 spv_diagnostic diagnostic = nullptr; local 113 BinaryToDot(context, contents.data(), contents.size(), &ss, &diagnostic); 115 spvDiagnosticPrint(diagnostic); 116 spvDiagnosticDestroy(diagnostic); 123 spvDiagnosticDestroy(diagnostic);
|
/external/deqp-deps/SPIRV-Tools/tools/as/ |
as.cpp | 135 spv_diagnostic diagnostic = nullptr; local 138 context, contents.data(), contents.size(), options, &binary, &diagnostic); 141 spvDiagnosticPrint(diagnostic); 142 spvDiagnosticDestroy(diagnostic);
|
/external/deqp-deps/glslang/SPIRV/ |
SpvTools.cpp | 75 spv_diagnostic diagnostic = nullptr; local 78 &text, &diagnostic); 81 if (diagnostic == nullptr) 84 spvDiagnosticPrint(diagnostic); 87 spvDiagnosticDestroy(diagnostic); 98 spv_diagnostic diagnostic = nullptr; local 101 spvValidateWithOptions(context, options, &binary, &diagnostic); 104 if (diagnostic != nullptr) { 106 logger->error(diagnostic->error); 111 spvDiagnosticDestroy(diagnostic); [all...] |
/external/mesa3d/src/glx/apple/ |
apple_glx_log.c | 41 static bool diagnostic = false; variable 46 diagnostic = true; 93 if (diagnostic) {
|
/external/swiftshader/third_party/SPIRV-Tools/tools/as/ |
as.cpp | 135 spv_diagnostic diagnostic = nullptr; local 138 context, contents.data(), contents.size(), options, &binary, &diagnostic); 141 spvDiagnosticPrint(diagnostic); 142 spvDiagnosticDestroy(diagnostic);
|
/external/v8/tools/clang/plugins/ |
ChromeClassTester.h | 31 clang::DiagnosticsEngine& diagnostic() { return diagnostic_; } function in class:ChromeClassTester
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkSpirVAsm.cpp | 76 spv_diagnostic diagnostic = DE_NULL; local 85 const spv_result_t compileOk = spvTextToBinary(context, spvSource.c_str(), spvSource.size(), &binary, &diagnostic); 88 buildInfo->infoLog = diagnostic? diagnostic->error : ""; // \todo [2015-07-13 pyry] Include debug log? 100 spvDiagnosticDestroy(diagnostic); 108 spvDiagnosticDestroy(diagnostic); 119 spv_diagnostic diagnostic = DE_NULL; local 126 const spv_result_t result = spvBinaryToText(context, binary, binarySizeInWords, 0, &text, &diagnostic); 134 spvDiagnosticDestroy(diagnostic); 140 spvDiagnosticDestroy(diagnostic); 150 spv_diagnostic diagnostic = DE_NULL; local [all...] |
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/ |
lcssa.cpp | 35 spv_diagnostic diagnostic = nullptr; local 37 spv_result_t error = spvValidate(spvContext, &binary, &diagnostic); 38 if (error != 0) spvDiagnosticPrint(diagnostic); 39 spvDiagnosticDestroy(diagnostic);
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
val_fixtures.h | 94 spv_diagnostic diagnostic = nullptr; local 97 code.size(), &binary_, &diagnostic)) 98 << "ERROR: " << diagnostic->error
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
lcssa.cpp | 35 spv_diagnostic diagnostic = nullptr; local 37 spv_result_t error = spvValidate(spvContext, &binary, &diagnostic); 38 if (error != 0) spvDiagnosticPrint(diagnostic); 39 spvDiagnosticDestroy(diagnostic);
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
val_fixtures.h | 65 // Destroys the stored diagnostic. 107 spv_diagnostic diagnostic = nullptr; local 110 code.size(), &binary_, &diagnostic)) 111 << "ERROR: " << diagnostic->error 114 spvDiagnosticDestroy(diagnostic);
|
/external/turbine/java/com/google/turbine/diag/ |
TurbineDiagnostic.java | 35 private final String diagnostic; field in class:TurbineDiagnostic 38 private TurbineDiagnostic(ErrorKind kind, String diagnostic, ImmutableList<Object> args) { 40 this.diagnostic = requireNonNull(diagnostic); 44 /** The diagnostic kind. */ 49 /** The diagnostic message. */ 50 public String diagnostic() { method in class:TurbineDiagnostic 51 return diagnostic; 54 /** The diagnostic arguments. */ 60 ErrorKind kind, String diagnostic, ImmutableList<Object> args) 67 diagnostic, local 86 String diagnostic = path + ": error: " + message.trim() + System.lineSeparator(); local 111 String diagnostic = sb.toString(); local [all...] |