Home
last modified time | relevance | path

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

12

/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.java251 int sep = line.indexOf(" -> "); in readFromReader()
274 int ws = trimmed.indexOf(' '); in readFromReader()
275 sep = trimmed.indexOf(" -> "); in readFromReader()
286 if (clearName.indexOf('(') == -1) { in readFromReader()
294 int colon = type.indexOf(':'); in readFromReader()
300 colon = type.indexOf(':'); in readFromReader()
308 int op = clearName.indexOf('('); in readFromReader()
309 int cp = clearName.indexOf(')'); in readFromReader()
472 int end = sig.indexOf(')'); in fromProguardSignature()
517 int e = obfuscatedSig.indexOf(';', i); in getSignature()
[all …]
/art/test/021-string2/src/
DMain.java514 Assert.assertEquals(expX, $noinline$indexOf(full, 'x')); in testIndexOf()
515 Assert.assertEquals(exp0440, $noinline$indexOf(full, '\u0440')); in testIndexOf()
516 Assert.assertEquals(exp0000, $noinline$indexOf(full, '\u0000')); in testIndexOf()
517 Assert.assertEquals(expX, $noinline$indexOf(full, 'x', -1)); in testIndexOf()
518 Assert.assertEquals(exp0440, $noinline$indexOf(full, '\u0440', -1)); in testIndexOf()
519 Assert.assertEquals(exp0000, $noinline$indexOf(full, '\u0000', -1)); in testIndexOf()
520 Assert.assertEquals(-1, $noinline$indexOf(full, 'x', full.length() + 1)); in testIndexOf()
521 Assert.assertEquals(-1, $noinline$indexOf(full, '\u0440', full.length() + 1)); in testIndexOf()
522 Assert.assertEquals(-1, $noinline$indexOf(full, '\u0000', full.length() + 1)); in testIndexOf()
544 Assert.assertEquals(eX, $noinline$indexOf(full, 'x', from)); in testIndexOf()
[all …]
/art/test/082-inline-execute/src/
DMain.java258 Assert.assertEquals(str0.indexOf('a'), -1); in test_String_indexOf()
259 Assert.assertEquals(str3.indexOf('a'), 0); in test_String_indexOf()
260 Assert.assertEquals(str3.indexOf('b'), 1); in test_String_indexOf()
261 Assert.assertEquals(str3.indexOf('c'), 2); in test_String_indexOf()
262 Assert.assertEquals(str10.indexOf('j'), 9); in test_String_indexOf()
263 Assert.assertEquals(str40.indexOf('a'), 0); in test_String_indexOf()
264 Assert.assertEquals(str40.indexOf('b'), 38); in test_String_indexOf()
265 Assert.assertEquals(str40.indexOf('c'), 39); in test_String_indexOf()
266 Assert.assertEquals(str0.indexOf('a',20), -1); in test_String_indexOf()
267 Assert.assertEquals(str0.indexOf('a',0), -1); in test_String_indexOf()
[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.java157 NON_DETERMINISTIC_TYPE_NAMES.indexOf(m.getDeclaringClass()) +
191 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-stdout.txt36indexOf(java.lang.String,java.lang.String,int), private static int java.lang.String.lastIndexOf(ja…
/art/test/162-method-resolution/src/
DMain.java489 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/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/tools/ahat/src/main/com/android/ahat/heapdump/
DParser.java833 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/
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/test/988-method-trace/
Dexpected-stdout.txt505 ..=> public int java.lang.String.indexOf(int)
506 ..<= public int java.lang.String.indexOf(int) -> <class java.lang.Integer: -1>
507 ..=> public int java.lang.String.indexOf(int,int)
508 ..<= public int java.lang.String.indexOf(int,int) -> <class java.lang.Integer: -1>
509 ..=> public int java.lang.String.indexOf(java.lang.String)
510 ..<= public int java.lang.String.indexOf(java.lang.String) -> <class java.lang.Integer: -1>
511 ..=> public int java.lang.String.indexOf(java.lang.String,int)
512 ..<= public int java.lang.String.indexOf(java.lang.String,int) -> <class java.lang.Integer: -1>
/art/test/odsign/test-src/com/android/tests/odsign/
DOdsignTestUtils.java120 int start = line.indexOf(ART_APEX_DALVIK_CACHE_DIRNAME); in getMappedArtifacts()
/art/test/957-methodhandle-transforms/src/
DMain.java760 return value.indexOf("42") != -1; in filterReturnValue_filter()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S1687 * String's indexOf.
/art/build/boot/
Dboot-image-profile.txt670 HSPLcom/android/okhttp/okio/Buffer;->indexOf(BJ)J
759 HSPLcom/android/okhttp/okio/RealBufferedSource;->indexOf(B)J
760 HSPLcom/android/okhttp/okio/RealBufferedSource;->indexOf(BJ)J
1890 HSPLjava/lang/AbstractStringBuilder;->indexOf(Ljava/lang/String;)I
1891 HSPLjava/lang/AbstractStringBuilder;->indexOf(Ljava/lang/String;I)I
2406 HSPLjava/lang/String;->indexOf(I)I
2407 HSPLjava/lang/String;->indexOf(II)I
2408 HSPLjava/lang/String;->indexOf(Ljava/lang/String;)I+]Ljava/lang/String;Ljava/lang/String;
2409 HSPLjava/lang/String;->indexOf(Ljava/lang/String;I)I
2410 HSPLjava/lang/String;->indexOf(Ljava/lang/String;Ljava/lang/String;I)I
[all …]

12