Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DUNIXProcess_md.c567 throwIOException(JNIEnv *env, int errnum, const char *defaultDetail) in throwIOException() argument
574 if (errnum != 0) { in throwIOException()
575 const char *s = strerror(errnum); in throwIOException()
582 size_t newsize = strlen(format) + strlen(detail) + 3 * sizeof(errnum); in throwIOException()
584 snprintf(errmsg, newsize, format, errnum, detail); in throwIOException()
864 int errnum = errno; in childProcess() local
865 restartableWrite(FAIL_FILENO, &errnum, sizeof(errnum)); in childProcess()
931 int errnum; in UNIXProcess_forkAndExec() local
1004 switch (readFully(fail[0], &errnum, sizeof(errnum))) { in UNIXProcess_forkAndExec()
1006 case sizeof(errnum): in UNIXProcess_forkAndExec()
[all …]
DUnixCopyFile.c41 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument
43 "(I)V", errnum); in throwUnixException()
DLinuxWatchService.c44 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument
46 "(I)V", errnum); in throwUnixException()
DLinuxNativeDispatcher.c54 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument
56 "(I)V", errnum); in throwUnixException()
DUnixNativeDispatcher.c169 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument
171 "(I)V", errnum); in throwUnixException()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixNativeDispatcher.java571 static native byte[] strerror(int errnum); in strerror() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2657 static jstring Linux_strerror(JNIEnv* env, jobject, jint errnum) { in Linux_strerror() argument
2661 int ret = strerror_r(errnum, buffer, sizeof(buffer)); in Linux_strerror()
2663 return env->NewStringUTF(android::base::StringPrintf("Unknown error %d", errnum).c_str()); in Linux_strerror()
2667 const char* message = strerror_r(errnum, buffer, sizeof(buffer)); in Linux_strerror()