Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 86) sorted by relevance

1234

/libcore/luni/src/main/native/
DScopedIcuULoc.h30 UErrorCode err = U_ZERO_ERROR; in getLocale() local
32 length = uloc_getName(localeName, buffer, ULOC_FULLNAME_CAPACITY, &err); in getLocale()
33 if (U_SUCCESS(err)) { in getLocale()
35 *status = err; in getLocale()
37 } else if (err != U_BUFFER_OVERFLOW_ERROR) { in getLocale()
38 *status = err; in getLocale()
45 UErrorCode err = U_ZERO_ERROR; in getLocale() local
46 uloc_getName(localeName, buffer.get(), length+1, &err); in getLocale()
47 if (U_SUCCESS(err)) { in getLocale()
50 *status = err; in getLocale()
DZipUtilities.cpp54 int err; in setDictionary() local
56 err = inflateSetDictionary(&stream, dictionary, len); in setDictionary()
58 err = deflateSetDictionary(&stream, dictionary, len); in setDictionary()
60 if (err != Z_OK) { in setDictionary()
61 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, NULL); in setDictionary()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest1.java389 } catch (Error err) { in test_18_1_writeObject()
392 throw err; in test_18_1_writeObject()
415 } catch (Error err) { in test_18_2_writeObject()
418 throw err; in test_18_2_writeObject()
443 } catch (Error err) { in test_18_3_writeObject()
446 throw err; in test_18_3_writeObject()
471 } catch (Error err) { in test_18_4_writeObject()
473 throw err; in test_18_4_writeObject()
499 } catch (Error err) { in test_18_5_writeObject()
502 throw err; in test_18_5_writeObject()
[all …]
DSerializationStressTest3.java390 } catch (Error err) { in test_18_81_writeObject()
391 System.out.println("Error " + err + " when testing BLOCKDATALONG"); in test_18_81_writeObject()
392 throw err; in test_18_81_writeObject()
418 } catch (Error err) { in test_18_82_writeObject()
421 throw err; in test_18_82_writeObject()
447 } catch (Error err) { in test_18_83_writeObject()
450 throw err; in test_18_83_writeObject()
476 } catch (Error err) { in test_18_84_writeObject()
479 throw err; in test_18_84_writeObject()
525 } catch (Error err) { in test_18_86_writeObject()
[all …]
DSerializationStressTest4.java90 } catch (Error err) { in test_writeObject_EventObject()
93 throw err; in test_writeObject_EventObject()
122 } catch (Error err) { in test_writeObject_Collections_EmptySet()
125 throw err; in test_writeObject_Collections_EmptySet()
155 } catch (Error err) { in test_writeObject_Collections_EmptyMap()
158 throw err; in test_writeObject_Collections_EmptyMap()
184 } catch (Error err) { in test_writeObject_Character()
187 throw err; in test_writeObject_Character()
249 } catch (Error err) { in test_writeObject_Format()
252 throw err; in test_writeObject_Format()
[all …]
DSerializationStressTest2.java832 } catch (Error err) { in test_18_41_writeObject()
835 throw err; in test_18_41_writeObject()
866 } catch (Error err) { in test_18_42_writeObject()
869 throw err; in test_18_42_writeObject()
898 } catch (Error err) { in test_18_43_writeObject()
901 throw err; in test_18_43_writeObject()
930 } catch (Error err) { in test_18_44_writeObject()
933 throw err; in test_18_44_writeObject()
963 } catch (Error err) { in test_18_45_writeObject()
966 throw err; in test_18_45_writeObject()
[all …]
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c491 int err; in Java_sun_nio_fs_UnixNativeDispatcher_stat0() local
495 RESTARTABLE(stat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_stat0()
496 if (err == -1) { in Java_sun_nio_fs_UnixNativeDispatcher_stat0()
507 int err; in Java_sun_nio_fs_UnixNativeDispatcher_lstat0() local
511 RESTARTABLE(lstat64(path, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_lstat0()
512 if (err == -1) { in Java_sun_nio_fs_UnixNativeDispatcher_lstat0()
523 int err; in Java_sun_nio_fs_UnixNativeDispatcher_fstat() local
526 RESTARTABLE(fstat64((int)fd, &buf), err); in Java_sun_nio_fs_UnixNativeDispatcher_fstat()
527 if (err == -1) { in Java_sun_nio_fs_UnixNativeDispatcher_fstat()
538 int err; in Java_sun_nio_fs_UnixNativeDispatcher_fstatat0() local
[all …]
DPollArrayWrapper.c77 int err = 0; in Java_sun_nio_ch_PollArrayWrapper_poll0() local
82 RESTARTABLE (poll(a, numfds, timeout), err); in Java_sun_nio_ch_PollArrayWrapper_poll0()
84 err = ipoll(a, numfds, timeout); in Java_sun_nio_ch_PollArrayWrapper_poll0()
87 if (err < 0) { in Java_sun_nio_ch_PollArrayWrapper_poll0()
90 return (jint)err; in Java_sun_nio_ch_PollArrayWrapper_poll0()
DUNIXProcess_md.c381 int err; in restartableDup2() local
382 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
383 return err; in restartableDup2()
389 int err; in restartableClose() local
400 err = close(fd); in restartableClose()
401 return err; in restartableClose()
707 int err[2]; member
742 (closeSafely(p->err[0]) == -1) || in childProcess()
755 if ((closeSafely(p->err[1]) == -1) || in childProcess()
759 if (moveDescriptor(p->err[1] != -1 ? p->err[1] : p->fds[2], in childProcess()
[all …]
Djni_util_md.c52 getErrorString(int err, char *buf, size_t len) in getErrorString() argument
54 if (err == 0 || len < 1) return 0; in getErrorString()
55 return strerror_r(err, buf, len); in getErrorString()
/libcore/luni/src/test/java/libcore/java/net/
DConcurrentCloseTest.java49 System.err.println("accept..."); in test_accept()
61 System.err.println("connect..."); in test_connect()
73 System.err.println("connect (with timeout)..."); in test_connect_timeout()
85 System.err.println("connect (non-blocking)..."); in test_connect_nonBlocking()
108 System.err.println("read..."); in test_read()
133 System.err.println("read..."); in test_read_multiple()
166 System.err.println("receive..."); in test_recv()
191 System.err.println("write..."); in test_write()
252 System.err.println("sleep..."); in run()
254 System.err.println("close..."); in run()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldErrorManagerTest.java27 private final PrintStream err = System.err; field in OldErrorManagerTest
31 System.setErr(err); in tearDown()
/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java56 System.err.format("Unable to delete %s: %s\n", file, x); in removeAll()
65 System.err.format("Unable to delete %s: %s\n", dir, x); in removeAll()
71 System.err.format("Unable to visit %s: %s\n", file, exc); in removeAll()
81 System.err.format("Unable to delete %s: %s\n", file, exc); in deleteUnchecked()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java85 System.err.println(ex.getMessage()); in join()
103 System.err.println(ex.getMessage()); in run()
115 System.err.println(t.getMessage()); in run()
/libcore/ojluni/annotations/mmodule/java/io/
DFileDescriptor.annotated.java55 public static final java.io.FileDescriptor err; field in FileDescriptor
56 static { err = null; }
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewCreationTimeTest.java46 private static final java.io.PrintStream err = System.err; field in BasicFileAttributeViewCreationTimeTest
73 err.println("File creation time reported as: " + creationTime); in test()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserException.java68 synchronized(System.err) { in printStackTrace()
69 System.err.println(super.getMessage() + "; nested exception is:"); in printStackTrace()
/libcore/ojluni/src/main/java/sun/misc/
DMessageUtils.java118 public static void err(String s) { in err() method in MessageUtils
121 System.err.println(s); in err()
138 System.err.println("\t" + es[i].toString()); in where()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileDescriptor.java85 public static final java.io.FileDescriptor err; field in FileDescriptor
88 err = null;
/libcore/ojluni/src/main/java/sun/nio/ch/
DEPollPort.java174 int err = epollCtl(epfd, EPOLL_CTL_MOD, fd, (events | EPOLLONESHOT)); in startPoll() local
175 if (err == ENOENT) in startPoll()
176 err = epollCtl(epfd, EPOLL_CTL_ADD, fd, (events | EPOLLONESHOT)); in startPoll()
177 if (err != 0) in startPoll()
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java258 System.err.println("Task 1 "+e.getMessage()); in createTask1()
309 System.err.println("Task2 "+e.getMessage());
337 System.err.println("Task 3 "+e.getMessage());
357 System.err.println("Task 4 "+e.getMessage());
382 System.err.println("Task 5 "+e.getMessage());
406 System.err.println("Task 6 "+e.getMessage());
428 System.err.println("Task 7 "+e.getMessage());
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java96 String err = errFuture.get(30, TimeUnit.SECONDS); in execAndGetOutput() local
97 failure = err.length() > 0 in execAndGetOutput()
98 ? new AssertionFailedError("Unexpected err stream data:\n" + err) in execAndGetOutput()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DSystemTest.java60 PrintStream orgErr = System.err; in test_setErrLjava_io_PrintStream()
61 PrintStream err = new PrintStream(new ByteArrayOutputStream()); in test_setErrLjava_io_PrintStream() local
62 System.setErr(err); in test_setErrLjava_io_PrintStream()
63 assertTrue("err not set", System.err == err); in test_setErrLjava_io_PrintStream()
/libcore/ojluni/annotations/mmodule/java/lang/
DSystem.annotated.java45 public static void setErr(java.io.PrintStream err) { throw new RuntimeException("Stub!"); } in setErr() argument
96 public static final java.io.PrintStream err; field in System
97 static { err = null; }
/libcore/luni/src/test/java/libcore/java/sql/
DConnectionTest.java57 System.err.println("error creating temporary DB file."); in getConnectionURL()
61 System.err.println("java.io.tmpdir does not exist"); in getConnectionURL()

1234