Home
last modified time | relevance | path

Searched refs:stringWriter (Results 1 – 23 of 23) sorted by relevance

/external/smali/util/src/test/java/org/jf/util/
DIndentingWriterTest.java43 StringWriter stringWriter = new StringWriter(); in testPrintSignedLongAsDec() local
44 IndentingWriter writer = new IndentingWriter(stringWriter); in testPrintSignedLongAsDec()
49 Assert.assertEquals("4294967295", stringWriter.toString()); in testPrintSignedLongAsDec()
/external/junit/src/main/java/junit/framework/
DTestFailure.java52 StringWriter stringWriter = new StringWriter(); in trace() local
53 PrintWriter writer = new PrintWriter(stringWriter); in trace()
55 return stringWriter.toString(); in trace()
DTestSuite.java106 StringWriter stringWriter = new StringWriter();
107 PrintWriter writer = new PrintWriter(stringWriter);
109 return stringWriter.toString();
/external/junit/src/main/java/org/junit/runner/notification/
DFailure.java73 StringWriter stringWriter = new StringWriter(); in getTrace() local
74 PrintWriter writer = new PrintWriter(stringWriter); in getTrace()
76 return stringWriter.toString(); in getTrace()
/external/junit/src/main/java/org/junit/internal/matchers/
DStacktracePrintingMatcher.java40 StringWriter stringWriter = new StringWriter(); in readStacktrace() local
41 throwable.printStackTrace(new PrintWriter(stringWriter)); in readStacktrace()
42 return stringWriter.toString(); in readStacktrace()
/external/guava/guava/src/com/google/common/base/
DThrowables.java216 StringWriter stringWriter = new StringWriter(); in getStackTraceAsString() local
217 throwable.printStackTrace(new PrintWriter(stringWriter)); in getStackTraceAsString()
218 return stringWriter.toString(); in getStackTraceAsString()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInferenceTest.java41 StringWriter stringWriter = new StringWriter(); in testTypeInference() local
42 try (PrintWriter printWriter = new PrintWriter(stringWriter)) { in testTypeInference()
46 String inferenceResult = stringWriter.toString().trim(); in testTypeInference()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DBaksmaliTestUtils.java86 StringWriter stringWriter = new StringWriter(); in getNormalizedSmali() local
87 IndentingWriter writer = new IndentingWriter(stringWriter); in getNormalizedSmali()
91 return normalizeSmali(stringWriter.toString(), stripComments); in getNormalizedSmali()
DAnalysisTest.java114 StringWriter stringWriter = new StringWriter(); in runTest() local
115 IndentingWriter writer = new IndentingWriter(stringWriter); in runTest()
126 TextUtils.normalizeWhitespace((stringWriter.toString()))); in runTest()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/
DNettyClientInteropServlet.java119 StringWriter stringWriter = new StringWriter(); in doGetHelper() local
120 PrintWriter printWriter = new PrintWriter(stringWriter); in doGetHelper()
122 writer.println(stringWriter); in doGetHelper()
/external/boringssl/src/util/fipstools/delocate/
Ddelocate.go48 type stringWriter interface { interface
62 output stringWriter
474 func establishTOC(w stringWriter) { argument
495 func (d *delocation) loadFromTOC(w stringWriter, symbol, offset, dest string) wrapperFunc {
850 func push(w stringWriter) wrapperFunc { argument
858 func (d *delocation) loadFromGOT(w stringWriter, destination, symbol, section string, redzoneCleare…
876 func saveFlags(w stringWriter, redzoneCleared bool) wrapperFunc { argument
888 func saveRegister(w stringWriter, avoidRegs []string) (wrapperFunc, string) { argument
917 func moveTo(w stringWriter, target string, isAVX bool, source string) wrapperFunc { argument
928 func finalTransform(w stringWriter, transformInstruction, reg string) wrapperFunc { argument
[all …]
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/
DOkHttpClientInteropServlet.java156 StringWriter stringWriter = new StringWriter(); in doGetHelper()
157 PrintWriter printWriter = new PrintWriter(stringWriter); in doGetHelper()
159 sb.append(stringWriter); in doGetHelper()
/external/junit/src/main/java/junit/runner/
DBaseTestRunner.java267 StringWriter stringWriter = new StringWriter(); in getFilteredTrace() local
268 PrintWriter writer = new PrintWriter(stringWriter); in getFilteredTrace()
270 String trace = stringWriter.toString(); in getFilteredTrace()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCldrFactory.java196 StringWriter stringWriter = new StringWriter(); in cldrFileToString() local
197 PrintWriter pw = new PrintWriter(stringWriter); in cldrFileToString()
200 return stringWriter.toString(); in cldrFileToString()
/external/smali/util/src/main/java/org/jf/util/jcommander/
DHelpFormatter.java134 StringWriter stringWriter = new StringWriter(); in format() local
135 … WrappedIndentingWriter writer = new WrappedIndentingWriter(stringWriter, width - 5, width); in format()
311 return stringWriter.getBuffer().toString(); in format()
/external/cldr/tools/java/org/unicode/cldr/icu/
DIcuTextWriter.java75 try (StringWriter stringWriter = new StringWriter();) { in getHeader() argument
76 FileCopier.copy(NewLdml2IcuConverter.class, "ldml2icu_header.txt", stringWriter); in getHeader()
77 headerText = stringWriter.toString(); in getHeader()
/external/boringssl/src/crypto/err/
Derr_data_generate.go137 type stringWriter interface { interface
142 func (st *stringList) WriteTo(out stringWriter, name string) {
/external/cldr/tools/java/org/unicode/cldr/tool/
DKeymanCheck.java40 final StringWriter stringWriter = new StringWriter(); in main() local
41 JsonWriter writer = gson.newJsonWriter(stringWriter); in main()
DSearchXml.java260 StringWriter stringWriter = new StringWriter(); in getXmlFileAsRelation()
261 PrintWriter arg0 = new PrintWriter(stringWriter); in getXmlFileAsRelation()
264 ERRORS.add("Can't read " + directory + "/" + fileName + "\n" + stringWriter); in getXmlFileAsRelation()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatManifestWriterImpl.java177 StringWriter stringWriter = new StringWriter(); in getManifest() local
178 Result result = new StreamResult(stringWriter); in getManifest()
190 return stringWriter.getBuffer().toString(); in getManifest()
/external/syzkaller/vendor/golang.org/x/net/http2/
Dhttp2.go222 type stringWriter interface { interface
Dserver.go2250 _ stringWriter = (*responseWriter)(nil)
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPDialog.java557 StringWriter stringWriter = new StringWriter(); in recordStackTrace() local
558 PrintWriter writer = new PrintWriter(stringWriter); in recordStackTrace()
560 this.stackTrace = stringWriter.getBuffer().toString(); in recordStackTrace()