Home
last modified time | relevance | path

Searched refs:tries (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/openbsd/sys/ddb/
H A Ddb_hangman.c114 db_hang(int tries, const char *word, struct _abc *sabc) in db_hang() argument
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()
210 db_hang(tries, word, sabc); in db_hangman()
[all …]
/openbsd/usr.sbin/map-mbone/
H A Dmapper.c114 n->tries = 0; in find_node()
285 node->tries = 1; in accept_neighbors()
344 if (ifc_node->tries > node->tries) in accept_neighbors()
345 node->tries = ifc_node->tries; in accept_neighbors()
420 n_node->tries = 1; in accept_neighbors()
485 if (ifc_node->tries > node->tries) in accept_neighbors2()
486 node->tries = ifc_node->tries; in accept_neighbors2()
564 n_node->tries = 1; in accept_neighbors2()
585 if (node->tries > 0 && node->tries < retries) { in retry_requests()
590 node->tries++; in retry_requests()
[all …]
/openbsd/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/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/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/gnu/usr.bin/perl/cpan/Encode/
H A Dencoding.pm35 my @tries = (
44 while (@tries) {
46 require $tries[0];
48 &{$tries[1]}()
58 splice(@tries, 0, 2)
/openbsd/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/sys/arch/sparc64/dev/
H A Dce4231.c391 int tries; in ce4231_open() local
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
526 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in ce4231_commit_settings()
528 if (tries == 0) in ce4231_commit_settings()
536 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in ce4231_commit_settings()
538 if (tries == 0) in ce4231_commit_settings()
543 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in ce4231_commit_settings()
545 if (tries == 0) in ce4231_commit_settings()
[all …]
H A Dcomkbd_ebus.c425 int tries; in comkbd_init() local
427 for (tries = 5; tries != 0; tries--) { in comkbd_init()
486 if (tries == 0) in comkbd_init()
491 return tries; in comkbd_init()
/openbsd/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/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/usr.bin/lock/
H A Dlock.c73 int ch, sectimeout, usemine, cnt, tries = 10, backoff = 3; in main() local
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/sys/dev/sbus/
H A Dcs4231.c340 int tries; in cs4231_open() local
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
557 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in cs4231_commit_settings()
559 if (tries == 0) in cs4231_commit_settings()
567 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in cs4231_commit_settings()
569 if (tries == 0) in cs4231_commit_settings()
574 tries && CS_READ(sc, AD1848_IADDR) == SP_IN_INIT; tries--) in cs4231_commit_settings()
576 if (tries == 0) in cs4231_commit_settings()
[all …]
/openbsd/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/sys/dev/pci/drm/
H A Ddrm_suballoc.c226 unsigned int *tries) in drm_suballoc_next_hole() argument
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/lib/libc/yp/
H A Dyp_maplist.c43 int tries = 0, r; in yp_maplist() local
57 if (tries++) in yp_maplist()
H A Dyp_master.c44 int tries = 0, r; in yp_master() local
66 if (tries++) in yp_master()
H A Dypmatch_cache.c145 int tries = 0, r; in yp_match() local
188 if (tries++) in yp_match()
222 int tries = 0, r; in yp_next() local
249 if (tries++) in yp_next()
/openbsd/sys/kern/
H A Dvfs_getcwd.c56 int eofflag, tries, dirbuflen = 0, len, reclen, error = 0; in vfs_getcwd_scandir() local
67 tries = 0; in vfs_getcwd_scandir()
146 if (error == EINVAL && tries < 3) { in vfs_getcwd_scandir()
147 tries++; in vfs_getcwd_scandir()
155 tries = 0; in vfs_getcwd_scandir()
/openbsd/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/gnu/usr.bin/perl/t/bigmem/
H A Dstack.t153 my $tries = 0x8000_0001;
154 my $count = chmod $mode, ( $0 ) x $tries;
155 is($count, $tries, "chmod with 2G files");
/openbsd/usr.bin/dig/
H A Dhost.c429 lookup->retries = tries; in printmessage()
439 lookup->retries = tries; in printmessage()
725 tries = strtonum(optarg, INT_MIN, INT_MAX - 1, &errstr); in parse_args()
728 tries++; in parse_args()
729 if (tries < 2) in parse_args()
730 tries = 2; in parse_args()
769 lookup->retries = tries; in parse_args()
809 tries = 2; in host_main()
/openbsd/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()
705 dp_info->tries++; in amdgpu_atombios_dp_link_train_ce()
/openbsd/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

12345678910>>...17