Searched refs:hit (Results 1 - 25 of 45) sorted by relevance

12

/openbsd-current/gnu/usr.bin/gcc/contrib/
H A Danalyze_brprob99 /^ .* heuristics: .*. exec [0-9]* hit [0-9]* (.*.)$/ {
102 sub (/ heuristics: .*. exec [0-9]* hit [0-9]* (.*.)$/,"",name)
105 sub (/. exec [0-9]* hit [0-9]* (.*.)$/,"",pred)
108 sub (/ hit [0-9]* (.*.)$/,"",count)
109 hit=$0
110 sub (/^ .* heuristics: .*. exec [0-9]* hit /,"",hit)
111 sub (/ (.*.)$/,"",hit)
115 hit = count"-"hit;
[all...]
/openbsd-current/games/trek/
H A Dattack.c51 ** Under certain conditions you can get a critical hit. This
52 ** sort of hit damages devices. The probability that a given
62 ** it) depends on the amount of the hit and the "damfac[]"
72 int hit, i, l; local
112 /* complete the hit */
115 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac;
119 /* see how much of hit shields will absorb */
125 shldabsb = propor * chgfac * hit;
130 /* actually do the hit */
131 printf("\aHIT: %d units", hit);
[all...]
H A Dphaser.c94 int hit; local
170 hit = getintpar("units");
171 if (hit < 0)
173 if (hit == 0)
175 extra += hit;
183 b->units = hit;
184 hit = getintpar("course");
185 if (hit < 0 || hit > 360)
187 b->angle = hit * 0.017453292
[all...]
/openbsd-current/games/sail/
H A Dpl_3.c50 int guns, car, ready, shootat, hit; local
139 hit = HDT[index][target-1];
141 hit = HDTrake[index][target-1];
143 hit++;
144 hit += QUAL[index][mc->qual-1];
148 hit--;
150 hit -= 2;
154 hit++;
156 hit += 2;
160 hit
[all...]
H A Ddr_1.c272 int shootat, hit; local
349 hit = HDT[index][target-1];
351 hit = HDTrake[index][target-1];
353 hit++;
354 hit += QUAL[index][capship(sp)->specs->qual - 1];
358 hit--;
360 hit -= 2;
368 hit++;
370 hit += 2;
374 hit
[all...]
/openbsd-current/sys/arch/amd64/amd64/
H A Ddkcsum.c61 bios_diskinfo_t *bdi, *hit; local
149 hit = 0;
156 picked = hit || (bdi->flags & BDI_PICKED);
158 hit = bdi;
167 * If we have no hit, that's OK, we can see a lot more devices
170 if (!hit) {
186 if ((B_ADAPTOR(bootdev) == B_ADAPTOR(hit->bsd_dev)) &&
187 (B_CONTROLLER(bootdev) == B_CONTROLLER(hit->bsd_dev)) &&
188 (B_TYPE(bootdev) == B_TYPE(hit->bsd_dev)) &&
189 (B_UNIT(bootdev) == B_UNIT(hit
[all...]
/openbsd-current/sys/arch/i386/i386/
H A Ddkcsum.c61 bios_diskinfo_t *bdi, *hit; local
149 hit = 0;
156 picked = hit || (bdi->flags & BDI_PICKED);
158 hit = bdi;
167 * If we have no hit, that's OK, we can see a lot more devices
170 if (!hit) {
186 if ((B_ADAPTOR(bootdev) == B_ADAPTOR(hit->bsd_dev)) &&
187 (B_CONTROLLER(bootdev) == B_CONTROLLER(hit->bsd_dev)) &&
188 (B_TYPE(bootdev) == B_TYPE(hit->bsd_dev)) &&
189 (B_UNIT(bootdev) == B_UNIT(hit
[all...]
/openbsd-current/games/bs/
H A Dbs.c53 char hits; /* how many times has this ship been hit? */
768 /* register a hit on the targeted ship */
841 int hit; local
856 hit = IS_SHIP(board[COMPUTER][curx][cury]);
857 hits[PLAYER][curx][cury] = hit ? MARK_HIT : MARK_MISS;
860 if (hit)
868 prompt(1, "You %s.", hit ? "scored a hit" : "missed");
869 if(hit && (ss = hitship(curx, cury)))
892 return(hit);
1004 int hit; local
1038 int navail, x, y, d, n, hit = S_MISS; local
[all...]
/openbsd-current/regress/sys/net/pf_table/
H A DMakefile3 REGRESS_TARGETS= hit miss cleanup flags
26 hit: stamp-setup
27 for i in `cat ${.CURDIR}/table.hit`; do \
28 echo -n "hit $$i "; \
113 .PHONY: hit miss flags
/openbsd-current/games/hack/
H A Dhack.fight.c75 /* hitmm returns 0 (miss), 1 (hit), or 2 (kill) */
80 int hit; local
91 hit = (tmp > rnd(20));
92 if(hit) mdef->msleep = 0;
99 hit ? "hits" : "misses");
110 if(hit){
117 hit = 2;
129 hit = 2;
132 return(hit);
181 /* u is hit b
[all...]
H A Dhack.zap.c85 /* bhitm: monster mtmp was hit by the effect of wand otmp */
94 hit("wand", mtmp, exclam(tmp));
136 /* object obj was hit by the effect of wand otmp */
339 hit(char *str, struct monst *mtmp, char *force) function
354 * range or when a monster is hit; the monster is returned, and bhitpos
363 * int (*fhitm)(), (*fhito)(); fns called when mon/obj hit
443 if(rn2(20) >= 10+u.ulevel){ /* we hit ourselves */
544 hit(fltxt, mon, exclam(tmp));
/openbsd-current/usr.sbin/zdump/
H A Dzdump.c62 static time_t hunt(char *name, time_t lot, time_t hit);
286 hunt(char *name, time_t lot, time_t hit) argument
300 diff = (long) (hit - lot);
307 else if (t >= hit)
320 hit = t;
323 show(name, hit, TRUE);
324 return hit;
/openbsd-current/usr.bin/deroff/
H A Dderoff.c1438 int hit; local
1483 hit = 1;
1485 printf("preliminary hit macro %c%c ", c1, c2);
1489 hit = YES;
1492 hit = (filesp == files);
1495 hit = !inmacro;
1498 hit = inmacro;
1501 hit = parag;
1504 hit = !keepblock;
1507 hit
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/mi/
H A Dmi-cmds.c191 int hit; member in struct:mi_cmd_stats
221 stats.hit++;
/openbsd-current/usr.sbin/config/
H A Dsem.c766 int hit; local
780 hit = 0;
783 hit = 1;
786 if (!hit) {
860 hit = 0;
863 hit = 1;
866 if (!hit)
/openbsd-current/libexec/ld.so/m88k/
H A Dldasm.S162 or %r0, %r0, %r0 | never hit
/openbsd-current/lib/libssl/
H A Dssl_srvr.c400 if (s->hit) {
619 if (s->hit)
671 if (s->hit) {
882 s->hit = 0;
910 s->hit = 1;
976 /* If it is a hit, check that the cipher is in the list */
978 if (s->hit && CBS_len(&cipher_suites) > 0) {
1061 if (!s->hit && s->tls_session_secret_cb != NULL) {
1077 s->hit = 1;
1104 if (!s->hit) {
[all...]
H A Dssl_clnt.c272 s->hit = 0;
311 if (s->hit) {
349 s->hit = 1;
476 if (SSL_is_dtls(s) && !s->hit)
498 if (SSL_is_dtls(s) && !s->hit)
508 if (s->hit) {
552 if (s->hit)
596 if (s->hit)
962 s->hit = 1;
968 s->hit
[all...]
H A Dssl_tlsext.c251 if (s->hit)
392 if (!s->hit) {
806 if (s->hit || s->s3->hs.tls13.hrr) {
844 if (s->hit)
864 if (s->hit) {
H A Dssl_lib.c178 s->hit = 0;
2435 if (!s->hit)
2457 if (s->hit)
2959 ret->hit = s->hit;
3477 return (s->hit);
/openbsd-current/usr.sbin/portmap/
H A Dportmap.c267 struct pmaplist *hit = NULL; local
274 hit = pml;
278 return (hit);
324 * find_service returns a hit even if
/openbsd-current/lib/libc/time/
H A Dlocaltime.c1418 int hit; local
1423 hit = 0;
1429 hit = ((i == 0 && lp->ls_corr > 0) ||
1431 if (hit) {
1437 ++hit;
1521 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit;
1980 ** For a positive leap second hit, the result
1982 ** hit, the corresponding time doesn't exist,
/openbsd-current/gnu/usr.bin/perl/cpan/Getopt-Long/lib/Getopt/
H A DLong.pm1036 my %hit;
1038 my $hit = $opctl->{$_}->[CTL_CNAME]
1040 $hit = "no" . $hit if $opctl->{$_}->[CTL_TYPE] eq '!';
1041 $hit{$hit} = 1;
1044 if ( keys(%hit) == 2 ) {
1045 if ( $auto_version && exists($hit{version}) ) {
1046 delete $hit{version};
1048 elsif ( $auto_help && exists($hit{hel
[all...]
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dutf8.pm230 platforms, so there is no performance hit in using it there.
243 platforms, so there is no performance hit in using it there.
/openbsd-current/gnu/usr.bin/perl/ext/Hash-Util/lib/Hash/
H A DUtil.pm668 gives an idea of how much work a fetch *hit* will take. The performance for
672 on real hit/miss ratios accessing the hash. If you are concerned by hit ratios

Completed in 217 milliseconds

12