Searched refs:fn (Results 1 - 25 of 273) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libm/common/Q/
H A Dscalbl.c41 scalbl(long double x, long double fn) { argument
42 int *py = (int *) &fn, n;
45 if (isnanl(x) || isnanl(fn))
46 return (x * fn);
49 * fn is inf or NaN
53 return (x / (-fn));
55 return (x * fn);
57 if (rintl(fn) != fn)
58 return ((fn
[all...]
/illumos-gate/usr/src/cmd/logadm/
H A Dglob.h38 struct fn_list *glob_glob(struct fn *fnp);
40 struct fn_list *glob_reglob(struct fn *fnp);
41 struct fn *glob_to_reglob(struct fn *fnp);
H A Dfn.h25 * logadm/fn.h -- public definitions for fn module
38 struct fn *fn_new(const char *s);
39 struct fn *fn_dup(struct fn *fnp);
40 struct fn *fn_dirname(struct fn *fnp);
41 void fn_setn(struct fn *fnp, int n);
42 int fn_getn(struct fn *fnp);
43 void fn_setstat(struct fn *fn
[all...]
H A Dkw.h38 void kw_init(struct fn *fnp, struct fn *nfnp);
39 boolean_t kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz);
H A Dfn.c25 * logadm/fn.c -- "filename" string module
31 * logadm that return filenames return a struct fn, and most routines
43 #include "fn.h"
56 struct fn { struct
61 struct fn *fn_next; /* next in list */
68 struct fn *fnl_first; /* first element of list */
69 struct fn *fnl_last; /* last element of list */
70 struct fn *fnl_rptr; /* read pointer for iterating through list */
77 * struct fn *fnp = fn_new("this is a string");
79 struct fn *
[all...]
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dscalbl.c42 scalbl(long double x, long double fn) { argument
43 int *py = (int *) &fn, n;
46 if (isnanl(x) || isnanl(fn))
47 return x * fn;
49 /* fn is +/-Inf */
57 return x / (-fn);
59 return x * fn;
61 if (rintl(fn) != fn)
62 return (fn
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dfifo.c62 fifonode_t *fn = xmalloc(sizeof (fifonode_t)); local
64 fn->fn_data = data;
65 fn->fn_next = NULL;
68 f->f_head = f->f_tail = fn;
70 f->f_tail->fn_next = fn;
71 f->f_tail = fn;
79 fifonode_t *fn; local
82 if ((fn = f->f_head) == NULL)
85 data = fn->fn_data;
86 if ((f->f_head = fn
105 fifonode_t *fn = f->f_head; local
125 fifonode_t *fn; local
142 fifonode_t *fn; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot0/
H A Dmain.c39 fn_t *fn = (fn_t *)(SDRAM_BASE + (1 << 20)); /* Load to base + 1MB */ local
43 fn();
/illumos-gate/usr/src/lib/libm/common/C/
H A Dscalb.c35 scalb(double x, double fn) { argument
39 if (isnan(x) || isnan(fn))
40 return (x * fn);
42 in = ((int *)&fn)[HIWORD];
44 if (hn == 0x7ff00000) /* fn is inf */
45 return (_SVID_libm_err(x, fn, 47));
47 /* see if fn is an integer without raising inexact */
49 /* |fn| >= 2^52, so it must be an integer */
52 /* |fn| < 1, so it must be zero or non-integer */
53 return ((fn
[all...]
H A D__rem_pio2.c65 double w, t, r, fn; local
95 fn = (double)n;
96 r = t - fn * pio2_1;
98 w = fn * pio2_1t; /* 1st round good to 85 bit */
104 t = r; /* r-fn*pio2_2 may not be exact */
105 w = fn * pio2_2;
107 w = fn * pio2_2t - ((t - r) - w);
110 r -= fn * pio2_2;
111 w = fn * pio2_2t;
118 w = fn * pio2_
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dfile.c54 char *fn; local
63 fn = file_fmri + sizeof ("file://") - 1;
66 fn = file_fmri + sizeof ("file://localhost") - 1;
69 fn = file_fmri + sizeof ("file://") - 1;
74 if ((fn = strchr(fn, '/')) == NULL)
82 r = stat(fn, &sbuf);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c75 krb5_rc_io_creat(krb5_context context, krb5_rc_iostuff *d, char **fn) argument
85 if (fn && *fn)
88 if (*fn[0] == '/') {
89 d->fn = strdup(*fn);
90 if (d->fn == NULL)
93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1)))
95 (void) strcpy(d->fn, di
196 krb5_rc_io_open_internal(krb5_context context, krb5_rc_iostuff *d, char *fn, char* full_pathname) argument
331 krb5_rc_io_open(krb5_context context, krb5_rc_iostuff *d, char *fn) argument
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dimsg.c43 * fn -> input file descriptor
49 imsg(msg, fn)
51 int fn;
61 while ((i = (*Read)(fn, msg, sizeof(char))) == sizeof(char)) {
97 * fn -> file descriptor
102 omsg(type, msg, fn)
105 int fn;
111 (*Write)(fn, buf, strlen(buf) + 1);
H A Dxio.c76 * fn -> x.25 file descriptor
81 xwrmsg(type, str, fn)
83 int fn;
96 (void) (*Write)(fn, bufr, strlen(bufr) + 1);
103 * fn -> x.25 file descriptor
109 xrdmsg(str, fn)
119 if( (len = (*Read)(fn, str, XBUFSIZ)) == 0)
137 * fn -> x.25 descriptor
143 xwrdata(fp1, fn)
156 ret = (*Write)(fn, buf
[all...]
H A Deio.c91 * fn -> link file descriptor
97 ewrmsg(type, str, fn)
99 int fn;
102 return(etwrmsg(type, str, fn, 0));
108 * fn -> file descriptor
114 erdmsg(str, fn)
117 return(etrdmsg(str, fn, 0));
124 * fn -> link descriptor
130 ewrdata(fp1, fn)
132 int fn;
[all...]
H A Ddio.c100 * fn -> Datakit file descriptor
106 dwrmsg(type, str, fn)
108 int fn;
121 return((*Write)(fn, bufr, (unsigned) strlen(bufr) + 1) < 0 ? FAIL : SUCCESS);
127 * fn -> Datakit file descriptor
133 drdmsg(str, fn)
144 if( (len = (*Read)(fn, str, XBUFSIZ)) <= 0) {
160 * fn -> Datakit descriptor
166 dwrdata(fp1, fn)
179 ret = (*Write)(fn, buf
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/
H A Dzvol_ENOSPC_001_pos.ksh60 typeset -i fn=0
67 file_write -o create -f $TESTDIR/testfile$$.$fn \
74 (( fn = fn + 1 ))
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhash.h48 #define SYM_DEL_FN(fn) void *(fn)(void *app_data, int code, void *sym_data)
60 #define HASH_DEL_FN(fn) void *(fn)(void *app_data)
89 void (*fn)(void); /* Application supplied generic function */ member in struct:__anon4082
138 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn));
155 #define HASH_SCAN_FN(fn) int (fn)(Symbol *sym, void *context)
H A Dhomedir.h78 #define HOME_DIR_FN(fn) int (fn)(void *data, const char *usrnam, const char *homedir, char *errmsg, int maxerr)
H A Dioutil.h57 #define GL_WRITE_FN(fn) int (fn)(void *data, const char *s, int n)
H A Dkeytab.h58 #define KT_KEY_FN(fn) int (fn)(GetLine *gl, int count, void *data)
67 KtKeyFn *fn; /* The acion function */ member in struct:__anon4090
69 /* fn() whenever it is called. */
114 KtKeyFn *fn, void *data);
116 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data);
122 KtKeyFn **fn, void **data);
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dcons.h30 int getc(int fn);
31 int xgetc(int fn);
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dinetboot.c94 char *fn; local
98 fn = NULL;
102 fn = (cmd_line_boot_archive[0] != '\0') ?
106 (void) strncpy(tmpname, fn, strlen(fn)+1);
107 fn = tmpname;
109 printf("Enter filename [%s]: ", fn);
114 fn = tmpname;
124 if (fn != NULL) {
125 fd = openfile(fn);
[all...]
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c50 char *fn = PCIDR_PLUGIN_SYMSTR; local
63 dprint(DWARN, "%s: invalid or missing attributes\n", fn);
78 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str);
91 "found for the APID \"%s\"\n", fn, dr.dr_ap_id);
100 "matching \"%s\"\n", fn, dr.dr_ap_id);
103 dprint(DINFO, "===========================================\n", fn);
109 dprint(DINFO, "%s: disconnecting ...\n", fn, apid);
113 dprint(DINFO, "%s: disconnect FAILED\n", fn);
117 dprint(DINFO, "%s: disconnect OK\n", fn);
123 dprint(DINFO, "%s: configuring ...\n", fn, api
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c36 * int ftw (path, fn, depth) char *path; int (*fn)(); int depth;
42 * For each object visited, fn is called with three arguments.
57 * the directory cannot be read, fn will not be
67 * or a directory. The stat buffer passed to fn will
73 * If fn returns nonzero, ftw stops and returns the same value
85 * fn expects to be able to open files. We could also figure out
87 * number to fn, but we would not know how many to guarantee,
108 ftw(path, fn, depth)
110 int (*fn)();
[all...]

Completed in 137 milliseconds

1234567891011