Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 21 of 21) sorted by relevance

/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()
Dparsed_options.cc59 char* s2; in ParseMemoryOption() local
60 size_t val = strtoul(s, &s2, 10); in ParseMemoryOption()
61 if (s2 != s) { in ParseMemoryOption()
67 if (*s2 != '\0') { in ParseMemoryOption()
71 char c = *s2++; in ParseMemoryOption()
72 if (*s2 == '\0') { in ParseMemoryOption()
Djni_internal_test.cc1343 jstring s2 = env_->NewStringUTF("world"); in TEST_F() local
1344 ASSERT_NE(s2, nullptr); in TEST_F()
1353 env_->SetStaticObjectField(c, s_fid, s2); in TEST_F()
1354 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetStaticObjectField(c, s_fid))); in TEST_F()
1358 env_->SetObjectField(o, i_fid, s2); in TEST_F()
1359 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetObjectField(o, i_fid))); in TEST_F()
Dclass_linker_test.cc863 mirror::ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics, "s2", "C"); in TEST_F() local
864 EXPECT_EQ(s2->GetTypeAsPrimitiveType(), Primitive::kPrimChar); in TEST_F()
865 EXPECT_EQ('a', s2->GetChar(statics.Get())); in TEST_F()
866 s2->SetChar<false>(statics.Get(), 'b'); in TEST_F()
904 EXPECT_EQ('b', s2->GetChar(statics.Get())); in TEST_F()
/art/runtime/arch/
Dmemcmp16_test.cc55 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate() local
95 s2 = new uint16_t[count2]; in CheckSeparate()
98 s2 = reinterpret_cast<uint16_t*>(0xebad2002); in CheckSeparate()
107 s2[i] = s1[i]; in CheckSeparate()
113 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
120 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
125 uint16_t* s2_pot_unaligned = s2; in CheckSeparate()
150 delete s2; in CheckSeparate()
/art/runtime/base/
Dlogging.h50 #define CHECK_STROP(s1, s2, sense) \ argument
51 if (UNLIKELY((strcmp(s1, s2) == 0) != sense)) \
55 << "\"" << s2 << "\""
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.java20 static final char s2 = 'a'; field in Statics
35 return s2; in getS2()
/art/test/004-StackWalk/src/
DMain.java23 String s2 = new String("2"); in shlemiel() local
45 s += s2; in shlemiel()
67 s += s2; in shlemiel()
/art/test/020-string/src/
DMain.java47 …String s2 = "\u0c6d\u0cb6\u0d00\u0000\u0080\u0080\u0080\u0000\u0002\u0002\u0002\u0000\uffff\uffff\… in basicTest() local
48 System.out.println("Compare unicode: " + s1.compareTo(s2)); in basicTest()
/art/compiler/dex/
Dmir_graph_test.cc39 #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.cc56 #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.cc71 #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/runtime/arch/mips/
Dquick_entrypoints_mips.S59 sw $s2, 28($sp)
99 sw $s2, 28($sp)
121 lw $s2, 28($sp)
144 lw $s2, 28($sp)
181 sw $s2, 28($sp)
209 lw $s2, 28($sp)
321 lw $s2, 72($a0)
/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/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
204 assert(s2 == 2); in Java_Main_shortMethod()
/art/compiler/utils/
Dassembler_thumb_test.cc55 int CompareIgnoringSpace(const char* s1, const char* s2) { in CompareIgnoringSpace() argument
58 while (isspace(*s2)) ++s2; in CompareIgnoringSpace()
59 if (*s1 == '\0' || *s1 != *s2) { in CompareIgnoringSpace()
63 ++s2; in CompareIgnoringSpace()
65 return *s1 - *s2; in CompareIgnoringSpace()
Dassembler_thumb_test_expected.cc.inc422 " 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",
448 " 0: eeb7 1bc2 vcvt.f32.f64 s2, d2\n",
449 " 4: eeb7 2ac1 vcvt.f64.f32 d2, s2\n",
450 " 8: eefd 0ac1 vcvt.s32.f32 s1, s2\n",
[all …]
/art/runtime/arch/arm64/
Dquick_entrypoints_arm64.S738 LOADREG x15 4 s2 .LfillRegisters
863 LOADREG x15 4 s2 .LfillRegisters2
/art/compiler/utils/arm64/
Dmanaged_register_arm64_test.cc729 EXPECT_TRUE(vixl::s2.Is(Arm64Assembler::reg_s(S2))); in TEST()