Searched refs:tries (Results 1 - 25 of 72) sorted by relevance

123

/haiku-fatelf/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPUtils.cpp33 for (uint32 tries = 0; tries < timeout; tries += 5) {
52 for (uint32 tries = 0; tries < timeout; tries += 5) {
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dadd_tries.c36 ** Add keycode/string to tries-tree.
48 _nc_add_to_try(struct tries **tree, const char *str, unsigned short code)
51 struct tries *ptr, *savedptr;
77 if ((ptr->sibling = typeCalloc(struct tries, 1)) == 0) {
90 savedptr = ptr = (*tree) = typeCalloc(struct tries, 1);
104 ptr->child = typeCalloc(struct tries, 1);
H A Dlib_options.c223 has_key_internal(int keycode, struct tries *tp)
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dtries.c34 ** tries.c
42 MODULE_ID("$Id: tries.c,v 1.20 2005/04/30 19:14:18 tom Exp $")
49 _nc_expand_try(struct tries *tree, unsigned short code, int *count, size_t len)
51 struct tries *ptr = tree;
86 _nc_remove_key(struct tries **tree, unsigned short code)
102 struct tries *to_free = *tree;
118 _nc_remove_string(struct tries **tree, const char *string)
130 struct tries *to_free = *tree;
H A Dkey_defined.c38 find_definition(struct tries *tree, const char *str)
40 struct tries *ptr;
/haiku-fatelf/src/libs/ncurses/ncurses/trace/
H A Dtrace_tries.c33 * trace_tries.c - Tracing/Debugging buffers (keycode tries-trees)
45 recur_tries(struct tries *tree, unsigned level)
65 _nc_trace_tries(struct tries *tree)
68 _tracef("BEGIN tries %p", tree);
70 _tracef(". . . tries %p", tree);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.c498 int short_tries, int tries, int status)
510 MIN(tries0, tries) - 1, is_ht40);
513 if (tries1 && tries_so_far < tries) {
517 MIN(tries1 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
521 if (tries2 && tries_so_far < tries) {
525 MIN(tries2 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
529 if (tries3 && tries_so_far < tries) {
533 MIN(tries3 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
559 sn->stats[y][rix0].tries += tries;
492 update_stats(struct ath_softc *sc, struct ath_node *an, int frame_size, int rix0, int tries0, int rix1, int tries1, int rix2, int tries2, int rix3, int tries3, int short_tries, int tries, int status) argument
586 badrate(struct ifnet *ifp, int series, int hwrate, int tries, int status) argument
645 int hwrates[4], tries[4], rix[4]; local
[all...]
H A Dsample.h60 int tries; member in struct:rate_stats
68 uint8_t t0, r0; /* series 0: tries, rate code */
69 uint8_t t1, r1; /* series 1: tries, rate code */
70 uint8_t t2, r2; /* series 2: tries, rate code */
71 uint8_t t3, r3; /* series 3: tries, rate code */
/haiku-fatelf/src/libs/ncurses/ncurses/
H A Dcurses.priv.h205 struct tries { struct
206 struct tries *child; /* ptr to child. NULL if none */
207 struct tries *sibling; /* ptr to sibling. NULL if none */
392 struct tries *_keytry; /* "Try" for use with keypad mode */
393 struct tries *_key_ok; /* Disabled keys via keyok(,FALSE) */
1093 /* tries.c */
1094 extern NCURSES_EXPORT(void) _nc_add_to_try (struct tries **, const char *, unsigned short);
1095 extern NCURSES_EXPORT(char *) _nc_expand_try (struct tries *, unsigned short, int *, size_t);
1096 extern NCURSES_EXPORT(int) _nc_remove_key (struct tries **, unsigned short);
1097 extern NCURSES_EXPORT(int) _nc_remove_string (struct tries **, cons
[all...]
/haiku-fatelf/src/servers/net/
H A DDHCPClient.h56 uint32& tries);
58 uint32& tries);
H A DDHCPClient.cpp542 uint32 tries; local
543 _ResetTimeout(socket, timeout, tries);
573 if (!_TimeoutShift(socket, timeout, tries)) {
636 _ResetTimeout(socket, timeout, tries);
902 DHCPClient::_ResetTimeout(int socket, time_t& timeout, uint32& tries) argument
905 tries = 0;
915 DHCPClient::_TimeoutShift(int socket, time_t& timeout, uint32& tries) argument
921 if (++tries > 2)
925 Device(), timeout, tries);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ipw2100/
H A Dipw2100.cpp449 uint32 tries = 1000; local
452 if (--tries == 0) {
961 int32 tries; local
962 for (tries = 1000; tries > 0; tries--) {
969 if (tries == 0) {
974 TRACE(("IPW2100: reset asserted with %ld tries left\n", tries));
978 for (tries
1013 int32 tries; local
1044 uint32 tries; local
1283 uint32 tries; local
1556 uint32 tries; local
[all...]
/haiku-fatelf/src/add-ons/kernel/debugger/laplinkll/
H A Dlaplinkll.cpp72 int tries = LPTSOFTRIES; local
85 if (tries-- == 0)
126 int tries = LPTNIBTRIES; local
138 if (tries-- == 0)
151 int tries = LPTNIBTRIES; local
163 if (tries-- == 0)
176 int tries = LPTNIBTRIES; local
181 if (tries-- == 0)
198 int tries = LPTNIBTRIES; local
203 if (tries
402 int tries; local
[all...]
/haiku-fatelf/src/apps/sudoku/
H A DSudokuGenerator.cpp115 int32 tries = field.Size() * field.Size() * 3 / 4; local
119 while (!*quit && removeCount > 0 && tries-- > 0) {
141 if (tries <= 0) {
/haiku-fatelf/src/apps/networkstatus/
H A DNetworkStatus.cpp134 int32 tries = 10; local
135 while (!isDeskbarRunning && --tries) {
/haiku-fatelf/src/apps/packageinstaller/
H A DInstalledPackageInfo.cpp222 int32 tries = 0; local
223 for (tries = 0; tries < P_BUSY_TRIES; tries++) {
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/
H A DBusManager.cpp78 int8 tries = 127;
80 while (tries-- > 0) {
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_send.c298 int gotsomewhere, terrno, tries, v_circuit, resplen, ns, n; local
412 for (tries = 0; tries < statp->retry; tries++) {
460 tries = statp->retry;
471 ns, tries, &v_circuit, &gotsomewhere);
794 int anssiz, int *terrno, int ns, int tries, int *v_circuit,
876 seconds = (statp->retrans << tries);
793 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument
/haiku-fatelf/src/add-ons/kernel/drivers/network/sis900/
H A Dsis900.c587 uint32 tries = 0; local
591 while (tries < 1000) {
608 tries++;
668 int16 tries = 1000; local
678 while ((read32(address) & SiS900_MAC_CMD_RESET) && tries-- > 0)
/haiku-fatelf/src/kits/media/
H A DSoundPlayer.cpp244 int tries; local
245 for (tries = 250; fPlayerNode->IsPlaying() && tries != 0; tries--)
248 DEBUG_ONLY(if (tries == 0)
/haiku-fatelf/src/add-ons/kernel/drivers/disk/usb/usb_floppy/
H A Dusb_disk.cpp474 for (uint32 tries = 0; tries < 3; tries++) {
539 for (int tries = 0; tries < 5; tries++) {
720 for (uint32 tries = 0; tries < 3; tries++) {
845 for (int tries
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DJournal.cpp338 int32 tries = fLogSize / 2 + 1; local
339 while (TransactionSize() > FreeLogBlocks() && tries-- > 0)
342 if (tries <= 0) {
/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote-sds.c860 int tries;
878 for (tries = 1; tries <= MAX_TRIES; tries++)
853 int tries; local
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dtest.cpp267 int32 length,tries = 0; local
273 } while ((last = findKey(name,length,i)) && tries++ < 100);
560 int32 tries = 500; local
572 if (tries-- < 0)
/haiku-fatelf/src/bin/consoled/
H A Dconsoled.cpp229 int32 tries = 0; local
234 if(++tries == 10)

Completed in 212 milliseconds

123