Searched refs:us (Results 1 - 25 of 43) sorted by relevance

12

/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dcascade_fcntl.c165 int us, them; local
167 us = (getpindex() * lm_optT) + gettindex();
168 them = (us + 1) % (lm_optP * lm_optT);
170 ts->ts_id = us;
172 /* lock index asignment for us and them */
173 ts->ts_us0 = (us * 4);
174 ts->ts_us1 = (us * 4) + 2;
175 if (us < nthreads - 1) {
205 /* allow them to block us again */
214 /* wait for them to unblock us */
[all...]
H A Dcascade_flock.c162 int us, them; local
164 us = (getpindex() * lm_optT) + gettindex();
165 them = (us + 1) % (lm_optP * lm_optT);
167 ts->ts_id = us;
169 /* lock index asignment for us and them */
170 ts->ts_us0 = (us * 2);
171 ts->ts_us1 = (us * 2) + 1;
172 if (us < nthreads - 1) {
202 /* allow them to block us again */
211 /* wait for them to unblock us */
[all...]
H A Dcascade_lockf.c156 int us, them; local
158 us = (getpindex() * lm_optT) + gettindex();
159 them = (us + 1) % (lm_optP * lm_optT);
161 ts->ts_id = us;
163 /* lock index asignment for us and them */
164 ts->ts_us0 = (us * 2);
165 ts->ts_us1 = (us * 2) + 1;
166 if (us < nthreads - 1) {
196 /* allow them to block us again */
205 /* wait for them to unblock us */
[all...]
H A Dcascade_mutex.c160 int us, them; local
162 us = (getpindex() * lm_optT) + gettindex();
163 them = (us + 1) % (lm_optP * lm_optT);
165 ts->ts_id = us;
167 /* lock index asignment for us and them */
168 ts->ts_us0 = (us * 2);
169 ts->ts_us1 = (us * 2) + 1;
170 if (us < nthreads - 1) {
200 /* allow them to block us again */
209 /* wait for them to unblock us */
[all...]
H A Dcascade_cond.c211 int us, them; local
213 us = (getpindex() * lm_optT) + gettindex();
214 them = (us + 1) % (lm_optP * lm_optT);
216 ts->ts_id = us;
218 /* lock index asignment for us and them */
219 ts->ts_us0 = (us * 2);
220 ts->ts_us1 = (us * 2) + 1;
221 if (us < nthreads - 1) {
251 /* allow them to block us again */
260 /* wait for them to unblock us */
[all...]
H A Dmprotect.c154 int us; local
158 us = (getpindex() * lm_optT) + gettindex();
160 switch ((us + ts->ts_batch + i) % 2) {
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_misc.c419 ar5210SetSifsTime(struct ath_hal *ah, u_int us) argument
423 if (us > ath_hal_mac_usec(ah, 0x7ff)) {
425 __func__, us);
431 ath_hal_mac_clks(ah, us));
432 ahp->ah_sifstime = us;
445 ar5210SetSlotTime(struct ath_hal *ah, u_int us) argument
449 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) {
451 __func__, us);
456 OS_REG_WRITE(ah, AR_SLOT_TIME, ath_hal_mac_clks(ah, us));
470 ar5210SetAckTimeout(struct ath_hal *ah, u_int us) argument
517 ar5210SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_misc.c423 ar5211SetSifsTime(struct ath_hal *ah, u_int us) argument
427 if (us > ath_hal_mac_usec(ah, 0xffff)) {
429 __func__, us);
434 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
435 ahp->ah_slottime = us;
448 ar5211SetSlotTime(struct ath_hal *ah, u_int us) argument
452 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) {
454 __func__, us);
455 ahp->ah_slottime = us; /* restor
473 ar5211SetAckTimeout(struct ath_hal *ah, u_int us) argument
520 ar5211SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku-fatelf/src/kits/media/
H A DTimeCode.cpp31 // Convert us to frames
256 BTimeCode::BTimeCode(bigtime_t us, argument
261 SetMicroseconds(us);
318 BTimeCode::SetMicroseconds(bigtime_t us) argument
322 us_to_timecode(us, &fHours, &fMinutes, &fSeconds, &fFrames, &fInfo);
473 bigtime_t us; local
477 if (timecode_to_us(fHours,fMinutes,fSeconds,fFrames, &us, &fInfo) == B_OK) {
478 return us;
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c447 ar5212SetSifsTime(struct ath_hal *ah, u_int us) argument
451 if (us > ath_hal_mac_usec(ah, 0xffff)) {
453 __func__, us);
458 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us-2));
459 ahp->ah_sifstime = us;
472 ar5212SetSlotTime(struct ath_hal *ah, u_int us) argument
476 if (us < HAL_SLOT_TIME_6 || us > ath_hal_mac_usec(ah, 0xffff)) {
478 __func__, us);
483 OS_REG_WRITE(ah, AR_D_GBL_IFS_SLOT, ath_hal_mac_clks(ah, us));
497 ar5212SetAckTimeout(struct ath_hal *ah, u_int us) argument
544 ar5212SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dgetnetgrent_r.c47 char *ng, *ho, *us, *dom; local
51 DE_CONST(user, us);
54 return (innetgr(ng, ho, us, dom));
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A DRKutil.c78 uslen(WCHAR_T *us) argument
80 WCHAR_T *ous = us;
82 if (!us)
84 while (*us & RK_WMASK)
85 us++;
86 return (us - ous);
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-bootp.c367 u_int16_t us; local
436 us = EXTRACT_16BITS(bp);
438 cp = tok2str(xtag2str, "?xT%u", us);
512 while (size >= sizeof(us)) {
515 us = EXTRACT_16BITS(bp);
516 printf("%u", us);
517 bp += sizeof(us);
518 size -= sizeof(us);
H A Dprint-ospf6.c100 ospf6_print_seqage(register u_int32_t seq, register time_t us) argument
102 register time_t sec = us % 60;
103 register time_t mins = (us / 60) % 60;
104 register time_t hour = us / 3600;
/haiku-fatelf/src/libs/termcap/
H A Dtermcap.src325 :ue=\E[m:us=\E[4m:
329 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
333 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
359 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
370 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:
402 :se=\E[27m:so=\E[7m:ue=\E[24m:us=\E[4m:
484 :sr=\EM:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
507 :us=\E[4m:
519 :us=\E[4m:
531 :us
[all...]
/haiku-fatelf/src/apps/mail/
H A DEnclosures.cpp127 recursive_attachment_search(TEnclosuresView* us, BMailContainer* mail, argument
139 recursive_attachment_search(us,
143 us->fList->AddItem(new TListItem(component));
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm440x/
H A Db44um.c45 int32 tx_cleanup_thread(void *us);
539 tx_cleanup_thread(void *us) argument
542 PLM_DEVICE_BLOCK pDevice = (PLM_DEVICE_BLOCK)(us);
543 struct be_b44_dev *pUmDevice = (struct be_b44_dev *)(us);
H A Db44.h1121 #define SPINWAIT(exp, us) { \
1122 LM_UINT32 countdown = (us) + 9; \
/haiku-fatelf/src/servers/registrar/
H A DTextSnifferAddon.cpp166 code_mime = "us-ascii";
344 ascmatch(const unsigned char *s, const my_unichar *us, size_t ulen) argument
349 if (s[i] != us[i])
619 * This is sufficient to allow us to identify EBCDIC text and to distinguish
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm570x/
H A Db57um.c265 static int32 tx_cleanup_thread(void *us);
829 tx_cleanup_thread(void *us) argument
832 PLM_DEVICE_BLOCK pDevice = (PLM_DEVICE_BLOCK)(us);
833 struct be_b57_dev *pUmDevice = (struct be_b57_dev *)(us);
/haiku-fatelf/src/add-ons/translators/stxt/
H A DSTXTTranslator.cpp247 encoding = NULL; //"us-ascii";
432 ascmatch(const unsigned char *s, const my_unichar *us, size_t ulen) argument
437 if (s[i] != us[i])
707 * This is sufficient to allow us to identify EBCDIC text and to distinguish
/haiku-fatelf/src/bin/bash/
H A Dexecute_cmd.c1046 print_formatted_time (fp, format, rs, rsf, us, usf, ss, ssf, cpu)
1051 time_t us;
1113 len = mkfmt (ts, prec, lng, us, usf);
1142 time_t rs, us, ss; local
1182 rs = us = ss = 0;
1199 timeval_to_secs (&user, &us, &usf);
1214 clock_t_to_secs (user, &us, &usf);
1222 rs = us = ss = 0;
1233 print_formatted_time (stderr, time_format, rs, rsf, us, usf, ss, ssf, cpu);
/haiku-fatelf/src/bin/network/tcpdump/libpcap/msdos/
H A Dpkt_rx0.asm149 ja @skip ; no, packet to large for us
/haiku-fatelf/src/apps/showimage/
H A DShowImageWindow.cpp1236 BMessenger us(this);
1238 fNavigator.CurrentRef(), fNavigator.CurrentPage(), &us);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dwin32-nat.c204 enum target_signal us; member in struct:xlate_exception
1993 if (xlate[i].us == sig)
2043 /* Allow continuing with the same signal that interrupted us.

Completed in 306 milliseconds

12