Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 51) sorted by relevance

123

/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java277 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/
Dfault_handler.h48 bool HandleFault(int sig, siginfo_t* info, void* context);
70 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context)
88 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
101 bool Action(int sig, siginfo_t* siginfo, void* context) override;
119 bool Action(int sig, siginfo_t* siginfo, void* context) override;
129 bool Action(int sig, siginfo_t* siginfo, void* context) override;
139 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
Dfault_handler.cc47 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()
384 bool JavaStackTraceHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) { in Action()
/art/test/1926-missed-frame-pop/src/art/
DLocals.java34 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/
DLocals.java34 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/1966-get-set-local-objects-no-table/src/art/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/1914-get-local-instance/src/art/
DLocals.java34 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/1967-get-set-local-bad-slot/src/art/
DLocals.java34 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/1965-get-set-local-primitive-no-tables/src/art/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/jvmti-common/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/
DLocals.java34 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/
Dfields.cc36 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/1969-force-early-return-void/
Dforce_early_return_void.cc87 char* sig; in Java_art_Test1969_isClassLoaded() local
90 jvmti_env->GetClassSignature(klasses[i], &sig, nullptr))) { in Java_art_Test1969_isClassLoaded()
93 res = (strcmp(sig, chr.c_str()) == 0); in Java_art_Test1969_isClassLoaded()
94 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test1969_isClassLoaded()
/art/test/1953-pop-frame/
Dpop_frame.cc88 char* sig; in Java_art_Test1953_isClassLoaded() local
91 jvmti_env->GetClassSignature(klasses[i], &sig, nullptr))) { in Java_art_Test1953_isClassLoaded()
94 res = (strcmp(sig, chr.c_str()) == 0); in Java_art_Test1953_isClassLoaded()
95 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(sig)); in Java_art_Test1953_isClassLoaded()
/art/test/1972-jni-id-swap-indices/
Djni_id.cc34 jstring sig) { in Java_Main_GetMethodId() argument
38 const char* csig = env->GetStringUTFChars(sig, &cpy); in Java_Main_GetMethodId()
41 env->ReleaseStringUTFChars(sig, csig); in Java_Main_GetMethodId()
/art/test/988-method-trace/
Dgen_srcs.py119 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/
Dmethods.cc38 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()

123