Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 25 of 34) sorted by relevance

12

/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java602 StringBuilder stringBuilder = new StringBuilder(); in renderNetworkEvents() local
604 stringBuilder.append("Received message"); in renderNetworkEvents()
606 stringBuilder.append("Sent message"); in renderNetworkEvents()
608 stringBuilder.append("Unknown"); in renderNetworkEvents()
610 stringBuilder.append(" id="); in renderNetworkEvents()
611 stringBuilder.append(networkEvent.getMessageId()); in renderNetworkEvents()
612 stringBuilder.append(" uncompressed_size="); in renderNetworkEvents()
613 stringBuilder.append(networkEvent.getUncompressedMessageSize()); in renderNetworkEvents()
614 stringBuilder.append(" compressed_size="); in renderNetworkEvents()
615 stringBuilder.append(networkEvent.getCompressedMessageSize()); in renderNetworkEvents()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/
DClientInterceptorTest.cs71 var stringBuilder = new StringBuilder(); in CheckInterceptorOrderInClientInterceptors()
73 stringBuilder.Append("interceptor1"); in CheckInterceptorOrderInClientInterceptors()
75 }).Intercept(new CallbackInterceptor(() => stringBuilder.Append("array1")), in CheckInterceptorOrderInClientInterceptors()
76 new CallbackInterceptor(() => stringBuilder.Append("array2")), in CheckInterceptorOrderInClientInterceptors()
77 new CallbackInterceptor(() => stringBuilder.Append("array3"))) in CheckInterceptorOrderInClientInterceptors()
80 stringBuilder.Append("interceptor2"); in CheckInterceptorOrderInClientInterceptors()
84 stringBuilder.Append("interceptor3"); in CheckInterceptorOrderInClientInterceptors()
88 …Assert.AreEqual("interceptor3interceptor2array1array2array3interceptor1", stringBuilder.ToString()… in CheckInterceptorOrderInClientInterceptors()
111 var stringBuilder = new StringBuilder(); in CountNumberOfRequestsInClientInterceptors()
114 stringBuilder.Append(request); in CountNumberOfRequestsInClientInterceptors()
[all …]
DServerInterceptorTest.cs66 var stringBuilder = new StringBuilder(); in VerifyInterceptorOrdering()
68 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("A"))) in VerifyInterceptorOrdering()
69 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("B1")), in VerifyInterceptorOrdering()
70 new ServerCallContextInterceptor(ctx => stringBuilder.Append("B2")), in VerifyInterceptorOrdering()
71 new ServerCallContextInterceptor(ctx => stringBuilder.Append("B3"))) in VerifyInterceptorOrdering()
72 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("C"))); in VerifyInterceptorOrdering()
77 Assert.AreEqual("CB1B2B3A", stringBuilder.ToString()); in VerifyInterceptorOrdering()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracestateTest.java94 StringBuilder stringBuilder = new StringBuilder(); in allAllowedKeyCharacters() local
96 stringBuilder.append(c); in allAllowedKeyCharacters()
99 stringBuilder.append(c); in allAllowedKeyCharacters()
101 stringBuilder.append('_'); in allAllowedKeyCharacters()
102 stringBuilder.append('-'); in allAllowedKeyCharacters()
103 stringBuilder.append('*'); in allAllowedKeyCharacters()
104 stringBuilder.append('/'); in allAllowedKeyCharacters()
105 String allowedKey = stringBuilder.toString(); in allAllowedKeyCharacters()
145 StringBuilder stringBuilder = new StringBuilder(); in allAllowedValueCharacters() local
150 stringBuilder.append(c); in allAllowedValueCharacters()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DLowerCaseBase16Encoding.java55 StringBuilder stringBuilder = new StringBuilder(bytes.length * 2); in encodeToString() local
58 stringBuilder.append(ENCODING[b]); in encodeToString()
59 stringBuilder.append(ENCODING[b | 0x100]); in encodeToString()
61 return stringBuilder.toString(); in encodeToString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTimeZoneFinderQ.java36 StringBuilder stringBuilder = new StringBuilder(); in readTzlookup() local
43 stringBuilder.append(line); in readTzlookup()
54 return stringBuilder.toString(); in readTzlookup()
DShadowTimeZoneFinder.java45 StringBuilder stringBuilder = new StringBuilder(); in readTzlookup() local
52 stringBuilder.append(line); in readTzlookup()
63 return stringBuilder.toString(); in readTzlookup()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DAbstractData.java117 StringBuilder stringBuilder = new StringBuilder(); in toString() local
118 toString(stringBuilder, 0); in toString()
119 return stringBuilder.toString(); in toString()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DCompressionTest.cs122 var stringBuilder = new StringBuilder(); in CanReadCompressedMessages()
125 stringBuilder.Append('a'); in CanReadCompressedMessages()
127 var request = stringBuilder.ToString(); in CanReadCompressedMessages()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEditTextTest.java104 StringBuilder stringBuilder = new StringBuilder(); in stringOfLength() local
107 stringBuilder.append('x'); in stringOfLength()
109 return stringBuilder.toString(); in stringOfLength()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateCldrCollationTests.java113 StringBuilder stringBuilder = new StringBuilder(); in getCollationRules() local
120 stringBuilder.setLength(0); in getCollationRules()
122 stringBuilder.append(line); in getCollationRules()
124 String originalRules = stringBuilder.toString(); in getCollationRules()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
DKeyboardToXml.java120 StringBuilder stringBuilder = new StringBuilder(); in escapeOutput() local
125 stringBuilder.append(String.format("\\u{%X}", character)); in escapeOutput()
127 stringBuilder.append(UCharacter.toString(character)); in escapeOutput()
130 return stringBuilder.toString(); in escapeOutput()
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java418 StringBuilder stringBuilder = new StringBuilder(30 * (typeArguments.length + 1)); in toString() local
419 stringBuilder.append(typeToString(rawType)); in toString()
422 return stringBuilder.toString(); in toString()
425 stringBuilder.append("<").append(typeToString(typeArguments[0])); in toString()
427 stringBuilder.append(", ").append(typeToString(typeArguments[i])); in toString()
429 return stringBuilder.append(">").toString(); in toString()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java760 …StringBuilder stringBuilder = new StringBuilder("the possible argument indexes for this method are… in possibleArgumentTypesOf() local
762 stringBuilder.append(" [").append(i); in possibleArgumentTypesOf()
765stringBuilder.append("+] ").append(parameterTypes[i].getComponentType().getSimpleName()).append(" … in possibleArgumentTypesOf()
767 stringBuilder.append("] ").append(parameterTypes[i].getSimpleName()).append("\n"); in possibleArgumentTypesOf()
770 return stringBuilder; in possibleArgumentTypesOf()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java479 StringBuilder stringBuilder = new StringBuilder(); in rawType() local
481 stringBuilder.append("["); in rawType()
484 …return Class.forName(stringBuilder.append("L").append(rawComponentType.getName()).append(";").toSt… in rawType()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java563 private static void getChars(BytesTrie.Entry entry, StringBuilder stringBuilder) { in getChars() argument
568 stringBuilder.append((char) b); in getChars()
572 stringBuilder.append((char) ((b1 << 8) | b2)); in getChars()
576 stringBuilder.append((char) ((b2 << 8) | b3)); in getChars()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java562 private static void getChars(BytesTrie.Entry entry, StringBuilder stringBuilder) { in getChars() argument
567 stringBuilder.append((char) b); in getChars()
571 stringBuilder.append((char) ((b1 << 8) | b2)); in getChars()
575 stringBuilder.append((char) ((b2 << 8) | b3)); in getChars()
/external/mockito/lib/
Dbyte-buddy-agent-1.8.15.jarMETA-INF/MANIFEST.MF META-INF/ net/ net/bytebuddy/ net/ ...
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.cc708 NACKStringBuilder stringBuilder; in BuildNACK() local
710 stringBuilder.PushNACK(ctx.nack_list_[idx]); in BuildNACK()
718 TRACE_STR_COPY(stringBuilder.GetResult().c_str())); in BuildNACK()
/external/error_prone/error_prone/
Derror_prone_test_helpers-2.3.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.contenttype_3.7.0.v20180426-1644.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dokka/maven/org/jetbrains/dokka/dokka-gradle-plugin/0.9.17-g20190326/
Ddokka-gradle-plugin-0.9.17-g20190326.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/gradle-plugin. ...
/external/caliper/lib/
Dgson-2.2.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/cldr/tools/java/libs/
Dgson.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12