Home
last modified time | relevance | path

Searched refs:hit (Results 1 – 25 of 74) sorted by relevance

123

/dragonfly/games/trek/
H A Dphaser.c96 int hit; in phaser() local
160 if (hit < 0) in phaser()
162 if (hit == 0) in phaser()
164 extra += hit; in phaser()
173 if (hit < 0 || hit > 360) in phaser()
194 if (hit <= 0) in phaser()
203 extra = hit; in phaser()
232 if (hit > 0) { in phaser()
233 extra += hit; in phaser()
243 if (hit <= 0) in phaser()
[all …]
H A Dattack.c72 int hit, i, l; in attack() local
123 shldabsb = propor * chgfac * hit; in attack()
129 printf("\aHIT: %d units", hit); in attack()
133 cas = (shldabsb * 100) / hit; in attack()
134 hit -= shldabsb; in attack()
137 cas, hit); in attack()
140 tothit += hit; in attack()
141 if (hit > maxhit) in attack()
142 maxhit = hit; in attack()
143 Ship.energy -= hit; in attack()
[all …]
/dragonfly/games/sail/
H A Dpl_3.c150 hit++; in acceptcombat()
155 hit--; in acceptcombat()
157 hit -= 2; in acceptcombat()
161 hit++; in acceptcombat()
163 hit += 2; in acceptcombat()
167 hit--; in acceptcombat()
169 hit -= 2; in acceptcombat()
173 hit--; in acceptcombat()
175 hit -= 2; in acceptcombat()
177 hit--; in acceptcombat()
[all …]
H A Ddr_1.c358 hit++; in compcombat()
363 hit--; in compcombat()
365 hit -= 2; in compcombat()
374 hit++; in compcombat()
376 hit += 2; in compcombat()
380 hit--; in compcombat()
382 hit -= 2; in compcombat()
387 hit--; in compcombat()
389 hit -= 2; in compcombat()
391 hit--; in compcombat()
[all …]
/dragonfly/games/bs/
H A Dbs.c755 bool hit; in plyturn() local
776 if (hit) in plyturn()
788 if(hit && (ss = hitship(curx, cury))) in plyturn()
812 return(hit); in plyturn()
905 bool hit, sunk; in cpufire() local
913 sunk = hit && ss; in cpufire()
921 if (hit) in cpufire()
953 int navail, x, y, d, n, hit = S_MISS; in cputurn() local
960 if (!(hit = cpufire(x, y))) in cputurn()
999 if (!(hit = cpufire(x, y))) in cputurn()
[all …]
/dragonfly/usr.sbin/zic/
H A Dzdump.c137 static time_t hunt(char *name, time_t lot, time_t hit);
436 hunt(char *name, time_t lot, time_t hit) in hunt() argument
451 time_t diff = hit - lot; in hunt()
458 else if (t >= hit) in hunt()
470 } else hit = t; in hunt()
473 show(name, hit, TRUE); in hunt()
474 return hit; in hunt()
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dradiotap.c238 int hit = 0; in ieee80211_radiotap_iterator_next() local
363 hit = 1; in ieee80211_radiotap_iterator_next()
386 hit = 1; in ieee80211_radiotap_iterator_next()
393 if (hit) in ieee80211_radiotap_iterator_next()
/dragonfly/games/larn/
H A Ddiag.c32 int hit, dam; in diag() local
80 hit = 2 * monster[i].armorclass + 2 * monster[i].level + 16; in diag()
84 (long)(hit / 2), (long)max(0, dam + 2), (long)(monster[i].hitpoints / (dam + 2) + 1), in diag()
85 (long)((hit + 2) / 2), (long)max(0, dam + 10), (long)(monster[i].hitpoints / (dam + 10) + 1), in diag()
86 (long)((hit + 5) / 2), (long)max(0, dam + 20), (long)(monster[i].hitpoints / (dam + 20) + 1)); in diag()
/dragonfly/test/debug/
H A DREADME8 known), positive cache hit (non-NULL vp), or negative
9 cache hit (NULL vp)
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_support_format_warc.c832 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); in _warc_find_eoh() local
834 if (hit != NULL) { in _warc_find_eoh()
835 hit += sizeof(_marker) - 1U; in _warc_find_eoh()
837 return hit; in _warc_find_eoh()
844 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); in _warc_find_eol() local
846 return hit; in _warc_find_eol()
/dragonfly/games/hack/
H A Drumors34 A spear might hit a nurse.
35 A spear will hit an ettin.
114 Don't play hack at your work, your boss might hit you!
197 If you want to hit, use a dagger.
251 Monsters come from nowhere to hit you everywhere.
281 Not even a spear will hit a Xorn.
403 They say that a spear will hit a Dragon.
404 They say that a spear will hit a Xorn.
406 They say that a spear will hit an ettin.
436 To hit or not to hit, that is the question.
[all …]
H A Dhack.zap.c93 hit("wand", mtmp, exclam(tmp)); in bhitm()
354 hit(const char *str, struct monst *mtmp, const char *force) in hit() function
569 hit(fltxt, mon, exclam(tmp)); in buzz()
H A Dhelp49 KJHLYUBN - Go in that direction until you hit a wall or run
124 You see on what dungeon level you are, how many hit points you have
/dragonfly/usr.sbin/rpcbind/
H A Dpmap_svc.c146 struct pmaplist *hit = NULL; in find_service_pmap() local
153 hit = pml; in find_service_pmap()
157 return (hit); in find_service_pmap()
/dragonfly/contrib/ldns/
H A Drdata.c538 uint8_t *hit_size, uint8_t** hit, in ldns_rdf_hip_get_alg_hit_pk() argument
544 if (! rdf || ! alg || ! hit || ! hit_size || ! pk || ! pk_size) { in ldns_rdf_hip_get_alg_hit_pk()
555 *hit = data + 4; in ldns_rdf_hip_get_alg_hit_pk()
566 uint8_t hit_size, uint8_t *hit, in ldns_rdf_hip_new_frm_alg_hit_pk() argument
584 memcpy(data + 4, hit, hit_size); in ldns_rdf_hip_new_frm_alg_hit_pk()
H A Dstr2host.c1578 const char *hit = str == NULL ? NULL : strchr(str, ' '); in ldns_str2rdf_hip() local
1579 const char *pk = hit == NULL ? NULL : strchr(hit + 1, ' '); in ldns_str2rdf_hip()
1580 size_t hit_size = hit == NULL ? 0 in ldns_str2rdf_hip()
1581 : pk == NULL ? strlen(hit + 1) : (size_t) (pk - hit) - 1; in ldns_str2rdf_hip()
1601 hit += 1; in ldns_str2rdf_hip()
1637 for (dp = data + 4; *hit && *hit != ' '; dp++) { in ldns_str2rdf_hip()
1639 if ((hi = ldns_hexdigit_to_int(*hit++)) == -1 || in ldns_str2rdf_hip()
1640 (lo = ldns_hexdigit_to_int(*hit++)) == -1) { in ldns_str2rdf_hip()
/dragonfly/contrib/ldns/ldns/
H A Drdata.h453 uint8_t *hit_size, uint8_t** hit,
467 uint8_t hit_size, uint8_t *hit, uint16_t pk_size, uint8_t *pk);
/dragonfly/sys/bus/cam/
H A Dcam_periph.c503 int hit, i, val, dunit; in camperiphunit() local
512 for (hit = 0; (i = resource_locate(i, periph_name)) != -1; hit = 0) { in camperiphunit()
518 hit++; in camperiphunit()
523 hit++; in camperiphunit()
528 hit++; in camperiphunit()
530 if (hit != 0) { in camperiphunit()
542 if (hit == 0 && sim) { in camperiphunit()
553 unit = camperiphnextunit(p_drv, unit, /*wired*/hit, pathid, in camperiphunit()
/dragonfly/contrib/lvm2/dist/daemons/dmeventd/
H A Ddmeventd.c1109 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()
/dragonfly/contrib/gdb-7/gdb/mi/
H A Dmi-cmds.c192 int hit; member
224 stats.hit++; in lookup_table()
/dragonfly/crypto/libressl/ssl/
H A Dssl_srvr.c386 if (s->internal->hit) { in ssl3_accept()
614 if (s->internal->hit) in ssl3_accept()
668 if (s->internal->hit) { in ssl3_accept()
886 s->internal->hit = 0; in ssl3_get_client_hello()
914 s->internal->hit = 1; in ssl3_get_client_hello()
982 if (s->internal->hit && CBS_len(&cipher_suites) > 0) { in ssl3_get_client_hello()
1065 if (!s->internal->hit && s->internal->tls_session_secret_cb != NULL) { in ssl3_get_client_hello()
1081 s->internal->hit = 1; in ssl3_get_client_hello()
1108 if (!s->internal->hit) { in ssl3_get_client_hello()
1252 && !s->internal->hit) in ssl3_send_server_hello()
[all …]
H A Dssl_clnt.c260 s->internal->hit = 0; in ssl3_connect()
299 if (s->internal->hit) { in ssl3_connect()
337 s->internal->hit = 1; in ssl3_connect()
470 if (SSL_is_dtls(s) && !s->internal->hit) in ssl3_connect()
493 if (SSL_is_dtls(s) && !s->internal->hit) in ssl3_connect()
504 if (s->internal->hit) { in ssl3_connect()
549 if (s->internal->hit) in ssl3_connect()
593 if (s->internal->hit) in ssl3_connect()
965 s->internal->hit = 1; in ssl3_get_server_hello()
971 s->internal->hit = 0; in ssl3_get_server_hello()
[all …]
/dragonfly/games/rogue/
H A DMakefile6 SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
/dragonfly/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c239 int hit = 0; in find_domain() local
270 hit++; in find_domain()
277 if (hit > 1) { in find_domain()
/dragonfly/lib/libc/stdtime/
H A Dlocaltime.c1504 int hit; in timesub() local
1508 hit = 0; in timesub()
1515 hit = ((i == 0 && lp->ls_corr > 0) || in timesub()
1517 if (hit) in timesub()
1523 ++hit; in timesub()
1609 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit; in timesub()

123