Searched defs:me (Results 1 - 25 of 54) sorted by relevance

123

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntdllmn.c61 PRThread *me; local
79 me = _MD_GET_ATTACHED_THREAD();
80 if ((me != NULL) && (me->flags & _PR_ATTACHED))
H A Dw95dllmain.c53 PRThread *me; local
62 me = _MD_GET_ATTACHED_THREAD();
63 if ((me != NULL) && (me->flags & _PR_ATTACHED))
H A Dw32ipcsem.c96 PRThread *me = _PR_MD_CURRENT_THREAD(); local
98 if (_PR_IS_NATIVE_THREAD(me)) {
H A Dw16thred.c113 PRThread * me = _PR_MD_CURRENT_THREAD(); local
118 me->stack = stack;
119 stack->thr = me;
H A Dw32poll.c75 PRThread *me = _PR_MD_CURRENT_THREAD(); local
78 if (_PR_IS_NATIVE_THREAD(me)) {
118 PRThread *me = _PR_MD_CURRENT_THREAD(); local
122 if (_PR_PENDING_INTERRUPT(me))
124 me->flags &= ~_PR_INTERRUPT;
H A Dw95sock.c478 PRThread *me = _PR_MD_CURRENT_THREAD(); local
548 if (_PR_PENDING_INTERRUPT(me)) {
549 me->flags &= ~_PR_INTERRUPT;
628 if (_PR_PENDING_INTERRUPT(me)) {
629 me->flags &= ~_PR_INTERRUPT;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/bthreads/
H A Dbtmon.c165 thread_id me = find_thread( NULL ); local
168 if( mon->cvar->lock->owner != me ) return( PR_FAILURE );
H A Dbtthread.c199 PRThread *me = PR_GetCurrentThread(); local
211 if (me->state & BT_THREAD_JOINABLE)
216 if (me->md.is_joining)
221 delete_sem(me->md.joinSem);
231 me->md.joinSem = create_sem(0, "join sem");
237 while (acquire_sem(me->md.joinSem) == B_INTERRUPTED);
242 if ((me->state & BT_THREAD_SYSTEM) == 0)
261 PR_DELETE(me);
621 PRThread *me = PR_CurrentThread(); local
623 PR_ASSERT(me
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprmon.c168 PRThread *me = _PR_MD_CURRENT_THREAD(); local
170 if (mon->cvar->lock->owner != me) return PR_FAILURE;
175 status = _PR_WaitCondVar(me, mon->cvar, mon->cvar->lock, ticks);
189 PRThread *me = _PR_MD_CURRENT_THREAD(); local
190 if (mon->cvar->lock->owner != me) return PR_FAILURE;
202 PRThread *me = _PR_MD_CURRENT_THREAD(); local
203 if (mon->cvar->lock->owner != me) return PR_FAILURE;
H A Dprcthr.c106 PRThread *me = PR_GetCurrentThread(); local
107 PRUintn pri = me->priority;
110 if ( _PR_IS_NATIVE_THREAD(me) ) _PR_MD_YIELD();
116 me->cpu = cpu;
117 me->state = _PR_RUNNABLE;
118 _PR_ADD_RUNQ(me, cpu, pri);
122 _PR_MD_SWITCH_CONTEXT(me);
202 PRThread *me = _PR_MD_CURRENT_THREAD();
204 if (!_PR_IS_NATIVE_THREAD(me))
238 if (!_PR_IS_NATIVE_THREAD(me))
250 PRThread *me = _PR_MD_CURRENT_THREAD(); local
262 PRThread *me = _PR_MD_CURRENT_THREAD(); local
274 PRThread *me = _PR_MD_CURRENT_THREAD(); local
[all...]
H A Dprrwlock.c272 PRThread *me = PR_GetCurrentThread(); local
307 PR_ASSERT(me != NULL);
308 rwlock->rw_owner = me;
328 PRThread *me = PR_GetCurrentThread(); local
361 PR_ASSERT(rwlock->rw_owner == me);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/
H A Dprulock.c64 PRThread *me; local
68 me = _PR_MD_CURRENT_THREAD();
70 PR_ASSERT(!(me->flags & _PR_IDLE_THREAD));
108 _PR_THREAD_LOCK(me);
109 me->state = _PR_RUNNABLE;
110 pri = me->priority;
112 cpu = me->cpu;
114 _PR_ADD_RUNQ(me, cpu, pri);
116 _PR_THREAD_UNLOCK(me);
117 _PR_MD_SWITCH_CONTEXT(me);
129 PRThread *me; local
227 PRThread *me = _PR_MD_CURRENT_THREAD(); local
341 PRThread *me = _PR_MD_CURRENT_THREAD(); local
413 PRThread *me = _PR_MD_CURRENT_THREAD(); local
[all...]
H A Dprucv.c58 PRBool _PR_NotifyThread (PRThread *thread, PRThread *me) argument
62 PR_ASSERT(_PR_IS_NATIVE_THREAD(me) || _PR_MD_GET_INTSOFF() != 0);
93 _PR_AddThreadToRunQ(me, thread);
133 PRThread *me = _PR_MD_CURRENT_THREAD(); local
137 if ( !_PR_IS_NATIVE_THREAD(me))
162 _PR_AddThreadToRunQ(me, thread);
286 void _PR_NotifyCondVar(PRCondVar *cvar, PRThread *me) argument
295 if ( !_PR_IS_NATIVE_THREAD(me))
297 PR_ASSERT(_PR_IS_NATIVE_THREAD(me) || _PR_MD_GET_INTSOFF() != 0);
306 if (_PR_NotifyThread(_PR_THREAD_CONDQ_PTR(q), me)
341 PRThread *thread, *me = _PR_MD_CURRENT_THREAD(); local
545 PRThread *me = _PR_MD_CURRENT_THREAD(); local
561 PRThread *me = _PR_MD_CURRENT_THREAD(); local
580 PRThread *me = _PR_MD_CURRENT_THREAD(); local
646 PRThread *me = _PR_MD_CURRENT_THREAD(); local
653 PRThread *me = _PR_MD_CURRENT_THREAD(); local
665 PRThread *me = _PR_MD_CURRENT_THREAD(); local
673 _PR_NotifyThread(_PR_THREAD_CONDQ_PTR(q), me); local
[all...]
H A Dprucpu.c74 PRThread *me = _PR_MD_CURRENT_THREAD(); local
90 _PR_MD_CREATE_PRIMORDIAL_USER_THREAD(me);
96 _PR_StartCPU(_pr_primordialCPU, me);
100 /* Initialize cpu for current thread (could be different from me) */
103 _PR_MD_SET_LAST_THREAD(me);
271 PRThread *me = _PR_MD_CURRENT_THREAD(); local
273 PR_ASSERT(NULL != me);
292 _PR_MD_CREATE_PRIMORDIAL_USER_THREAD(me);
295 me->no_sched = 1;
296 _PR_StartCPU(cpu, me);
318 PRThread *me = _PR_MD_CURRENT_THREAD(); local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dattach.c102 PRThread *me; local
106 me = PR_AttachThread(PR_USER_THREAD,
110 if (!me) {
H A Dsuspend.c131 PRThread *me = PR_GetCurrentThread(); local
162 registers = PR_GetGCRegisters(me, 1, (int *)&words);
165 printf("My Stack Pointer = 0x%lx\n", PR_GetSP(me));
H A Dintrupt.c76 PRThread *me = PR_CurrentThread(); local
110 PR_Interrupt(me);
127 PR_Interrupt(me);
H A Dipv6.c196 char *me = (char*)PR_MALLOC(DNS_BUFFER); local
197 rv = PR_GetSystemInfo(PR_SI_HOSTNAME, me, DNS_BUFFER);
204 name = me; /* just leak the storage */
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Duxpoll.c689 PRThread *me = _PR_MD_CURRENT_THREAD(); local
691 if (_PR_PENDING_INTERRUPT(me))
693 me->flags &= ~_PR_INTERRUPT;
698 else if (_PR_IS_NATIVE_THREAD(me))
H A Dpthreads_user.c100 PRThread *me = _PR_MD_CURRENT_THREAD(); local
102 if (me && !_PR_IS_NATIVE_THREAD(me))
105 if (me && !_PR_IS_NATIVE_THREAD(me))
115 PRThread *me = _PR_MD_CURRENT_THREAD(); local
117 if (me && !_PR_IS_NATIVE_THREAD(me))
120 if (me && !_PR_IS_NATIVE_THREAD(me))
317 PRThread *me = _PR_MD_CURRENT_THREAD(); local
374 PRThread *me = _PR_MD_CURRENT_THREAD(); local
[all...]
/vbox/src/libs/xpcom18a4/python/src/
H A DPyIID.cpp175 Py_nsIID *me = (Py_nsIID *)self; local
181 iim->GetNameForIID(&me->m_iid, &iid_repr);
183 iid_repr = me->m_iid.ToString();
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcthread.cpp182 RCPrimordialThread *me = new RCPrimordialThread(); local
183 PR_ASSERT(NULL != me);
186 primordial = me;
187 me->execution = RCThread::ex_started;
188 me->identity = PR_GetCurrentThread();
190 else delete me; /* somebody beat us to it */
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprfile.c60 PRThread *me = _PR_MD_CURRENT_THREAD(); local
62 if (_PR_PENDING_INTERRUPT(me)) {
63 me->flags &= ~_PR_INTERRUPT;
67 if (_PR_IO_PENDING(me)) {
90 PRThread *me = _PR_MD_CURRENT_THREAD(); local
92 if (_PR_PENDING_INTERRUPT(me)) {
93 me->flags &= ~_PR_INTERRUPT;
97 if (_PR_IO_PENDING(me)) {
455 write me;
509 write me;
[all...]
H A Dprlog.c506 PRThread *me; local
515 me = PR_GetCurrentThread();
521 me ? &(me->id): 0L, me);
523 me, me);
525 me ? me->id : 0L, me);
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2sock.c137 PRThread *me = _PR_MD_CURRENT_THREAD(); local
181 if (_PR_PENDING_INTERRUPT(me)) {
182 me->flags &= ~_PR_INTERRUPT;
239 if (_PR_PENDING_INTERRUPT(me)) {
240 me->flags &= ~_PR_INTERRUPT;
290 PRThread *me = _PR_MD_CURRENT_THREAD(); local
302 } else if ((err == EINTR) && (!_PR_PENDING_INTERRUPT(me))){
324 PRThread *me = _PR_MD_CURRENT_THREAD(); local
351 if (_PR_PENDING_INTERRUPT(me)) {
352 me
428 PRThread *me = _PR_MD_CURRENT_THREAD(); local
458 PRThread *me = _PR_MD_CURRENT_THREAD(); local
502 PRThread *me = _PR_MD_CURRENT_THREAD(); local
539 PRThread *me = _PR_MD_CURRENT_THREAD(); local
574 PRThread *me = _PR_MD_CURRENT_THREAD(); local
[all...]

Completed in 190 milliseconds

123