Home
last modified time | relevance | path

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

/libnativehelper/
DJNIHelp.cpp244 MODULE_API int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() argument
246 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException()
294 inline const char* realJniStrError(GNUStrError func, int errnum, char* buf, size_t buflen) { in realJniStrError() argument
295 return func(errnum, buf, buflen); in realJniStrError()
298 inline const char* realJniStrError(POSIXStrError func, int errnum, char* buf, size_t buflen) { in realJniStrError() argument
299 int rc = func(errnum, buf, buflen); in realJniStrError()
304 snprintf(buf, buflen, "errno %d", errnum); in realJniStrError()
311 MODULE_API const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument
313 strerror_s(buf, buflen, errnum); in jniStrError()
318 return impl::realJniStrError(strerror_r, errnum, buf, buflen); in jniStrError()
/libnativehelper/include/nativehelper/
DJNIHelp.h91 MODULE_API int jniThrowIOException(C_JNIEnv* env, int errnum);
99 MODULE_API const char* jniStrError(int errnum, char* buf, size_t buflen);
221 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
222 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()