Searched refs:ffs (Results 1 - 25 of 268) sorted by relevance

1234567891011

/freebsd-10.3-release/contrib/libpcap/lbl/
H A Dos-aix4.h25 int ffs(int i);
H A Dos-hpux11.h25 int ffs(int i);
/freebsd-10.3-release/contrib/gcclibs/libiberty/
H A Dffs.c0 /* ffs -- Find the first bit set in the parameter
3 @deftypefn Supplemental int ffs (int @var{valu})
14 ffs (register int valu) function
/freebsd-10.3-release/contrib/binutils/libiberty/
H A Dffs.c0 /* ffs -- Find the first bit set in the parameter
3 @deftypefn Supplemental int ffs (int @var{valu})
14 ffs (register int valu) function
/freebsd-10.3-release/usr.sbin/makefs/ffs/
H A DMakefile.inc1 # $FreeBSD: releng/10.3/usr.sbin/makefs/ffs/Makefile.inc 214921 2010-11-07 16:05:04Z cognet $
4 .PATH: ${.CURDIR}/ffs ${.CURDIR}/../../sys/ufs/ffs
6 CFLAGS+= -I${.CURDIR}/../../sys/ufs/ffs
H A Dufs_bmap.c41 __FBSDID("$FreeBSD: releng/10.3/usr.sbin/makefs/ffs/ufs_bmap.c 239359 2012-08-17 17:45:27Z mjg $");
53 #include <ufs/ffs/fs.h>
55 #include "ffs/ufs_bswap.h"
56 #include "ffs/ufs_inode.h"
57 #include "ffs/ffs_extern.h"
77 lognindir = ffs(NINDIR(ip->i_fs)) - 1;
/freebsd-10.3-release/lib/libc/i386/string/
H A Dffs.S32 __FBSDID("$FreeBSD: releng/10.3/lib/libc/i386/string/ffs.S 217106 2011-01-07 16:08:40Z kib $");
35 * ffs(value)
45 ENTRY(ffs)
54 END(ffs)
H A DMakefile.inc4 MDSRCS+=bcmp.S bcopy.S bzero.S ffs.S memchr.S memcmp.S memcpy.S memmove.S \
/freebsd-10.3-release/lib/libc/ia64/string/
H A DMakefile.inc3 MDSRCS+= bcopy.S bzero.S ffs.S memcpy.S memmove.S
/freebsd-10.3-release/lib/libc/string/
H A Dffs.c31 static char sccsid[] = "@(#)ffs.c 8.1 (Berkeley) 6/4/93";
34 __FBSDID("$FreeBSD: releng/10.3/lib/libc/string/ffs.c 251069 2013-05-28 20:57:40Z emaste $");
42 ffs(int mask) function
H A DMakefile.inc9 MISRCS+=bcmp.c bcopy.c bzero.c ffs.c ffsl.c ffsll.c fls.c flsl.c flsll.c \
31 MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
38 MLINKS+=ffs.3 ffsl.3 \
39 ffs.3 ffsll.3 \
40 ffs.3 fls.3 \
41 ffs.3 flsl.3 \
42 ffs.3 flsll.3
/freebsd-10.3-release/sys/libkern/
H A Dffs.c31 __FBSDID("$FreeBSD: releng/10.3/sys/libkern/ffs.c 128019 2004-04-07 20:46:16Z imp $");
39 ffs(int mask) function
/freebsd-10.3-release/sys/i386/include/
H A Drunq.h39 #define RQB_FFS(word) (ffs(word) - 1)
/freebsd-10.3-release/sys/arm/include/
H A Drunq.h39 #define RQB_FFS(word) (ffs(word) - 1)
/freebsd-10.3-release/lib/libc/mips/string/
H A Dffs.S1 /* $NetBSD: ffs.S,v 1.2 2009/12/14 00:39:00 matt Exp $ */
36 __FBSDID("$FreeBSD: releng/10.3/lib/libc/mips/string/ffs.S 209231 2010-06-16 12:55:14Z jchandra $");
39 ASMSTR("from: @(#)ffs.s 8.1 (Berkeley) 6/4/93")
40 ASMSTR("$NetBSD: ffs.S,v 1.2 2009/12/14 00:39:00 matt Exp $")
47 /* bit = ffs(value) */
49 LEAF(ffs)
59 END(ffs)
H A DMakefile.inc4 SRCS+= bcmp.S bcopy.S bzero.S ffs.S memchr.c memcmp.c memset.c \
/freebsd-10.3-release/lib/libc/arm/string/
H A Dffs.S1 /* $NetBSD: ffs.S,v 1.5 2003/04/05 23:08:52 bjh21 Exp $ */
33 __FBSDID("$FreeBSD: releng/10.3/lib/libc/arm/string/ffs.S 275767 2014-12-14 16:28:53Z andrew $");
38 * ffs - find first set bit, this algorithm isolates the first set
46 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
50 ENTRY(ffs)
85 END(ffs)
H A DMakefile.inc4 MDSRCS+=bcmp.c bcopy.S bzero.S ffs.S memchr.c memcmp.S memcpy.S \
/freebsd-10.3-release/sys/libkern/arm/
H A Dffs.S1 /* $NetBSD: ffs.S,v 1.3 2003/04/05 23:27:15 bjh21 Exp $ */
32 __FBSDID("$FreeBSD: releng/10.3/sys/libkern/arm/ffs.S 275767 2014-12-14 16:28:53Z andrew $");
37 * ffs - find first set bit, this algorithm isolates the first set
45 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
49 ENTRY(ffs)
86 END(ffs)
/freebsd-10.3-release/sys/mips/include/
H A Drunq.h48 #define RQB_FFS(word) (ffs(word) - 1)
/freebsd-10.3-release/usr.sbin/makefs/
H A Dffs.h1 /* $NetBSD: ffs.h,v 1.1 2004/12/20 20:51:42 jmc Exp $ */
37 * $FreeBSD: releng/10.3/usr.sbin/makefs/ffs.h 226169 2011-10-09 16:22:31Z nwhitehorn $
44 #include <ufs/ffs/fs.h>
H A DMakefile9 SRCS= cd9660.c ffs.c \
18 .include "${.CURDIR}/ffs/Makefile.inc"
31 .PATH: ${.CURDIR}/../../sys/ufs/ffs
/freebsd-10.3-release/include/
H A Dstrings.h47 int ffs(int) __pure2;
/freebsd-10.3-release/contrib/netbsd-tests/include/sys/
H A Dt_bitops.c46 int ffs; member in struct:__anon3949
126 b = bits[i].ffs;
160 ATF_REQUIRE(ffs32(bits[i].val) == bits[i].ffs);
162 ATF_REQUIRE(ffs64(bits[i].val) == bits[i].ffs);
165 ATF_REQUIRE(ffs32(bits[i].val << 1) == bits[i].ffs + 1);
167 ATF_REQUIRE(ffs64(bits[i].val << 1) == bits[i].ffs + 1);
170 ATF_REQUIRE(ffs32(bits[i].val << 9) == bits[i].ffs + 9);
172 ATF_REQUIRE(ffs64(bits[i].val << 9) == bits[i].ffs + 9);
/freebsd-10.3-release/sys/dev/vt/hw/efifb/
H A Defifb.c129 efifb->fb_mask_red, ffs(efifb->fb_mask_red) - 1,
130 efifb->fb_mask_green, ffs(efifb->fb_mask_green) - 1,
131 efifb->fb_mask_blue, ffs(efifb->fb_mask_blue) - 1);

Completed in 237 milliseconds

1234567891011