/art/test/660-checker-simd-sad-short2/src/ |
D | Main.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 …]
|
/art/test/660-checker-simd-sad-char/src/ |
D | Main.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 …]
|
/art/test/660-checker-simd-sad-short/src/ |
D | Main.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/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/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/Statics/ |
D | Statics.java | 20 static final char s2 = 'a'; field in Statics 35 return s2; in getS2()
|
/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 | 98 inline bool operator==(const DexString& s1, const DexString& s2) { 101 const char* str2 = DexString::g_ExtDexFileGetString(s2.ext_string_, &l2); 112 inline bool operator==(const MethodInfo& s1, const MethodInfo& s2) { 113 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/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/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/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/compiler/utils/ |
D | assembler_thumb_test.cc | 59 int CompareIgnoringSpace(const char* s1, const char* s2) { in CompareIgnoringSpace() argument 62 while (isspace(*s2)) ++s2; in CompareIgnoringSpace() 63 if (*s1 == '\0' || *s1 != *s2) { in CompareIgnoringSpace() 67 ++s2; in CompareIgnoringSpace() 69 return *s1 - *s2; in CompareIgnoringSpace()
|
/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/runtime/interpreter/mterp/mips64/ |
D | main.S | 41 #define s2 $$18 macro 97 #define rSELF s2 383 sd s2, STACK_OFFSET_S2(sp) 704 ld s2, STACK_OFFSET_S2(sp)
|
/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/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 64 sw $s2, 76($sp) 127 sw $s2, 12($sp) 159 lw $s2, 12($sp) 211 sw $s2, 76($sp) 317 lw $s2, 76($sp) 376 sw $s2, 212($sp) 508 lw $s2, 212($sp) 636 sw $s2, 12($sp) 695 lw $s2, 12($sp) 756 lw $s2, 72($a0) [all …]
|
/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/test/623-checker-loop-regressions/src/ |
D | Main.java | 531 int s2 = 0; in reduction32Values() local 564 s2 += c[i]; in reduction32Values() 595 return s0 + s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15 + in reduction32Values()
|
/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/runtime/interpreter/mterp/mips/ |
D | main.S | 68 #define rSELF s2 106 #define s2 $$18 macro 698 STACK_STORE(s2, 108); \ 711 STACK_LOAD(s2, 108); \
|