| /src/common/lib/libc/arch/arm/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.9 2015/05/17 22:14:38 justin Exp $ */ 33 RCSID("$NetBSD: ffs.S,v 1.9 2015/05/17 22:14:38 justin Exp $") 36 * ffs - find first set bit, this algorithm isolates the first set 44 * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on 48 STRONG_ALIAS(__ffssi2,ffs) 52 ENTRY(ffs) function 54 ARM_ENTRY(ffs) 62 END(ffs) 64 ARM_ENTRY(ffs) 93 END(ffs) [all...] |
| /src/common/lib/libc/arch/m68k/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.8 2020/03/10 08:15:44 rin Exp $ */ 40 RCSID("from: @(#)ffs.s 5.1 (Berkeley) 5/12/90") 42 RCSID("$NetBSD: ffs.S,v 1.8 2020/03/10 08:15:44 rin Exp $") 46 /* bit = ffs(value) */ 49 WEAK_ALIAS(__ffssi2,ffs) 54 * we do not provide ffs(9) as a kernel routine. Let's rename it! 56 #define ffs __ffssi2 define 61 ENTRY(ffs) function 74 END(ffs) 78 ENTRY(ffs) function 92 ENTRY(ffs) function [all...] |
| /src/common/lib/libc/arch/powerpc/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.5 2011/01/15 07:31:12 matt Exp $ */ 33 __RCSID("$NetBSD: ffs.S,v 1.5 2011/01/15 07:31:12 matt Exp $") 36 ENTRY(ffs) function 43 END(ffs)
|
| /src/common/lib/libc/arch/x86_64/string/ |
| ffs.S | 10 RCSID("$NetBSD: ffs.S,v 1.5 2014/03/22 19:16:34 jakllsch Exp $") 13 ENTRY(ffs) function 21 END(ffs)
|
| /src/lib/libc/arch/vax/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.4 2011/01/25 02:38:15 matt Exp $ */ 34 /* .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93" */ 35 RCSID("$NetBSD: ffs.S,v 1.4 2011/01/25 02:38:15 matt Exp $") 38 /* bit = ffs(value) */ 40 ENTRY(ffs, 0) function 41 ffs $0,$32,4(%ap),%r0 47 END(ffs)
|
| /src/lib/libc/string/ |
| Lint_ffs.c | 12 ffs(int value) function
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| ffs.c | 0 /* ffs.c -- find the first set bit in a word. 31 ffs (int i) function
|
| strings.in.h | 59 _GL_FUNCDECL_SYS (ffs, int, (int i)); 61 _GL_CXXALIAS_SYS (ffs, int, (int i)); 62 _GL_CXXALIASWARN (ffs); variable 64 # undef ffs 66 _GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module");
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| ffs.c | 0 /* ffs.c -- find the first set bit in a word. 31 ffs (int i) function
|
| strings.in.h | 59 _GL_FUNCDECL_SYS (ffs, int, (int i)); 61 _GL_CXXALIAS_SYS (ffs, int, (int i)); 62 _GL_CXXALIASWARN (ffs); variable 64 # undef ffs 66 _GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module");
|
| /src/common/lib/libc/arch/i386/string/ |
| ffs.S | 9 RCSID("$NetBSD: ffs.S,v 1.2 2014/03/22 19:38:46 jakllsch Exp $") 12 ENTRY(ffs) function 21 END(ffs)
|
| /src/common/lib/libc/arch/sparc/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.4 2013/09/12 15:36:14 joerg Exp $ */ 35 * from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp 41 .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93" 43 RCSID("$NetBSD: ffs.S,v 1.4 2013/09/12 15:36:14 joerg Exp $") 48 * ffs returns the number of the rightmost bit set in its argument, 49 * i.e., the lowest value such that (x & (ffs(x) - 1)) is nonzero. 50 * If no bits are set, ffs returns 0. 59 * that ffstab[0] must be -24 so that ffs(0) will return 0. 61 WEAK_ALIAS(__ffssi2,ffs) 62 ENTRY(ffs) function [all...] |
| /src/common/lib/libc/arch/sparc64/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.4 2025/11/03 20:01:32 nia Exp $ */ 35 * from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp 41 .asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93" 43 RCSID("$NetBSD: ffs.S,v 1.4 2025/11/03 20:01:32 nia Exp $") 54 * int ffs(unsigned zz) { 61 ENTRY(ffs) function 65 movrz %o0, %g0, %o1 ! result of ffs(0) should be zero 70 * ffs returns the number of the rightmost bit set in its argument, 71 * i.e., the lowest value such that (x & (ffs(x) - 1)) is nonzero. 72 * If no bits are set, ffs returns 0 83 ENTRY(ffs) function [all...] |
| /src/common/lib/libc/string/ |
| ffs.c | 1 /* $NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $ */ 35 static char sccsid[] = "@(#)ffs.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $"); 50 /* #undef ffs() - might be defined as macro to __builtin_ffs() */ 51 #undef ffs macro 54 * ffs -- vax ffs instruction 56 __weak_alias(__ffssi2,ffs) 58 ffs(int mask)
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| ffs.c | 0 /* ffs -- Find the first bit set in the parameter 3 @deftypefn Supplemental int ffs (int @var{valu}) 14 ffs (register int valu) function
|
| /src/common/lib/libc/arch/sh3/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $ */ 35 RCSID("$NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $") 39 * ffs - find first bit set 45 WEAK_ALIAS(__ffssi2,ffs) 46 ENTRY(ffs) function 52 tst r0,r0 ! ffs(0) is 0
|
| /src/external/bsd/jemalloc/dist/include/msvc_compat/ |
| strings.h | 4 /* MSVC doesn't define ffs/ffsl. This dummy strings.h header is provided 18 static __forceinline int ffs(int x) { function 55 # define ffs(x) __builtin_ffs(x) macro
|
| /src/external/bsd/jemalloc.old/dist/include/msvc_compat/ |
| strings.h | 4 /* MSVC doesn't define ffs/ffsl. This dummy strings.h header is provided 18 static __forceinline int ffs(int x) { function 55 # define ffs(x) __builtin_ffs(x) macro
|
| /src/common/lib/libc/arch/ia64/string/ |
| ffs.S | 1 /* $NetBSD: ffs.S,v 1.1 2016/08/05 15:06:02 scole Exp $ */ 33 * __FBSDID("$FreeBSD: releng/10.1/lib/libc/ia64/string/ffs.S 111777 2003-03-03 01:09:46Z obrien $"); 42 * ffs(int value); 44 ENTRY(ffs, 1) function 106 END(ffs)
|
| /src/external/mit/isl/dist/ |
| isl_config_post.h | 10 #define ffs __builtin_ffs macro 15 #define ffs isl_ffs macro
|