Home
last modified time | relevance | path

Searched refs:indexOf (Results 1 – 24 of 24) sorted by relevance

/art/benchmark/string-indexof/src/
DStringIndexOfBenchmark.java24 $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/
DMain.java78 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/
DMain.java43 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/
DProguardMap.java222 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/
DMain.java253 Assert.assertEquals(str0.indexOf('a'), -1); in test_String_indexOf()
254 Assert.assertEquals(str3.indexOf('a'), 0); in test_String_indexOf()
255 Assert.assertEquals(str3.indexOf('b'), 1); in test_String_indexOf()
256 Assert.assertEquals(str3.indexOf('c'), 2); in test_String_indexOf()
257 Assert.assertEquals(str10.indexOf('j'), 9); in test_String_indexOf()
258 Assert.assertEquals(str40.indexOf('a'), 0); in test_String_indexOf()
259 Assert.assertEquals(str40.indexOf('b'), 38); in test_String_indexOf()
260 Assert.assertEquals(str40.indexOf('c'), 39); in test_String_indexOf()
261 Assert.assertEquals(str0.indexOf('a',20), -1); in test_String_indexOf()
262 Assert.assertEquals(str0.indexOf('a',0), -1); in test_String_indexOf()
[all …]
/art/test/021-string2/src/
DMain.java513 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/
Dinfo.txt1 Benchmarks for repeating String.indexOf() instructions in a loop.
/art/test/988-method-trace/src/art/
DTest988Intrinsics.java120 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()
DTest988.java143 NON_DETERMINISTIC_TYPE_NAMES.indexOf(m.getDeclaringClass()) +
177 NON_DETERMINISTIC_TYPE_NAMES.indexOf(klass) + ">";
/art/test/121-modifiers/src2/
DMain.java138 int index = name.indexOf("Field"); in getFieldMask()
167 int index = name.indexOf("Method"); in getMethodMask()
/art/tools/ahat/src/main/com/android/ahat/
DHtmlEscaper.java29 int s = specials.indexOf(text.charAt(i)); in escape()
DQuery.java41 int i = param.indexOf('='); in Query()
/art/test/100-reflect2/
Dexpected.txt36indexOf(java.lang.String,java.lang.String,int), private static int java.lang.String.lastIndexOf(ja…
/art/test/162-method-resolution/src/
DMain.java422 int atPos = s.indexOf("@"); in normalizeToString()
/art/test/063-process-manager/src/
DMain.java37 return name.indexOf("process reaper") >= 0; in isReaperThread()
/art/test/913-heaps/src/art/
DTest913.java641 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/tools/class2greylist/src/com/android/class2greylist/
DCovariantReturnTypeHandler.java75 int closingBrace = typeSignature.indexOf(')'); in handleAnnotation()
/art/test/909-attach-agent/src-art/
DMain.java59 String agentName = a.substring(6, a.indexOf('=')); in attachWithClassLoader()
/art/tools/dexfuzz/src/dexfuzz/program/
DMutatableCode.java135 return mutatableInsns.indexOf(mInsn); in getInstructionIndex()
288 deleteInstructionFull(toBeDeleted, mutatableInsns.indexOf(toBeDeleted)); in deleteInstruction()
/art/test/458-checker-instruct-simplification/src/
DMain.java2474 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/tools/ahat/src/main/com/android/ahat/heapdump/
DParser.java827 values[i] = mValues[indexOf(i + mMinKey)]; in put()
834 mValues[indexOf(key)] = value; in put()
845 value = (T)mValues[indexOf(key)]; in get()
855 private int indexOf(long key) { in indexOf() method in Parser.DenseMap
/art/test/988-method-trace/
Dexpected.txt497 ..=> 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/
DMain.java727 return value.indexOf("42") != -1; in filterReturnValue_filter()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S2027 * String's indexOf.