Searched refs:errnum (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 76 int jniThrowIOException(C_JNIEnv* env, int errnum); 84 const char* jniStrError(int errnum, char* buf, size_t buflen); 151 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument 152 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
|
/libnativehelper/ |
D | JNIHelp.cpp | 252 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() argument 254 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException() 291 const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument 295 return strerror_r(errnum, buf, buflen); in jniStrError() 297 int rc = strerror_r(errnum, buf, buflen); in jniStrError() 302 snprintf(buf, buflen, "errno %d", errnum); in jniStrError()
|