Home
last modified time | relevance | path

Searched refs:PrintStream (Results 1 – 25 of 186) sorted by relevance

12345678

/external/testng/src/main/java/org/testng/log4testng/
DLogger.java7 import java.io.PrintStream;
88 private static PrintStream err= System.err;
91 private static PrintStream out= System.out;
443 PrintStream ps= (pLevel >= ERROR) ? err : out; in log()
475 PrintStream pOut, in testInitialize()
476 PrintStream pErr) { in testInitialize()
493 PrintStream out2= new PrintStream(out1); in testDebugDefault()
494 PrintStream err2= new PrintStream(err1); in testDebugDefault()
508 PrintStream out2= new PrintStream(out1); in testDebugOn()
509 PrintStream err2= new PrintStream(err1); in testDebugOn()
[all …]
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/
DNullPrintStream.java22 import java.io.PrintStream;
29 public final class NullPrintStream extends PrintStream {
50 public PrintStream format(String format, Object... args) { in format()
55 public PrintStream format(Locale l, String format, Object... args) { in format()
60 public PrintStream printf(String format, Object... args) { in printf()
65 public PrintStream printf(Locale l, String format, Object... args) { in printf()
136 public PrintStream append(char c) { in append()
141 public PrintStream append(CharSequence csq) { in append()
146 public PrintStream append(CharSequence csq, int start, int end) { in append()
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/
DNullPrintStream.java21 import java.io.PrintStream;
27 public final class NullPrintStream extends PrintStream {
48 public PrintStream format(String format, Object... args) { in format()
53 public PrintStream format(Locale l, String format, Object... args) { in format()
58 public PrintStream printf(String format, Object... args) { in printf()
63 public PrintStream printf(Locale l, String format, Object... args) { in printf()
134 public PrintStream append(char c) { in append()
139 public PrintStream append(CharSequence csq) { in append()
144 public PrintStream append(CharSequence csq, int start, int end) { in append()
/external/vogar/test/vogar/testing/
DInterceptOutputStreams.java22 import java.io.PrintStream;
42 PrintStream get() { in get()
47 void set(PrintStream stream) { in set()
53 PrintStream get() { in get()
58 void set(PrintStream stream) { in set()
63 abstract PrintStream get(); in get()
65 abstract void set(PrintStream stream); in set()
133 private final PrintStream original;
141 stream.set(new PrintStream(baos, true, "UTF-8"));
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc119 bool PrintStream(std::stringstream* ss, const grpc::string& output) { in PrintStream() function
268 std::bind(PrintStream, &output_stream, std::placeholders::_1)), in TEST_F()
282 std::bind(PrintStream, &output_stream, std::placeholders::_1)), in TEST_F()
294 std::bind(PrintStream, &output_stream, in TEST_F()
310 std::bind(PrintStream, &output_stream, in TEST_F()
329 std::bind(PrintStream, &output_stream, in TEST_F()
340 std::bind(PrintStream, &output_stream, in TEST_F()
358 std::bind(PrintStream, &output_stream, in TEST_F()
380 std::bind(PrintStream, &output_stream, in TEST_F()
390 std::bind(PrintStream, &output_stream, in TEST_F()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DJPDALogWriter.java28 import java.io.PrintStream;
57 public JPDALogWriter(PrintStream outputStream, String prefix, in JPDALogWriter()
72 public JPDALogWriter(PrintStream outputStream, String prefix) { in JPDALogWriter()
201 protected PrintStream outputStream;
208 public LogStream(PrintStream outputStream) { in LogStream()
215 public synchronized PrintStream getOutputStream() { in getOutputStream()
225 public synchronized void setOutputStream(PrintStream outputStream) { in setOutputStream()
/external/doclava/src/com/google/doclava/
DStubs.java29 import java.io.PrintStream;
58 PrintStream apiWriter = null; in writeStubsAndApi()
59 PrintStream dexApiWriter = null; in writeStubsAndApi()
60 PrintStream keepListWriter = null; in writeStubsAndApi()
61 PrintStream removedApiWriter = null; in writeStubsAndApi()
62 PrintStream removedDexApiWriter = null; in writeStubsAndApi()
63 PrintStream exactApiWriter = null; in writeStubsAndApi()
64 PrintStream privateApiWriter = null; in writeStubsAndApi()
65 PrintStream privateDexApiWriter = null; in writeStubsAndApi()
66 PrintStream apiMappingWriter = null; in writeStubsAndApi()
[all …]
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/
DSilentPrintStream.java27 import java.io.PrintStream;
29 public class SilentPrintStream extends PrintStream {
31 PrintStream other;
33 public SilentPrintStream(PrintStream ps) { in SilentPrintStream()
/external/testng/src/test/java/test/parameters/
DParamInheritanceTest.java13 import java.io.PrintStream;
29 PrintStream out = System.out; in noNPEInCountingResults()
30 PrintStream err = System.err; in noNPEInCountingResults()
36 System.setOut(new PrintStream(os)); in noNPEInCountingResults()
37 System.setErr(new PrintStream(os)); in noNPEInCountingResults()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DHelloWorldMaker.java28 import java.io.PrintStream;
64 TypeId<PrintStream> printStreamType = TypeId.get(PrintStream.class); in generateHelloMethod()
78 Local<PrintStream> localSystemOut = code.newLocal(printStreamType); in generateHelloMethod()
95 FieldId<System, PrintStream> systemOutField = systemType.getField(printStreamType, "out"); in generateHelloMethod()
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod( in generateHelloMethod()
/external/vogar/src/vogar/monitor/
DTargetMonitor.java22 import java.io.PrintStream;
38 private final PrintStream writer;
40 private TargetMonitor(PrintStream writer) { in TargetMonitor()
44 public static TargetMonitor forPrintStream(PrintStream printStream) { in forPrintStream()
54 return new TargetMonitor(new PrintStream(socket.getOutputStream())) { in await()
/external/proguard/src/proguard/gui/
DProGuardRunnable.java27 import java.io.PrintStream;
69 PrintStream oldOut = System.out; in run()
70 PrintStream oldErr = System.err; in run()
72 PrintStream printStream = in run()
73 new PrintStream(new TextAreaOutputStream(consoleTextArea), true); in run()
DReTraceRunnable.java74 PrintStream oldOut = System.out; in run()
75 PrintStream oldErr = System.err; in run()
80 PrintStream printStream = in run()
81 new PrintStream(new TextAreaOutputStream(consoleTextArea), true); in run()
/external/slf4j/integration/src/test/java/org/slf4j/
DStringPrintStream.java27 import java.io.PrintStream;
31 public class StringPrintStream extends PrintStream {
34 PrintStream other;
37 public StringPrintStream(PrintStream ps) { in StringPrintStream()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DExamplesTest.java34 import java.io.PrintStream;
48 PrintStream stdout = System.out; in testExamplesRun()
49 PrintStream stderr = System.err; in testExamplesRun()
53 PrintStream capturingOut = new PrintStream(captured, true, "UTF-8"); in testExamplesRun()
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java53 private PrintStream console = System.out;
54 private PrintStream consoleErr = System.err;
74 PrintStream ps = null; // for redirecting stdout later in execLexer()
75 PrintStream ps2 = null; // for redirecting stderr later in execLexer()
88 ps = new PrintStream(out); in execLexer()
89 ps2 = new PrintStream(err); in execLexer()
164 PrintStream ps = null; // for redirecting stdout later in execParser()
165 PrintStream ps2 = null; // for redirecting stderr later in execParser()
192 ps = new PrintStream(out); in execParser()
193 ps2 = new PrintStream(err); in execParser()
[all …]
DgUnitExecutor.java44 import java.io.PrintStream;
77 private PrintStream console = System.out;
78 private PrintStream consoleErr = System.err;
235 PrintStream ps = null; // for redirecting stdout later in runLexer()
236 PrintStream ps2 = null; // for redirecting stderr later in runLexer()
251 ps = new PrintStream(out); in runLexer()
252 ps2 = new PrintStream(err); in runLexer()
310 PrintStream ps = null; // for redirecting stdout later in runParser()
311 PrintStream ps2 = null; // for redirecting stderr later in runParser()
339 ps = new PrintStream(out); in runParser()
[all …]
/external/smali/examples/AnnotationTypes/
DMain.smali34 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
42 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
55 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
71 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
85 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
98 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
113 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
135 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
/external/proguard/src/proguard/classfile/util/
DWarningPrinter.java25 import java.io.PrintStream;
35 private final PrintStream printStream;
52 public WarningPrinter(PrintStream printStream) in WarningPrinter()
63 public WarningPrinter(PrintStream printStream, List classFilter) in WarningPrinter()
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DTextReporterTest.java28 import java.io.PrintStream;
47 textReporter = new TextReporter(new PrintStream(summaryBuffer), new PrintStream(logBuffer)); in setUp()
97 PrintStream out = new PrintStream(expectedSummaryBuffer); in testReportsSuccessesInTabularFormat()
/external/smali/examples/BracketedMemberNames/
DBracketedMemberNames.smali18 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
22 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
30 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
34 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DModuleWriter.java20 import java.io.PrintStream;
39 output = new PrintStream( in openFile()
106 protected PrintStream output;
109 protected PrintStream updateFile;
118 updateFile = new PrintStream(new FileOutputStream(BUILDER_FILE_PATH+name)); in openScriptAndLanguages()
DOpenTypeTableWriter.java16 import java.io.PrintStream;
50 void dumpTable(PrintStream output, int valuesPerLine) { in dumpTable()
122 public void dumpTable(PrintStream output, int valuesPerLine) in dumpTable()
129 abstract public void writeTable(PrintStream output); in writeTable()
/external/junit/src/main/java/org/junit/internal/
DTextListener.java3 import java.io.PrintStream;
14 private final PrintStream writer;
20 public TextListener(PrintStream writer) { in TextListener()
50 private PrintStream getWriter() { in getWriter()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java14 import java.io.PrintStream;
171 PrintStream old = ShadowLog.stream; in shouldLogToProvidedStream()
173 ShadowLog.stream = new PrintStream(bos); in shouldLogToProvidedStream()
221 PrintStream old = ShadowLog.stream; in infoIsDefaultLoggableLevel()
235 PrintStream old = ShadowLog.stream; in shouldAlwaysBeLoggableIfStreamIsSpecified()
236 ShadowLog.stream = new PrintStream(new ByteArrayOutputStream()); in shouldAlwaysBeLoggableIfStreamIsSpecified()
270 PrintStream old = ShadowLog.stream; in noLogAfterSetLoggable()
271 ShadowLog.stream = new PrintStream(new ByteArrayOutputStream()); in noLogAfterSetLoggable()

12345678