Lines Matching refs:this_obj

76     jobject this_obj;
148 clear_libthread_db_ptrs(JNIEnv* env, jobject this_obj) {
151 p_td_ta_delete = (p_td_ta_delete_t) env->GetLongField(this_obj, p_td_ta_delete_ID);
154 p_td_thragent_t = (td_thragent_t*) env->GetLongField(this_obj, p_td_thragent_t_ID);
160 void* libthread_db_handle = (void*) env->GetLongField(this_obj, libthread_db_handle_ID);
165 env->SetLongField(this_obj, libthread_db_handle_ID, (jlong)0);
166 env->SetLongField(this_obj, p_td_init_ID, (jlong)0);
167 env->SetLongField(this_obj, p_td_ta_new_ID, (jlong)0);
168 env->SetLongField(this_obj, p_td_ta_delete_ID, (jlong)0);
169 env->SetLongField(this_obj, p_td_ta_thr_iter_ID, (jlong)0);
170 env->SetLongField(this_obj, p_td_thr_get_info_ID, (jlong)0);
171 env->SetLongField(this_obj, p_td_ta_map_id2thr_ID, (jlong)0);
172 env->SetLongField(this_obj, p_td_thr_getgregs_ID, (jlong)0);
176 static void detach_internal(JNIEnv* env, jobject this_obj) {
178 clear_libthread_db_ptrs(env, this_obj);
182 p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
188 int classes_jsa_fd = env->GetIntField(this_obj, classes_jsa_fd_ID);
191 struct FileMapHeader* pheader = (struct FileMapHeader*) env->GetLongField(this_obj, p_file_map_header_ID);
330 jobject this_obj = dbg->this_obj;
331 struct ps_prochandle* ph = (struct ps_prochandle*) env->GetLongField(this_obj, p_ps_prochandle_ID);
379 env->SetLongField(this_obj, libthread_db_handle_ID, (jlong)(uintptr_t)libthread_db_handle);
386 env->SetLongField(this_obj, p_td_init_ID, (jlong)(uintptr_t) tmpPtr);
392 env->SetLongField(this_obj, p_td_ta_new_ID, (jlong)(uintptr_t) tmpPtr);
398 env->SetLongField(this_obj, p_td_ta_delete_ID, (jlong)(uintptr_t) tmpPtr);
404 env->SetLongField(this_obj, p_td_ta_thr_iter_ID, (jlong)(uintptr_t) tmpPtr);
410 env->SetLongField(this_obj, p_td_thr_get_info_ID, (jlong)(uintptr_t) tmpPtr);
416 env->SetLongField(this_obj, p_td_ta_map_id2thr_ID, (jlong)(uintptr_t) tmpPtr);
422 env->SetLongField(this_obj, p_td_thr_getgregs_ID, (jlong)(uintptr_t) tmpPtr);
431 jobject this_obj = dbgo->this_obj;
435 p_td_thr_get_info_t p_td_thr_get_info = (p_td_thr_get_info_t) env->GetLongField(this_obj, p_td_thr_get_info_ID);
440 jobject threadProxy = env->CallObjectMethod(this_obj, getThreadForThreadId_ID, (jlong)(uintptr_t) thrinfo.ti_tid);
453 jobject this_obj = dbgo->this_obj;
460 jobject sharedObject = env->CallObjectMethod(this_obj, createLoadObject_ID,
475 jobject this_obj = dbgo2->this_obj;
478 jint pcRegIndex = env->GetIntField(this_obj, pcRegIndex_ID);
479 jint fpRegIndex = env->GetIntField(this_obj, fpRegIndex_ID);
484 dbgo2->obj2 = env->CallObjectMethod(this_obj, createSenderFrame_ID,
591 jobject this_obj = dbg->this_obj;
600 struct ps_prochandle* ph = (struct ps_prochandle*) env->GetLongField(this_obj, p_ps_prochandle_ID);
603 dbg->env->SetIntField(this_obj, classes_jsa_fd_ID, -1);
704 dbg->env->SetIntField(this_obj, classes_jsa_fd_ID, fd);
705 dbg->env->SetLongField(this_obj, p_file_map_header_ID, (jlong)(uintptr_t) pheader);
732 static void attach_internal(JNIEnv* env, jobject this_obj, jstring cmdLine, jboolean isProcess) {
793 env->SetLongField(this_obj, p_ps_prochandle_ID, (jlong)(uintptr_t)ph);
797 dbg.this_obj = this_obj;
809 detach_internal(env, this_obj);
825 detach_internal(env, this_obj);
832 p_td_init_t p_td_init = (p_td_init_t) env->GetLongField(this_obj, p_td_init_ID);
835 detach_internal(env, this_obj);
842 detach_internal(env, this_obj);
847 p_td_ta_new_t p_td_ta_new = (p_td_ta_new_t) env->GetLongField(this_obj, p_td_ta_new_ID);
852 detach_internal(env, this_obj);
856 env->SetLongField(this_obj, p_td_thragent_t_ID, (jlong)(uintptr_t) p_td_thragent_t);
867 (JNIEnv *env, jobject this_obj, jstring pid) {
868 attach_internal(env, this_obj, pid, JNI_TRUE);
878 (JNIEnv *env, jobject this_obj, jstring executable, jstring corefile) {
880 attach_internal(env, this_obj, corefile, JNI_FALSE);
891 (JNIEnv *env, jobject this_obj) {
892 detach_internal(env, this_obj);
902 (JNIEnv *env, jobject this_obj) {
904 p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
918 (JNIEnv *env, jobject this_obj) {
925 p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
945 (JNIEnv *env, jobject this_obj, jlong tid) {
947 p_td_ta_map_id2thr_t p_td_ta_map_id2thr = (p_td_ta_map_id2thr_t) env->GetLongField(this_obj, p_td_ta_map_id2thr_ID);
949 td_thragent_t* p_td_thragent_t = (td_thragent_t*) env->GetLongField(this_obj, p_td_thragent_t_ID);
959 p_td_thr_getgregs_t p_td_thr_getgregs = (p_td_thr_getgregs_t) env->GetLongField(this_obj, p_td_thr_getgregs_ID);
981 (JNIEnv *env, jobject this_obj, jobject list) {
983 td_thragent_t* p_td_thragent_t = (td_thragent_t*) env->GetLongField(this_obj, p_td_thragent_t_ID);
988 p_td_ta_thr_iter_t p_td_ta_thr_iter = (p_td_ta_thr_iter_t) env->GetLongField(this_obj, p_td_ta_thr_iter_ID);
992 dbgo.this_obj = this_obj;
1011 (JNIEnv *env, jobject this_obj, jlongArray regsArray) {
1012 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1016 dbgo2.this_obj = this_obj;
1059 (JNIEnv *env, jobject this_obj, jobject list) {
1062 dbgo.this_obj = this_obj;
1065 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1076 (JNIEnv *env, jobject this_obj, jlong address, jlong numBytes) {
1084 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1090 int classes_jsa_fd = env->GetIntField(this_obj, classes_jsa_fd_ID);
1094 struct FileMapHeader* pheader = (struct FileMapHeader*) env->GetLongField(this_obj, p_file_map_header_ID);
1148 (JNIEnv *env, jobject this_obj, jlong address, jlong numBytes, jbyteArray data) {
1149 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1168 (JNIEnv *env, jobject this_obj) {
1169 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1180 (JNIEnv *env, jobject this_obj) {
1181 jlong p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1193 (JNIEnv *env, jobject this_obj, jstring objectName, jstring symbolName) {
1195 p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1231 (JNIEnv *env, jobject this_obj, jlong address) {
1233 p_ps_prochandle = env->GetLongField(this_obj, p_ps_prochandle_ID);
1246 return env->CallObjectMethod(this_obj, createClosestSymbol_ID, resSym, (address - sym.st_value));