/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/utils/ |
D | IndentingPrintWriterTest.java | 37 private StringWriter stringWriter; field in IndentingPrintWriterTest 42 stringWriter = new StringWriter(); in setUp() 44 new IndentingPrintWriter(new PrintWriter(stringWriter, /* autoFlush= */ true)); in setUp() 51 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in println_printString_noIndent() 58 assertThat(stringWriter.toString()) in println_printString_withIndent() 66 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in decreaseIndent_noIndent() 73 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in decreaseIndent_withIndent() 80 assertThat(stringWriter.toString()).isEqualTo(TEST_KEY + "=" + TEST_VALUE + "\n"); in printPair_singlePair()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | ReferenceUtil.java | 67 StringWriter stringWriter = new StringWriter(); in getMethodProtoDescriptor() local 69 writeMethodProtoDescriptor(stringWriter, methodProtoReference); in getMethodProtoDescriptor() 74 return stringWriter.toString(); in getMethodProtoDescriptor() 146 StringWriter stringWriter = new StringWriter(); in getMethodHandleString() local 148 writeMethodHandle(stringWriter, methodHandleReference); in getMethodHandleString() 153 return stringWriter.toString(); in getMethodHandleString() 170 StringWriter stringWriter = new StringWriter(); in getCallSiteString() local 172 writeCallSite(stringWriter, callSiteReference); in getCallSiteString() 177 return stringWriter.toString(); in getCallSiteString()
|
/external/smali/dexlib2/src/test/java/org/jf/util/ |
D | IndentingWriterTest.java | 43 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/org/junit/internal/ |
D | Throwables.java | 61 StringWriter stringWriter = new StringWriter(); in getStacktrace() local 62 PrintWriter writer = new PrintWriter(stringWriter); in getStacktrace() 64 return stringWriter.toString(); in getStacktrace() 157 StringWriter stringWriter = new StringWriter(); in getFullStackTrace() local 158 PrintWriter writer = new PrintWriter(stringWriter); in getFullStackTrace() 160 return stringWriter.toString(); in getFullStackTrace()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | BytecodeTypeInferenceTest.java | 41 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/boringssl/src/util/fipstools/delocate/ |
D | delocate.go | 48 type stringWriter interface { interface 63 output stringWriter 756 func establishTOC(w stringWriter) { argument 777 func (d *delocation) loadFromTOC(w stringWriter, symbol, offset, dest string) wrapperFunc { 1148 func push(w stringWriter) wrapperFunc { argument 1156 func compare(w stringWriter, instr, a, b string) wrapperFunc { argument 1163 func (d *delocation) loadFromGOT(w stringWriter, destination, symbol, section string, redzoneCleare… 1181 func saveFlags(w stringWriter, redzoneCleared bool) wrapperFunc { argument 1193 func saveRegister(w stringWriter, avoidRegs []string) (wrapperFunc, string) { argument 1222 func moveTo(w stringWriter, target string, isAVX bool, source string) wrapperFunc { argument [all …]
|
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
D | AnalysisTest.java | 113 StringWriter stringWriter = new StringWriter(); in runTest() local 114 IndentingWriter writer = new IndentingWriter(stringWriter); in runTest() 125 BaksmaliTestUtils.normalizeWhitespace((stringWriter.toString()))); in runTest()
|
D | BaksmaliTestUtils.java | 90 StringWriter stringWriter = new StringWriter(); in getNormalizedSmali() local 91 IndentingWriter writer = new IndentingWriter(stringWriter); in getNormalizedSmali() 95 return normalizeSmali(stringWriter.toString(), stripComments); in getNormalizedSmali()
|
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | Unformatted.output | 50 Writer stringWriter = new StringWriter(); 53 javaOutput.writeMerged(stringWriter, linesFlag, MAX_WIDTH, errors); 54 String outputString = stringWriter.toString();
|
D | Unformatted.input | 39 errors . isEmpty ( ) ) ; Writer stringWriter = new StringWriter ( ) ; RangeSet 41 Integer > all ( ) ) ; javaOutput . writeMerged ( stringWriter , linesFlag , 42 MAX_WIDTH , errors ) ; String outputString = stringWriter . toString ( ) ;
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/ |
D | NettyClientInteropServlet.java | 119 StringWriter stringWriter = new StringWriter(); in doGetHelper() local 120 PrintWriter printWriter = new PrintWriter(stringWriter); in doGetHelper() 122 writer.println(stringWriter); in doGetHelper()
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | DaggerModuleMethodSubject.java | 171 StringWriter stringWriter = new StringWriter(); in moduleSource() local 172 PrintWriter writer = new PrintWriter(stringWriter); in moduleSource() 181 return stringWriter.toString(); in moduleSource()
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/ |
D | OkHttpClientInteropServlet.java | 156 StringWriter stringWriter = new StringWriter(); in doGetHelper() 157 PrintWriter printWriter = new PrintWriter(stringWriter); in doGetHelper() 159 sb.append(stringWriter); in doGetHelper()
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Throwables.java | 351 StringWriter stringWriter = new StringWriter(); in getStackTraceAsString() local 352 throwable.printStackTrace(new PrintWriter(stringWriter)); in getStackTraceAsString() 353 return stringWriter.toString(); in getStackTraceAsString()
|
/external/guava/guava/src/com/google/common/base/ |
D | Throwables.java | 351 StringWriter stringWriter = new StringWriter(); in getStackTraceAsString() local 352 throwable.printStackTrace(new PrintWriter(stringWriter)); in getStackTraceAsString() 353 return stringWriter.toString(); in getStackTraceAsString()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCldrFactory.java | 195 StringWriter stringWriter = new StringWriter(); in cldrFileToString() local 196 PrintWriter pw = new PrintWriter(stringWriter); in cldrFileToString() 199 return stringWriter.toString(); in cldrFileToString()
|
/external/smali/util/src/main/java/org/jf/util/jcommander/ |
D | HelpFormatter.java | 134 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/boringssl/src/crypto/err/ |
D | err_data_generate.go | 138 type stringWriter interface { interface 143 func (st *stringList) WriteTo(out stringWriter, name string) {
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | KeymanCheck.java | 40 final StringWriter stringWriter = new StringWriter(); in main() local 41 JsonWriter writer = gson.newJsonWriter(stringWriter); in main()
|
D | SearchXml.java | 262 StringWriter stringWriter = new StringWriter(); in getXmlFileAsRelation() 263 PrintWriter arg0 = new PrintWriter(stringWriter); in getXmlFileAsRelation() 266 ERRORS.add("Can't read " + directory + "/" + fileName + "\n" + stringWriter); in getXmlFileAsRelation()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
D | FlatManifestWriterImpl.java | 177 StringWriter stringWriter = new StringWriter(); in getManifest() local 178 Result result = new StreamResult(stringWriter); in getManifest() 190 return stringWriter.getBuffer().toString(); in getManifest()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPDialog.java | 557 StringWriter stringWriter = new StringWriter(); in recordStackTrace() local 558 PrintWriter writer = new PrintWriter(stringWriter); in recordStackTrace() 560 this.stackTrace = stringWriter.getBuffer().toString(); in recordStackTrace()
|