Searched refs:tid (Results 1 - 25 of 164) sorted by relevance

1234567

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/testsuite/libgomp.c/
H A Domp_hello.c19 int nthreads, tid; local
22 #pragma omp parallel private(nthreads, tid)
26 tid = omp_get_thread_num();
27 printf("Hello World from thread = %d\n", tid);
30 if (tid == 0)
H A Domp_workshare2.c18 int i, nthreads, tid; local
25 #pragma omp parallel shared(a,b,nthreads) private(c,i,tid)
27 tid = omp_get_thread_num();
28 if (tid == 0)
33 printf("Thread %d starting...\n",tid);
39 printf("Thread %d doing section 1\n",tid);
43 printf("Thread %d: c[%d]= %f\n",tid,i,c[i]);
49 printf("Thread %d doing section 2\n",tid);
53 printf("Thread %d: c[%d]= %f\n",tid,i,c[i]);
59 printf("Thread %d done.\n",tid);
[all...]
H A Domp_workshare1.c19 int nthreads, tid, i, chunk; local
27 #pragma omp parallel shared(a,b,c,nthreads,chunk) private(i,tid)
29 tid = omp_get_thread_num();
30 if (tid == 0)
35 printf("Thread %d starting...\n",tid);
41 printf("Thread %d: c[%d]= %f\n",tid,i,c[i]);
H A Domp_workshare3.c21 int i, chunk, tid; local
31 private(i,tid) \
34 tid = omp_get_thread_num();
38 printf("tid= %d i= %d c[i]= %f\n", tid, i, c[i]);
H A Domp_orphan.c19 int i,tid; local
21 tid = omp_get_thread_num();
26 printf(" tid= %d i=%d\n",tid,i);
H A Domp_workshare4.c20 int i, chunk, tid; local
32 private(i,tid) \
40 tid = omp_get_thread_num();
44 printf("tid= %d i= %d c[i]= %f\n", tid, i, c[i]);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/testsuite/libgomp.c++/
H A Dsections-1.C18 int i, nthreads, tid; local
25 #pragma omp parallel shared(a,b,nthreads) private(c,i,tid)
27 tid = omp_get_thread_num();
28 if (tid == 0)
33 printf("Thread %d starting...\n",tid);
39 printf("Thread %d doing section 1\n",tid);
43 printf("Thread %d: c[%d]= %f\n",tid,i,c[i]);
49 printf("Thread %d doing section 2\n",tid);
53 printf("Thread %d: c[%d]= %f\n",tid,i,c[i]);
59 printf("Thread %d done.\n",tid);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap_r/
H A Dthreads.c44 ldap_pvt_thread_t tid; local
59 tid = ldap_pvt_thread_self();
60 ldap_pvt_thread_rmutex_lock( &rm, tid );
61 ldap_pvt_thread_rmutex_trylock( &rm, tid );
62 ldap_pvt_thread_rmutex_unlock( &rm, tid );
63 ldap_pvt_thread_rmutex_unlock( &rm, tid );
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/
H A Dnon-stop.c69 pthread_t tid; local
74 if (pthread_create (&tid, PTHREAD_CREATE_NULL_ARG2, worker, (void *) id2))
79 return tid;
85 pthread_t tid; local
88 tid = create_thread (1);
89 pthread_join (tid, NULL);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_ostringstream/
H A Dpthread3.cc44 pthread_t tid[max_thread_count]; local
51 pthread_create (&tid[i], NULL, thread_main, 0);
54 pthread_join (tid[i], NULL);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/thread/
H A Dpthread2.cc49 pthread_t tid[max_thread_count]; local
56 pthread_create (&tid[i], NULL, thread_main, 0);
59 pthread_join (tid[i], NULL);
H A Dpthread3.cc46 pthread_t tid[max_thread_count]; local
53 pthread_create (&tid[i], NULL, thread_main, 0);
56 pthread_join (tid[i], NULL);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dm68klinux-nat.c109 int tid;
112 tid = TIDGET (inferior_ptid);
113 if (tid == 0)
114 tid = PIDGET (inferior_ptid); /* no thread id, just use
121 *(long *) &buf[i] = ptrace (PTRACE_PEEKUSER, tid, regaddr, 0);
161 int tid;
165 tid = TIDGET (inferior_ptid);
166 if (tid == 0)
167 tid = PIDGET (inferior_ptid); /* no thread id, just use
179 ptrace (PTRACE_POKEUSER, tid, regadd
107 int tid; local
159 int tid; local
250 fetch_regs(struct regcache *regcache, int tid) argument
274 store_regs(const struct regcache *regcache, int tid, int regno) argument
289 fetch_regs(struct regcache *regcache, int tid) argument
293 store_regs(const struct regcache *regcache, int tid, int regno) argument
356 fetch_fpregs(struct regcache *regcache, int tid) argument
370 store_fpregs(const struct regcache *regcache, int tid, int regno) argument
385 fetch_fpregs(struct regcache *regcache, int tid) argument
389 store_fpregs(const struct regcache *regcache, int tid, int regno) argument
405 int tid; local
462 int tid; local
[all...]
H A Di386-linux-nat.c149 int tid;
160 tid = TIDGET (inferior_ptid);
161 if (tid == 0)
162 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
165 val = ptrace (PTRACE_PEEKUSER, tid,
180 int tid;
188 tid = TIDGET (inferior_ptid);
189 if (tid == 0)
190 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
194 ptrace (PTRACE_POKEUSER, tid,
147 int tid; local
178 int tid; local
252 fetch_regs(struct regcache *regcache, int tid) argument
277 store_regs(const struct regcache *regcache, int tid, int regno) argument
292 fetch_regs(struct regcache *regcache, int tid) argument
293 store_regs(const struct regcache *regcache, int tid, int regno) argument
326 fetch_fpregs(struct regcache *regcache, int tid) argument
340 store_fpregs(const struct regcache *regcache, int tid, int regno) argument
356 fetch_fpregs(struct regcache *regcache, int tid) argument
361 store_fpregs(const struct regcache *regcache, int tid, int regno) argument
375 fetch_xstateregs(struct regcache *regcache, int tid) argument
398 store_xstateregs(const struct regcache *regcache, int tid, int regno) argument
428 fetch_fpxregs(struct regcache *regcache, int tid) argument
455 store_fpxregs(const struct regcache *regcache, int tid, int regno) argument
484 fetch_fpxregs(struct regcache *regcache, int tid) argument
490 store_fpxregs(const struct regcache *regcache, int tid, int regno) argument
508 int tid; local
589 int tid; local
661 int tid; local
691 int tid; local
928 int tid; local
[all...]
H A Dm32r-linux-nat.c113 fetch_regs (struct regcache *regcache, int tid)
117 if (ptrace (PTRACE_GETREGS, tid, 0, (int) &regs) < 0)
162 store_regs (const struct regcache *regcache, int tid, int regno)
166 if (ptrace (PTRACE_GETREGS, tid, 0, (int) &regs) < 0)
171 if (ptrace (PTRACE_SETREGS, tid, 0, (int) &regs) < 0)
205 int tid;
208 tid = TIDGET (inferior_ptid);
209 if (tid == 0)
210 tid = PIDGET (inferior_ptid); /* Not a threaded program. */
217 fetch_regs (regcache, tid);
111 fetch_regs(struct regcache *regcache, int tid) argument
160 store_regs(const struct regcache *regcache, int tid, int regno) argument
201 int tid; local
228 int tid; local
[all...]
H A Dppc-linux-nat.c410 fetch_vsx_register (struct regcache *regcache, int tid, int regno) argument
418 ret = ptrace (PTRACE_GETVSXREGS, tid, 0, &regs);
438 fetch_altivec_register (struct regcache *regcache, int tid, int regno) argument
447 ret = ptrace (PTRACE_GETVRREGS, tid, 0, &regs);
479 get_spe_registers (int tid, struct gdb_evrregset_t *evrregset) argument
483 if (ptrace (PTRACE_GETEVRREGS, tid, 0, evrregset) >= 0)
505 fetch_spe_register (struct regcache *regcache, int tid, int regno) argument
518 get_spe_registers (tid, &evrregs);
544 fetch_register (struct regcache *regcache, int tid, int regno) argument
562 fetch_altivec_register (regcache, tid, regn
673 fetch_vsx_registers(struct regcache *regcache, int tid) argument
692 fetch_altivec_registers(struct regcache *regcache, int tid) argument
719 fetch_all_gp_regs(struct regcache *regcache, int tid) argument
747 fetch_gp_regs(struct regcache *regcache, int tid) argument
773 fetch_all_fp_regs(struct regcache *regcache, int tid) argument
799 fetch_fp_regs(struct regcache *regcache, int tid) argument
817 fetch_ppc_registers(struct regcache *regcache, int tid) argument
864 int tid = TIDGET (inferior_ptid); local
878 store_vsx_register(const struct regcache *regcache, int tid, int regno) argument
907 store_altivec_register(const struct regcache *regcache, int tid, int regno) argument
950 set_spe_registers(int tid, struct gdb_evrregset_t *evrregset) argument
974 store_spe_register(const struct regcache *regcache, int tid, int regno) argument
1029 store_register(const struct regcache *regcache, int tid, int regno) argument
1139 store_vsx_registers(const struct regcache *regcache, int tid) argument
1162 store_altivec_registers(const struct regcache *regcache, int tid) argument
1193 store_all_gp_regs(const struct regcache *regcache, int tid, int regno) argument
1231 store_gp_regs(const struct regcache *regcache, int tid, int regno) argument
1257 store_all_fp_regs(const struct regcache *regcache, int tid, int regno) argument
1293 store_fp_regs(const struct regcache *regcache, int tid, int regno) argument
1311 store_ppc_registers(const struct regcache *regcache, int tid) argument
1385 int tid; member in struct:thread_points
1411 int tid; local
1471 int tid; local
1542 booke_find_thread_points_by_tid(int tid, int alloc_new) argument
1571 booke_insert_point(struct ppc_hw_breakpoint *b, int tid) argument
1611 booke_remove_point(struct ppc_hw_breakpoint *b, int tid) argument
1747 int tid = TIDGET (inferior_ptid); local
2104 int tid = TIDGET (ptid); local
2132 int tid = TIDGET (tp->ptid); local
2232 int tid = TIDGET (inferior_ptid); local
2298 int tid = TIDGET (inferior_ptid); local
2342 int tid = TIDGET (inferior_ptid); local
[all...]
H A Dgnu-nat.h31 struct proc *inf_tid_to_thread (struct inf *inf, int tid);
41 int tid; /* The GDB pid (actually a thread id). */ member in struct:proc
75 #define proc_is_task(proc) ((proc)->tid == PROC_TID_TASK)
76 #define proc_is_thread(proc) ((proc)->tid != PROC_TID_TASK)
92 __proc_pid (__proc), __proc->tid, \
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/spu/
H A Dspu_mfcio.h192 #define mfc_put( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,rid,MFC_PUT_CMD))
193 #define mfc_putf( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,rid,MFC_PUTF_CMD))
194 #define mfc_putb( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,rid,MFC_PUTB_CMD))
195 #define mfc_get( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,rid,MFC_GET_CMD))
196 #define mfc_getf( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,ri
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/22_locale/locale/cons/
H A D12658_thread-2.cc52 pthread_t tid[max_thread_count]; local
58 pthread_create(&tid[i], NULL, thread_main, 0);
61 pthread_join(tid[i], NULL);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_ofstream/
H A Dpthread2.cc47 pthread_t tid[max_thread_count]; local
54 pthread_create (&tid[i], NULL, thread_main, 0);
57 pthread_join (tid[i], NULL);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/22_locale/locale/cons/
H A D12658_thread-2.cc53 pthread_t tid[max_thread_count]; local
59 pthread_create(&tid[i], NULL, thread_main, 0);
62 pthread_join(tid[i], NULL);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/config/linux/
H A Dlock.c161 int tid = tid_cache;
162 if (__builtin_expect (tid == 0, 0))
163 tid_cache = tid = syscall (SYS_gettid);
164 return tid;
183 int otid, tid = gomp_tid (); local
187 otid = __sync_val_compare_and_swap (&lock->owner, 0, tid);
193 if (otid == tid)
218 int otid, tid = gomp_tid (); local
220 otid = __sync_val_compare_and_swap (&lock->owner, 0, tid);
226 if (otid == tid)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dstep.c118 tid_t tid; local
120 tid = getstid ();
121 printf ("Thread1 tid 0x%x (%d) \n", tid, tid);
122 printf ("Thread1 @tid=0x%x \n", &tid);
162 tid_t tid; local
164 tid = getstid ();
165 printf ("Thread2 tid
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/cxgb/
H A Dcxgb_offload.h98 unsigned int tid);
99 void cxgb_queue_tid_release(struct toedev *dev, unsigned int tid);
100 void cxgb_remove_tid(struct toedev *dev, void *ctx, unsigned int tid);
223 unsigned int tid)
225 return tid < t->ntids ? &(t->tid_tab[tid]) : NULL;
232 unsigned int tid)
234 if (tid < t->stid_base || tid >= t->stid_base + t->nstids)
236 return &(stid2entry(t, tid)
222 lookup_tid(const struct tid_info *t, unsigned int tid) argument
231 lookup_stid(const struct tid_info *t, unsigned int tid) argument
242 lookup_atid(const struct tid_info *t, unsigned int tid) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-bdb/
H A Ddn2entry.c35 DB_TXN *tid,
49 rc = bdb_cache_find_ndn( op, tid, dn, &ei );
57 rc2 = bdb_cache_find_id( op, tid, ei->bei_id,
69 rc = bdb_cache_find_id( op, tid, ei->bei_id, &ei, ID_LOCKED,
77 rc2 = bdb_cache_find_id( op, tid, ei->bei_id, &ei, 0,
33 bdb_dn2entry( Operation *op, DB_TXN *tid, struct berval *dn, EntryInfo **e, int matched, DB_LOCK *lock ) argument

Completed in 306 milliseconds

1234567