/art/tools/ahat/src/main/com/android/ahat/ |
D | HtmlEscaper.java | 26 StringBuilder sb = null; in escape() local 31 if (sb == null) { in escape() 32 sb = new StringBuilder(); in escape() 34 sb.append(text.substring(low, i)); in escape() 35 sb.append(replacements[s]); in escape() 39 if (sb == null) { in escape() 43 sb.append(text.substring(low)); in escape() 44 return sb.toString(); in escape()
|
/art/test/596-app-images/src-art/ |
D | Main.java | 70 StringBuffer sb = new StringBuffer(); in testInternedStrings() local 71 sb.append("java."); in testInternedStrings() 72 sb.append("abc."); in testInternedStrings() 73 sb.append("Action"); in testInternedStrings() 75 String tmp = sb.toString(); in testInternedStrings() 140 StringBuilder sb = new StringBuilder(message != null ? message : ""); in assertEquals() local 141 if (sb.length() > 0) { in assertEquals() 142 sb.append(" "); in assertEquals() 144 sb.append("expected:<").append(a).append("> but was:<").append(b).append(">"); in assertEquals() 145 assertTrue(sb.toString(), (a == null && b == null) || (a != null && a.equals(b))); in assertEquals() [all …]
|
/art/test/941-recursive-obsolete-jit/src/ |
D | Main.java | 83 private StringBuilder sb; field in Main.TestWatcher 85 sb = new StringBuilder(); in TestWatcher() 90 sb.append(s); in accept() 91 sb.append('\n'); in accept() 95 return sb.toString(); in getOutput() 99 sb = new StringBuilder(); in clear()
|
/art/test/916-obsolete-jit/src/ |
D | Main.java | 98 private StringBuilder sb; field in Main.TestWatcher 100 sb = new StringBuilder(); in TestWatcher() 105 sb.append(s); in accept() 106 sb.append('\n'); in accept() 110 return sb.toString(); in getOutput() 114 sb = new StringBuilder(); in clear()
|
/art/test/943-private-recursive-jit/src/ |
D | Main.java | 90 private StringBuilder sb; field in Main.TestWatcher 92 sb = new StringBuilder(); in TestWatcher() 100 sb.append(s); in accept() 101 sb.append('\n'); in accept() 105 return sb.toString(); in getOutput() 109 sb = new StringBuilder(); in clear()
|
/art/test/919-obsolete-fields/src/art/ |
D | Test919.java | 135 private StringBuilder sb; field in Test919.TestWatcher 137 sb = new StringBuilder(); in TestWatcher() 142 sb.append(s); in accept() 143 sb.append('\n'); in accept() 147 return sb.toString(); in getOutput()
|
/art/test/911-get-stack-trace/src/art/ |
D | PrintThread.java | 70 StringBuilder sb = new StringBuilder(); in printAll() local 73 sb.append(' '); in printAll() 74 sb.append(part); in printAll() 76 sb.append('\n'); in printAll() 78 stackSerialization = sb.toString(); in printAll()
|
/art/test/699-checker-string-append2/smali/ |
D | B146014745.smali | 26 # StringBuilder sb = new StringBuilder(); 29 # sb.append(s).append(i); 33 # return sb.append(s).append(i).toString(); 48 # StringBuilder sb = new StringBuilder(); 51 # String s2 = sb.append(s).append(i).toString(); 58 # return sb.append(s2).toString(); 71 # StringBuilder sb = new StringBuilder(); 74 # String s2 = sb.append(s).toString(); 79 # return sb.append(i).append(s2).append(i); 85 # return sb.toString(); [all …]
|
/art/test/094-pattern/src/ |
D | Main.java | 87 StringBuilder sb = new StringBuilder(text.length() * 4); in getStringAsHex() local 90 sb.append(Integer.toHexString((int) text.charAt(i))); in getStringAsHex() 93 return sb.toString(); in getStringAsHex()
|
/art/test/1960-obsolete-jit-multithread-native/src/ |
D | Main.java | 77 private StringBuilder sb; field in Main.TestWatcher 80 sb = new StringBuilder(); in TestWatcher() 88 sb.append(msg); in accept() 89 sb.append('\n'); in accept() 93 return sb.toString(); in getOutput() 97 sb = new StringBuilder(); in clear()
|
/art/test/1961-obsolete-jit-multithread/src/ |
D | Main.java | 75 private StringBuilder sb; field in Main.TestWatcher 78 sb = new StringBuilder(); in TestWatcher() 86 sb.append(msg); in accept() 87 sb.append('\n'); in accept() 91 return sb.toString(); in getOutput() 95 sb = new StringBuilder(); in clear()
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | ApiComponents.java | 44 StringBuilder sb = new StringBuilder() in toString() local 49 sb.append("#").append(mMemberName).append("(").append(mMethodParameterTypes).append( in toString() 52 return sb.toString(); in toString() 158 StringBuilder sb = new StringBuilder(); in parseJniType() local 159 sb.append(parseJniTypeWithoutArrayDimensions(sc)); in parseJniType() 161 sb.append("[]"); in parseJniType() 163 return sb.toString(); in parseJniType()
|
/art/test/713-varhandle-invokers/src/ |
D | Main.java | 31 StringBuilder sb = new StringBuilder(); in failAssertion() local 32 sb.append("Test failure: "); in failAssertion() 33 sb.append(message); in failAssertion() 34 throw new AssertionError(sb.toString()); in failAssertion() 42 StringBuilder sb = new StringBuilder(); in failAssertEquals() local 43 sb.append(expected); in failAssertEquals() 44 sb.append(" != "); in failAssertEquals() 45 sb.append(actual); in failAssertEquals() 46 failAssertion(sb.toString()); in failAssertEquals()
|
/art/test/697-checker-string-append/src/ |
D | Main.java | 238 public static String $inline$testInlineInner(StringBuilder sb, String s, int i) { in $inline$testInlineInner() argument 239 return sb.append(s).append(i).toString(); in $inline$testInlineInner() 248 StringBuilder sb = new StringBuilder(); in $noinline$testInlineOuter() local 249 return $inline$testInlineInner(sb, s, i); in $noinline$testInlineOuter()
|
/art/test/660-clinit/src/ |
D | Main.java | 112 StringBuilder sb = new StringBuilder(); 113 sb.append("Hello "); 114 sb.append("World!"); 115 str = sb.toString();
|
/art/test/922-properties/src/art/ |
D | Test922.java | 124 StringBuilder sb = new StringBuilder("a"); in generateUnique() local 126 String key = sb.toString(); in generateUnique() 130 sb.append('a'); in generateUnique()
|
/art/test/924-threads/src/art/ |
D | Test924.java | 429 StringBuilder sb = new StringBuilder(); in printThreadState() local 433 if (sb.length()>0) { in printThreadState() 434 sb.append('|'); in printThreadState() 436 sb.append(STATE_NAMES.get(i)); in printThreadState() 440 if (sb.length() == 0) { in printThreadState() 441 sb.append("NEW"); in printThreadState() 444 System.out.println(Integer.toHexString(state) + " = " + sb.toString()); in printThreadState()
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 25 StringBuilder sb = new StringBuilder(); in generateString() local 28 sb.append(Character.valueOf((char)('a' + (i % 26)))); in generateString() 30 return sb.toString(); in generateString()
|
/art/test/979-const-method-handle/util-src/transformer/ |
D | ConstantTransformer.java | 163 StringBuilder sb = new StringBuilder(); 164 sb.append("Error in annotation ") 170 throw new Error(sb.toString());
|
/art/compiler/optimizing/ |
D | instruction_simplifier.cc | 2470 HInstruction* sb = invoke->InputAt(0); in TryReplaceStringBuilderAppend() local 2474 if (!sb->IsNewInstance()) { in TryReplaceStringBuilderAppend() 2480 for (const HUseListNode<HInstruction*>& use : sb->GetUses()) { in TryReplaceStringBuilderAppend() 2502 if (user->InputCount() == 0u || user->InputAt(0u) != sb) { in TryReplaceStringBuilderAppend() 2603 for (const HUseListNode<HEnvironment*>& use : sb->GetEnvUses()) { in TryReplaceStringBuilderAppend() 2610 if (holder->InputCount() == 0 || holder->InputAt(0) != sb) { in TryReplaceStringBuilderAppend() 2631 if (env->GetInstructionAt(i) == sb) { in TryReplaceStringBuilderAppend() 2641 while (sb->HasNonEnvironmentUses()) { in TryReplaceStringBuilderAppend() 2642 block->RemoveInstruction(sb->GetUses().front().GetUser()); in TryReplaceStringBuilderAppend() 2644 DCHECK(!sb->HasEnvironmentUses()); in TryReplaceStringBuilderAppend() [all …]
|
/art/test/956-methodhandles/src/ |
D | Main.java | 834 StringBuffer sb = new StringBuffer(testPattern); in testStringConstructors() local 835 int[] codePoints = new int[sb.codePointCount(0, sb.length())]; in testStringConstructors() 836 for (int i = 0; i < sb.length(); ++i) { in testStringConstructors() 837 codePoints[i] = sb.codePointAt(i); in testStringConstructors() 910 s = (String) mh.invokeExact(sb); in testStringConstructors()
|
/art/dexdump/ |
D | dexdump.cc | 393 uint8_t sb = static_cast<uint8_t>(start_byte); in utf8Bytes() local 394 if ((sb & 0x80) == 0) { in utf8Bytes() 397 size_t msb = art::MostSignificantBit(static_cast<uint8_t>(~sb)); in utf8Bytes()
|
/art/test/710-varhandle-creation/src/ |
D | Main.java | 51 static byte sb; field in Main
|