Searched refs:closest (Results 1 - 18 of 18) sorted by relevance

/openbsd-current/games/sail/
H A Dpl_3.c52 struct ship *closest; local
86 closest = closestenemy(ms, (r ? 'r' : 'l'), 1);
87 if (closest == 0)
89 if (closest->file->struck)
91 target = range(ms, closest);
95 closest, r ? "right" : "left");
119 rakehim = gunsbear(ms, closest) && !gunsbear(closest, ms);
120 temp = portside(closest, ms, 1) - closest
[all...]
H A Ddr_1.c268 struct ship *closest; local
311 closest = closestenemy(sp, r ? 'r' : 'l', 0);
312 if (closest == 0)
314 if (range(closest, sp) > range(sp, closestenemy(sp, r ? 'r' : 'l', 1)))
316 if (closest->file->struck)
318 target = range(sp, closest);
326 if (target <= 3 && closest->file->FS)
334 rakehim = gunsbear(sp, closest)
335 && !gunsbear(closest, sp);
336 temp = portside(closest, s
[all...]
H A Ddr_3.c54 struct ship *closest; local
64 closest = closestenemy(sp, 0, 0);
65 if (closest == 0)
68 closeon(sp, closest, sp->file->movebuf,
H A Dmisc.c82 struct ship *closest = 0; local
96 closest = sp;
100 return closest;
/openbsd-current/sys/msdosfs/
H A Dmsdosfs_fat.c273 * Find the closest entry in the fat cache to the cluster we are looking
281 struct fatcache *closest = 0; local
286 if (closest == 0 || cn > closest->fc_frcn)
287 closest = &dep->de_fc[i];
290 if (closest) {
291 *frcnp = closest->fc_frcn;
292 *fsrcnp = closest->fc_fsrcn;
/openbsd-current/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c307 * Find the closest entry in the FAT cache to the cluster we are looking
315 struct fatcache *closest = 0; local
320 if (closest == 0 || cn > closest->fc_frcn)
321 closest = &dep->de_fc[i];
324 if (closest) {
325 *frcnp = closest->fc_frcn;
326 *fsrcnp = closest->fc_fsrcn;
/openbsd-current/sbin/pfctl/
H A Dpfctl_optimize.c1423 int closest = -1; local
1436 if (closest == -1 ||
1438 i-pf_rule_desc[closest].prf_offset)
1439 closest = j;
1443 if (closest >= 0)
1446 pf_rule_desc[closest].prf_name,
1447 i - pf_rule_desc[closest].prf_offset -
1448 pf_rule_desc[closest].prf_size);
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dfiletest.pm32 their block, up to the end of the closest enclosing block (they are lexically
/openbsd-current/usr.sbin/unbound/util/data/
H A Dmsgencode.c70 * a lookup of a name you know its closest match, and the parent from that
71 * closest match. These are possible compression targets.
94 * Find domain name in tree, returns exact and closest match.
98 * @param match: closest or exact match.
101 * @param matchlabels: number of labels that match with closest match.
199 * @param closest: match from previous lookup, used to compress dname.
207 struct regional* region, struct compress_tree_node* closest,
214 if(closest) uplabs = labs - closest->labs;
245 prevnode->parent = closest;
206 compress_tree_store(uint8_t* dname, int labs, size_t offset, struct regional* region, struct compress_tree_node* closest, struct compress_tree_node** insertpt) argument
[all...]
/openbsd-current/sbin/unwind/libunbound/util/data/
H A Dmsgencode.c70 * a lookup of a name you know its closest match, and the parent from that
71 * closest match. These are possible compression targets.
94 * Find domain name in tree, returns exact and closest match.
98 * @param match: closest or exact match.
101 * @param matchlabels: number of labels that match with closest match.
199 * @param closest: match from previous lookup, used to compress dname.
207 struct regional* region, struct compress_tree_node* closest,
214 if(closest) uplabs = labs - closest->labs;
245 prevnode->parent = closest;
206 compress_tree_store(uint8_t* dname, int labs, size_t offset, struct regional* region, struct compress_tree_node* closest, struct compress_tree_node** insertpt) argument
[all...]
/openbsd-current/lib/libcrypto/sha/asm/
H A Dsha1-ppc.pl209 andi. $t1,$t1,4095 ; distance to closest page boundary
H A Dsha512-ppc.pl246 andi. $t1,$t1,`4096-16*$SZ` ; distance to closest page boundary
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dsession.c2119 /* For xrefs, find the closest reference to point,
2126 int closest = -1;
2133 closest = which;
2141 if (closest == -1)
2144 which = closest;
2240 closest to point. */
2122 int closest = -1; local
/openbsd-current/gnu/usr.bin/perl/
H A Dconfig_h.SH2959 * available to return the long long value closest to a double
2966 * available to return the long long value closest to a long double
3004 * available to return the integral value closest to a double
3011 * available to return the integral value closest to a long double
3123 * available to return the integral value closest to (according to
/openbsd-current/gnu/usr.bin/perl/dist/PathTools/lib/File/Spec/
H A DMac.pm141 volume, which is the closest in concept to Unix' "/". This should help
/openbsd-current/gnu/usr.bin/perl/cpan/File-Temp/lib/File/
H A DTemp.pm2084 #pod closest you can come to making sure that the filename unlinked was the
3284 closest you can come to making sure that the filename unlinked was the
/openbsd-current/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/
H A DBigRat.pm2707 then C<$y> is the number closest to zero, and with the same sign as C<$mod>,
/openbsd-current/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm6807 then C<$y> is the number closest to zero, and with the same sign as C<$mod>,

Completed in 386 milliseconds