Home
last modified time | relevance | path

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

123

/libcore/luni/src/main/java/java/lang/
DThrowable.java236 printStackTrace(System.err); in printStackTrace()
280 public void printStackTrace(PrintStream err) { in printStackTrace() argument
282 printStackTrace(err, "", null); in printStackTrace()
298 public void printStackTrace(PrintWriter err) { in printStackTrace() argument
300 printStackTrace(err, "", null); in printStackTrace()
313 private void printStackTrace(Appendable err, String indent, StackTraceElement[] parentStack) in printStackTrace() argument
315 err.append(toString()); in printStackTrace()
316 err.append("\n"); in printStackTrace()
322 err.append(indent); in printStackTrace()
323 err.append("\tat "); in printStackTrace()
[all …]
DProcessManager.java162 FileDescriptor err, boolean redirectErrorStream) throws IOException; in exec() argument
198 FileDescriptor err = new FileDescriptor(); in exec() local
209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); in exec()
218 ProcessImpl process = new ProcessImpl(pid, in, out, err); in exec()
247 ProcessImpl(int pid, FileDescriptor in, FileDescriptor out, FileDescriptor err) { in ProcessImpl() argument
250 this.errorStream = new ProcessInputStream(err); in ProcessImpl()
/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.java88 } catch (Error err) { in test_writeObject_EventObject()
91 throw err; in test_writeObject_EventObject()
120 } catch (Error err) { in test_writeObject_Collections_EmptySet()
123 throw err; in test_writeObject_Collections_EmptySet()
153 } catch (Error err) { in test_writeObject_Collections_EmptyMap()
156 throw err; in test_writeObject_Collections_EmptyMap()
182 } catch (Error err) { in test_writeObject_Character()
185 throw err; in test_writeObject_Character()
221 } catch (Error err) { in test_writeObject_Collections_UnmodifiableCollection()
224 throw err; in test_writeObject_Collections_UnmodifiableCollection()
[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/luni/src/main/native/
Djava_util_zip_Deflater.cpp59 int err = deflateInit2(&jstream->stream, level, Z_DEFLATED, windowBits, memLevel, strategy); in Deflater_createStream() local
60 if (err != Z_OK) { in Deflater_createStream()
61 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, jstream.get()); in Deflater_createStream()
83 int err = deflate(&stream->stream, flushStyle); in Deflater_deflateImpl() local
84 switch (err) { in Deflater_deflateImpl()
97 throwExceptionForZlibError(env, "java/util/zip/DataFormatException", err, stream); in Deflater_deflateImpl()
119 int err = deflateReset(&stream->stream); in Deflater_resetImpl() local
120 if (err != Z_OK) { in Deflater_resetImpl()
121 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, stream); in Deflater_resetImpl()
133 int err = deflateParams(&stream->stream, level, strategy); in Deflater_setLevelsImpl() local
[all …]
DZipUtilities.cpp53 int err; in setDictionary() local
55 err = inflateSetDictionary(&stream, dictionary, len); in setDictionary()
57 err = deflateSetDictionary(&stream, dictionary, len); in setDictionary()
59 if (err != Z_OK) { in setDictionary()
60 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, NULL); in setDictionary()
Djava_util_zip_Inflater.cpp43 int err = inflateInit2(&jstream->stream, noHeader ? -DEF_WBITS : DEF_WBITS); in Inflater_createStream() local
44 if (err != Z_OK) { in Inflater_createStream()
45 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, jstream.get()); in Inflater_createStream()
103 int err = inflate(&stream->stream, Z_SYNC_FLUSH); in Inflater_inflateImpl() local
104 switch (err) { in Inflater_inflateImpl()
118 throwExceptionForZlibError(env, "java/util/zip/DataFormatException", err, stream); in Inflater_inflateImpl()
148 int err = inflateReset(&stream->stream); in Inflater_resetImpl() local
149 if (err != Z_OK) { in Inflater_resetImpl()
150 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err, stream); in Inflater_resetImpl()
/libcore/luni/src/test/java/libcore/java/net/
DConcurrentCloseTest.java44 System.err.println("accept..."); in test_accept()
57 System.err.println("connect..."); in test_connect()
72 System.err.println("connect (with timeout)..."); in test_connect_timeout()
87 System.err.println("connect (non-blocking)..."); in test_connect_nonBlocking()
112 System.err.println("read..."); in test_read()
137 System.err.println("read..."); in test_read_multiple()
170 System.err.println("receive..."); in test_recv()
195 System.err.println("write..."); in test_write()
256 System.err.println("sleep..."); in run()
258 System.err.println("close..."); in run()
DNetworkInterfaceTest.java97 System.err.println(nif); in testDumpAll()
98 System.err.println(nif.getInterfaceAddresses()); in testDumpAll()
123 System.err.println(flags); in testDumpAll()
124 System.err.println("-"); in testDumpAll()
/libcore/luni/src/main/java/java/util/logging/
DErrorManager.java97 System.err.println(this.getClass().getName() + ": " + FAILURES[errorCode]); in error()
99 System.err.println("Error message - " + message); in error()
102 System.err.println("Exception - " + exception); in error()
DConsoleHandler.java50 super(System.err); in ConsoleHandler()
/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/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/luni/src/test/java/libcore/java/util/
DResourceLeakageDetector.java44 System.err.println("Resource leakage will not be detected; "
46 e.printStackTrace(System.err);
/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/luni/src/main/java/java/io/
DFileDescriptor.java45 public static final FileDescriptor err = new FileDescriptor(); field in FileDescriptor
56 err.descriptor = STDERR_FILENO;
/libcore/support/src/test/java/tests/net/
DStuckServer.java49 System.err.println("StuckServer: " + serverSocket); in StuckServer()
55 System.err.println("StuckServer client " + i + " - " + client); in StuckServer()
/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/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()
DThrowableTest.java132 PrintStream err = System.err; in test_printStackTrace() local
135 System.setErr(err); in test_printStackTrace()
/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/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java60 InputStream err = process.getErrorStream(); in testDestroyClosesEverything() local
70 err.read(); in testDestroyClosesEverything()

123