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

1234

/netbsd-current/games/trek/
H A Dattack.c58 ** Under certain conditions you can get a critical hit. This
59 ** sort of hit damages devices. The probability that a given
69 ** it) depends on the amount of the hit and the "damfac[]"
80 int hit, i, l; local
118 /* complete the hit */
121 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac;
126 /* see how much of hit shields will absorb */
131 shldabsb = propor * chgfac * hit;
136 /* actually do the hit */
137 printf("\aHIT: %d units", hit);
[all...]
H A Dphaser.c104 int hit; local
167 hit = getintpar("units");
168 if (hit < 0)
170 if (hit == 0)
172 extra += hit;
179 b->units = hit;
180 hit = getintpar("course");
181 if (hit < 0 || hit > 360)
183 b->angle = hit * 0.017453292
[all...]
/netbsd-current/games/sail/
H A Dpl_3.c56 int guns, car, ready, shootat, hit; local
146 hit = HDT[index][target-1];
148 hit = HDTrake[index][target-1];
150 hit++;
151 hit += QUAL[index][mc->qual-1];
155 hit--;
157 hit -= 2;
161 hit++;
163 hit += 2;
167 hit
[all...]
H A Ddr_1.c276 int shootat, hit; local
354 hit = HDT[indx][target-1];
356 hit = HDTrake[indx][target-1];
358 hit++;
359 hit += QUAL[indx][capship(sp)->specs->qual - 1];
363 hit--;
365 hit -= 2;
374 hit++;
376 hit += 2;
380 hit
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dwatchpoint-hw-hit-once.exp20 set test watchpoint-hw-hit-once
H A Dwatchpoint-solib.exp75 gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit"
82 gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit again"
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dwatchpoint-hw-hit-once.exp20 set test watchpoint-hw-hit-once
H A Dwatchpoint-solib.exp80 gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit"
87 gdb_test "continue" ".*New value = 1.*" "continue to watchpoint hit again"
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Dhip_55.h24 unsigned char *hit; member in struct:dns_rdata_hip
H A Dhip_55.c218 isc_region_consume(&region, 2); /* hit length + algorithm */
279 REQUIRE(hip->hit_len > 0 && hip->hit != NULL);
290 RETERR(mem_tobuffer(target, hip->hit, hip->hit_len));
327 hip->hit = hip->key = hip->servers = NULL;
329 hip->hit = mem_maybedup(mctx, region.base, hip->hit_len);
330 if (hip->hit == NULL) {
356 if (hip->hit != NULL) {
357 isc_mem_free(mctx, hip->hit);
378 isc_mem_free(hip->mctx, hip->hit);
497 isc_region_consume(&r1, 2); /* hit lengt
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Dhip_55.h23 unsigned char *hit; member in struct:dns_rdata_hip
H A Dhip_55.c217 isc_region_consume(&region, 2); /* hit length + algorithm */
278 REQUIRE(hip->hit_len > 0 && hip->hit != NULL);
289 RETERR(mem_tobuffer(target, hip->hit, hip->hit_len));
326 hip->hit = hip->key = hip->servers = NULL;
328 hip->hit = mem_maybedup(mctx, region.base, hip->hit_len);
329 if (hip->hit == NULL) {
355 if (hip->hit != NULL) {
356 isc_mem_free(mctx, hip->hit);
377 isc_mem_free(hip->mctx, hip->hit);
497 isc_region_consume(&r1, 2); /* hit lengt
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/dwarf2/
H A Dindex-cache.h72 /* Record a cache hit. */
73 void hit () function in class:index_cache
/netbsd-current/external/gpl3/gdb/dist/gdb/dwarf2/
H A Dindex-cache.h72 /* Record a cache hit. */
73 void hit () function in class:index_cache
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dtests2.d15 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
100 assert(equal(map!"a.hit"(m9), ["First", "", "Second"]));
114 test ~= m.hit;
163 assert(matchFn("<packet>text</packet><packet>text</packet>", nogreed).hit
[all...]
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/example-synacor/
H A Dmem.s16 # Change the first JMP to skip HALT and hit the pass.
/netbsd-current/games/rogue/
H A DMakefile6 SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dtests.d22 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
558 assert(equal(map!"a.hit"(m
[all...]
/netbsd-current/external/bsd/wpa/dist/src/utils/
H A Dradiotap.c238 int hit = 0; local
363 hit = 1;
385 /* we've got a hit! */
386 hit = 1;
393 if (hit)
/netbsd-current/usr.bin/deroff/
H A Dderoff.c1442 int hit; local
1487 hit = 1;
1489 printf("preliminary hit macro %c%c ", c1, c2);
1493 hit = YES;
1496 hit = (filesp == files);
1499 hit = !inmacro;
1502 hit = inmacro;
1505 hit = parag;
1508 hit = !keepblock;
1511 hit
[all...]
/netbsd-current/games/larn/
H A Ddiag.c37 int hit, dam; local
74 lprcat("\n\nHere's a Table for the to hit percentages\n");
77 lprcat("\n to hit: if (rnd(22) < (2[monst AC] + your level + dex + WC/8 -1)/2) then hit");
79 lprcat("\n to hit: if rnd(22) < to hit then player hits\n");
80 lprcat("\n Each entry is as follows: to hit / damage / number hits to kill\n");
84 hit = 2 * monster[i].armorclass + 2 * monster[i].level + 16;
88 (long) (hit / 2), (long) max(0, dam + 2), (long) (monster[i].hitpoints / (dam + 2) + 1),
89 (long) ((hit
[all...]
/netbsd-current/regress/sys/uvm/pdsim/
H A Dpdsim.c53 int hit; member in struct:__anon7845
196 stats[index].hit++;
280 stats[i].hit, stats[i].fault, irr[i]);
/netbsd-current/usr.sbin/rpcbind/
H A Dpmap_svc.c153 register struct pmaplist *hit = NULL; local
160 hit = pml;
164 return (hit);
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_warc.c816 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U);
818 if (hit != NULL) {
819 hit += sizeof(_marker) - 1U;
821 return hit;
828 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U);
830 return hit;
815 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); local
827 const char *hit = xmemmem(buf, bsz, _marker, sizeof(_marker) - 1U); local
/netbsd-current/sys/dev/qbus/
H A Dif_qtreg.h219 uint16_t hit; member in struct:qt_init

Completed in 306 milliseconds

1234