Home
last modified time | relevance | path

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

123

/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java314 String sig = clearName.substring(op, cp + 1); in readFromReader() local
343 String clearSig = fromProguardSignature(sig + type); in readFromReader()
470 private static String fromProguardSignature(String sig) throws ParseException { in fromProguardSignature() argument
471 if (sig.startsWith("(")) { in fromProguardSignature()
472 int end = sig.indexOf(')'); in fromProguardSignature()
474 parseException("Error parsing signature: " + sig); in fromProguardSignature()
480 for (String arg : sig.substring(1, end).split(",")) { in fromProguardSignature()
485 converted.append(fromProguardSignature(sig.substring(end + 1))); in fromProguardSignature()
487 } else if (sig.endsWith(ARRAY_SYMBOL)) { in fromProguardSignature()
488 return "[" + fromProguardSignature(sig.substring(0, sig.length() - 2)); in fromProguardSignature()
[all …]
/art/runtime/
Dfault_handler.h53 bool HandleSigsegvFault(int sig, siginfo_t* info, void* context);
56 bool HandleSigbusFault(int sig, siginfo_t* info, void* context);
90 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context)
130 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
146 bool Action(int sig, siginfo_t* siginfo, void* context) override
173 bool Action(int sig, siginfo_t* siginfo, void* context) override;
183 bool Action(int sig, siginfo_t* siginfo, void* context) override;
193 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
Dfault_handler.cc57 static bool art_sigsegv_handler(int sig, siginfo_t* info, void* context) { in art_sigsegv_handler() argument
58 return fault_manager.HandleSigsegvFault(sig, info, context); in art_sigsegv_handler()
62 static bool art_sigbus_handler(int sig, siginfo_t* info, void* context) { in art_sigbus_handler() argument
63 return fault_manager.HandleSigbusFault(sig, info, context); in art_sigbus_handler()
74 static const char* SignalCodeName(int sig, int code) { in SignalCodeName() argument
75 if (sig == SIGSEGV) { in SignalCodeName()
83 } else if (sig == SIGBUS) { in SignalCodeName()
158 act.sa_sigaction = [](int sig, siginfo_t* info, void* context) { in Init() argument
159 if (!art_sigbus_handler(sig, info, context)) { in Init()
211 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument
[all …]
/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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