Home
last modified time | relevance | path

Searched refs:errnum (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/include/nativehelper/
DJNIHelp.h85 int errnum, char* buf, size_t buflen) { in safe_strerror() argument
86 return strerror_r_method(errnum, buf, buflen); in safe_strerror()
90 int errnum, char* buf, size_t buflen) { in safe_strerror() argument
91 int rc = strerror_r_method(errnum, buf, buflen); in safe_strerror()
93 snprintf(buf, buflen, "errno %d", errnum); in safe_strerror()
98 [[maybe_unused]] static const char* platformStrError(int errnum, char* buf, size_t buflen) { in platformStrError() argument
100 strerror_s(buf, buflen, errnum); in platformStrError()
103 return safe_strerror(strerror_r, errnum, buf, buflen); in platformStrError()
424 int errnum) { in jniThrowErrnoException() argument
428 _detailMessage, errnum); in jniThrowErrnoException()
/libnativehelper/
DJNIHelp.c36 static const char* platformStrError(int errnum, char* buf, size_t buflen) { in platformStrError() argument
38 strerror_s(buf, buflen, errnum); in platformStrError()
42 return strerror_r(errnum, buf, buflen); in platformStrError()
45 int rc = strerror_r(errnum, buf, buflen); in platformStrError()
47 snprintf(buf, buflen, "errno %d", errnum); in platformStrError()