/art/runtime/ |
H A D | strutil.h | 26 bool operator()(const char* s1, const char* s2) const { 27 return strcmp(s1, s2) < 0; 33 bool operator()(const char* s1, const char* s2) const { 34 return strcmp(s1, s2) == 0;
|
H A D | parsed_options.cc | 59 char* s2; local 60 size_t val = strtoul(s, &s2, 10); 61 if (s2 != s) { 62 // s2 should be pointing just after the number. 67 if (*s2 != '\0') { 71 char c = *s2++; 72 if (*s2 == '\0') {
|
H A D | jni_internal_test.cc | 1332 jstring s2 = env_->NewStringUTF("world"); local 1333 ASSERT_NE(s2, nullptr); 1342 env_->SetStaticObjectField(c, s_fid, s2); 1343 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetStaticObjectField(c, s_fid))); 1347 env_->SetObjectField(o, i_fid, s2); 1348 ASSERT_TRUE(env_->IsSameObject(s2, env_->GetObjectField(o, i_fid)));
|
H A D | class_linker_test.cc | 883 mirror::ArtField* s2 = mirror::Class::FindStaticField(soa.Self(), statics, "s2", "C"); local 884 EXPECT_EQ(s2->GetTypeAsPrimitiveType(), Primitive::kPrimChar); 885 EXPECT_EQ('a', s2->GetChar(statics.Get())); 886 s2->SetChar<false>(statics.Get(), 'b'); 924 EXPECT_EQ('b', s2->GetChar(statics.Get()));
|
/art/test/Statics/ |
H A D | Statics.java | 20 static final char s2 = 'a'; field in class:Statics 35 return s2;
|
/art/runtime/arch/ |
H A D | memcmp16_test.cc | 55 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses local 95 s2 = new uint16_t[count2]; 98 s2 = reinterpret_cast<uint16_t*>(0xebad2002); 107 s2[i] = s1[i]; 113 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); 120 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); 125 uint16_t* s2_pot_unaligned = s2; 150 delete s2;
|
/art/runtime/base/ |
H A D | logging.h | 50 #define CHECK_STROP(s1, s2, sense) \ 51 if (UNLIKELY((strcmp(s1, s2) == 0) != sense)) \ 55 << "\"" << s2 << "\"" 57 #define CHECK_STREQ(s1, s2) CHECK_STROP(s1, s2, true) 58 #define CHECK_STRNE(s1, s2) CHECK_STROP(s1, s2, false) 88 #define DCHECK_STREQ(s1, s2) CHECK_STREQ(s1, s2) 89 #define DCHECK_STRNE(s1, s2) CHECK_STRN [all...] |
/art/test/020-string/src/ |
H A D | Main.java | 47 String s2 = "\u0c6d\u0cb6\u0d00\u0000\u0080\u0080\u0080\u0000\u0002\u0002\u0002\u0000\uffff\uffff\uffff\u00e9\u00e9\u00e9"; 48 System.out.println("Compare unicode: " + s1.compareTo(s2));
|
/art/test/004-StackWalk/src/ |
H A D | Main.java | 23 String s2 = new String("2"); 45 s += s2; 67 s += s2;
|
/art/compiler/dex/ |
H A D | mir_graph_test.cc | 39 #define DEF_SUCC2(s1, s2) \ 40 2u, { s1, s2 } 41 #define DEF_SUCC3(s1, s2, s3) \ 42 3u, { s1, s2, s3 } 43 #define DEF_SUCC4(s1, s2, s3, s4) \ 44 4u, { s1, s2, s3, s4 }
|
H A D | mir_optimization_test.cc | 56 #define DEF_SUCC2(s1, s2) \ 57 2u, { s1, s2 } 58 #define DEF_SUCC3(s1, s2, s3) \ 59 3u, { s1, s2, s3 } 60 #define DEF_SUCC4(s1, s2, s3, s4) \ 61 4u, { s1, s2, s3, s4 }
|
H A D | global_value_numbering_test.cc | 71 #define DEF_SUCC2(s1, s2) \ 72 2u, { s1, s2 } 73 #define DEF_SUCC3(s1, s2, s3) \ 74 3u, { s1, s2, s3 } 75 #define DEF_SUCC4(s1, s2, s3, s4) \ 76 4u, { s1, s2, s3, s4 }
|
/art/test/004-JniTest/src/ |
H A D | Main.java | 112 native static short shortMethod(short s1, short s2, short s3, short s4, short s5, short s6, short s7, argument
|
/art/test/115-native-bridge/src/ |
H A D | NativeBridgeMain.java | 107 native static short shortMethod(short s1, short s2, short s3, short s4, short s5, short s6, short s7, argument
|
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 141 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, argument 148 return fnPtr(env, klass, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10);
|
/art/runtime/arch/mips/ |
H A D | quick_entrypoints_mips.S | 59 sw $s2, 28($sp) 72 * callee-save: $s2-$s8 + $gp + $ra, 9 total + 3 words padding + 4 open words for args 99 sw $s2, 28($sp) 121 lw $s2, 28($sp) 144 lw $s2, 28($sp) 154 * callee-save: $a1-$a3, $s2-$s8 + $gp + $ra, 12 total + 3 words padding + method* 181 sw $s2, 28($sp) 209 lw $s2, 28($sp) 321 lw $s2, 72($a0)
|
/art/test/004-JniTest/ |
H A D | jni_test.cc | 200 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, 204 assert(s2 == 2);
|
/art/compiler/utils/ |
H A D | assembler_thumb_test.cc | 55 int CompareIgnoringSpace(const char* s1, const char* s2) { argument 58 while (isspace(*s2)) ++s2; 59 if (*s1 == '\0' || *s1 != *s2) { 63 ++s2; 65 return *s1 - *s2;
|
/art/runtime/arch/arm64/ |
H A D | quick_entrypoints_arm64.S | 738 LOADREG x15 4 s2 .LfillRegisters 863 LOADREG x15 4 s2 .LfillRegisters2
|
/art/compiler/utils/arm64/ |
H A D | managed_register_arm64_test.cc | 729 EXPECT_TRUE(vixl::s2.Is(Arm64Assembler::reg_s(S2)));
|