Searched refs:errnum (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 567 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 …]
|
D | UnixCopyFile.c | 41 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument 43 "(I)V", errnum); in throwUnixException()
|
D | LinuxWatchService.c | 44 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument 46 "(I)V", errnum); in throwUnixException()
|
D | LinuxNativeDispatcher.c | 54 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument 56 "(I)V", errnum); in throwUnixException()
|
D | UnixNativeDispatcher.c | 169 static void throwUnixException(JNIEnv* env, int errnum) { in throwUnixException() argument 171 "(I)V", errnum); in throwUnixException()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixNativeDispatcher.java | 571 static native byte[] strerror(int errnum); in strerror() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 2657 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()
|