Home
last modified time | relevance | path

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

/art/sigchainlib/
Dsigchain.cc115 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { in InvokeUserSignalHandler() argument
117 CheckSignalValid(sig); in InvokeUserSignalHandler()
120 if (!user_sigactions[sig].IsClaimed()) { in InvokeUserSignalHandler()
124 const struct sigaction& action = user_sigactions[sig].GetAction(); in InvokeUserSignalHandler()
127 action.sa_handler(sig); in InvokeUserSignalHandler()
129 signal(sig, SIG_DFL); in InvokeUserSignalHandler()
130 raise(sig); in InvokeUserSignalHandler()
134 action.sa_sigaction(sig, info, context); in InvokeUserSignalHandler()
136 signal(sig, SIG_DFL); in InvokeUserSignalHandler()
137 raise(sig); in InvokeUserSignalHandler()
Dsigchain.h30 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
Dsigchain_dummy.cc57 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { in InvokeUserSignalHandler() argument
/art/runtime/
Dfault_handler.h45 void HandleFault(int sig, siginfo_t* info, void* context);
46 void HandleNestedSignal(int sig, siginfo_t* info, void* context);
76 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
89 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
99 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
109 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
119 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE NO_THREAD_SAFETY_ANALYSIS;
Dfault_handler.cc81 static void art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument
82 fault_manager.HandleFault(sig, info, context); in art_fault_handler()
86 static void art_nested_signal_handler(int sig, siginfo_t* info, void* context) { in art_nested_signal_handler() argument
87 fault_manager.HandleNestedSignal(sig, info, context); in art_nested_signal_handler()
138 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument
148 if (handler->Action(sig, info, context)) { in HandleFault()
167 if (handler->Action(sig, info, context)) { in HandleFault()
176 InvokeUserSignalHandler(sig, info, context); in HandleFault()
312 bool JavaStackTraceHandler::Action(int sig, siginfo_t* siginfo, void* context) { in Action() argument
Djni_internal.cc107 const char* name, const char* sig, const char* kind) in ThrowNoSuchMethodError() argument
113 kind, c->GetDescriptor(&temp), name, sig); in ThrowNoSuchMethodError()
141 const char* name, const char* sig, bool is_static) in FindMethodID() argument
149 method = c->FindDirectMethod(name, sig); in FindMethodID()
151 method = c->FindInterfaceMethod(name, sig); in FindMethodID()
153 method = c->FindVirtualMethod(name, sig); in FindMethodID()
157 method = c->FindDeclaredDirectMethod(name, sig); in FindMethodID()
161 ThrowNoSuchMethodError(soa, c, name, sig, is_static ? "static" : "non-static"); in FindMethodID()
196 const char* sig, bool is_static) in FindFieldID() argument
207 if (sig[1] != '\0') { in FindFieldID()
[all …]
Dcheck_jni.cc1303 static jmethodID GetMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetMethodID() argument
1304 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetMethodID()
1305 return CHECK_JNI_EXIT("m", baseEnv(env)->GetMethodID(env, c, name, sig)); in GetMethodID()
1308 static jfieldID GetFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetFieldID() argument
1309 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetFieldID()
1310 return CHECK_JNI_EXIT("f", baseEnv(env)->GetFieldID(env, c, name, sig)); in GetFieldID()
1313 static jmethodID GetStaticMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticMethodID() argument
1314 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetStaticMethodID()
1315 return CHECK_JNI_EXIT("m", baseEnv(env)->GetStaticMethodID(env, c, name, sig)); in GetStaticMethodID()
1318 static jfieldID GetStaticFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticFieldID() argument
[all …]
Djni_internal_test.cc1258 #define EXPECT_STATIC_PRIMITIVE_FIELD(type, field_name, sig, value1, value2) \ argument
1260 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
1278 #define EXPECT_PRIMITIVE_FIELD(instance, type, field_name, sig, value1, value2) \ argument
1280 jfieldID fid = env_->GetFieldID(c, field_name, sig); \
Ddex_file.cc1037 std::ostream& operator<<(std::ostream& os, const Signature& sig) { in operator <<() argument
1038 return os << sig.ToString(); in operator <<()
Ddex_file.h1085 std::ostream& operator<<(std::ostream& os, const Signature& sig);
/art/runtime/arch/mips/
Dfault_handler_mips.cc32 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument
40 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
44 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
48 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc40 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument
85 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
108 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
158 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
/art/runtime/arch/arm/
Dfault_handler_arm.cc50 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument
103 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
130 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
199 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
/art/runtime/arch/x86/
Dfault_handler_x86.cc229 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument
282 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
322 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
396 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
/art/test/004-SignalTest/
Dsignaltest.cc50 static void signalhandler(int sig, siginfo_t* info, void* context) { in signalhandler() argument
/art/compiler/sea_ir/ir/
Dvisitor.h80 virtual void Traverse(SignatureNode* sig) { } in Traverse() argument
/art/runtime/hprof/
Dhprof.cc714 static HprofBasicType SignatureToBasicTypeAndSize(const char* sig, size_t* sizeOut) { in SignatureToBasicTypeAndSize() argument
715 char c = sig[0]; in SignatureToBasicTypeAndSize()