Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dfifo.c64 fn->fn_data = data; in fifo_add()
71 f->f_tail = fn; in fifo_add()
79 fifonode_t *fn; in fifo_remove() local
89 free(fn); in fifo_remove()
111 while (fn) { in fifo_free()
114 tmp = fn; in fifo_free()
115 fn = fn->fn_next; in fifo_free()
125 fifonode_t *fn; in fifo_len() local
128 for (i = 0, fn = f->f_head; fn; fn = fn->fn_next, i++); in fifo_len()
142 fifonode_t *fn; in fifo_iter() local
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dxattr_compat.h44 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument
46 fn(struct dentry *dentry) \
54 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument
59 return (__ ## fn(dentry->d_inode, \
66 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument
71 return (__ ## fn(dentry->d_inode, \
84 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument
98 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument
111 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument
124 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument
[all …]
/freebsd/lib/msun/src/
H A De_scalb.c24 scalb(double x, int fn) in scalb() argument
27 scalb(double x, double fn) in scalb()
31 return scalbn(x,fn); in scalb()
33 if (isnan(x)||isnan(fn)) return x*fn; in scalb()
34 if (!finite(fn)) { in scalb()
35 if(fn>0.0) return x*fn; in scalb()
36 else return x/(-fn); in scalb()
38 if (rint(fn)!=fn) return (fn-fn)/(fn-fn); in scalb()
39 if ( fn > 65000.0) return scalbn(x, 65000); in scalb()
40 if (-fn > 65000.0) return scalbn(x,-65000); in scalb()
[all …]
H A De_scalbf.c21 scalbf(float x, int fn) in scalbf() argument
24 scalbf(float x, float fn) in scalbf()
28 return scalbnf(x,fn); in scalbf()
30 if ((isnanf)(x)||(isnanf)(fn)) return x*fn; in scalbf()
31 if (!finitef(fn)) { in scalbf()
32 if(fn>(float)0.0) return x*fn; in scalbf()
33 else return x/(-fn); in scalbf()
35 if (rintf(fn)!=fn) return (fn-fn)/(fn-fn); in scalbf()
36 if ( fn > (float)65000.0) return scalbnf(x, 65000); in scalbf()
37 if (-fn > (float)65000.0) return scalbnf(x,-65000); in scalbf()
[all …]
/freebsd/include/
H A Dtgmath.h80 fnl, fn, fnf, fnl, fn, fnf)(__VA_ARGS__)
100 __tg_generic_simple(z, fnl, fn , fn ), \
101 __tg_generic_simple(z, fnl, fn , fn )), \
104 __tg_generic_simple(z, fnl, fn , fn ), \
118 __tg_generic_full(y, cfnl, cfn , cfn , fnl , fn , fn ), \
127 __tg_impl_simple(x, x, x, fn##l, fn, fn##f, x)
129 __tg_impl_simple(x, x, y, fn##l, fn, fn##f, x, y)
131 __tg_impl_simple(x, y, z, fn##l, fn, fn##f, x, y, z)
133 __tg_impl_simple(x, x, x, fn##l, fn, fn##f, __VA_ARGS__)
135 __tg_impl_full(x, x, c##fn##l, c##fn, c##fn##f, fn##l, fn, fn##f, x)
[all …]
/freebsd/lib/libc/stdlib/
H A Datexit.c128 struct atexit_fn fn; in atexit() local
133 fn.fn_arg = NULL; in atexit()
134 fn.fn_dso = NULL; in atexit()
147 struct atexit_fn fn; in atexit_b() local
159 fn.fn_arg = func; in atexit_b()
160 fn.fn_dso = NULL; in atexit_b()
173 struct atexit_fn fn; in __cxa_atexit() local
178 fn.fn_arg = arg; in __cxa_atexit()
179 fn.fn_dso = dso; in __cxa_atexit()
215 fn = p->fns[n]; in __cxa_finalize()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/regex/
H A Dsplit.c51 int fn; in split() local
77 fn--; in split()
91 fn++; in split()
101 fn--; in split()
105 fn++; in split()
121 fn++; in split()
134 fn--; in split()
141 fn = 0; in split()
145 fn++; in split()
226 int fn; in print() local
[all …]
/freebsd/lib/libc/regex/grot/
H A Dsplit.c20 int fn; in split() local
46 fn--; in split()
60 fn++; in split()
70 fn--; in split()
74 fn++; in split()
90 fn++; in split()
103 fn--; in split()
110 fn = 0; in split()
114 fn++; in split()
195 int fn; in print() local
[all …]
/freebsd/lib/libutil/tests/
H A Dflopen_test.c51 unlink(fn); in test_flopen_create()
58 unlink(fn); in test_flopen_create()
68 const char *fn = "test_flopen_open"; in test_flopen_open() local
77 fd = flopen(fn, O_RDWR); in test_flopen_open()
84 unlink(fn); in test_flopen_open()
98 unlink(fn); in test_flopen_lock_self()
110 unlink(fn); in test_flopen_lock_self()
124 unlink(fn); in test_flopen_lock_other()
141 unlink(fn); in test_flopen_lock_other()
156 unlink(fn); in test_flopen_lock_child()
[all …]
H A Dpidfile_test.c64 unlink(fn); in test_pidfile_uncontested()
72 unlink(fn); in test_pidfile_uncontested()
76 unlink(fn); in test_pidfile_uncontested()
91 unlink(fn); in test_pidfile_self()
100 unlink(fn); in test_pidfile_self()
108 unlink(fn); in test_pidfile_self()
113 unlink(fn); in test_pidfile_self()
117 unlink(fn); in test_pidfile_self()
134 unlink(fn); in common_test_pidfile_child()
193 unlink(fn); in common_test_pidfile_child()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmodule.h89 void (*fn)(void); in _module_run() local
101 fn = arg; in _module_run()
102 fn(); in _module_run()
105 #define module_init(fn) \ argument
106 SYSINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_FIRST, _module_run, (fn))
108 #define module_exit(fn) \ argument
109 SYSUNINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_SECOND, _module_run, (fn))
116 SYSINIT(fn, SI_SUB_OFED_MODINIT, (order), _module_run, (fn))
118 #define module_exit_order(fn, order) \ argument
119 SYSUNINIT(fn, SI_SUB_OFED_MODINIT, (order), _module_run, (fn))
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.h94 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
95 fn(); \
102 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
103 fn(arg); \
110 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
111 fn(arg1, arg2); \
118 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
119 fn(arg1, arg2, arg3); \
126 static fntype fn = (fntype)__sanitizer::dllThunkGetRealAddrOrDie(#name); \
127 return fn(); \
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dtest-readenv.c63 f = fopen(fn, "w"); in write_file()
65 unlink(fn); in write_file()
71 unlink(fn); in write_file()
81 char fn[MAXPATHLEN]; in main() local
84 make_file(fn, sizeof(fn)); in main()
86 write_file(fn, s1); in main()
87 count = read_environment(fn, &env); in main()
93 write_file(fn, s2); in main()
94 count = read_environment(fn, &env); in main()
100 unlink(fn); in main()
[all …]
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_libm.h10 #define T_LIBM_CHECK(subtest, fn, arg, expect_, epsilon_) do { \ argument
13 long double r = fn(arg); \
17 "subtest %u: " #fn "(%g) is %Lg (%.14La) " \
24 #define T_LIBM_CHECK_NAN(subtest, fn, arg) do { \ argument
25 double r = fn(arg); \
27 atf_tc_fail_nonfatal("subtest %u: " #fn "(%g) is %g not NaN", \
32 #define T_LIBM_CHECK_NAN(subtest, fn, arg) (void)(arg) argument
36 #define T_LIBM_CHECK_PLUS_ZERO(subtest, fn, arg) do { \ argument
37 double r = fn(arg); \
44 #define T_LIBM_CHECK_MINUS_ZERO(subtest, fn, arg) do { \ argument
[all …]
/freebsd/sys/dev/sdio/
H A Dsdiob.c156 fn, addr, wr, *val)); in sdiob_rw_direct_sc()
266 sc->cardinfo.f[fn].cur_blksize, sc, fn, addr, in sdiob_rw_extended_cam()
481 *result = f->fn; in sdiob_read_ivar()
750 if (fn == 0) { in sdio_func_read_cis()
820 int fn, error; in sdiob_get_card_info() local
830 fn = 0; in sdiob_get_card_info()
842 __func__, fn, sc->cardinfo.f[fn].vendor, sc->cardinfo.f[fn].device, in sdiob_get_card_info()
849 for (fn = 1; fn < fn_max; fn++) { in sdiob_get_card_info()
882 sc->cardinfo.f[fn].fn = fn; in sdiob_get_card_info()
883 sc->cardinfo.f[fn].cur_blksize = sc->cardinfo.f[fn].max_blksize; in sdiob_get_card_info()
[all …]
/freebsd/tools/build/
H A Dfreebsd-yeet.pl17 my $fn = $_[0];
19 if ($fn =~ m=^./contrib/=) {
22 if ($fn =~ m=^./sys/contrib/=) {
25 if ($fn =~ m=^./cddl/contrib/=) {
28 if ($fn =~ m=^./crypto/=) {
31 if ($fn =~ m=^./.git/=) {
34 if ($fn =~ m=~$=) {
60 my $fn="$File::Find::name";
61 return if skip_list($fn);
62 open my $fh, '<', $_ or die "Can't open $fn: $!\n";
[all …]
/freebsd/tools/tools/ansify/
H A Dansify.pl40 my $fn = shift;
64 warn("[$fn:$line] $func(): can't parse argument list\n");
96 warn("[$fn:$line] $func(): too many arguments\n");
116 my $fn = shift;
118 my $tfn = "$fn.ansify";
122 if (open(IN, "<", $fn)) {
124 ansify(*IN{IO}, *OUT{IO}, $fn);
125 if (!rename($tfn, $fn)) {
126 warn("$fn: $!\n");
130 warn("$fn.ansify: $!\n");
[all …]
/freebsd/tools/tools/hcomp/
H A Dhcomp.pl39 my $fn = shift;
44 warn("$fn\n")
47 open(FILE, "<", $fn)
48 or die("$fn: $!\n");
69 open(FILE, ">", "$fn.new")
70 or die("$fn.new: $!\n");
74 rename($fn, "$fn.$opt_b")
76 rename("$fn.new", $fn);
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dmod_os.h116 #define module_init(fn) \ argument
118 wrap_ ## fn(void *dummy __unused) \
120 fn(); \
122 SYSINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
124 #define module_init_early(fn) \ argument
126 wrap_ ## fn(void *dummy __unused) \
128 fn(); \
130 SYSINIT(zfs_ ## fn, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, wrap_ ## fn, NULL)
132 #define module_exit(fn) \ argument
136 fn(); \
[all …]
/freebsd/usr.bin/cksum/
H A Dprint.c40 pcrc(char *fn, uint32_t val, off_t len) in pcrc() argument
43 if (fn != NULL) in pcrc()
44 (void)printf(" %s", fn); in pcrc()
49 psum1(char *fn, uint32_t val, off_t len) in psum1() argument
52 if (fn != NULL) in psum1()
53 (void)printf(" %s", fn); in psum1()
58 psum2(char *fn, uint32_t val, off_t len) in psum2() argument
61 if (fn != NULL) in psum2()
62 (void)printf(" %s", fn); in psum2()
/freebsd/crypto/openssl/crypto/evp/
H A Dnames.c173 void (*fn) (const EVP_CIPHER *ciph, member
181 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
186 void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph, in EVP_CIPHER_do_all()
195 dc.fn = fn; in EVP_CIPHER_do_all()
209 dc.fn = fn; in EVP_CIPHER_do_all_sorted()
216 void (*fn) (const EVP_MD *ciph, member
224 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_md_fn()
229 void EVP_MD_do_all(void (*fn) (const EVP_MD *md, in EVP_MD_do_all()
238 dc.fn = fn; in EVP_MD_do_all()
243 void EVP_MD_do_all_sorted(void (*fn) (const EVP_MD *md, in EVP_MD_do_all_sorted()
[all …]
/freebsd/lib/libc/csu/
H A Dlibc_start1.c83 void (*fn)(void); in finalizer() local
88 fn = __fini_array_start[n - 1]; in finalizer()
89 if ((uintptr_t)fn != 0 && (uintptr_t)fn != 1) in finalizer()
90 (fn)(); in finalizer()
100 void (*fn)(int, char **, char **); in handle_static_init() local
110 fn = __preinit_array_start[n]; in handle_static_init()
111 if ((uintptr_t)fn != 0 && (uintptr_t)fn != 1) in handle_static_init()
112 fn(argc, argv, env); in handle_static_init()
117 fn = __init_array_start[n]; in handle_static_init()
118 if ((uintptr_t)fn != 0 && (uintptr_t)fn != 1) in handle_static_init()
[all …]
/freebsd/stand/kboot/kboot/
H A Dhostdisk.c166 char fn[1024]; in hostdisk_add_parts() local
168 snprintf(fn, sizeof(fn), "%s/%s", SYSBLK, hd_name(hd)); in hostdisk_add_parts()
177 char fn[1024]; in hostdisk_add_drive() local
188 snprintf(fn, sizeof(fn), "%s/%s/queue/hw_sector_size", in hostdisk_add_drive()
449 char *fn; in hostdisk_parsedev() local
464 free(fn); in hostdisk_parsedev()
467 free(fn); in hostdisk_parsedev()
494 char *fn; in hostdisk_try_one() local
503 free(fn); in hostdisk_try_one()
537 char *fn; in hostdisk_zfs_check_one() local
[all …]
/freebsd/contrib/openpam/misc/
H A Dgendoc.pl101 my $fn = shift;
122 if ($fn !~ m,\.c$,) {
127 open(FILE, "<", "$fn")
152 $func = $fn;
332 'source' => $fn,
362 my $fn;
382 $fn = $$func{source};
384 parse_source($fn);
437 my $fn;
674 foreach my $fn (@ARGV) {
[all …]
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c46 char *fn;
72 fn = fbuf;
85 if (stat(fn, st) < 0)
187 char *dir = fn;
394 char *fn; in safedirpath()
419 if (*fn == '\0')
420 fn = "/";
681 char *fn; in safeopen()
764 fn);
788 char *fn; in safefopen()
[all …]

12345678910>>...26