Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
DZipFile.c313 char errmsg[128]; in ZipFile_read() local
314 snprintf(errmsg, sizeof(errmsg), "len: %d, off: %d are not valid for array sized %lld\n", in ZipFile_read()
316 JNU_ThrowArrayIndexOutOfBoundsException(env, errmsg); in ZipFile_read()
331 char errmsg[128]; in ZipFile_read() local
332 snprintf(errmsg, sizeof(errmsg), "errno: %d, error: %s\n", errno, in ZipFile_read()
334 JNU_ThrowIOExceptionWithLastError(env, errmsg); in ZipFile_read()
Dnet_util.c275 char errmsg[255]; in NET_SockaddrToInetAddress() local
276 snprintf(errmsg, sizeof(errmsg), "Unknown socket family: %d", him->sa_family); in NET_SockaddrToInetAddress()
277 JNU_ThrowByName(env, "java/net/SocketException", errmsg); in NET_SockaddrToInetAddress()
DUNIXProcess_md.c503 char *errmsg; in throwIOException() local
515 errmsg = NEW(char, newsize); in throwIOException()
516 snprintf(errmsg, newsize, format, errnum, detail); in throwIOException()
517 s = JNU_NewStringPlatform(env, errmsg); in throwIOException()
524 free(errmsg); in throwIOException()
Dnet_util_md.c272 char errmsg[255]; in NET_ThrowByNameWithLastError() local
273 snprintf(errmsg, sizeof(errmsg), "errno: %d, error: %s\n", errno, in NET_ThrowByNameWithLastError()
275 JNU_ThrowByNameWithLastError(env, name, errmsg); in NET_ThrowByNameWithLastError()