/art/test/913-heaps/ |
D | expected-stdout.txt | 3 …0,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location= 31])--> 1@1000 [size=16, length=-1] 4 …-(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=120, length=-1] 5 root@root --(thread)--> 3000@0 [size=120, length=-1] 6 1001@0 --(superclass)--> 1000@0 [size=123456780000, length=-1] 7 1002@0 --(interface)--> 2001@0 [size=123456780004, length=-1] 8 1002@0 --(superclass)--> 1001@0 [size=123456780001, length=-1] 9 1@1000 --(class)--> 1000@0 [size=123456780000, length=-1] 10 1@1000 --(field@2)--> 2@1000 [size=16, length=-1] 11 1@1000 --(field@3)--> 3@1001 [size=24, length=-1] 12 2001@0 --(interface)--> 2000@0 [size=123456780003, length=-1] [all …]
|
/art/tools/ahat/etc/ |
D | hprofdump.py | 149 length = readu4(hprof) variable 152 string = hprof.read(length - idsize) 212 while (length > 0): 213 subtag = readu1(hprof) ; length -= 1 216 objid = readID(hprof) ; length -= idsize 219 objid = readID(hprof) ; length -= idsize 220 ref = readID(hprof) ; length -= idsize 223 objid = readID(hprof) ; length -= idsize 224 thread = readu4(hprof) ; length -= 4 225 frame = readu4(hprof) ; length -= 4 [all …]
|
/art/test/525-checker-arrays-fields2/src/ |
D | Main.java | 67 for (int i = 0; i < mArrZ.length; i++) { in InvLoopZ() 81 for (int i = 0; i < mArrB.length; i++) { in InvLoopB() 95 for (int i = 0; i < mArrC.length; i++) { in InvLoopC() 109 for (int i = 0; i < mArrS.length; i++) { in InvLoopS() 123 for (int i = 0; i < mArrI.length; i++) { in InvLoopI() 137 for (int i = 0; i < mArrJ.length; i++) { in InvLoopJ() 151 for (int i = 0; i < mArrF.length; i++) { in InvLoopF() 165 for (int i = 0; i < mArrD.length; i++) { in InvLoopD() 179 for (int i = 0; i < mArrL.length; i++) { in InvLoopL() 190 for (int i = 0; i < mArrZ.length; i++) { in VarLoopZ() [all …]
|
/art/test/525-checker-arrays-fields1/src/ |
D | Main.java | 67 for (int i = 0; i < sArrZ.length; i++) { in InvLoopZ() 81 for (int i = 0; i < sArrB.length; i++) { in InvLoopB() 95 for (int i = 0; i < sArrC.length; i++) { in InvLoopC() 109 for (int i = 0; i < sArrS.length; i++) { in InvLoopS() 123 for (int i = 0; i < sArrI.length; i++) { in InvLoopI() 137 for (int i = 0; i < sArrJ.length; i++) { in InvLoopJ() 151 for (int i = 0; i < sArrF.length; i++) { in InvLoopF() 165 for (int i = 0; i < sArrD.length; i++) { in InvLoopD() 179 for (int i = 0; i < sArrL.length; i++) { in InvLoopL() 190 for (int i = 0; i < sArrZ.length; i++) { in VarLoopZ() [all …]
|
/art/benchmark/stringbuilder-append/src/ |
D | StringBuilderAppendBenchmark.java | 34 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStrings() 36 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 47 sum += result.length(); // Make sure the append is not optimized away. in timeAppendLongStrings() 49 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings() 60 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndInt() 62 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt() 73 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndDouble() 75 if (sum != count * (s1.length() + Double.toString(d1).length())) { in timeAppendStringAndDouble() 86 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndHugeDouble() 88 if (sum != count * (s1.length() + Double.toString(d2).length())) { in timeAppendStringAndHugeDouble() [all …]
|
/art/test/646-checker-simd-hadd/src/ |
D | HaddShort.java | 64 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 105 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt() 156 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 196 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 234 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt() 276 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt2() 320 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed_alt3() 373 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 427 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned_alt() 469 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant() [all …]
|
D | HaddOther.java | 29 int min_length = Math.min(out.length, a.length); in test_no_hadd_short2short() 41 int min_length = Math.min(out.length, a.length); in test_no_hadd_short2short_logical() 53 int min_length = Math.min(out.length, a.length); in test_no_hadd_int2short() 67 int min_length = Math.min(out.length, a.length); in test_no_hadd_int2int() 82 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted() 94 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted_ints() 119 int min_length = Math.min(out.length, Math.min(a.length, b.length)); in test_no_hadd_sum_casted_plus_const()
|
D | HaddAltChar.java | 63 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 117 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned() 155 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 211 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_also_unsigned() 250 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant() 303 int min_length = Math.min(bo.length, b1.length); in halving_add_also_unsigned_constant()
|
D | HaddAltShort.java | 63 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 113 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 153 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 205 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 246 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant() 296 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
|
D | HaddChar.java | 60 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 113 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned() 151 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 206 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_also_unsigned() 244 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant() 297 int min_length = Math.min(bo.length, b1.length); in halving_add_also_unsigned_constant()
|
D | HaddByte.java | 60 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 110 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 148 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 200 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 239 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant() 289 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
|
D | HaddAltByte.java | 63 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed() 113 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 151 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed() 203 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned() 242 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant() 292 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
|
/art/test/594-checker-array-alias/src/ |
D | Main.java | 42 for (int i = 0; i < a.length; i++) { in CrossOverLoop1() 58 for (int i = 0; i < a.length; i++) { in CrossOverLoop2() 74 for (int i = 0; i < a.length; i++) { in CrossOverLoop3() 90 for (int i = 0; i < a.length; i++) { in CrossOverLoop4() 113 for (int i = 0; i < a.length; i++) { in FalseCrossOverLoop1() 129 for (int i = 0; i < a.length; i++) { in FalseCrossOverLoop2() 145 for (int i = 0; i < a.length; i++) { in FalseCrossOverLoop3() 161 for (int i = 0; i < a.length; i++) { in FalseCrossOverLoop4() 178 for (int i = 0; i < aI.length; i++) { in main() 183 for (int i = 0; i < aF.length; i++) { in main() [all …]
|
/art/test/620-checker-bce-intrinsics/src/ |
D | Main.java | 31 for (int i = 0; i < a.length; i++) { in oneArray() 45 for (int i = Math.abs(b.length); i < a.length; i++) { in oneArrayAbs() 61 for (int i = 0; i < Math.min(a.length, b.length); i++) { in twoArrays() 77 for (int i = 0; i < Math.min(Math.min(a.length, b.length), c.length); i++) { in threeArrays() 94 for (int i = 0; i < Math.min(Math.min(a.length, b.length), Math.min(c.length, d.length)); i++) { in fourArrays() 111 int n = Math.min(4, a.length); in oneArrayWithCleanup() 115 for (int i = n; i < a.length; i++) { in oneArrayWithCleanup() 133 int n = Math.min(a.length, b.length); in twoArraysWithCleanup() 137 for (int i = n; i < a.length; i++) { in twoArraysWithCleanup() 156 int n = Math.min(a.length, Math.min(b.length, c.length)); in threeArraysWithCleanup() [all …]
|
/art/test/906-iterate-heap/ |
D | expected-stdout.txt | 1 …length=-1}, {tag=2, class-tag=100, size=8, length=-1}, {tag=3, class-tag=100, size=8, length=-1}, … 2 …length=-1}, {tag=12, class-tag=110, size=8, length=-1}, {tag=13, class-tag=110, size=8, length=-1}…
|
/art/test/530-checker-loops3/src/ |
D | Main.java | 39 for (int i = 0; i < a.length; i++) { in oneConstantIndex() 59 for (int i = 0; i < a.length; i++) { in multipleConstantIndices() 77 for (int i = 0; i < a.length; i++) { in oneInvariantIndex() 98 for (int i = 0; i < a.length; i++) { in multipleInvariantIndices() 117 for (int i = 0; i < a.length; i++) { in oneUnitStride() 147 for (int i = 1; i < a.length - 1; i++) { in multipleUnitStrides() 179 for (int i = 2; i < a.length - 2; i++) { in multipleUnitStridesConditional() 301 for (int i = 0; i < a.length; i++) { in main() 311 for (int i = 0; i < a.length; i++) { in main() 321 for (int i = 0; i < a.length; i++) { in main() [all …]
|
/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 34 jint length, jcharArray javaChars) { in CharsetUtils_asciiBytesToChars() argument 47 for (int i = length - 1; i >= 0; --i) { in CharsetUtils_asciiBytesToChars() 58 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes() argument 67 ObjPtr<mirror::ByteArray> result = mirror::ByteArray::Alloc(soa.Self(), length); in charsToBytes() 75 memcpy(result->GetData(), string->GetValueCompressed() + offset, length); in charsToBytes() 81 std::transform(src, src + length, result->GetData(), clamp); in charsToBytes() 87 jint length) { in CharsetUtils_toAsciiBytes() argument 88 return charsToBytes(env, java_string, offset, length, 0x7f); in CharsetUtils_toAsciiBytes() 92 jint offset, jint length) { in CharsetUtils_toIsoLatin1Bytes() argument 93 return charsToBytes(env, java_string, offset, length, 0xff); in CharsetUtils_toIsoLatin1Bytes() [all …]
|
/art/test/582-checker-bce-length/src/ |
D | Main.java | 37 a[a.length-3] = 1; in doit1() 38 a[a.length-2] = 2; in doit1() 39 a[a.length-1] = 3; in doit1() 43 a[a.length-0] = 4; in doit1() 59 a[a.length-4] = -101; in doit2() 60 a[a.length-3] = -102; in doit2() 61 a[a.length-2] = -103; in doit2() 62 a[a.length-1] = -104; in doit2()
|
/art/test/082-inline-execute/src/junit/framework/ |
D | ComparisonCompactor.java | 40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString() 50 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix() 58 int expectedSuffix= fExpected.length() - 1; in findCommonSuffix() 59 int actualSuffix= fActual.length() - 1; in findCommonSuffix() 64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix() 72 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix() 73 …turn fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix + … in computeCommonSuffix() 83 if (message != null && message.length() > 0) in format()
|
/art/test/021-string2/src/junit/framework/ |
D | ComparisonCompactor.java | 40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString() 50 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix() 58 int expectedSuffix= fExpected.length() - 1; in findCommonSuffix() 59 int actualSuffix= fActual.length() - 1; in findCommonSuffix() 64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix() 72 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix() 73 …turn fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix + … in computeCommonSuffix() 83 if (message != null && message.length() > 0) in format()
|
/art/test/513-array-deopt/src/ |
D | Main.java | 27 return new int[a.length - 5]; in bar() 39 return new int[a.length - 1]; in foo() 45 if (result.length != 0) { in main() 46 throw new Error("Expected 0, got " + result.length); in main() 50 if (result.length != 4) { in main() 51 throw new Error("Expected 5, got " + result.length); in main()
|
/art/test/660-checker-simd-sad/src/ |
D | SimdSadShort.java | 29 int min_length = Math.min(s1.length, s2.length); in sadShort2Short() 38 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt() 49 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt2() 93 int min_length = Math.min(s1.length, s2.length); in sadShort2Int() 133 int min_length = Math.min(s1.length, s2.length); in sadShort2IntAlt() 175 int min_length = Math.min(s1.length, s2.length); in sadShort2IntAlt2() 222 for (int i = 0; i < s.length; i++) { in sadShort2IntConstant1() 263 for (int i = 0; i < s.length; i++) { in sadShort2IntConstant2() 304 for (int i = 0; i < s.length; i++) { in sadShort2IntConstant3() 346 int min_length = Math.min(s1.length, s2.length); in sadShort2Long() [all …]
|
D | SimdSadByte.java | 25 int min_length = Math.min(b1.length, b2.length); in sadByte2Byte() 34 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt() 45 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt2() 58 int min_length = Math.min(b1.length, b2.length); in sadByte2Short() 67 int min_length = Math.min(b1.length, b2.length); in sadByte2ShortAlt() 78 int min_length = Math.min(b1.length, b2.length); in sadByte2ShortAlt2() 122 int min_length = Math.min(b1.length, b2.length); in sadByte2Int() 162 int min_length = Math.min(b1.length, b2.length); in sadByte2IntAlt() 204 int min_length = Math.min(b1.length, b2.length); in sadByte2IntAlt2() 253 int min_length = Math.min(b1.length, b2.length); in sadByte2Long() [all …]
|
D | SimdSadChar.java | 27 int min_length = Math.min(s1.length, s2.length); in sadChar2Char() 36 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt() 47 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt2() 74 int min_length = Math.min(s1.length, s2.length); in sadChar2Int() 97 int min_length = Math.min(s1.length, s2.length); in sadChar2IntAlt() 122 int min_length = Math.min(s1.length, s2.length); in sadChar2IntAlt2() 152 int min_length = Math.min(s1.length, s2.length); in sadChar2Long() 180 int min_length = Math.min(s1.length, s2.length); in sadChar2LongAt1() 222 int n = interesting.length; in main()
|
/art/test/096-array-copy-concurrent-gc/src/ |
D | Main.java | 50 if (str.length() < 22) { in allocateFourStrings() 63 for (int i = 0; i < array.length; i+=2) { in stressArray() 71 for (int j = 0; j < array.length; j++) { in stressArray() 72 Object obj = array[array.length - 1]; in stressArray() 73 System.arraycopy(array, 0, array, 1, array.length - 1); in stressArray() 78 for (int j = 0; j < array.length; j++) { in stressArray() 80 System.arraycopy(array, 1, array, 0, array.length - 1); in stressArray() 81 array[array.length - 1] = obj; in stressArray()
|