Searched refs:th (Results 1 - 25 of 73) sorted by relevance

123

/haiku-fatelf/src/bin/
H A Dprio.c21 thread_id th; local
30 th = atoi(argv[1]);
34 ret = set_thread_priority(th, prio);
H A Drenice.c66 static status_t renice_thread(int32 prio, int32 increment, bool use_be_prio, thread_id th) argument
71 get_thread_info(th, &thinfo);
79 return set_thread_priority(th, prio);
84 thread_id th = -1; local
124 sscanf(argv[i], "%ld", (long *)&th);
125 return (renice_thread(prio, increment, use_be_prio, th) == B_OK)?0:1;
132 th = thinfo.thread;
133 renice_thread(prio, increment, use_be_prio, th);
142 if (th == -1) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cancel/
H A Dstress.c99 void * th( void * arg ) function
131 ret = pthread_create( &child, NULL, th, arg );
185 pthread_t th[ NTHREADS ]; local
216 ret = pthread_create( &th[ i ], NULL, threaded, &b[ i ] );
232 ret = pthread_join( th[ i ], NULL );
/haiku-fatelf/src/bin/gdb/gdb/
H A Dwince.c800 undoSStep (thread_info * th) argument
802 if (th->stepped)
804 memory_remove_breakpoint (th->step_pc, (void *) &th->step_prev);
805 th->stepped = 0;
814 thread_info *th = current_thread; /* Info on currently selected thread */ local
819 undoSStep (th);
823 th->stepped = 1;
825 th->step_pc = mips_next_pc (pc);
826 th
936 undoSStep(thread_info * th) argument
954 thread_info *th = current_thread; /* Info on currently selected thread */ local
974 thread_info *th = thread_rec (ev->dwThreadId, 1); local
988 undoSStep(thread_info * th) argument
1002 thread_info *th = current_thread; /* Info on currently selected thread */ local
1026 thread_info *th; local
1051 thread_info *th; local
1071 thread_info *th = &thread_head; local
1088 thread_info *th; local
1337 thread_info *th; local
1367 thread_info *th = NULL; local
1836 thread_info *th; local
[all...]
H A Dwin32-nat.c232 thread_info *th; local
234 for (th = &thread_head; (th = th->next) != NULL;)
235 if (th->id == id)
237 if (!th->suspend_count && get_context)
240 th->suspend_count = SuspendThread (th->h) + 1;
242 th->suspend_count = -1;
243 th
255 thread_info *th; local
291 thread_info *th = &thread_head; local
308 thread_info *th; local
340 thread_info *th = current_thread; local
1065 thread_info *th; local
1171 thread_info *th; local
1231 thread_info *th; local
1971 thread_info *th; local
[all...]
H A Dthread-db.c88 lwpid_t lwpid, td_thrhandle_t *th);
101 static td_err_e (*td_thr_validate_p) (const td_thrhandle_t *th);
102 static td_err_e (*td_thr_get_info_p) (const td_thrhandle_t *th,
104 static td_err_e (*td_thr_getfpregs_p) (const td_thrhandle_t *th,
106 static td_err_e (*td_thr_getgregs_p) (const td_thrhandle_t *th,
108 static td_err_e (*td_thr_setfpregs_p) (const td_thrhandle_t *th,
110 static td_err_e (*td_thr_setgregs_p) (const td_thrhandle_t *th,
112 static td_err_e (*td_thr_event_enable_p) (const td_thrhandle_t *th,
115 static td_err_e (*td_thr_tls_get_addr_p) (const td_thrhandle_t *th,
163 td_thrhandle_t th;
161 td_thrhandle_t th; member in struct:private_thread_info
357 td_thrhandle_t th; local
1124 td_thrhandle_t th; local
[all...]
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c54 struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap,
60 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
61 th->it_present = htole32(tx_radiotap);
62 ic->ic_th = th;
66 off = radiotap_offset(th, IEEE80211_RADIOTAP_CHANNEL);
68 off = radiotap_offset(th, IEEE80211_RADIOTAP_XCHANNEL);
74 ic->ic_txchan = ((uint8_t *) th) + off;
103 struct ieee80211_radiotap_header *th = ic->ic_th; local
105 if (th != NULL && ic->ic_rh != NULL) {
108 sizeof(struct ieee80211_frame) + le16toh(th
53 ieee80211_radiotap_attach(struct ieee80211com *ic, struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap) argument
162 struct ieee80211_radiotap_header *th = ic->ic_th; local
198 struct ieee80211_radiotap_header *th = ic->ic_th; local
[all...]
/haiku-fatelf/headers/os/kernel/
H A Dscheduler.h58 bigtime_t estimate_max_scheduling_latency(thread_id th = -1);
67 bigtime_t estimate_max_scheduling_latency(thread_id th);
/haiku-fatelf/src/bin/network/tcpdump/
H A Dtcp.h48 #define TH_OFF(th) (((th)->th_offx2 & 0xf0) >> 4)
H A Dprint-tcp.c313 register struct tcp_seq_hash *th; local
385 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
386 th->nxt; th = th->nxt)
387 if (memcmp((char *)&tha, (char *)&th->addr,
388 sizeof(th->addr)) == 0)
391 if (!th->nxt || (flags & TH_SYN)) {
393 if (th->nxt == NULL) {
394 th
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/
H A Dhelper.c93 pthread_t th; local
120 ret = pthread_create(&th, NULL, timer, NULL);
164 (void) pthread_cancel(th);
166 ret = pthread_join(th, NULL);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/
H A D21-1.c116 pthread_t th; local
135 ret = pthread_create( &th, NULL, threaded, &ctl );
194 ret = pthread_join( th, NULL );
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_unlock/
H A D5-1.c108 pthread_t th; local
145 ret = pthread_create(&th, NULL, threaded, NULL);
150 ret = pthread_join(th, NULL);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_once/
H A D1-3.c129 pthread_t th[ NTHREADS ]; local
140 ret = pthread_create( &th[ i ], NULL, threaded, &myctl );
151 ret = pthread_join( th[ i ], NULL );
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_getvalue/
H A D2-2.c110 pthread_t th; local
124 ret = pthread_create( &th, NULL, threaded, &sem );
157 ret = pthread_join( th, NULL );
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_tile.c201 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument
203 (*tif->tif_deftilesize)(tif, tw, th);
207 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument
212 if (*(int32*) th < 1)
213 *th = 256;
217 if (*th & 0xf)
218 *th = TIFFroundup(*th, 16);
/haiku-fatelf/src/libs/tiff/
H A Dtif_tile.c253 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument
255 (*tif->tif_deftilesize)(tif, tw, th);
259 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument
264 if (*(int32*) th < 1)
265 *th = 256;
269 if (*th & 0xf)
270 *th = TIFFroundup(*th, 16);
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dthix_manager.c59 box = (opj_jp2_box_t *)opj_calloc( cstr_info.tw*cstr_info.th, sizeof(opj_jp2_box_t));
68 write_manf( i, cstr_info.tw*cstr_info.th, box, cio);
70 for (tileno = 0; tileno < cstr_info.tw*cstr_info.th; tileno++){
H A Dtpix_manager.c108 cio_write( cio, cstr_info.tw*cstr_info.th, size_of_coding); /* M */
109 for (i = 0; i < cstr_info.tw*cstr_info.th; i++){
149 for( i=0; i<cstr_info.tw*cstr_info.th; i++)
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_create/
H A D1-5.c232 pthread_t th; local
234 ret = pthread_create(&th, &scenarii[sc].ta, overflow, NULL); /* Create a new thread with the same attributes */
239 ret = pthread_join(th, NULL);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_once/
H A Dstress.c157 pthread_t th[ NTHREADS ]; local
204 ret = pthread_create( &th[ i ], NULL, threaded, &bar );
215 ret = pthread_join( th[ i ], NULL );
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_lock/
H A D5-1.c145 pthread_t th; local
207 if ((ret = pthread_create(&th, NULL, threaded, NULL)))
235 if ((ret = pthread_kill (th, SIGUSR1)))
262 if ((ret = pthread_join(th, NULL)))
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_getschedparam/
H A Dstress.c175 pthread_t th[ NTHREADS ]; local
291 ret = pthread_create( &th[ i ], NULL, threaded, NULL );
302 ret = pthread_join( th[ i ], NULL );
/haiku-fatelf/src/bin/coreutils/src/
H A Dwheel-gen.pl82 first $wheel_size primes (@primes). The $wheel_size(th) element is the
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-6.c206 pthread_t th; local
322 ret = pthread_create(&th, NULL, threaded, NULL);
337 ret = pthread_cancel(th);
365 ret = pthread_join(th, &rc);

Completed in 255 milliseconds

123