/art/tools/class2greylist/src/com/android/class2greylist/ |
D | ApiComponents.java | 74 private static String parseJNIClassDescriptor(StringCursor sc) in parseJNIClassDescriptor() argument 76 if (sc.peek() != 'L') { in parseJNIClassDescriptor() 78 "Expected JNI class descriptor to start with L, but instead got " + sc.peek(), in parseJNIClassDescriptor() 79 sc); in parseJNIClassDescriptor() 82 sc.next(); in parseJNIClassDescriptor() 83 int semiColonPos = sc.find(';'); in parseJNIClassDescriptor() 86 sc); in parseJNIClassDescriptor() 88 String jniClassDescriptor = sc.next(semiColonPos); in parseJNIClassDescriptor() 90 sc.next(); in parseJNIClassDescriptor() 100 private static String parseJNIPrimitiveType(StringCursor sc) in parseJNIPrimitiveType() argument [all …]
|
D | SignatureSyntaxError.java | 23 public SignatureSyntaxError(String expected, StringCursor sc) { in SignatureSyntaxError() argument 24 super(expected + " at position " + sc.position() + " in " + sc.getOriginalString()); in SignatureSyntaxError() 26 this.position = sc.position(); in SignatureSyntaxError() 27 this.context = sc.getOriginalString(); in SignatureSyntaxError()
|
D | JavadocLinkSyntaxError.java | 24 public JavadocLinkSyntaxError(String expected, StringCursor sc) { in JavadocLinkSyntaxError() argument 25 super(expected + " at position " + sc.position() + " in " + sc.getOriginalString()); in JavadocLinkSyntaxError() 27 this.position = sc.position(); in JavadocLinkSyntaxError() 28 this.context = sc.getOriginalString(); in JavadocLinkSyntaxError()
|
/art/benchmark/scoped-primitive-array/ |
D | scoped_primitive_array.cc | 24 ScopedByteArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureByteArray() local 25 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureByteArray() 34 ScopedShortArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureShortArray() local 35 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureShortArray() 44 ScopedIntArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureIntArray() local 45 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureIntArray() 54 ScopedLongArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureLongArray() local 55 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureLongArray()
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 48 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local 49 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp() 57 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 61 *out_method = reinterpret_cast<ArtMethod*>(sc->regs[0]); in GetMethodAndReturnPcAndSp() 72 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp() 74 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp() 86 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local 89 sc->sp -= sizeof(uintptr_t); in Action() 90 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action() 91 sc->regs[30] = reinterpret_cast<uintptr_t>(info->si_addr); in Action() [all …]
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 55 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local 56 *out_sp = static_cast<uintptr_t>(sc->arm_sp); in GetMethodAndReturnPcAndSp() 64 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 68 *out_method = reinterpret_cast<ArtMethod*>(sc->arm_r0); in GetMethodAndReturnPcAndSp() 82 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in GetMethodAndReturnPcAndSp() 93 *out_return_pc = (sc->arm_pc + instr_size) | 1; in GetMethodAndReturnPcAndSp() 108 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local 109 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in Action() 111 uintptr_t gc_map_location = (sc->arm_pc + instr_size) | 1; in Action() 114 sc->arm_sp -= sizeof(uintptr_t); in Action() [all …]
|
D | instruction_set_features_arm.cc | 227 struct sigcontext *sc = &uc->uc_mcontext; in bad_instr_handle() local 228 sc->arm_r0 = 0; // Set R0 to #0 to signal error. in bad_instr_handle() 229 sc->arm_pc += 4; // Skip offending instruction. in bad_instr_handle()
|
/art/runtime/jni/ |
D | check_jni.cc | 1751 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetVersion() local 1753 if (sc.Check(soa, true, "E", args)) { in GetVersion() 1756 if (sc.Check(soa, false, "I", &result)) { in GetVersion() 1766 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetJavaVM() local 1768 if (sc.Check(soa, true, "Ep", args)) { in GetJavaVM() 1771 if (sc.Check(soa, false, "i", &result)) { in GetJavaVM() 1781 ScopedCheck sc(kFlag_Default, __FUNCTION__); in RegisterNatives() local 1783 if (sc.Check(soa, true, "EcpI", args)) { in RegisterNatives() 1786 if (sc.Check(soa, false, "i", &result)) { in RegisterNatives() 1796 ScopedCheck sc(kFlag_Default, __FUNCTION__); in UnregisterNatives() local [all …]
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 81 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local 82 sc->arm_pc += 2; // Skip instruction causing segv. in signalhandler() 85 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local 86 sc->pc += 4; // Skip instruction causing segv. in signalhandler()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 561 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in StandardSignalHandler() local 562 sc->arm_pc += 2; // Skip instruction causing segv & sigill. in StandardSignalHandler() 565 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in StandardSignalHandler() 566 sc->pc += 4; // Skip instruction causing segv & sigill. in StandardSignalHandler()
|
/art/runtime/ |
D | subtype_check_info_test.cc | 134 static SubtypeCheckInfo CopyCleared(const SubtypeCheckInfo& sc) { in CopyCleared() 136 cleared_copy.depth_ = sc.depth_; in CopyCleared()
|
/art/test/710-varhandle-creation/src/ |
D | Main.java | 52 static char sc; field in Main
|