Searched refs:thread_info (Results 1 - 25 of 30) sorted by relevance

12

/external/valgrind/main/coregrind/m_gdbserver/
H A Dinferiors.c27 struct thread_info struct
37 struct thread_info *current_inferior;
39 #define get_thread(inf) ((struct thread_info *)(inf))
100 struct thread_info *new_thread
101 = (struct thread_info *) malloc (sizeof (*new_thread));
122 struct thread_info *thread = get_thread (inf);
131 unsigned int thread_to_gdb_id (struct thread_info *thread)
136 struct thread_info * gdb_id_to_thread (unsigned int gdb_id)
141 struct thread_info *thread = get_thread (inf);
152 struct thread_info *threa
[all...]
H A Dregcache.c45 struct inferior_regcache_data * get_regcache (struct thread_info *inf,
66 struct thread_info *thread = (struct thread_info *) entry;
72 struct thread_info *saved_inferior = current_inferior;
131 struct thread_info *thread = (struct thread_info *) entry;
H A Dserver.h200 struct thread_info;
244 extern struct thread_info *current_inferior;
247 void remove_thread (struct thread_info *thread);
250 unsigned int thread_to_gdb_id (struct thread_info *);
252 struct thread_info *gdb_id_to_thread (unsigned int);
261 void *inferior_target_data (struct thread_info *);
262 void set_inferior_target_data (struct thread_info *, void *);
263 void *inferior_regcache_data (struct thread_info *);
264 void set_inferior_regcache_data (struct thread_info *, void *);
H A Dtarget.c50 #define get_thread(inf) ((struct thread_info *)(inf))
54 struct thread_info *thread = get_thread (inf);
69 struct thread_info *ti;
219 struct thread_info *ti = gdb_id_to_thread(tid);
590 struct thread_info *found;
593 found = (struct thread_info *) find_inferior_id (&all_threads,
603 found = (struct thread_info *) find_inferior_id (&all_threads,
607 found = (struct thread_info *) find_inferior_id (&all_threads,
612 current_inferior = (struct thread_info *) all_threads.head;
H A Dserver.c672 struct thread_info *ti;
716 thread_to_gdb_id ((struct thread_info *)thread_ptr));
724 thread_to_gdb_id ((struct thread_info *)thread_ptr));
/external/chromium_org/base/message_loop/
H A Dmessage_pump_glib.cc136 // Used for accesing |thread_info|.
141 ThreadInfo* thread_info = NULL; member in namespace:base::__anon2342
145 if (!thread_info) {
146 thread_info = new ThreadInfo;
147 thread_info->pump = pump;
148 thread_info->thread_id = PlatformThread::CurrentId();
150 DCHECK(thread_info->thread_id == PlatformThread::CurrentId()) <<
157 if (thread_info && thread_info->pump == pump) {
158 delete thread_info;
[all...]
/external/clang/tools/c-arcmt-test/
H A Dc-arcmt-test.c92 typedef struct thread_info { struct
96 } thread_info; typedef in typeref:struct:thread_info
98 thread_info *client_data = client_data_v;
110 thread_info client_data;
/external/lldb/examples/python/
H A Doperating_system.py29 thread_info = { 'tid' : tid, 'name' : 'four' , 'queue' : 'queue4', 'state' : 'stopped', 'stop_reason' : 'none' }
30 self.threads.append(thread_info)
31 return thread_info
/external/valgrind/main/drd/
H A Ddrd_rwlock.c89 VG_(OSetGen_ResetIter)(p->thread_info);
90 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; )
101 VG_(OSetGen_ResetIter)(p->thread_info);
102 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; )
120 q = VG_(OSetGen_Lookup)(p->thread_info, &uword_tid);
130 q = VG_(OSetGen_Lookup)(p->thread_info, &uword_tid);
175 VG_(OSetGen_ResetIter)(p->thread_info);
176 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; ) {
233 p->thread_info = VG_(OSetGen_Create)(
260 VG_(OSetGen_ResetIter)(p->thread_info);
[all...]
H A Ddrd_clientobj.h139 OSet* thread_info; member in struct:rwlock_info
/external/valgrind/main/drd/tests/
H A Dpth_broadcast.c86 static void thread_func(struct cthread* thread_info) argument
96 printf("thread %d [%d] (1)\n", thread_info->m_threadnum, i);
98 csema_v(thread_info->m_sema);
104 printf("thread %d [%d] (2)\n", thread_info->m_threadnum, i);
/external/valgrind/main/callgrind/
H A Dthreads.c64 static thread_info* thread[VG_N_THREADS];
66 thread_info** CLG_(get_threads)()
71 thread_info* CLG_(get_current_thread)()
85 void CLG_(forall_threads)(void (*func)(thread_info*))
99 thread_info* new_thread(void)
101 thread_info* t;
103 t = (thread_info*) CLG_MALLOC("cl.threads.nt.1",
104 sizeof(thread_info));
135 thread_info* t = thread[CLG_(current_tid)];
156 thread_info*
[all...]
H A Dglobal.h223 typedef struct _thread_info thread_info; typedef in typeref:struct:_thread_info
799 thread_info** CLG_(get_threads)(void);
800 thread_info* CLG_(get_current_thread)(void);
802 void CLG_(forall_threads)(void (*func)(thread_info*));
H A Ddump.c1145 static void cs_addCount(thread_info* ti)
1173 static void cs_addPtr(thread_info* ti)
1448 thread_info* ti = CLG_(get_current_thread)();
1458 thread_info** thr = CLG_(get_threads)();
1509 static void print_bbccs_of_thread(thread_info* ti)
H A Dmain.c1394 static void zero_thread_cost(thread_info* t)
1430 void unwind_thread(thread_info* t)
1446 void zero_state_cost(thread_info* t)
1479 static void dump_state_of_thread_togdb(thread_info* ti)
1528 thread_info** th;
1618 thread_info** th = CLG_(get_threads)();
/external/valgrind/main/exp-bbv/
H A Dbbv_main.c76 struct thread_info *bbv_thread=NULL;
79 struct thread_info { struct
468 static struct thread_info *allocate_new_thread(struct thread_info *old,
471 struct thread_info *temp;
477 new_number*sizeof(struct thread_info));
/external/chromium_org/tools/android/forwarder/
H A Dforwarder.cc191 ForwarderThreadInfo* thread_info = local
193 Server* server = thread_info->server;
194 int index = thread_info->forwarder_index;
195 delete thread_info;
/external/oprofile/libpp/
H A Dxml_utils.cpp444 class thread_info : public module_info { class in inherits:module_info
446 thread_info() { nr_modules = 0; } function in class:thread_info
477 growable_vector<thread_info> my_threads;
841 thread_info & thr = my_threads[t];
848 void thread_info::build_thread(string const & tid, size_t l, size_t h)
856 void thread_info::summarize()
863 void thread_info::set_end(sym_iterator end)
870 void thread_info::add_module_symbol(string const & n, sym_iterator it)
877 void thread_info::output(ostream & out)
899 bool thread_info
[all...]
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp286 kern_return_t err = ::thread_info (thread, THREAD_BASIC_INFO, (thread_info_t) basicInfoPtr, &info_count);
675 kern_return_t kret = ::thread_info (m_mach_port_number, THREAD_IDENTIFIER_INFO, (thread_info_t) &m_ident_info, &count);
702 kr = thread_info (mach_port_id, THREAD_IDENTIFIER_INFO,
H A DMachThreadList.cpp79 return ::thread_info (mach_port_number, THREAD_IDENTIFIER_INFO, (thread_info_t)ident_info, &count) == KERN_SUCCESS;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DAudioFileReaderThread.c201 thread_info (pthread_mach_thread_np (inThread), THREAD_BASIC_INFO, (integer_t*)&threadInfo, &count);
206 thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_TIMESHARE_INFO, (integer_t*)&(thePolicyInfo.ts), &count);
212 thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_FIFO_INFO, (integer_t*)&(thePolicyInfo.fifo), &count);
222 thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_RR_INFO, (integer_t*)&(thePolicyInfo.rr), &count);
/external/lldb/tools/darwin-threads/
H A Dexamine-threads.c124 kr = thread_info (thread, THREAD_BASIC_INFO,
145 kr = thread_info (thread, THREAD_IDENTIFIER_INFO,
/external/chromium_org/base/time/
H A Dtime_mac.cc84 kern_return_t kr = thread_info(
89 MACH_DCHECK(kr == KERN_SUCCESS, kr) << "thread_info";
/external/lldb/tools/debugserver/source/
H A DDNB.h18 #include <mach/thread_info.h>
/external/valgrind/main/coregrind/m_syswrap/
H A Dpriv_syswrap-darwin.h553 DECL_TEMPLATE(darwin, thread_info);

Completed in 1280 milliseconds

12