Home
last modified time | relevance | path

Searched full:tries (Results 1 – 25 of 1378) sorted by relevance

12345678910>>...56

/openbsd-src/usr.sbin/map-mbone/
H A Dmapper.c72 int tries; /* How many requests sent? -1 for aliases */ member
114 n->tries = 0; in find_node()
274 if (node->tries == 0) /* Never heard of 'em; must have hit them at */ in accept_neighbors()
275 node->tries = 1; /* least once, though...*/ in accept_neighbors()
276 else if (node->tries == -1) /* follow alias link */ in accept_neighbors()
285 node->tries = 1; in accept_neighbors()
327 if (ifc_node->tries == 0) { /* new node */ in accept_neighbors()
328 ifc_node->tries = -1; in accept_neighbors()
331 && (ifc_node->tries > 0 || ifc_node->u.alias != node)) { in accept_neighbors()
335 if (ifc_node->tries in accept_neighbors()
[all...]
/openbsd-src/sys/ddb/
H A Ddb_hangman.c114 db_hang(int tries, const char *word, struct _abc *sabc) in db_hang() argument
124 cnputc((*p >= '0' && *p <= '9') ? ((tries <= (*p) - '0') ? in db_hang()
156 size_t tries; in db_hangman() local
164 tries = 0; in db_hangman()
170 tries = skill + 1; in db_hangman()
177 db_hang(tries, word, sabc); in db_hangman()
195 tries--; in db_hangman()
199 if (tries && len) in db_hangman()
202 if (!tries && skill > 2) { in db_hangman()
208 if (tries) in db_hangman()
[all...]
/openbsd-src/lib/libcurses/base/
H A Dtries.c1 /* $OpenBSD: tries.c,v 1.6 2023/10/17 09:52:09 nicm Exp $ */
37 ** tries.c
46 MODULE_ID("$Id: tries.c,v 1.6 2023/10/17 09:52:09 nicm Exp $")
53 _nc_expand_try(TRIES * tree, unsigned code, int *count, size_t len) in NCURSES_EXPORT()
55 TRIES *ptr = tree; in NCURSES_EXPORT()
94 _nc_remove_key(TRIES ** tree, unsigned code) in _nc_remove_key()
110 TRIES *to_free = *tree; in _nc_remove_key()
126 _nc_remove_string(TRIES ** tree, const char *string) in _nc_remove_string()
138 TRIES *to_free = *tree; in _nc_remove_string()
/openbsd-src/regress/lib/libc/mkstemp/
H A Dmkstemp_test.c78 int tries, fd; in try_mkstemp() local
80 for (tries = 0; tries < MAX_TRIES; tries++) { in try_mkstemp()
97 int tries, fd; in try_mkstemps() local
99 for (tries = 0; tries < MAX_TRIES; tries++) { in try_mkstemps()
/openbsd-src/usr.sbin/radiusctl/
H A Dparser.c42 TRIES, enumerator
59 .tries = TEST_TRIES_DEFAULT,
109 { KEYWORD, "tries", NONE, t_tries },
136 { TRIES, "", NONE, t_test_opts },
206 if (res.tries * res.interval.tv_sec > res.maxwait.tv_sec) { in match_token()
207 fprintf(stderr, "tries %u by interval %lld > maxwait %lld", in match_token()
208 res.tries, res.interval.tv_sec, res.maxwait.tv_sec); in match_token()
319 case TRIES: in match_token()
326 " for \"tries\"\n", word, errstr); in match_token()
330 res.tries in match_token()
[all...]
/openbsd-src/lib/libcurses/tinfo/
H A Dadd_tries.c39 ** Add keycode/string to tries-tree.
52 _nc_add_to_try(TRIES ** tree, const char *str, unsigned code) in NCURSES_EXPORT()
54 TRIES *ptr, *savedptr; in NCURSES_EXPORT()
82 if ((ptr->sibling = typeCalloc(TRIES, 1)) == 0) { in NCURSES_EXPORT()
94 savedptr = ptr = (*tree) = typeCalloc(TRIES, 1); in NCURSES_EXPORT()
107 ptr->child = typeCalloc(TRIES, 1); in NCURSES_EXPORT()
/openbsd-src/games/hangman/
H A Dksyms.c36 uint tries; in sym_getword() local
42 for (tries = 0; tries < MAXBADWORDS; tries++) { in sym_getword()
80 if (tries >= MAXBADWORDS) { in sym_getword()
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/
H A Dstress.t56 my $tries = 1e4;
59 while (time < $want && --$tries) {
66 if ($tries) {
67 $tries = 1e4;
70 while (time < $want && --$tries) {
78 $busycount = (1e4 - $tries) * 250;
/openbsd-src/libexec/mail.local/
H A Dlocking.c61 int tries = 0; in getlock() local
78 if (tries > 9) { in getlock()
82 sleep(1U << tries); in getlock()
83 tries++; in getlock()
/openbsd-src/gnu/usr.bin/binutils/bfd/doc/
H A Dbfdio.texi32 If an application tries to read what it thinks is one of these
36 error when it tries to read the table, or a "virtual memory
37 exhausted" error when it tries to allocate 15 bazillon bytes
/openbsd-src/usr.bin/lock/
H A Dlock.c73 int ch, sectimeout, usemine, cnt, tries = 10, backoff = 3; in main() local
94 * We allow "login-tries" attempts to login but start in main()
97 tries = login_getcapnum(lc, "login-tries", 10, 10); in main()
213 cnt %= tries; in main()
218 sleep((u_int)((cnt - backoff) * tries / 2)); in main()
/openbsd-src/sys/arch/sparc64/dev/
H A Dce4231.c391 int tries; in ce4231_open() local
411 for (tries = CS_TIMEOUT; in ce4231_open()
412 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in ce4231_open()
414 if (tries == 0) in ce4231_open()
497 int tries; in ce4231_commit_settings() local
524 tries = CS_TIMEOUT; in ce4231_commit_settings()
525 for (tries = CS_TIMEOUT; in ce4231_commit_settings()
526 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in ce4231_commit_settings()
528 if (tries == 0) in ce4231_commit_settings()
535 for (tries = CS_TIMEOUT; in ce4231_commit_settings()
[all …]
/openbsd-src/sys/dev/sbus/
H A Dcs4231.c340 int tries; in cs4231_open() local
364 for (tries = CS_TIMEOUT; in cs4231_open()
365 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in cs4231_open()
367 if (tries == 0) in cs4231_open()
533 int tries; in cs4231_commit_settings() local
555 tries = CS_TIMEOUT; in cs4231_commit_settings()
556 for (tries = CS_TIMEOUT; in cs4231_commit_settings()
557 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in cs4231_commit_settings()
559 if (tries == 0) in cs4231_commit_settings()
566 for (tries = CS_TIMEOUT; in cs4231_commit_settings()
[all …]
/openbsd-src/lib/libsndio/
H A Dsndio.7149 If they are not set, the program first tries to connect to
151 If that fails, it then tries to use
161 If it is not set, the program first tries to connect to
163 If that fails, it then tries to use
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D991216-4.c2 static void bug(int size, int tries) in bug() argument
8 for (i = 1; i < tries; i++) num++; in bug()
/openbsd-src/lib/libc/stdlib/
H A D__mktemp4.c42 unsigned int tries; in __mktemp4() local
60 tries = INT_MAX; in __mktemp4()
79 } while (--tries); in __mktemp4()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/doc/
H A Dbfdio.texi63 If an application tries to read what it thinks is one of these
67 error when it tries to read the table, or a "virtual memory
68 exhausted" error when it tries to allocate 15 bazillon bytes
/openbsd-src/regress/usr.bin/ssh/
H A Dkextype.sh15 tries="1 2 3 4"
18 for i in $tries; do
H A Dcipher-speed.sh21 tries="1 2"
25 for x in $tries; do
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_suballoc.c226 unsigned int *tries) in drm_suballoc_next_hole() argument
261 /* limit the number of tries each freelist gets */ in drm_suballoc_next_hole()
262 if (tries[i] > 2) in drm_suballoc_next_hole()
280 ++tries[best_idx]; in drm_suballoc_next_hole()
317 unsigned int tries[DRM_SUBALLOC_MAX_QUEUES]; in drm_suballoc_new() local
341 tries[i] = 0; in drm_suballoc_new()
353 } while (drm_suballoc_next_hole(sa_manager, fences, tries)); in drm_suballoc_new()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dctors19.C28 X::Y y = X::Y(1); // Tries to call ctor Y instead of X::Y in main()
29 X::f(X::Y(2)); // Tries to call Y instead of X::Y in main()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/
H A DNSSet.cpp486 uint32_t tries = 0; in GetChildAtIndex() local
489 while (tries < num_children) { in GetChildAtIndex()
502 tries++; in GetChildAtIndex()
606 uint32_t tries = 0; in GetChildAtIndex() local
611 // fails, otherwise, continue until the number of tries matches the number in GetChildAtIndex()
613 while (tries < num_children) { in GetChildAtIndex()
624 tries++; in GetChildAtIndex()
768 uint32_t tries = 0; in GetChildAtIndex() local
771 while (tries < num_children) { in GetChildAtIndex()
784 tries++; in GetChildAtIndex()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_dp.c498 u8 tries; member
613 dp_info->tries = 0; in amdgpu_atombios_dp_link_train_cr()
639 ++dp_info->tries; in amdgpu_atombios_dp_link_train_cr()
640 if (dp_info->tries == 5) { in amdgpu_atombios_dp_link_train_cr()
645 dp_info->tries = 0; in amdgpu_atombios_dp_link_train_cr()
678 dp_info->tries = 0; in amdgpu_atombios_dp_link_train_ce()
695 if (dp_info->tries > 5) { in amdgpu_atombios_dp_link_train_ce()
696 DRM_ERROR("channel eq failed: 5 tries\n"); in amdgpu_atombios_dp_link_train_ce()
705 dp_info->tries++; in amdgpu_atombios_dp_link_train_ce()
/openbsd-src/usr.bin/snmp/
H A Dsnmp.c284 int tries; in snmp_resolve() local
299 tries = agent->retries + 1; in snmp_resolve()
300 while (tries) { in snmp_resolve()
312 tries--; in snmp_resolve()
340 tries--; in snmp_resolve()
350 tries--; in snmp_resolve()
356 tries--; in snmp_resolve()
364 tries--; in snmp_resolve()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DComplete.pm60 my @tries = grep {substr($_,0,$i) eq $try} @perlret;
61 # warn "try[$try]tries[@tries]";
62 if (@tries == @perlret) {

12345678910>>...56