Home
last modified time | relevance | path

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

1234

/libcore/ojluni/src/test/java/awt/font/NumericShaper/
DEasternArabicTest.java40 static boolean err = false; field in EasternArabicTest
84 if (err) { in main()
95 err = true; in test()
96 System.err.println("Error with traditional range."); in test()
97 System.err.println(" text = " + data); in test()
98 System.err.println(" got = " + got); in test()
99 System.err.println(" expected = " + expected); in test()
101 System.err.println("OK with traditional range."); in test()
102 System.err.println(" text = " + data); in test()
103 System.err.println(" got = " + got); in test()
[all …]
DMTTest.java42 static volatile boolean err = false; field in MTTest
103 if (err) { in main()
126 System.err.println("Error: Unexpected exception: " + e); in run()
128 err = true; in run()
132 System.err.println("Error: shape() returned unexpected value: "); in run()
133 System.err.println("count = " + count); in run()
134 System.err.println(" expected: " + String.valueOf(expectedText)); in run()
135 System.err.println(" got: " + String.valueOf(t)); in run()
137 err = true; in run()
DShapingTest.java41 private static boolean err = false; field in ShapingTest
50 if (err) { in main()
154 err = true; in checkResult()
155 System.err.println("Error with range(s) <" + ranges + ">."); in checkResult()
156 System.err.println(" text = " + given); in checkResult()
157 System.err.println(" got = " + got); in checkResult()
158 System.err.println(" expected = " + expected); in checkResult()
/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 …]
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()
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()
DUNIXProcess_md.c380 int err; in restartableDup2() local
381 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
382 return err; in restartableDup2()
388 int err; in restartableClose() local
399 err = close(fd); in restartableClose()
400 return err; in restartableClose()
706 int err[2]; member
741 (closeSafely(p->err[0]) == -1) || in childProcess()
754 if ((closeSafely(p->err[1]) == -1) || in childProcess()
758 if (moveDescriptor(p->err[1] != -1 ? p->err[1] : p->fds[2], in childProcess()
[all …]
/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/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/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/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/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/mmodule/java/io/
DFileDescriptor.annotated.java57 public static final java.io.FileDescriptor err; field in FileDescriptor
58 static { err = null; }
/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/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()
/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()

1234