Searched refs:fn (Results 1 - 25 of 383) 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/tools/smatch/src/validation/backend/
H A Dfunction-ptr-xtype.c7 // We want to 'fn' have several different types.
11 int foo(void *fn, int arg1, int arg2);
12 int foo(void *fn, int arg1, int arg2) argument
16 res += ((binop_t)fn)(arg1, arg2);
17 res += ((unop_t)fn)(arg1);
18 res += ((ldef_t)fn)();
19 res += ((idef_t)fn)();
20 ((use_t)fn)(res);
24 int bar(int (*fn)(int), int arg1, int arg2);
25 int bar(int (*fn)(in argument
[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/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...]
/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);
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_wine_WtoA.c50 static int allowed_func(const char *fn) argument
52 if (!strcmp("lstrcatA", fn))
54 if (!strcmp("lstrcpyA", fn))
56 if (!strcmp("lstrcpynA", fn))
58 if (!strcmp("lstrlenA", fn))
71 fn_name = expr_to_var(expr->fn);
H A Dcheck_kunmap.c29 char *fn; local
35 fn = expr_to_var(expr->fn);
36 if (!fn)
38 if (!strcmp(fn, "kmap"))
40 free_string(fn);
43 static void match_kmap_atomic(const char *fn, struct expression *expr, void *data) argument
51 static void match_kunmap_atomic(const char *fn, struct expression *expr, void *data) argument
64 static void match_kunmap(const char *fn, struct expression *expr, void *data) argument
H A Dsmatch_scope.c24 struct symbol *fn = get_base_type(cur_func_sym); local
27 if (!fn)
29 if (stmt == fn->stmt || stmt == fn->inline_stmt)
61 struct symbol *fn; local
65 fn = get_base_type(cur_func_sym);
66 if (!fn)
74 if (stmt->parent == fn->stmt ||
75 stmt->parent == fn->inline_stmt)
H A Dsmatch_fn_arg_link.c30 static void save_in_fn_ptr_data_link_table(struct expression *fn, struct expression *arg) argument
39 fn_name = expr_to_var_sym(fn, &fn_sym);
82 fn_param = get_param_num(call->fn);
101 struct expression *fn, *tmp; local
107 fn = strip_expr(call->fn);
108 tmp = get_assigned_expr(fn);
110 fn = tmp;
111 if (fn->type != EXPR_DEREF || !fn
143 check_passes_fn_and_data(struct expression *call, struct expression *fn, char *key, char *value) argument
[all...]
H A Dcheck_bogus_irqrestore.c22 static void match_irqrestore(const char *fn, struct expression *expr, void *data) argument
30 sm_error("calling '%s()' with bogus flags", fn);
H A Dcheck_wait_for_common.c22 static void match_wait_for_common(const char *fn, struct expression *expr, void *unused) argument
29 sm_error("'%s()' returns negative and '%s' is unsigned", fn, name);
H A Dsparse-llvm.c24 LLVMValueRef fn; member in struct:function
369 static LLVMValueRef pseudo_to_value(struct function *fn, struct symbol *ctype, pseudo_t pseudo) argument
378 result = get_sym_value(fn->module, pseudo->sym);
384 result = LLVMGetParam(fn->fn, pseudo->nr - 1);
403 static LLVMValueRef pseudo_to_rvalue(struct function *fn, struct symbol *ctype, pseudo_t pseudo) argument
405 LLVMValueRef val = pseudo_to_value(fn, ctype, pseudo);
410 return LLVMBuildBitCast(fn->builder, val, dtype, name);
413 static LLVMValueRef value_to_ivalue(struct function *fn, struct symbol *ctype, LLVMValueRef val) argument
420 val = LLVMBuildPtrToInt(fn
428 value_to_pvalue(struct function *fn, struct symbol *ctype, LLVMValueRef val) argument
447 adjust_type(struct function *fn, struct symbol *ctype, LLVMValueRef val) argument
460 get_operand(struct function *fn, struct symbol *ctype, pseudo_t pseudo) argument
471 get_ioperand(struct function *fn, struct symbol *ctype, pseudo_t pseudo) argument
534 output_op_binary(struct function *fn, struct instruction *insn) argument
619 output_op_compare(struct function *fn, struct instruction *insn) argument
672 output_op_ret(struct function *fn, struct instruction *insn) argument
683 calc_memop_addr(struct function *fn, struct instruction *insn) argument
705 output_op_load(struct function *fn, struct instruction *insn) argument
719 output_op_store(struct function *fn, struct instruction *insn) argument
731 bool_value(struct function *fn, LLVMValueRef value) argument
739 output_op_cbr(struct function *fn, struct instruction *br) argument
749 output_op_br(struct function *fn, struct instruction *br) argument
754 output_op_sel(struct function *fn, struct instruction *insn) argument
769 output_op_switch(struct function *fn, struct instruction *insn) argument
797 output_op_call(struct function *fn, struct instruction *insn) argument
827 output_op_phisrc(struct function *fn, struct instruction *insn) argument
850 output_op_phi(struct function *fn, struct instruction *insn) argument
862 output_op_ptrcast(struct function *fn, struct instruction *insn) argument
900 output_op_cast(struct function *fn, struct instruction *insn, LLVMOpcode op) argument
934 output_op_fpcast(struct function *fn, struct instruction *insn) argument
961 output_op_setval(struct function *fn, struct instruction *insn) argument
977 output_op_setfval(struct function *fn, struct instruction *insn) argument
986 output_insn(struct function *fn, struct instruction *insn) argument
1118 output_bb(struct function *fn, struct basic_block *bb) argument
[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:__anon4329
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)
/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...]

Completed in 305 milliseconds

1234567891011>>