/art/benchmark/string-indexof/src/ |
D | StringIndexOfBenchmark.java | 24 $noinline$indexOf(s, c); in timeIndexOf0() 32 $noinline$indexOf(s, c); in timeIndexOf1() 40 $noinline$indexOf(s, c); in timeIndexOf2() 48 $noinline$indexOf(s, c); in timeIndexOf3() 56 $noinline$indexOf(s, c); in timeIndexOf4() 64 $noinline$indexOf(s, c); in timeIndexOf7() 72 $noinline$indexOf(s, c); in timeIndexOf8() 80 $noinline$indexOf(s, c); in timeIndexOfF() 88 $noinline$indexOf(s, c); in timeIndexOfG() 96 $noinline$indexOf(s, c); in timeIndexOfV() [all …]
|
/art/test/020-string/src/ |
D | Main.java | 78 baseStr.indexOf('T') + ":" + in indexTest() 79 subStr.indexOf('T') + ":" + in indexTest() 80 subStr.indexOf('u') + ":" + in indexTest() 81 baseStr.indexOf('!') + ":" + in indexTest() 82 subStr.indexOf('y') + ":" + in indexTest() 83 subStr.indexOf('d') + ":" + in indexTest() 84 baseStr.indexOf('x') + ":" + in indexTest() 85 subStr.indexOf('x', 0) + ":" + in indexTest() 86 subStr.indexOf('x', -1) + ":" + in indexTest() 87 subStr.indexOf('x', 200) + ":" + in indexTest() [all …]
|
/art/test/624-checker-stringops/src/ |
D | Main.java | 43 k += ABC.indexOf(c); in liveIndexOf() 46 k += ABC.indexOf(c, 4); in liveIndexOf() 49 k += ABC.indexOf(XYZ); in liveIndexOf() 52 k += ABC.indexOf(XYZ, 2); in liveIndexOf() 74 int d = ABC.indexOf(c); in deadIndexOf() 77 int d = ABC.indexOf(c, 4); in deadIndexOf() 80 int d = ABC.indexOf(XYZ); in deadIndexOf() 83 int d = ABC.indexOf(XYZ, 2); in deadIndexOf() 97 k += s.indexOf(t); in indexOfExceptions() 252 int d = b.toString().indexOf(x, 1); in bufferDeadLoop() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/proguard/ |
D | ProguardMap.java | 222 int sep = line.indexOf(" -> "); in readFromReader() 238 int ws = trimmed.indexOf(' '); in readFromReader() 239 sep = trimmed.indexOf(" -> "); in readFromReader() 250 if (clearName.indexOf('(') == -1) { in readFromReader() 258 int colon = type.indexOf(':'); in readFromReader() 264 colon = type.indexOf(':'); in readFromReader() 271 int op = clearName.indexOf('('); in readFromReader() 272 int cp = clearName.indexOf(')'); in readFromReader() 379 int end = sig.indexOf(')'); in fromProguardSignature() 424 int e = obfuscatedSig.indexOf(';', i); in getSignature() [all …]
|
/art/test/082-inline-execute/src/ |
D | Main.java | 254 Assert.assertEquals(str0.indexOf('a'), -1); in test_String_indexOf() 255 Assert.assertEquals(str3.indexOf('a'), 0); in test_String_indexOf() 256 Assert.assertEquals(str3.indexOf('b'), 1); in test_String_indexOf() 257 Assert.assertEquals(str3.indexOf('c'), 2); in test_String_indexOf() 258 Assert.assertEquals(str10.indexOf('j'), 9); in test_String_indexOf() 259 Assert.assertEquals(str40.indexOf('a'), 0); in test_String_indexOf() 260 Assert.assertEquals(str40.indexOf('b'), 38); in test_String_indexOf() 261 Assert.assertEquals(str40.indexOf('c'), 39); in test_String_indexOf() 262 Assert.assertEquals(str0.indexOf('a',20), -1); in test_String_indexOf() 263 Assert.assertEquals(str0.indexOf('a',0), -1); in test_String_indexOf() [all …]
|
/art/test/021-string2/src/ |
D | Main.java | 513 Assert.assertEquals(expX, $noinline$indexOf(full, 'x')); in testIndexOf() 514 Assert.assertEquals(exp0440, $noinline$indexOf(full, '\u0440')); in testIndexOf() 515 Assert.assertEquals(exp0000, $noinline$indexOf(full, '\u0000')); in testIndexOf() 516 Assert.assertEquals(expX, $noinline$indexOf(full, 'x', -1)); in testIndexOf() 517 Assert.assertEquals(exp0440, $noinline$indexOf(full, '\u0440', -1)); in testIndexOf() 518 Assert.assertEquals(exp0000, $noinline$indexOf(full, '\u0000', -1)); in testIndexOf() 519 Assert.assertEquals(-1, $noinline$indexOf(full, 'x', full.length() + 1)); in testIndexOf() 520 Assert.assertEquals(-1, $noinline$indexOf(full, '\u0440', full.length() + 1)); in testIndexOf() 521 Assert.assertEquals(-1, $noinline$indexOf(full, '\u0000', full.length() + 1)); in testIndexOf() 543 Assert.assertEquals(eX, $noinline$indexOf(full, 'x', from)); in testIndexOf() [all …]
|
/art/benchmark/string-indexof/ |
D | info.txt | 1 Benchmarks for repeating String.indexOf() instructions in a loop.
|
/art/test/988-method-trace/src/art/ |
D | Test988Intrinsics.java | 120 instance_java_lang_String.indexOf(0); in test() 121 instance_java_lang_String.indexOf(0, 0); in test() 122 instance_java_lang_String.indexOf("hello"); in test() 123 instance_java_lang_String.indexOf("hello", 0); in test()
|
D | Test988.java | 143 NON_DETERMINISTIC_TYPE_NAMES.indexOf(m.getDeclaringClass()) + 177 NON_DETERMINISTIC_TYPE_NAMES.indexOf(klass) + ">";
|
/art/test/121-modifiers/src2/ |
D | Main.java | 138 int index = name.indexOf("Field"); in getFieldMask() 167 int index = name.indexOf("Method"); in getMethodMask()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | HtmlEscaper.java | 29 int s = specials.indexOf(text.charAt(i)); in escape()
|
D | Query.java | 41 int i = param.indexOf('='); in Query()
|
/art/test/100-reflect2/ |
D | expected.txt | 36 …indexOf(java.lang.String,java.lang.String,int), private static int java.lang.String.lastIndexOf(ja…
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | StringCursor.java | 107 int firstIndex = mString.indexOf(c, mCursor); in find()
|
D | CovariantReturnTypeHandler.java | 75 int closingBrace = typeSignature.indexOf(')'); in handleAnnotation()
|
D | ApiComponents.java | 134 if (PRIMITIVE_TYPES.indexOf(c) != -1) { in parseJniTypeWithoutArrayDimensions()
|
/art/test/162-method-resolution/src/ |
D | Main.java | 422 int atPos = s.indexOf("@"); in normalizeToString()
|
/art/test/063-process-manager/src/ |
D | Main.java | 37 return name.indexOf("process reaper") >= 0; in isReaperThread()
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 641 if (!PRINT_ROOTS_WITH_UNKNOWN_VREG && l.indexOf("vreg=-1") > 0) { in process() 703 int i = line.indexOf(" --"); in getReferrer() 707 int j = line.indexOf(' '); in getReferrer() 715 int i = line.indexOf("--> "); in getReferree() 719 int j = line.indexOf(' ', i + 4); in getReferree()
|
/art/test/909-attach-agent/src-art/ |
D | Main.java | 59 String agentName = a.substring(6, a.indexOf('=')); in attachWithClassLoader()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutatableCode.java | 135 return mutatableInsns.indexOf(mInsn); in getInstructionIndex() 288 deleteInstructionFull(toBeDeleted, mutatableInsns.indexOf(toBeDeleted)); in deleteInstruction()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Parser.java | 833 values[i] = mValues[indexOf(i + mMinKey)]; in put() 840 mValues[indexOf(key)] = value; in put() 851 value = (T)mValues[indexOf(key)]; in get() 861 private int indexOf(long key) { in indexOf() method in Parser.DenseMap
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 2474 return "".indexOf(ch); in $noinline$emptyStringIndexOf() 2491 return "".indexOf(ch, fromIndex); in $noinline$emptyStringIndexOfAfter() 2512 return "x".indexOf(ch); in $noinline$singleCharStringIndexOf() 2529 return "x".indexOf(ch, fromIndex); // Not simplified. in $noinline$singleCharStringIndexOfAfter()
|
/art/test/988-method-trace/ |
D | expected.txt | 497 ..=> public int java.lang.String.indexOf(int) 498 ..<= public int java.lang.String.indexOf(int) -> <class java.lang.Integer: -1> 499 ..=> public int java.lang.String.indexOf(int,int) 500 ..<= public int java.lang.String.indexOf(int,int) -> <class java.lang.Integer: -1> 501 ..=> public int java.lang.String.indexOf(java.lang.String) 502 ..<= public int java.lang.String.indexOf(java.lang.String) -> <class java.lang.Integer: -1> 503 ..=> public int java.lang.String.indexOf(java.lang.String,int) 504 ..<= public int java.lang.String.indexOf(java.lang.String,int) -> <class java.lang.Integer: -1>
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 727 return value.indexOf("42") != -1; in filterReturnValue_filter()
|