Lines Matching refs:code
5 * This source code is licensed under both the BSD-style license (found in the
47 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); }
49 ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (ERR_enum) (0-code); }
51 /* check and forward error code */
60 const char* ERR_getErrorString(ERR_enum code); /* error_private.c */
62 ERR_STATIC const char* ERR_getErrorName(size_t code)
64 return ERR_getErrorString(ERR_getErrorCode(code));
127 * If the provided expression evaluates to an error code, returns that error code.