/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() 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() 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() 92 private static int sadShort2Int(short[] s1, short[] s2) { in sadShort2Int() argument [all …]
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 330 int s2 = 2; in testDotProdBothSignedUnsigned1() local 335 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned1() 337 return s1 + s2; in testDotProdBothSignedUnsigned1() 397 int s2 = 2; in testDotProdBothSignedUnsigned2() local 401 s2 += (a_val & 0xff) * (b_val & 0xff); in testDotProdBothSignedUnsigned2() 404 return s1 + s2; in testDotProdBothSignedUnsigned2() 465 int s2 = 2; in testDotProdBothSignedUnsignedDoubleLoad() local 468 s2 += (a[i] & 0xff) * (b[i] & 0xff); in testDotProdBothSignedUnsignedDoubleLoad() 470 return s1 + s2; in testDotProdBothSignedUnsignedDoubleLoad() 517 int s2 = 2; 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() 576 expectEquals(results[7], testDotProdParamSigned(-32768, s2)); in testDotProd() 578 expectEquals(results[9], testDotProdIntParam(-32768, 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() [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/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/runtime/interpreter/mterp/armng/ |
D | floating_point.S | 20 $instr @ s2<- op 22 SET_VREG_FLOAT s2, r4, lr @ vAA<- s2 41 $instr @ s2<- op 43 SET_VREG_FLOAT_BY_ADDR s2, r4 @ vAA<- s2 No need to clear as it's 2addr
|
/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/Statics/ |
D | Statics.java | 20 static final char s2 = 'a'; field in Statics 35 return s2; in getS2()
|
/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/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/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 | 147 char* s2; 148 size_t val = strtoul(s, &s2, 10); 149 if (s2 != s) { 155 if (*s2 != '\0') { 159 char c = *s2++; 160 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 | 257 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, in Java_Main_shortMethod() argument 261 CHECK_EQ(s2, 2); in Java_Main_shortMethod() 648 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() local 649 CHECK(s2 != nullptr); in Java_Main_testNewStringObject() 660 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 | 553 int s2 = 0; in reduction32Values() local 586 s2 += c[i]; in reduction32Values() 617 return s0 + s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15 + in reduction32Values()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 154 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in trampoline_Java_Main_shortMethod() argument 161 return fnPtr(env, klass, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10); in trampoline_Java_Main_shortMethod()
|