| /netbsd-src/games/trek/ |
| H A D | phaser.c | 104 int hit; in phaser() local 167 hit = getintpar("units"); in phaser() 168 if (hit < 0) in phaser() 170 if (hit == 0) in phaser() 172 extra += hit; in phaser() 179 b->units = hit; in phaser() 180 hit = getintpar("course"); in phaser() 181 if (hit < 0 || hit > 360) in phaser() 183 b->angle = hit * 0.0174532925; in phaser() 201 hit = getintpar("Units to fire"); in phaser() [all …]
|
| H A D | attack.c | 80 int hit, i, l; in attack() local 121 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac; in attack() 131 shldabsb = propor * chgfac * hit; in attack() 137 printf("\aHIT: %d units", hit); in attack() 141 cas = (shldabsb * 100) / hit; in attack() 142 hit -= shldabsb; in attack() 145 cas, hit); in attack() 148 tothit += hit; in attack() 149 if (hit > maxhit) in attack() 150 maxhit = hit; in attack() [all …]
|
| /netbsd-src/games/sail/ |
| H A D | pl_3.c | 56 int guns, car, ready, shootat, hit; in acceptcombat() local 146 hit = HDT[index][target-1]; in acceptcombat() 148 hit = HDTrake[index][target-1]; in acceptcombat() 150 hit++; in acceptcombat() 151 hit += QUAL[index][mc->qual-1]; in acceptcombat() 155 hit--; in acceptcombat() 157 hit -= 2; in acceptcombat() 161 hit++; in acceptcombat() 163 hit += 2; in acceptcombat() 167 hit--; in acceptcombat() [all …]
|
| H A D | dr_1.c | 276 int shootat, hit; in compcombat() local 354 hit = HDT[indx][target-1]; in compcombat() 356 hit = HDTrake[indx][target-1]; in compcombat() 358 hit++; in compcombat() 359 hit += QUAL[indx][capship(sp)->specs->qual - 1]; in compcombat() 363 hit--; in compcombat() 365 hit -= 2; in compcombat() 374 hit++; in compcombat() 376 hit += 2; in compcombat() 380 hit--; in compcombat() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
| H A D | tests2.d | 15 assert(bmatch("abc",cr).hit == "abc"); 17 assert(bmatch("abbbbc",cr2).hit == "abbbbc"); 22 assert(bmatch("abc",cr3).hit == "abc"); 30 assert(bmatch("aaabaaaabbb", cr5).hit == "aaabaaaabbb"); 32 assert(bmatch("aaabaaaabbb"w, cr6).hit == "aaab"w); 38 assert(bmatch("abc\r\nxy", cr7).hit == "\r\nxy"); 40 assert(bmatch("<packet>text</packet><packet>text</packet>", greed).hit 114 test ~= m.hit; in test_body() 163 assert(matchFn("<packet>text</packet><packet>text</packet>", nogreed).hit 166 assert(matchFn("<packet>text</packet><packet>text</packet>", greed).hit [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
| H A D | tests.d | 22 assert(match("abcdef", r1).hit == "abc"); 24 assert(bmatch("abcdef", r1).hit == "abc"); 473 assert(bmatch("abc",cr).hit == "abc"); 475 assert(bmatch("abbbbc",cr2).hit == "abbbbc"); 480 assert(bmatch("abc",cr3).hit == "abc"); 488 assert(bmatch("aaabaaaabbb", cr5).hit == "aaabaaaabbb"); 490 assert(bmatch("aaabaaaabbb"w, cr6).hit == "aaab"w); 496 assert(bmatch("abc\r\nxy", cr7).hit == "\r\nxy"); 498 assert(bmatch("<packet>text</packet><packet>text</packet>", greed).hit 572 test ~= m.hit; in test_body() [all …]
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/ |
| H A D | dnlcstat_example.txt | 7 dnlc %hit hit miss 38 initially there are high hit rates in the DNLC - over 90%. Eventually 39 the find command exhausts the DNLC, and the hit rate drops to below 10%.
|
| H A D | dnlcps_example.txt | 4 Here we run dnlcps.d for o few seconds, then hit Ctrl-C, 46 are both using the DNLC a lot, and what hit rate they are scoring.
|
| /netbsd-src/external/cddl/dtracetoolkit/dist/Examples/ |
| H A D | dnlcstat_example.txt | 7 dnlc %hit hit miss 38 initially there are high hit rates in the DNLC - over 90%. Eventually 39 the find command exhausts the DNLC, and the hit rate drops to below 10%.
|
| H A D | dnlcps_example.txt | 4 Here we run dnlcps.d for o few seconds, then hit Ctrl-C, 46 are both using the DNLC a lot, and what hit rate they are scoring.
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| H A D | hip_55.c | 217 isc_region_consume(®ion, 2); /* hit length + algorithm */ in fromwire_hip() 278 REQUIRE(hip->hit_len > 0 && hip->hit != NULL); in fromstruct_hip() 289 RETERR(mem_tobuffer(target, hip->hit, hip->hit_len)); in fromstruct_hip() 326 hip->hit = hip->key = hip->servers = NULL; in tostruct_hip() 328 hip->hit = mem_maybedup(mctx, region.base, hip->hit_len); in tostruct_hip() 356 isc_mem_free(hip->mctx, hip->hit); in tostruct_hip() 476 isc_region_consume(&r1, 2); /* hit length + algorithm */ in casecompare_hip()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| H A D | hip_55.c | 279 REQUIRE(hip->hit_len > 0 && hip->hit != NULL); in fromstruct_hip() 290 RETERR(mem_tobuffer(target, hip->hit, hip->hit_len)); in fromstruct_hip() 327 hip->hit = hip->key = hip->servers = NULL; in tostruct_hip() 329 hip->hit = mem_maybedup(mctx, region.base, hip->hit_len); in tostruct_hip() 330 if (hip->hit == NULL) { in tostruct_hip() 356 if (hip->hit != NULL) { in tostruct_hip() 357 isc_mem_free(mctx, hip->hit); in tostruct_hip() 378 isc_mem_free(hip->mctx, hip->hit); in freestruct_hip()
|
| /netbsd-src/games/larn/ |
| H A D | diag.c | 37 int hit, dam; in diag() local 84 hit = 2 * monster[i].armorclass + 2 * monster[i].level + 16; in diag() 88 (long) (hit / 2), (long) max(0, dam + 2), (long) (monster[i].hitpoints / (dam + 2) + 1), in diag() 89 (long) ((hit + 2) / 2), (long) max(0, dam + 10), (long) (monster[i].hitpoints / (dam + 10) + 1), in diag() 90 (long) ((hit + 5) / 2), (long) max(0, dam + 20), (long) (monster[i].hitpoints / (dam + 20) + 1)); in diag()
|
| /netbsd-src/usr.bin/deroff/ |
| H A D | deroff.c | 1442 int hit; in comline() local 1487 hit = 1; in comline() 1493 hit = YES; in comline() 1496 hit = (filesp == files); in comline() 1499 hit = !inmacro; in comline() 1502 hit = inmacro; in comline() 1505 hit = parag; in comline() 1508 hit = !keepblock; in comline() 1511 hit = 0; in comline() 1514 if (hit) { in comline()
|
| /netbsd-src/regress/sys/uvm/pdsim/ |
| H A D | pdsim.c | 53 int hit; member 196 stats[index].hit++; in fault() 280 stats[i].hit, stats[i].fault, irr[i]); in dumpstats()
|
| /netbsd-src/games/hack/ |
| H A D | rumors | 34 A spear might hit a nurse. 35 A spear will hit an ettin. 60 An ettin is hard to kill; an imp is hard to hit. See the difference? 70 Be careful when throwing a boomerang - you might hit the back of your head. 73 Better go home and hit your kids. They are just little monsters! 103 Direct a direct hit on your direct opponent, directing in the right direction. 114 Don't play hack at your work, your boss might hit you! 117 Don't throw gems. They are so precious! Besides, you might hit a roommate. 180 I guess you have never hit a postman with an Amulet of Yendor yet... 197 If you want to hit, use a dagger. [all …]
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_read_support_format_warc.c | 839 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); in _warc_find_eoh() local 841 if (hit != NULL) { in _warc_find_eoh() 842 hit += sizeof(_marker) - 1U; in _warc_find_eoh() 844 return hit; in _warc_find_eoh() 851 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); in _warc_find_eol() local 853 return hit; in _warc_find_eol()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/ |
| H A D | statem_srvr.c | 465 if (s->hit) in ossl_statem_server13_write_transition() 532 } else if (s->hit || s->num_tickets <= s->sent_tickets) { in ossl_statem_server13_write_transition() 601 if (s->hit) { in ossl_statem_server_write_transition() 651 if (s->hit) { in ossl_statem_server_write_transition() 670 if (s->hit) { in ossl_statem_server_write_transition() 852 if (SSL_IS_DTLS(s) && s->hit) { in ossl_statem_server_post_work() 918 if (SSL_IS_DTLS(s) && !s->hit) { in ossl_statem_server_post_work() 947 if (SSL_IS_DTLS(s) && s->hit) { in ossl_statem_server_post_work() 1697 s->hit = 0; in tls_early_post_process_client_hello() 1793 s->hit = 1; in tls_early_post_process_client_hello() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/ |
| H A D | statem_srvr.c | 464 if (s->hit) in ossl_statem_server13_write_transition() 529 if (s->hit || s->num_tickets <= s->sent_tickets) { in ossl_statem_server13_write_transition() 600 if (s->hit) { in ossl_statem_server_write_transition() 650 if (s->hit) { in ossl_statem_server_write_transition() 669 if (s->hit) { in ossl_statem_server_write_transition() 851 if (SSL_IS_DTLS(s) && s->hit) { in ossl_statem_server_post_work() 919 if (SSL_IS_DTLS(s) && !s->hit) { in ossl_statem_server_post_work() 948 if (SSL_IS_DTLS(s) && s->hit) { in ossl_statem_server_post_work() 1732 s->hit = 0; in tls_early_post_process_client_hello() 1834 s->hit = 1; in tls_early_post_process_client_hello() [all …]
|
| H A D | extensions.c | 536 || (s->hit && (extctx & SSL_EXT_IGNORE_ON_RESUMPTION) != 0)) in extension_is_relevant() 956 if (sent && ret == SSL_TLSEXT_ERR_OK && !s->hit) { in final_server_name() 987 if (!s->hit) { in final_server_name() 1207 if (!s->server && s->hit) { in final_ems() 1289 if (!sent && SSL_IS_TLS13(s) && !s->hit) { in final_sig_algs() 1321 && (!s->hit in final_key_share() 1383 && (!s->hit in final_key_share() 1414 if (!s->hit in final_key_share() 1680 || !s->hit in final_early_data() 1707 if (s->server && s->hit && USE_MAX_FRAGMENT_LENGTH_EXT(s->session) in final_maxfragmentlen()
|
| H A D | extensions_srvr.c | 134 if (!s->hit || SSL_IS_TLS13(s)) { in tls_parse_ctos_server_name() 204 if (s->hit && s->session->ext.max_fragment_len_mode != value) { in tls_parse_ctos_maxfragmentlen() 260 if (!s->hit) { in tls_parse_ctos_ec_pt_formats() 301 if (!s->hit && !tls1_save_sigalgs(s, &supported_sig_algs, 1)) { in tls_parse_ctos_sig_algs_cert() 322 if (!s->hit && !tls1_save_sigalgs(s, &supported_sig_algs, 0)) { in tls_parse_ctos_sig_algs() 338 if (s->hit) in tls_parse_ctos_status_request() 625 if (s->hit && (s->ext.psk_kex_mode & TLSEXT_KEX_MODE_FLAG_KE_DHE) == 0) in tls_parse_ctos_key_share() 969 if (!s->hit || SSL_IS_TLS13(s)) { in tls_parse_ctos_supported_groups() 1344 if (s->hit && !SSL_IS_TLS13(s)) in tls_construct_stoc_server_name() 1709 if (!s->hit || !tls13_generate_handshake_secret(s, NULL, 0)) { in tls_construct_stoc_key_share() [all …]
|
| /netbsd-src/usr.sbin/rpcbind/ |
| H A D | pmap_svc.c | 153 register struct pmaplist *hit = NULL; in find_service_pmap() local 160 hit = pml; in find_service_pmap() 164 return (hit); in find_service_pmap()
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_cache.c | 322 SDT_PROBE_DEFINE3(vfs, namecache, lookup, hit, "struct vnode *", 540 bool hit; in cache_lookup() 608 hit = false; in cache_lookup() 611 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, in cache_lookup() 614 hit = true; in cache_lookup() 617 return hit; in cache_lookup() 632 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, namelen, 0, 0); in cache_lookup() 763 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, namelen, 0, 0); in cache_lookup_linked() 853 * The queue is partially sorted. Once we hit dots, nothing in cache_revlookup() 864 * Record a hit o in cache_revlookup() 538 bool hit; cache_lookup() local [all...] |
| /netbsd-src/external/gpl2/lvm2/dist/daemons/dmeventd/ |
| H A D | dmeventd.c | 1109 struct thread_status *thread, *hit = NULL; in _get_registered_dev() local 1118 hit = thread; in _get_registered_dev() 1126 if (hit && !next) { in _get_registered_dev() 1128 return _registered_device(message_data, hit); in _get_registered_dev() 1131 if (!hit) in _get_registered_dev() 1134 thread = hit; in _get_registered_dev() 1142 hit = thread; in _get_registered_dev() 1148 return _registered_device(message_data, hit); in _get_registered_dev()
|
| /netbsd-src/distrib/mvme68k/miniroot/ |
| H A D | install.md | 197 Default answers are displayed in brackets after the questions. You can hit 199 hit return. Also, quitting in the middle of installation may leave your
|