/haiku-fatelf/src/bin/ |
H A D | prio.c | 21 thread_id th; local 30 th = atoi(argv[1]); 34 ret = set_thread_priority(th, prio);
|
H A D | renice.c | 66 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 D | stress.c | 99 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 D | wince.c | 800 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 D | win32-nat.c | 232 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 D | thread-db.c | 88 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 D | ieee80211_radiotap.c | 54 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 D | scheduler.h | 58 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 D | tcp.h | 48 #define TH_OFF(th) (((th)->th_offx2 & 0xf0) >> 4)
|
H A D | print-tcp.c | 313 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 D | helper.c | 93 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 D | 21-1.c | 116 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 D | 5-1.c | 108 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 D | 1-3.c | 129 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 D | 2-2.c | 110 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 D | tif_tile.c | 201 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 D | tif_tile.c | 253 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 D | thix_manager.c | 59 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 D | tpix_manager.c | 108 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 D | 1-5.c | 232 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 D | stress.c | 157 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 D | 5-1.c | 145 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 D | stress.c | 175 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 D | wheel-gen.pl | 82 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 D | 2-6.c | 206 pthread_t th; local 322 ret = pthread_create(&th, NULL, threaded, NULL); 337 ret = pthread_cancel(th); 365 ret = pthread_join(th, &rc);
|