Searched refs:errnum (Results 1 – 2 of 2) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 74 int jniThrowIOException(C_JNIEnv* env, int errnum); 82 const char* jniStrError(int errnum, char* buf, size_t buflen); 144 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument 145 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
|
/libnativehelper/ |
D | JNIHelp.cpp | 251 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() argument 253 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); in jniThrowIOException() 286 const char* jniStrError(int errnum, char* buf, size_t buflen) { in jniStrError() argument 289 char* ret = (char*) strerror_r(errnum, buf, buflen); in jniStrError() 299 snprintf(buf, buflen, "errno %d", errnum); in jniStrError()
|