Home
last modified time | relevance | path

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

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DCssParser.java55 private final StringBuilder stringBuilder; field in CssParser
59 stringBuilder = new StringBuilder(); in CssParser()
73 stringBuilder.setLength(0); in parseBlock()
81 while ((selector = parseSelector(styleInput, stringBuilder)) != null) { in parseBlock()
82 if (!RULE_START.equals(parseNextToken(styleInput, stringBuilder))) { in parseBlock()
91 token = parseNextToken(styleInput, stringBuilder); in parseBlock()
95 parseStyleDeclaration(styleInput, style, stringBuilder); in parseBlock()
115 private static String parseSelector(ParsableByteArray input, StringBuilder stringBuilder) { in parseSelector() argument
125 String token = parseNextToken(input, stringBuilder); in parseSelector()
137 token = parseNextToken(input, stringBuilder); in parseSelector()
[all …]
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/
DMap.java63 StringBuilder stringBuilder = new StringBuilder(); in toString() local
65 stringBuilder.append("{_ "); in toString()
67 stringBuilder.append("{ "); in toString()
70 stringBuilder.append(key).append(": ").append(map.get(key)).append(", "); in toString()
72 if (stringBuilder.toString().endsWith(", ")) { in toString()
73 stringBuilder.setLength(stringBuilder.length() - 2); in toString()
75 stringBuilder.append(" }"); in toString()
76 return stringBuilder.toString(); in toString()
DArray.java41 StringBuilder stringBuilder = new StringBuilder("["); in toString() local
43 stringBuilder.append("_ "); in toString()
45 stringBuilder.append(Arrays.toString(objects.toArray()).substring(1)); in toString()
46 return stringBuilder.toString(); in toString()
/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/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/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/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/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplersOld.cpp233 std::string stringBuilder; in GetStructSamplerNameFromTypedNode() local
246 stringBuilder.insert(0, strInt); in GetStructSamplerNameFromTypedNode()
247 stringBuilder.insert(0, "_"); in GetStructSamplerNameFromTypedNode()
252 stringBuilder.insert(0, asBinary->getIndexStructFieldName().data()); in GetStructSamplerNameFromTypedNode()
253 stringBuilder.insert(0, "_"); in GetStructSamplerNameFromTypedNode()
266 stringBuilder.insert(0, variableName.data()); in GetStructSamplerNameFromTypedNode()
268 return stringBuilder; in GetStructSamplerNameFromTypedNode()
378 ImmutableStringBuilder stringBuilder(prefix.length() + kHexSize + 1); in extractFieldSamplers() local
379 stringBuilder << prefix << "_"; in extractFieldSamplers()
380 stringBuilder.appendHex(arrayElement); in extractFieldSamplers()
[all …]
DRewriteStructSamplers.cpp500 std::string stringBuilder; in GetStructSamplerNameFromTypedNode() local
511 stringBuilder.insert(0, asBinary->getIndexStructFieldName().data()); in GetStructSamplerNameFromTypedNode()
512 stringBuilder.insert(0, "_"); in GetStructSamplerNameFromTypedNode()
529 stringBuilder.insert(0, variableName.data()); in GetStructSamplerNameFromTypedNode()
531 return stringBuilder; in GetStructSamplerNameFromTypedNode()
650 ImmutableStringBuilder stringBuilder(prefix.length() + field->name().length() + 1); in extractFieldSamplersImpl() local
651 stringBuilder << prefix << "_" << field->name(); in extractFieldSamplersImpl()
652 ImmutableString newPrefix(stringBuilder); in extractFieldSamplersImpl()
/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndex.java377 StringBuilder stringBuilder = new StringBuilder(); in encodeStreamKeys() local
380 stringBuilder in encodeStreamKeys()
388 if (stringBuilder.length() > 0) { in encodeStreamKeys()
389 stringBuilder.setLength(stringBuilder.length() - 1); in encodeStreamKeys()
391 return stringBuilder.toString(); in encodeStreamKeys()
/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/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/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1333 StringBuilder stringBuilder = new StringBuilder(); in getCommaDelimitedSimpleClassNames() local
1335 stringBuilder.append(objects[i].getClass().getSimpleName()); in getCommaDelimitedSimpleClassNames()
1337 stringBuilder.append(", "); in getCommaDelimitedSimpleClassNames()
1340 return stringBuilder.toString(); in getCommaDelimitedSimpleClassNames()

12