Lines Matching defs:Error

49 static int Error(const char *pszFormat, ...)
92 Error("Read error: %Rrc", rc);
204 Error("Invalid digest type: %s\n", ValueUnion.psz);
220 Error("Invalid digest method: %s\n", ValueUnion.psz);
244 return Error("No digest type was specified\n");
249 return Error("Full file method is not implemented\n");
253 return Error("The -l and -o options do not work with the 'file' method.");
261 return Error("RTSha1Digest(%s,) -> %Rrc\n", ValueUnion.psz, rc);
272 return Error("RTSha256Digest(%s,) -> %Rrc\n", ValueUnion.psz, rc);
278 return Error("The file method isn't implemented for this digest\n");
287 return Error("RTFileOpen(,%s,) -> %Rrc\n", ValueUnion.psz, rc);
292 return Error("RTFileSeek(%s,%ull) -> %Rrc\n", ValueUnion.psz, offStart, rc);
417 return Error("Internal error #1\n");
423 return Error("RTFileRead(%s) -> %Rrc\n", ValueUnion.psz, rc);
447 return Error("Failed to create digest calculator for %s: %Rrc", pszDigestType, rc);
451 return Error("Unexpected hash size: %#x\n", cbDigest);
456 return Error("Failed to open CVAS file '%s': %Rrc", ValueUnion.psz, rc);
480 return Error("%s(%d): Expected 'Len =' found '%.10s...'", ValueUnion.psz, iLine, psz);
484 return Error("%s(%d): Error parsing length '%s': %Rrc\n", ValueUnion.psz, iLine, psz, rc);
489 return Error("%s(%d): Expected message text not EOF.", ValueUnion.psz, iLine);
491 return Error("%s(%d): Expected 'Msg =' found '%.10s...'", ValueUnion.psz, iLine, psz);
500 return Error("%s(%d): Error parsing message '%.10s...': %Rrc\n",
507 return Error("%s(%d): Expected message digest not EOF.", ValueUnion.psz, iLine);
509 return Error("%s(%d): Expected 'MD =' found '%.10s...'", ValueUnion.psz, iLine, psz);
515 return Error("%s(%d): Error parsing message digest '%.10s...': %Rrc\n",
523 return Error("RTCrDigestReset failed: %Rrc", rc);
527 return Error("RTCrDigestUpdate failed: %Rrc", rc);
532 return Error("RTCrDigestFinal failed: %Rrc", rc);
538 Error("%s(%d): Message digest mismatch. Expected %.*RThxs, got %.*RThxs.",
546 return Error("Failed: %u error%s (%u passed)", cErrors, cErrors == 1 ? "" : "s", cPassed);
549 return Error("Failed: %Rrc", rc);
554 return Error("Internal error #2\n");