Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DUNIXProcess_md.c500 throwIOException(JNIEnv *env, int errnum, const char *defaultDetail) in throwIOException() argument
507 if (errnum != 0) { in throwIOException()
508 const char *s = strerror(errnum); in throwIOException()
515 size_t newsize = strlen(format) + strlen(detail) + 3 * sizeof(errnum); in throwIOException()
517 snprintf(errmsg, newsize, format, errnum, detail); in throwIOException()
797 int errnum = errno; in childProcess() local
798 restartableWrite(FAIL_FILENO, &errnum, sizeof(errnum)); in childProcess()
864 int errnum; in UNIXProcess_forkAndExec() local
937 switch (readFully(fail[0], &errnum, sizeof(errnum))) { in UNIXProcess_forkAndExec()
939 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.c46 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument
48 "(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.java538 static native byte[] strerror(int errnum); in strerror() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2485 static jstring Linux_strerror(JNIEnv* env, jobject, jint errnum) { in Linux_strerror() argument
2487 const char* message = strerror_r(errnum, buffer, sizeof(buffer)); in Linux_strerror()