/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() 97 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() 83 private static int sadShort2Int(short[] s1, short[] s2) { in sadShort2Int() argument [all …]
|
/art/benchmark/stringbuilder-append/src/ |
D | StringBuilderAppendBenchmark.java | 25 String s1 = string1; in timeAppendStrings() local 29 String result = s1 + s2; in timeAppendStrings() 32 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 38 String s1 = longString1; in timeAppendLongStrings() local 42 String result = s1 + s2; in timeAppendLongStrings() 45 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings() 51 String s1 = string1; in timeAppendStringAndInt() local 55 String result = s1 + i1; in timeAppendStringAndInt() 58 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt()
|
/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.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);
|
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 …]
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 237 int s1 = 1; in testDotProdBothSignedUnsigned1() local 242 s1 += a_val * b_val; in testDotProdBothSignedUnsigned1() 245 return s1 + s2; in testDotProdBothSignedUnsigned1() 284 int s1 = 1; in testDotProdBothSignedUnsigned2() local 290 s1 += a_val * 42; in testDotProdBothSignedUnsigned2() 292 return s1 + s2; in testDotProdBothSignedUnsigned2() 331 int s1 = 1; in testDotProdBothSignedUnsignedDoubleLoad() local 334 s1 += a[i] * b[i]; in testDotProdBothSignedUnsignedDoubleLoad() 337 return s1 + s2; in testDotProdBothSignedUnsignedDoubleLoad() 374 int s1 = 1; in testDotProdBothSignedUnsignedChar() local [all …]
|
D | TestCharShort.java | 478 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument 479 expectEquals(results[0], testDotProdSimple(s1, s2)); in testDotProd() 480 expectEquals(results[1], testDotProdComplex(s1, s2)); in testDotProd() 484 expectEquals(results[5], testDotProdComplexSignedCastedToUnsigned(s1, s2)); in testDotProd() 485 expectEquals(results[6], testDotProdSignedToInt(s1, s2)); in testDotProd() 489 expectEquals(results[10], testDotProdSignedToChar(s1, s2)); in testDotProd() 490 expectEquals(results[11], testDotProdSimpleMulCastedToSigned(s1, s2)); in testDotProd() 491 expectEquals(results[12], testDotProdSimpleMulCastedToUnsigned(s1, s2)); in testDotProd() 494 expectEquals(results[15], testDotProdSimpleCastedToShort(s1, s2)); in testDotProd() 495 expectEquals(results[16], testDotProdSimpleCastedToChar(s1, s2)); in testDotProd() [all …]
|
/art/test/597-deopt-busy-loop/src/ |
D | FloatLoop.java | 67 float s1 = kFloatConst1; in $noinline$busyLoop() local 71 s1 += 2.0; in $noinline$busyLoop() 74 s1 -= 2.0; in $noinline$busyLoop() 81 expectEqualToEither(s1, kFloatConst1, kFloatConst1 + 2.0f); in $noinline$busyLoop() 83 floatField = s0 + s1; in $noinline$busyLoop()
|
/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/623-checker-loop-regressions/src/ |
D | Main.java | 510 int s1 = 0; in reduction32Values() local 543 s1 += b[i]; in reduction32Values() 575 return s0 + s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15 + in reduction32Values() 710 int s1 = 1; in testDotProdAndDotProd() local 714 s1 += temp; in testDotProdAndDotProd() 716 return s0 + s1; in testDotProdAndDotProd() 741 int s1 = 1; in testSADAndSAD() local 745 s1 += temp; in testSADAndSAD() 747 return s0 + s1; in testSADAndSAD() 758 int s1 = 1; in testDotProdAndDotProdExtraMul0() local [all …]
|
/art/test/Statics/ |
D | Statics.java | 19 static final byte s1 = 5; field in Statics 32 return s1; in getS1()
|
/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/580-checker-string-fact-intrinsics/src-art/ |
D | Main.java | 64 String s1 = "baz"; in testNewStringFromString() local 65 String s2 = StringFactory.newStringFromString(s1); in testNewStringFromString()
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 105 inline bool operator==(const DexString& s1, const DexString& s2) { 107 const char* str1 = DexString::g_ExtDexFileGetString(s1.ext_string_, &l1); 119 inline bool operator==(const MethodInfo& s1, const MethodInfo& s2) { 120 return s1.offset == s2.offset && s1.len == s2.len && s1.name == s2.name;
|
/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/runtime/interpreter/mterp/arm/ |
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/libdexfile/external/ |
D | dex_file_supp_test.cc | 63 auto s1 = DexString("foo"); in TEST() local 64 auto s2 = DexString(std::move(s1)); in TEST() 65 EXPECT_TRUE(std::string_view(s1).empty()); // NOLINT bugprone-use-after-move in TEST() 70 auto s1 = DexString("foo"); in TEST() local 73 s2 = std::move(s1); in TEST() 74 EXPECT_TRUE(std::string_view(s1).empty()); // NOLINT bugprone-use-after-move in TEST()
|
/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/697-checker-string-append/src/ |
D | Main.java | 189 public static String $noinline$appendStringAndString(String s1, String s2) { in $noinline$appendStringAndString() argument 190 return new StringBuilder().append(s1).append(s2).toString(); in $noinline$appendStringAndString()
|
/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/arm64/ |
D | floating_point.S | 12 GET_VREG s1, w1 49 GET_VREG s1, w3 299 GET_VREG s1, w3
|
/art/test/004-JniTest/ |
D | jni_test.cc | 228 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, in Java_Main_shortMethod() argument 242 CHECK_LE(0, s1); in Java_Main_shortMethod() 243 CHECK_LT(s1, static_cast<jshort>(kShortReturnSize)); in Java_Main_shortMethod() 245 return short_returns[s1]; in Java_Main_shortMethod() 617 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() local 618 CHECK(s1 != nullptr); in Java_Main_testNewStringObject() 630 env->CallVoidMethod(s1, mid1); in Java_Main_testNewStringObject()
|