Lines Matching refs:pDiagnostic
156 spv_diagnostic* pDiagnostic, ValidationState_t* vstate) { in ValidateBinaryUsingContextAndValidationState() argument
207 ProcessInstruction, pDiagnostic)) { in ValidateBinaryUsingContextAndValidationState()
380 const uint32_t* words, const size_t num_words, spv_diagnostic* pDiagnostic, in ValidateBinaryAndKeepValidationState() argument
383 if (pDiagnostic) { in ValidateBinaryAndKeepValidationState()
384 *pDiagnostic = nullptr; in ValidateBinaryAndKeepValidationState()
385 UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in ValidateBinaryAndKeepValidationState()
392 hijack_context, words, num_words, pDiagnostic, vstate->get()); in ValidateBinaryAndKeepValidationState()
400 spv_diagnostic* pDiagnostic) { in spvValidate() argument
402 pDiagnostic); in spvValidate()
407 spv_diagnostic* pDiagnostic) { in spvValidateBinary() argument
409 if (pDiagnostic) { in spvValidateBinary()
410 *pDiagnostic = nullptr; in spvValidateBinary()
411 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateBinary()
424 hijack_context, words, num_words, pDiagnostic, &vstate); in spvValidateBinary()
433 spv_diagnostic* pDiagnostic) { in spvValidateWithOptions() argument
435 if (pDiagnostic) { in spvValidateWithOptions()
436 *pDiagnostic = nullptr; in spvValidateWithOptions()
437 spvtools::UseDiagnosticAsMessageConsumer(&hijack_context, pDiagnostic); in spvValidateWithOptions()
446 hijack_context, binary->code, binary->wordCount, pDiagnostic, &vstate); in spvValidateWithOptions()