/art/test/660-checker-simd-sad/src/ |
D | SimdSadChar.java | 26 private static char sadChar2Char(char[] s1, char[] s2) { in sadChar2Char() argument 27 int min_length = Math.min(s1.length, s2.length); in sadChar2Char() 30 sad += Math.abs(s1[i] - s2[i]); in sadChar2Char() 35 private static char sadChar2CharAlt(char[] s1, char[] s2) { in sadChar2CharAlt() argument 36 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt() 39 char s = s1[i]; in sadChar2CharAlt() 46 private static char sadChar2CharAlt2(char[] s1, char[] s2) { in sadChar2CharAlt2() argument 47 int min_length = Math.min(s1.length, s2.length); in sadChar2CharAlt2() 50 char s = s1[i]; in sadChar2CharAlt2() 73 private static int sadChar2Int(char[] s1, char[] s2) { in sadChar2Int() argument [all …]
|
D | SimdSadShort2.java | 26 private static short sadCastedChar2Short(char[] s1, char[] s2) { in sadCastedChar2Short() argument 27 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2Short() 30 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastedChar2Short() 35 private static short sadCastedChar2ShortAlt(char[] s1, char[] s2) { in sadCastedChar2ShortAlt() argument 36 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2ShortAlt() 39 short s = (short) s1[i]; in sadCastedChar2ShortAlt() 46 private static short sadCastedChar2ShortAlt2(char[] s1, char[] s2) { in sadCastedChar2ShortAlt2() argument 47 int min_length = Math.min(s1.length, s2.length); in sadCastedChar2ShortAlt2() 50 short s = (short) s1[i]; in sadCastedChar2ShortAlt2() 106 private static int sadCastedChar2Int(char[] s1, char[] s2) { in sadCastedChar2Int() argument [all …]
|
D | SimdSadShort.java | 28 private static short sadShort2Short(short[] s1, short[] s2) { in sadShort2Short() argument 29 int min_length = Math.min(s1.length, s2.length); in sadShort2Short() 32 sad += Math.abs(s1[i] - s2[i]); in sadShort2Short() 37 private static short sadShort2ShortAlt(short[] s1, short[] s2) { in sadShort2ShortAlt() argument 38 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt() 41 short s = s1[i]; in sadShort2ShortAlt() 48 private static short sadShort2ShortAlt2(short[] s1, short[] s2) { in sadShort2ShortAlt2() argument 49 int min_length = Math.min(s1.length, s2.length); in sadShort2ShortAlt2() 52 short s = s1[i]; in sadShort2ShortAlt2() 92 private static int sadShort2Int(short[] s1, short[] s2) { in sadShort2Int() argument [all …]
|
/art/benchmark/stringbuilder-append/src/ |
D | StringBuilderAppendBenchmark.java | 29 String s1 = string1; in timeAppendStrings() local 33 String result = s1 + s2; in timeAppendStrings() 36 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 42 String s1 = longString1; in timeAppendLongStrings() local 46 String result = s1 + s2; in timeAppendLongStrings() 49 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings() 55 String s1 = string1; in timeAppendStringAndInt() local 59 String result = s1 + i1; in timeAppendStringAndInt() 62 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt() 68 String s1 = string1; in timeAppendStringAndDouble() local [all …]
|
/art/runtime/arch/ |
D | memcmp16.cc | 22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count); 23 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_generic_static() argument 25 if (s0[i] != s1[i]) { in memcmp16_generic_static() 26 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]); in memcmp16_generic_static() 36 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16Testing() argument 37 return MemCmp16(s0, s1, count); in MemCmp16Testing()
|
D | memcmp16_test.cc | 38 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_compare() argument 40 if (s0[i] != s1[i]) { in memcmp16_compare() 41 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]); in memcmp16_compare() 56 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() local 89 s1 = new uint16_t[count1]; in CheckSeparate() 92 s1 = reinterpret_cast<uint16_t*>(0xebad1001); in CheckSeparate() 107 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 108 s2[i] = s1[i]; in CheckSeparate() 111 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 118 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() [all …]
|
D | memcmp16.h | 35 extern "C" uint32_t __memcmp16(const uint16_t* s0, const uint16_t* s1, size_t count); 41 static inline int32_t MemCmp16(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16() argument 43 if (s0[i] != s1[i]) { in MemCmp16() 44 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]); in MemCmp16() 50 extern "C" int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count); 60 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count);
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 329 int s1 = 1; in testDotProdBothSignedUnsigned1() local 334 s1 += a_val * b_val; in testDotProdBothSignedUnsigned1() 337 return s1 + s2; in testDotProdBothSignedUnsigned1() 396 int s1 = 1; in testDotProdBothSignedUnsigned2() local 402 s1 += a_val * 42; in testDotProdBothSignedUnsigned2() 404 return s1 + s2; in testDotProdBothSignedUnsigned2() 464 int s1 = 1; in testDotProdBothSignedUnsignedDoubleLoad() local 467 s1 += a[i] * b[i]; in testDotProdBothSignedUnsignedDoubleLoad() 470 return s1 + s2; in testDotProdBothSignedUnsignedDoubleLoad() 516 int s1 = 1; in testDotProdBothSignedUnsignedChar() local [all …]
|
D | TestCharShort.java | 568 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument 569 expectEquals(results[0], testDotProdSimple(s1, s2)); in testDotProd() 570 expectEquals(results[1], testDotProdComplex(s1, s2)); in testDotProd() 574 expectEquals(results[5], testDotProdComplexSignedCastedToUnsigned(s1, s2)); in testDotProd() 575 expectEquals(results[6], testDotProdSignedToInt(s1, s2)); in testDotProd() 579 expectEquals(results[10], testDotProdSignedToChar(s1, s2)); in testDotProd() 580 expectEquals(results[11], testDotProdSimpleMulCastedToSigned(s1, s2)); in testDotProd() 581 expectEquals(results[12], testDotProdSimpleMulCastedToUnsigned(s1, s2)); in testDotProd() 584 expectEquals(results[15], testDotProdSimpleCastedToShort(s1, s2)); in testDotProd() 585 expectEquals(results[16], testDotProdSimpleCastedToChar(s1, s2)); in testDotProd() [all …]
|
/art/test/597-deopt-busy-loop/src/ |
D | FloatLoop.java | 71 float s1 = kFloatConst1; in $noinline$busyLoop() local 75 s1 += 2.0; in $noinline$busyLoop() 78 s1 -= 2.0; in $noinline$busyLoop() 85 expectEqualToEither(s1, kFloatConst1, kFloatConst1 + 2.0f); in $noinline$busyLoop() 87 floatField = s0 + s1; in $noinline$busyLoop()
|
/art/test/623-checker-loop-regressions/src/ |
D | Main.java | 552 int s1 = 0; in reduction32Values() local 585 s1 += b[i]; in reduction32Values() 617 return s0 + s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15 + in reduction32Values() 752 int s1 = 1; in testDotProdAndDotProd() local 756 s1 += temp; in testDotProdAndDotProd() 758 return s0 + s1; in testDotProdAndDotProd() 809 int s1 = 1; in testSADAndSAD() local 813 s1 += temp; in testSADAndSAD() 815 return s0 + s1; in testSADAndSAD() 826 int s1 = 1; in testDotProdAndDotProdExtraMul0() local [all …]
|
/art/runtime/interpreter/mterp/armng/ |
D | floating_point.S | 16 GET_VREG_FLOAT_BY_ADDR s1, r3 @ s1<- vCC 38 GET_VREG_FLOAT_BY_ADDR s1, r3 @ s1<- vB
|
/art/test/952-invoke-custom/src/ |
D | TestBase.java | 40 static void assertEquals(short s1, short s2) { in assertEquals() argument 41 if (s1 == s2) { in assertEquals() 44 throw new AssertionError("assertEquals s1: " + s1 + ", s2: " + s2); in assertEquals()
|
/art/test/473-remove-dead-block/src/ |
D | Main.java | 24 int s1=26294; in test() local 33 i1 = i1 * 26295 + (s1 / 26295); in test()
|
/art/test/Statics/ |
D | Statics.java | 19 static final byte s1 = 5; field in Statics 32 return s1; in getS1()
|
/art/test/580-checker-string-fact-intrinsics/src-art/ |
D | Main.java | 62 String s1 = "baz"; in testNewStringFromString() local 63 String s2 = StringFactory.newStringFromString(s1); in testNewStringFromString()
|
/art/test/922-properties/src/art/ |
D | Test922.java | 82 private static boolean equals(String s1, String s2) { in equals() argument 83 if (s1 == null && s2 == null) { in equals() 85 } else if (s1 != null) { in equals() 86 return s1.equals(s2); in equals()
|
/art/test/020-string/src/ |
D | Main.java | 58 …String s1 = "\u0c6d\u0cb6\u0d00\u0000\u0080\u0080\u0080\u0000\u0002\u0002\u0002\u0000\u00e9\u00e9\… in basicTest() local 60 System.out.println("Compare unicode: " + s1.compareTo(s2)); in basicTest() 107 String s1 = new String(); in constructorTest() local
|
/art/test/004-StackWalk/src/ |
D | Main.java | 44 String s1 = new String("1"); in shlemiel() local 66 s += s1; in shlemiel()
|
/art/test/953-invoke-polymorphic-compiler/src/ |
D | Main.java | 60 public static void assertEquals(String s1, String s2) { in assertEquals() argument 61 if (s1 == s2) { in assertEquals() 65 if (s1 != null && s2 != null && s1.equals(s2)) { in assertEquals() 69 throw new AssertionError("assertEquals s1: " + s1 + ", s2: " + s2); in assertEquals()
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | floating_point.S | 12 GET_VREG s1, w1 49 GET_VREG s1, w3 299 GET_VREG s1, w3
|
/art/test/697-checker-string-append/src/ |
D | Main.java | 345 public static String $noinline$appendStringAndString(String s1, String s2) { in $noinline$appendStringAndString() argument 346 return new StringBuilder().append(s1).append(s2).toString(); in $noinline$appendStringAndString()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 257 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, in Java_Main_shortMethod() argument 271 CHECK_LE(0, s1); in Java_Main_shortMethod() 272 CHECK_LT(s1, static_cast<jshort>(kShortReturnSize)); in Java_Main_shortMethod() 274 return short_returns[s1]; in Java_Main_shortMethod() 646 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() local 647 CHECK(s1 != nullptr); in Java_Main_testNewStringObject() 659 env->CallVoidMethod(s1, mid1); in Java_Main_testNewStringObject()
|
/art/runtime/ |
D | reference_table_test.cc | 283 Handle<mirror::String> s1 = in TEST_F() local 289 rt.Add(s1.Get()); in TEST_F() 292 rt.Add(s1.Get()); in TEST_F()
|
/art/test/639-checker-code-sinking/src/ |
D | Main.java | 704 String s1 = "s1"; in $noinline$twoThrowingPathsAndStringBuilderAppend() local 717 String s1s2 = sb.append(s1).append(s2).toString(); in $noinline$twoThrowingPathsAndStringBuilderAppend()
|