/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Strings.java | 12 StringBuilder stringBuilder = new StringBuilder(); 14 stringBuilder.append(new String(buffer, 0, inSize)); 16 return stringBuilder.toString();
|
Join.java | 8 StringBuilder sb = new StringBuilder(); 21 StringBuilder sb = new StringBuilder();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPathStringBuilder.cpp | 38 static void appendFloat(StringBuilder& stringBuilder, float value) 40 stringBuilder.append(' '); 41 stringBuilder.appendNumber(value); 44 static void appendBool(StringBuilder& stringBuilder, bool value) 46 stringBuilder.append(' '); 47 stringBuilder.appendNumber(value); 50 static void appendPoint(StringBuilder& stringBuilder, const FloatPoint& point [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
StringBuilderBenchmark.java | 24 * Tests the performance of various StringBuilder methods. 32 StringBuilder sb = new StringBuilder(); 41 StringBuilder sb = new StringBuilder(); 51 StringBuilder sb = new StringBuilder(); 61 StringBuilder sb = new StringBuilder(); 71 StringBuilder sb = new StringBuilder() [all...] |
/external/mockito/src/org/mockito/internal/util/ |
SimpleMockitoLogger.java | 9 StringBuilder loggedInfo = new StringBuilder();
|
StringJoiner.java | 11 StringBuilder out = new StringBuilder("\n"); 15 private static String join(StringBuilder out, Object[] linesToBreak) {
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
MHTMLArchive.cpp | 45 #include "wtf/text/StringBuilder.h" 59 StringBuilder stringBuilder; 60 stringBuilder.appendLiteral("----=_NextPart_000_"); 63 stringBuilder.append('_'); 65 stringBuilder.append('.'); 66 stringBuilder.append(lowerNibbleToASCIIHexDigit(randomValues[i])); 67 stringBuilder.append(upperNibbleToASCIIHexDigit(randomValues[i])); 69 return stringBuilder.toString(); 74 StringBuilder stringBuilder [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
MarkupAccumulator.h | 32 #include "wtf/text/StringBuilder.h" 74 static void appendComment(StringBuilder&, const String&); 76 static void appendCharactersReplacingEntities(StringBuilder&, const String&, unsigned, unsigned, EntityMask); 84 void concatenateMarkup(StringBuilder&); 85 void appendAttributeValue(StringBuilder&, const String&, bool); 86 virtual void appendCustomAttributes(StringBuilder&, const Element&, Namespaces*); 90 void appendNamespace(StringBuilder&, const AtomicString& prefix, const AtomicString& namespaceURI, Namespaces&); 92 virtual void appendText(StringBuilder&, Text&); 93 void appendXMLDeclaration(StringBuilder&, const Document&); 94 void appendDocumentType(StringBuilder&, const DocumentType&) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBuilderTest.java | 31 * java.lang.StringBuilder.StringBuilder() 34 StringBuilder sb = new StringBuilder(); 40 * java.lang.StringBuilder.StringBuilder(int) 43 StringBuilder sb = new StringBuilder(24); 48 new StringBuilder(-1); 54 assertNotNull(new StringBuilder(0)) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
ThreadLocalOutputBufferProvider.java | 20 * Implementation of OutputBufferProvider that reuses the same StringBuilder in each Thread. 24 private final ThreadLocal<StringBuilder> pool; 28 pool = new ThreadLocal<StringBuilder>() { 29 protected StringBuilder initialValue() { 30 return new StringBuilder(bufferSize); 45 StringBuilder sb = pool.get();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NativeDaemonConnectorTest.java | 35 final StringBuilder builder = new StringBuilder(); 55 final StringBuilder builder = new StringBuilder(); 67 final StringBuilder builder = new StringBuilder(); 75 final StringBuilder rawBuilder = new StringBuilder(); 76 final StringBuilder logBuilder = new StringBuilder(); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringBuilderTest.java | 22 StringBuilder sb = new StringBuilder("oarFish_"); 36 StringBuilder sb = new StringBuilder(); 50 StringBuilder sb = new StringBuilder("newGuineaSinging"); 66 StringBuilder sb = new StringBuilder("yeti"); 82 StringBuilder sb = new StringBuilder("yeti") [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
Installer.java | 45 StringBuilder builder = new StringBuilder("install"); 96 StringBuilder builder = new StringBuilder("idmap"); 112 StringBuilder builder = new StringBuilder("movedex"); 128 StringBuilder builder = new StringBuilder("rmdex"); 137 StringBuilder builder = new StringBuilder("remove") [all...] |
/frameworks/base/core/java/android/util/ |
StringBuilderPrinter.java | 21 * to a {@link StringBuilder}. 24 private final StringBuilder mBuilder; 27 * Create a new Printer that sends to a StringBuilder object. 29 * @param builder The StringBuilder where you would like output to go. 31 public StringBuilderPrinter(StringBuilder builder) {
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringBuilderTest.cpp | 36 #include "wtf/text/StringBuilder.h" 52 static void expectBuilderContent(const String& expected, const StringBuilder& builder) 61 void expectEmpty(const StringBuilder& builder) 70 StringBuilder builder; 76 StringBuilder builder; 89 StringBuilder builder1; 97 StringBuilder builder2; 104 // Test appending UChar32 characters to StringBuilder. 105 StringBuilder builderForUChar32Append; 117 StringBuilder builder [all...] |
StringBuilder.cpp | 28 #include "StringBuilder.h" 42 void StringBuilder::reifyString() 69 String StringBuilder::reifySubstring(unsigned position, unsigned length) const 77 void StringBuilder::resize(unsigned newSize) 117 void StringBuilder::allocateBuffer(const LChar* currentCharacters, unsigned requiredLength) 131 void StringBuilder::allocateBuffer(const UChar* currentCharacters, unsigned requiredLength) 145 void StringBuilder::allocateBufferUpConvert(const LChar* currentCharacters, unsigned requiredLength) 161 void StringBuilder::reallocateBuffer<LChar>(unsigned requiredLength) 163 // If the buffer has only one ref (by this StringBuilder), reallocate it, 178 void StringBuilder::reallocateBuffer<UChar>(unsigned requiredLength [all...] |
StringBuilder.h | 36 class WTF_EXPORT StringBuilder { 38 WTF_MAKE_NONCOPYABLE(StringBuilder); 41 StringBuilder() 73 void append(const StringBuilder& other) 274 void swap(StringBuilder& stringBuilder) 276 std::swap(m_length, stringBuilder.m_length); 277 m_string.swap(stringBuilder.m_string); 278 m_buffer.swap(stringBuilder.m_buffer); 279 std::swap(m_is8Bit, stringBuilder.m_is8Bit) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ContentProviderConnection.java | 49 StringBuilder sb = new StringBuilder(128); 57 StringBuilder sb = new StringBuilder(128); 63 StringBuilder sb = new StringBuilder(128); 68 public void toShortString(StringBuilder sb) { 74 public void toClientString(StringBuilder sb) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLUtils.java | 49 StringBuilder sb = new StringBuilder(bb.capacity() * 3); 63 StringBuilder sb = new StringBuilder(bb.capacity() * 3); 77 StringBuilder sb = new StringBuilder(bb.capacity() * 3); 95 StringBuilder sb = new StringBuilder(bb.capacity() * 3);
|
/dalvik/dx/tests/091-ssa-const-collector/ |
Blort.java | 22 StringBuilder sb = new StringBuilder(); 33 StringBuilder sb = new StringBuilder();
|
expected.txt | 84 Blort.java:22@0000: new-instance(java.lang.StringBuilder catch) . <- . 88 Blort.java:22@0004: Rop{invoke-direct . <- Ljava/lang/StringBuilder; call thr 89 ows <any>}(java.lang.StringBuilder.<init>:()V catch) . <- v0:N0000Ljava/lang/ 90 StringBuilder; 94 @????: mark-local-object . <- v0:"sb"Ljava/lang/StringBuilder; 99 Blort.java:24@000b: Rop{invoke-virtual . <- Ljava/lang/StringBuilder; Ljava/l 100 ang/String; call throws <any>}(java.lang.StringBuilder.append:(Ljava/lang/Str 101 ing;)Ljava/lang/StringBuilder; catch) . <- v0:Ljava/lang/StringBuilder; v1:Lj 110 Blort.java:25@0012: Rop{invoke-virtual . <- Ljava/lang/StringBuilder; Ljava/ [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
MockLog.java | 21 StringBuilder mOut = new StringBuilder(); 22 StringBuilder mErr = new StringBuilder();
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
StringBuilderExtensions.cs | 35 using StringBuilder = System.Text.StringBuilder; 44 public static void append<T>( this StringBuilder buffer, T value ) 50 public static char charAt( this StringBuilder buffer, int index ) 56 public static int length( this StringBuilder buffer ) 62 public static void setCharAt( this StringBuilder buffer, int index, char c ) 68 public static void setLength( this StringBuilder buffer, int length )
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
ProxyServer.cpp | 29 #include "wtf/text/StringBuilder.h" 33 static void appendProxyServerString(StringBuilder& builder, const ProxyServer& proxyServer) 63 StringBuilder stringBuilder; 66 stringBuilder.appendLiteral("; "); 68 appendProxyServerString(stringBuilder, proxyServers[i]); 71 return stringBuilder.toString();
|
/external/smack/src/org/jivesoftware/smackx/ |
XHTMLText.java | 33 private StringBuilder text = new StringBuilder(30); 52 StringBuilder sb = new StringBuilder("<a"); 81 StringBuilder sb = new StringBuilder("<blockquote"); 106 StringBuilder sb = new StringBuilder("<body"); 187 StringBuilder sb = new StringBuilder("<h") [all...] |