/art/tools/ahat/src/main/com/android/ahat/proguard/ |
D | ProguardMap.java | 277 String sig = clearName.substring(op, cp + 1); in readFromReader() local 294 String clearSig = fromProguardSignature(sig + type); in readFromReader() 377 private static String fromProguardSignature(String sig) throws ParseException { in fromProguardSignature() argument 378 if (sig.startsWith("(")) { in fromProguardSignature() 379 int end = sig.indexOf(')'); in fromProguardSignature() 381 parseException("Error parsing signature: " + sig); in fromProguardSignature() 387 for (String arg : sig.substring(1, end).split(",")) { in fromProguardSignature() 392 converted.append(fromProguardSignature(sig.substring(end + 1))); in fromProguardSignature() 394 } else if (sig.endsWith(ARRAY_SYMBOL)) { in fromProguardSignature() 395 return "[" + fromProguardSignature(sig.substring(0, sig.length() - 2)); in fromProguardSignature() [all …]
|
/art/runtime/ |
D | fault_handler.h | 48 bool HandleFault(int sig, siginfo_t* info, void* context); 66 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) 84 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 97 bool Action(int sig, siginfo_t* siginfo, void* context) override; 115 bool Action(int sig, siginfo_t* siginfo, void* context) override; 125 bool Action(int sig, siginfo_t* siginfo, void* context) override; 135 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
|
D | fault_handler.cc | 47 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument 48 return fault_manager.HandleFault(sig, info, context); in art_fault_handler() 170 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument 181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers() 188 static const char* SignalCodeName(int sig, int code) { in SignalCodeName() argument 189 if (sig != SIGSEGV) { in SignalCodeName() 209 bool FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument 223 if (handler->Action(sig, info, context)) { in HandleFault() 234 if (HandleFaultByOtherHandlers(sig, info, context)) { in HandleFault() 375 bool JavaStackTraceHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) { in Action()
|
/art/test/1914-get-local-instance/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1915-get-set-local-current-thread/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1916-get-set-current-frame/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1939-proxy-frames/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1924-frame-pop-toggle/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1923-frame-pop/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1911-get-local-var-table/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1926-missed-frame-pop/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1925-self-frame-pop/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1912-get-set-local-primitive/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/1935-get-set-current-frame-jit/src/art/ |
D | Locals.java | 34 long start, int length, String name, String sig, String gen_sig, int slot) { in VariableDescription() argument 38 this.signature = sig; in VariableDescription() 78 Executable e, String name, String sig, int line) throws Exception { in GetVariableAtLine() argument 79 return GetVariableAtLocation(e, name, sig, Breakpoint.lineToLocation(e, line)); in GetVariableAtLine() 83 Executable e, String name, String sig, long loc) { in GetVariableAtLocation() argument 89 var.signature.equals(sig)) { in GetVariableAtLocation() 94 "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc); in GetVariableAtLocation()
|
/art/test/918-fields/ |
D | fields.cc | 36 char* sig; in Java_art_Test918_getFieldName() local 39 jvmtiError result = jvmti_env->GetFieldName(klass, id, &name, &sig, &gen); in Java_art_Test918_getFieldName() 52 return sig == nullptr ? nullptr : env->NewStringUTF(sig); in Java_art_Test918_getFieldName() 63 if (sig != nullptr) { in Java_art_Test918_getFieldName() 64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test918_getFieldName()
|
/art/test/988-method-trace/ |
D | gen_srcs.py | 119 def sig_to_parameter_type_list(sig): argument 120 sig = re.sub(r'[(](.*)[)].*', r'\1', sig) 126 for x in sig: 217 sig = get_item(IDX_SIGNATURE) 221 debug_print ((sig, method, kls)) 225 param_types = sig_to_parameter_type_list(sig)
|
/art/test/910-methods/ |
D | methods.cc | 38 char* sig; in Java_art_Test910_getMethodName() local 40 jvmtiError result = jvmti_env->GetMethodName(id, &name, &sig, &gen); in Java_art_Test910_getMethodName() 49 return sig == nullptr ? nullptr : env->NewStringUTF(sig); in Java_art_Test910_getMethodName() 60 if (sig != nullptr) { in Java_art_Test910_getMethodName() 61 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test910_getMethodName()
|
/art/test/912-classes/ |
D | classes_art.cc | 112 char* sig; in Java_art_Test912Art_isLoadedClass() local 113 jvmtiError res2 = jvmti_env->GetClassSignature(classes[i], &sig, nullptr); in Java_art_Test912Art_isLoadedClass() 118 found = strcmp(name.c_str(), sig) == 0; in Java_art_Test912Art_isLoadedClass() 120 CheckJvmtiError(jvmti_env, jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig))); in Java_art_Test912Art_isLoadedClass()
|
/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 63 char* sig; in TranslateJvmtiFrameInfoArray() local 66 jvmtiError result2 = jvmti_env->GetMethodName(frames[method_index].method, &name, &sig, &gen); in TranslateJvmtiFrameInfoArray() 95 return (sig == nullptr) ? nullptr : env->NewStringUTF(sig); in TranslateJvmtiFrameInfoArray() 113 if (sig != nullptr) { in TranslateJvmtiFrameInfoArray() 114 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in TranslateJvmtiFrameInfoArray()
|
/art/runtime/arch/mips64/ |
D | fault_handler_mips64.cc | 73 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() 98 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() 116 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action()
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() 96 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() 114 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action()
|
/art/test/305-other-fault-handler/ |
D | fault_handler.cc | 55 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() argument 56 CHECK_EQ(sig, SIGSEGV); in Action()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 54 static void blocked_signal(int sig ATTRIBUTE_UNUSED) { in blocked_signal() 58 static void unblocked_signal(int sig ATTRIBUTE_UNUSED) { in unblocked_signal() 62 static void signalhandler(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in signalhandler()
|
/art/libdexfile/dex/ |
D | signature.cc | 86 std::ostream& operator<<(std::ostream& os, const Signature& sig) { in operator <<() argument 87 return os << sig.ToString(); in operator <<()
|