Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/arch/
Dmemcmp16_test.cc37 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_compare() argument
39 if (s0[i] != s1[i]) { in memcmp16_compare()
40 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]); in memcmp16_compare()
55 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() local
88 s1 = new uint16_t[count1]; in CheckSeparate()
91 s1 = reinterpret_cast<uint16_t*>(0xebad1001); in CheckSeparate()
106 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
107 s2[i] = s1[i]; in CheckSeparate()
110 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
117 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
[all …]
Dmemcmp16.h35 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);
Dmemcmp16.cc22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_generic_static() argument
24 if (s0[i] != s1[i]) { in memcmp16_generic_static()
25 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]); in memcmp16_generic_static()
35 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16Testing() argument
36 return MemCmp16(s0, s1, count); in MemCmp16Testing()
/art/runtime/
Dstrutil.h26 bool operator()(const char* s1, const char* s2) const { in operator()
27 return strcmp(s1, s2) < 0; in operator()
33 bool operator()(const char* s1, const char* s2) const { in operator()
34 return strcmp(s1, s2) == 0; in operator()
Dintern_table_test.cc108 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() local
115 p.Expect(s1.Get()); in TEST_F()
Djni_internal_test.cc1341 jstring s1 = env_->NewStringUTF("hello"); in TEST_F() local
1342 ASSERT_NE(s1, nullptr); in TEST_F()
1351 env_->SetStaticObjectField(c, s_fid, s1); in TEST_F()
1352 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetStaticObjectField(c, s_fid))); in TEST_F()
1356 env_->SetObjectField(o, i_fid, s1); in TEST_F()
1357 ASSERT_TRUE(env_->IsSameObject(s1, env_->GetObjectField(o, i_fid))); in TEST_F()
Dclass_linker_test.cc858 mirror::ArtField* s1 = mirror::Class::FindStaticField(soa.Self(), statics, "s1", "B"); in TEST_F() local
859 EXPECT_EQ(s1->GetTypeAsPrimitiveType(), Primitive::kPrimByte); in TEST_F()
860 EXPECT_EQ(5, s1->GetByte(statics.Get())); in TEST_F()
861 s1->SetByte<false>(statics.Get(), 6); in TEST_F()
903 EXPECT_EQ(6, s1->GetByte(statics.Get())); in TEST_F()
/art/runtime/base/
Dlogging.h50 #define CHECK_STROP(s1, s2, sense) \ argument
51 if (UNLIKELY((strcmp(s1, s2) == 0) != sense)) \
53 << "\"" << s1 << "\"" \
57 #define CHECK_STREQ(s1, s2) CHECK_STROP(s1, s2, true) argument
58 #define CHECK_STRNE(s1, s2) CHECK_STROP(s1, s2, false) argument
88 #define DCHECK_STREQ(s1, s2) CHECK_STREQ(s1, s2) argument
89 #define DCHECK_STRNE(s1, s2) CHECK_STRNE(s1, s2) argument
/art/test/Statics/
DStatics.java19 static final byte s1 = 5; field in Statics
32 return s1; in getS1()
/art/compiler/dex/
Dmir_graph_test.cc37 #define DEF_SUCC1(s1) \ argument
38 1u, { s1 }
39 #define DEF_SUCC2(s1, s2) \ argument
40 2u, { s1, s2 }
41 #define DEF_SUCC3(s1, s2, s3) \ argument
42 3u, { s1, s2, s3 }
43 #define DEF_SUCC4(s1, s2, s3, s4) \ argument
44 4u, { s1, s2, s3, s4 }
Dmir_optimization_test.cc54 #define DEF_SUCC1(s1) \ argument
55 1u, { s1 }
56 #define DEF_SUCC2(s1, s2) \ argument
57 2u, { s1, s2 }
58 #define DEF_SUCC3(s1, s2, s3) \ argument
59 3u, { s1, s2, s3 }
60 #define DEF_SUCC4(s1, s2, s3, s4) \ argument
61 4u, { s1, s2, s3, s4 }
Dglobal_value_numbering_test.cc69 #define DEF_SUCC1(s1) \ argument
70 1u, { s1 }
71 #define DEF_SUCC2(s1, s2) \ argument
72 2u, { s1, s2 }
73 #define DEF_SUCC3(s1, s2, s3) \ argument
74 3u, { s1, s2, s3 }
75 #define DEF_SUCC4(s1, s2, s3, s4) \ argument
76 4u, { s1, s2, s3, s4 }
/art/test/020-string/src/
DMain.java46 …String s1 = "\u0c6d\u0cb6\u0d00\u0000\u0080\u0080\u0080\u0000\u0002\u0002\u0002\u0000\u00e9\u00e9\… in basicTest() local
48 System.out.println("Compare unicode: " + s1.compareTo(s2)); in basicTest()
/art/test/004-StackWalk/src/
DMain.java22 String s1 = new String("1"); in shlemiel() local
44 s += s1; in shlemiel()
/art/runtime/arch/mips/
Dasm_support_mips.S27 #define rSELF $s1
Djni_entrypoints_mips.S41 move $a0, $s1 # pass Thread::Current()
Dquick_entrypoints_mips.S61 sw $s1, 24($sp)
320 lw $s1, 68($a0)
484 addiu $sp, $sp, -16 # spill s0, s1, fp, ra
490 sw $s1, 4($sp)
496 move $s1, $a3 # move managed thread pointer into s1
516 lw $s1, 4($sp)
/art/test/004-JniTest/
Djni_test.cc200 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in Java_Main_shortMethod() argument
214 assert(0 <= s1); in Java_Main_shortMethod()
215 assert(s1 < static_cast<jshort>(kShortReturnSize)); in Java_Main_shortMethod()
217 return short_returns[s1]; in Java_Main_shortMethod()
/art/test/115-native-bridge/src/
DNativeBridgeMain.java107 …native static short shortMethod(short s1, short s2, short s3, short s4, short s5, short s6, short … in shortMethod() argument
/art/test/004-JniTest/src/
DMain.java112 …native static short shortMethod(short s1, short s2, short s3, short s4, short s5, short s6, short … in shortMethod() argument
/art/test/115-native-bridge/
Dnativebridge.cc142 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in trampoline_Java_Main_shortMethod() argument
149 return fnPtr(env, klass, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10); in trampoline_Java_Main_shortMethod()
/art/compiler/utils/
Dassembler_thumb_test.cc55 int CompareIgnoringSpace(const char* s1, const char* s2) { in CompareIgnoringSpace() argument
56 while (*s1 != '\0') { in CompareIgnoringSpace()
57 while (isspace(*s1)) ++s1; in CompareIgnoringSpace()
59 if (*s1 == '\0' || *s1 != *s2) { in CompareIgnoringSpace()
62 ++s1; in CompareIgnoringSpace()
65 return *s1 - *s2; in CompareIgnoringSpace()
Dassembler_thumb_test_expected.cc.inc420 " 0: eef7 0a00 vmov.f32 s1, #112 ; 0x70\n",
422 " 8: eef0 0a41 vmov.f32 s1, s2\n",
427 " 0: ee30 0a81 vadd.f32 s0, s1, s2\n",
428 " 4: ee30 0ac1 vsub.f32 s0, s1, s2\n",
429 " 8: ee20 0a81 vmul.f32 s0, s1, s2\n",
430 " c: ee00 0a81 vmla.f32 s0, s1, s2\n",
431 " 10: ee00 0ac1 vmls.f32 s0, s1, s2\n",
432 " 14: ee80 0a81 vdiv.f32 s0, s1, s2\n",
433 " 18: eeb0 0ae0 vabs.f32 s0, s1\n",
434 " 1c: eeb1 0a60 vneg.f32 s0, s1\n",
[all …]
/art/runtime/mirror/
Dobject_test.cc121 size_t s1 = a1->SizeOf(); in TEST_F() local
123 EXPECT_EQ(s1, clone->SizeOf()); in TEST_F()
/art/runtime/arch/arm64/
Dquick_entrypoints_arm64.S737 LOADREG x15 4 s1 .LfillRegisters
862 LOADREG x15 4 s1 .LfillRegisters2

12