/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() 40 char p = s2[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() 51 char p = s2[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() 40 short p = (short) s2[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() 51 short p = (short) s2[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() 42 short p = s2[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() 53 short p = s2[i]; in sadShort2ShortAlt2() 83 private static int sadShort2Int(short[] s1, short[] s2) { in sadShort2Int() argument [all …]
|
/art/benchmark/stringbuilder-append/src/ |
D | StringBuilderAppendBenchmark.java | 26 String s2 = string2; in timeAppendStrings() local 29 String result = s1 + s2; in timeAppendStrings() 32 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 39 String s2 = longString2; in timeAppendLongStrings() local 42 String result = s1 + s2; in timeAppendLongStrings() 45 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings()
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 238 int s2 = 2; in testDotProdBothSignedUnsigned1() local 243 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned1() 245 return s1 + s2; in testDotProdBothSignedUnsigned1() 285 int s2 = 2; in testDotProdBothSignedUnsigned2() local 289 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned2() 292 return s1 + s2; in testDotProdBothSignedUnsigned2() 332 int s2 = 2; in testDotProdBothSignedUnsignedDoubleLoad() local 335 s2 += (a[i] & 0xff) * (b[i] & 0xff); in testDotProdBothSignedUnsignedDoubleLoad() 337 return s1 + s2; in testDotProdBothSignedUnsignedDoubleLoad() 375 int s2 = 2; 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() 486 expectEquals(results[7], testDotProdParamSigned(-32768, s2)); in testDotProd() 488 expectEquals(results[9], testDotProdIntParam(-32768, 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() [all …]
|
/art/runtime/arch/ |
D | memcmp16_test.cc | 56 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() local 96 s2 = new uint16_t[count2]; in CheckSeparate() 99 s2 = reinterpret_cast<uint16_t*>(0xebad2002); in CheckSeparate() 108 s2[i] = s1[i]; in CheckSeparate() 114 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 121 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate() 126 uint16_t* s2_pot_unaligned = s2; in CheckSeparate() 151 delete[] s2; in CheckSeparate()
|
/art/test/Statics/ |
D | Statics.java | 20 static final char s2 = 'a'; field in Statics 35 return s2; in getS2()
|
/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/runtime/interpreter/mterp/arm/ |
D | floating_point.S | 20 $instr @ s2<- op 22 SET_VREG_FLOAT s2, r9, lr @ vAA<- s2 41 $instr @ s2<- op 43 SET_VREG_FLOAT_BY_ADDR s2, r9 @ vAA<- s2 No need to clear as it's 2addr
|
/art/test/580-checker-string-fact-intrinsics/src-art/ |
D | Main.java | 65 String s2 = StringFactory.newStringFromString(s1); in testNewStringFromString() local 66 System.out.println(s2); in testNewStringFromString()
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 105 inline bool operator==(const DexString& s1, const DexString& s2) { 108 const char* str2 = DexString::g_ExtDexFileGetString(s2.ext_string_, &l2); 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/004-StackWalk/src/ |
D | Main.java | 45 String s2 = new String("2"); in shlemiel() local 67 s += s2; in shlemiel() 89 s += s2; in shlemiel()
|
/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() 86 return s1.equals(s2); in equals()
|
/art/libdexfile/external/ |
D | dex_file_supp_test.cc | 64 auto s2 = DexString(std::move(s1)); in TEST() local 66 EXPECT_EQ(std::string_view(s2), "foo"); in TEST() 71 DexString s2; in TEST() local 72 EXPECT_TRUE(std::string_view(s2).empty()); in TEST() 73 s2 = std::move(s1); in TEST() 75 EXPECT_EQ(std::string_view(s2), "foo"); in TEST()
|
/art/test/699-checker-string-append2/smali/ |
D | B146014745.smali | 51 # String s2 = sb.append(s).append(i).toString(); 58 # return sb.append(s2).toString(); 74 # String s2 = sb.append(s).toString(); 79 # return sb.append(i).append(s2).append(i); 128 #; String s2 = sb.append(s).append(i).toString(); 135 #; return sb.append(s2).toString(); 148 #; String s2 = sb.append(s).toString(); 154 #; return sb.append(i).append(s2).append(i);
|
/art/test/020-string/src/ |
D | Main.java | 59 …String s2 = "\u0c6d\u0cb6\u0d00\u0000\u0080\u0080\u0080\u0000\u0002\u0002\u0002\u0000\uffff\uffff\… in basicTest() local 60 System.out.println("Compare unicode: " + s1.compareTo(s2)); in basicTest() 108 String s2 = new String(byteArray); in constructorTest() local
|
/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/cmdline/ |
D | cmdline_types.h | 130 char* s2; 131 size_t val = strtoul(s, &s2, 10); 132 if (s2 != s) { 138 if (*s2 != '\0') { 142 char c = *s2++; 143 if (*s2 == '\0') {
|
/art/test/115-native-bridge/src/ |
D | NativeBridgeMain.java | 112 …native static short shortMethod(short s1, short s2, short s3, short s4, short s5, short s6, short … in shortMethod() argument
|
/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 232 CHECK_EQ(s2, 2); in Java_Main_shortMethod() 619 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() local 620 CHECK(s2 != nullptr); in Java_Main_testNewStringObject() 631 env->CallNonvirtualVoidMethod(s2, c, mid2, byte_array); in Java_Main_testNewStringObject()
|
/art/runtime/ |
D | reference_table_test.cc | 286 ObjPtr<mirror::String> s2 = mirror::String::AllocFromModifiedUtf8(soa.Self(), "world"); in TEST_F() local 291 rt.Add(s2); in TEST_F()
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 1658 public static void assertEquals(String s1, String s2) { in assertEquals() argument 1659 if (s1 == s2) { in assertEquals() 1663 if (s1 != null && s2 != null && s1.equals(s2)) { in assertEquals() 1667 throw new AssertionError("assertEquals s1: " + s1 + ", s2: " + s2); in assertEquals()
|
/art/test/623-checker-loop-regressions/src/ |
D | Main.java | 511 int s2 = 0; in reduction32Values() local 544 s2 += c[i]; in reduction32Values() 575 return s0 + s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15 + in reduction32Values()
|