Searched refs:abs (Results 1 - 25 of 166) sorted by relevance

1234567

/src/lib/libc/stdlib/
H A DLint_abs.c12 abs(int j) function in typeref:typename:int
H A Dabs.c1 /* $NetBSD: abs.c,v 1.8 2012/06/08 11:15:26 abs Exp $ */
35 static char sccsid[] = "@(#)abs.c 8.1 (Berkeley) 6/4/93";
37 __RCSID("$NetBSD: abs.c,v 1.8 2012/06/08 11:15:26 abs Exp $");
44 abs(int j) function in typeref:typename:int
/src/usr.bin/make/unit-tests/
H A Dvarmod-to-abs.exp1 make: varmod-to-abs.mk:19: does-not-exist.c
2 make: varmod-to-abs.mk:21: does-not-exist.c
3 cached_realpath: varmod-to-abs.mk -> varmod-to-abs.mk
4 make: varmod-to-abs.mk:26: varmod-to-abs.mk
/src/lib/libc/arch/m68k/stdlib/
H A DMakefile.inc3 SRCS+= abs.S llabs.S
H A Dabs.S1 /* $NetBSD: abs.S,v 1.8 2013/07/16 21:48:32 matt Exp $ */
40 RCSID("from: @(#)abs.s 5.1 (Berkeley) 5/12/90")
42 RCSID("$NetBSD: abs.S,v 1.8 2013/07/16 21:48:32 matt Exp $")
51 /* abs - int absolute value */
53 ENTRY(abs)
59 END(abs)
/src/lib/libc/arch/i386/stdlib/
H A Dabs.S1 /* $NetBSD: abs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $ */
34 * from: @(#)abs.s 5.2 (Berkeley) 12/17/90
39 RCSID("$NetBSD: abs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $")
42 ENTRY(abs)
48 END(abs)
H A DMakefile.inc4 SRCS+= abs.S div.S labs.S ldiv.S llabs.S
/src/lib/libc/arch/x86_64/stdlib/
H A Dabs.S1 /* $NetBSD: abs.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $ */
34 * from: @(#)abs.s 5.2 (Berkeley) 12/17/90
39 RCSID("$NetBSD: abs.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $")
42 ENTRY(abs)
48 END(abs)
H A DMakefile.inc4 SRCS+= abs.S div.S labs.S ldiv.S
/src/tests/lib/libm/
H A Dt_cabsl.cxx47 sum += std::abs(cld);
49 sum += std::abs(cd);
52 sum += std::abs(cf);
/src/lib/libc/arch/sparc64/stdlib/
H A Dabs.S1 /* $NetBSD: abs.S,v 1.2 2003/08/07 16:42:28 agc Exp $ */
35 * from: Header: abs.s,v 1.1 91/07/06 18:01:57 torek Exp
41 .asciz "@(#)abs.s 8.1 (Berkeley) 6/4/93"
43 RCSID("$NetBSD: abs.S,v 1.2 2003/08/07 16:42:28 agc Exp $")
47 /* abs - int absolute value */
50 ENTRY(abs)
/src/sys/arch/arm/acpi/
H A Dacpipchb.c220 struct acpipchb_bus_space * const abs = t; local in function:acpipchb_bus_space_map
226 if ((abs->flags & PCI_FLAGS_IO_OKAY) != 0) {
231 for (i = 0; i < abs->nrange; i++) {
232 struct acpipchb_bus_range * const range = &abs->range[i];
234 return abs->map(t, bpa + range->offset, size,
248 struct acpipchb_bus_space *abs; local in function:acpipchb_setup_ranges_cb
260 abs = &sc->sc_pciio_bst;
265 abs = &sc->sc_pcimem_bst;
273 if (abs->nrange == ACPIPCHB_MAX_RANGES) {
279 range = &abs
[all...]
/src/lib/libc/arch/mips/gen/
H A Dfabs.S61 abs.d $f0, $f12 # compute absolute value of x
/src/games/backgammon/common_source/
H A Done.c53 n = abs(mm->g[i] - mm->p[i]);
80 if (abs(bar - mm->g[i]) < 7) {
87 if (abs(home - mm->g[i]) < 7 && abs(home - mm->p[i]) > 6) {
136 return (abs(home - i));
155 if (abs(mm->g[i] - home) < 7 && abs(mm->p[i] - home) > 6) {
167 if (abs(bar - mm->g[i]) < 7) {
H A Dodds.c96 place = abs(25 - b - i);
97 menstuck = abs(board[b]);
100 diff = abs(j - i);
H A Dfancy.c214 n = abs(b); /* initialize n and pc */
320 ov = abs(cur);
321 nv = abs(new);
334 abs(ov - nv), ' ', inc);
337 abs(ov - nv), col, inc);
343 fixcol(r, c, abs(nv - 5), col,
347 c + 1, abs(ov - 5),
350 fixcol(r, c, abs(ov - 5), ' ',
354 c + 1, abs(nv - 5),
362 abs(o
[all...]
/src/share/doc/papers/diskperf/
H A DMakefile6 SRCS= abs.ms motivation.ms equip.ms methodology.ms tests.ms results.ms \
/src/sys/arch/arm/sunxi/
H A Dsunxi_ccu_display.c54 diff = abs(new_rate - rate);
57 diff_x2 = abs(new_rate - rate_x2);
88 diff = abs(try_rate - rate);
91 diff_x2 = abs(try_rate - rate_x2);
120 diff = abs(rate - new_rate);
/src/sys/arch/atari/dev/
H A Dgrfabs.c195 dx = abs(dm->size.width - dim->width);
196 dy = abs(dm->size.height - dim->height);
197 dd = abs(dm->depth - depth);
217 dx = abs(curr_mode->size.width - dim->width);
218 dy = abs(curr_mode->size.height - dim->height);
219 dd = abs(curr_mode->depth - depth);
/src/sys/lib/libkern/arch/m68k/
H A Ddivsi3.S59 negl 4(%sp) | store abs(dividend)
62 negl 8(%sp) | store abs(divisor)
H A Dmodsi3.S66 negl 4(%sp) | store abs(divisor)
70 negl 4(%sp) | store abs(dividend)
/src/games/sail/
H A Dmisc.c50 (abs(x) >= abs(y) ? abs(x) + abs(y)/2 : abs(y) + abs(x)/2)
122 Dr = abs(Dr);
123 Dc = abs(Dc);
/src/games/backgammon/backgammon/
H A Dextra.c204 odds(abs(b - i), 0, abs(board[b]));
205 if (abs(board[b]) == 1)
220 c = abs(i - l);
230 ct += abs(board[i]) * (36 - count());
/src/games/hack/
H A Dhack.wizard.c169 if ((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM)
170 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)) {
/src/sys/arch/arm/nxp/
H A Dimx_ccm_div.c98 if (abs(diff) < abs(best_diff)) {
100 best_diff = abs(diff);

Completed in 56 milliseconds

1234567