Home
last modified time | relevance | path

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

12345678910>>...17

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c85 if (fn && *fn) in krb5_rc_io_creat()
89 d->fn = strdup(*fn); in krb5_rc_io_creat()
97 (void) strcat(d->fn, *fn); in krb5_rc_io_creat()
115 c = d->fn + strlen(d->fn); in krb5_rc_io_creat()
132 (void) strcpy(*fn, d->fn + dirlen); in krb5_rc_io_creat()
158 d->fn ? d->fn : "<null>", in krb5_rc_io_creat()
168 d->fn ? d->fn : "<null>", in krb5_rc_io_creat()
209 d->fn = strdup(fn); in krb5_rc_io_open_internal()
217 (void) strcat(d->fn, fn); in krb5_rc_io_open_internal()
403 fn = new1->fn; in krb5_rc_io_move()
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Dfn.h38 struct fn *fn_new(const char *s);
39 struct fn *fn_dup(struct fn *fnp);
40 struct fn *fn_dirname(struct fn *fnp);
42 int fn_getn(struct fn *fnp);
45 void fn_free(struct fn *fnp);
49 void fn_putfn(struct fn *fnp, struct fn *srcfnp);
50 void fn_rewind(struct fn *fnp);
51 int fn_getc(struct fn *fnp);
52 int fn_peekc(struct fn *fnp);
53 char *fn_s(struct fn *fnp);
[all …]
H A Dfn.c56 struct fn { struct
79 struct fn *
82 struct fn *fnp = MALLOC(sizeof (struct fn)); in fn_new()
114 struct fn *
128 struct fn *
132 struct fn *ret; in fn_dirname()
266 fn_putfn(struct fn *fnp, struct fn *srcfnp) in fn_putfn()
367 struct fn *fnp; in fn_list_dup()
382 struct fn *fnp; in fn_list_free()
426 struct fn *
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsparse-llvm.c24 LLVMValueRef fn; member
384 result = LLVMGetParam(fn->fn, pseudo->nr - 1); in pseudo_to_value()
759 src1 = bool_value(fn, pseudo_to_value(fn, NULL, insn->src1)); in output_op_sel()
968 target = LLVMBlockAddress(fn->fn, val->symbol->bb_target->priv); in output_op_setval()
990 output_op_ret(fn, insn); in output_insn()
993 output_op_br(fn, insn); in output_insn()
996 output_op_cbr(fn, insn); in output_insn()
1017 output_op_phi(fn, insn); in output_insn()
1020 output_op_load(fn, insn); in output_insn()
1061 output_op_sel(fn, insn); in output_insn()
[all …]
H A Dsmatch_fn_arg_link.c101 struct expression *fn, *tmp; in print_call_is_linked() local
107 fn = strip_expr(call->fn); in print_call_is_linked()
108 tmp = get_assigned_expr(fn); in print_call_is_linked()
110 fn = tmp; in print_call_is_linked()
111 if (fn->type != EXPR_DEREF || !fn->member) in print_call_is_linked()
114 fn_sym = expr_to_sym(fn); in print_call_is_linked()
155 type = get_type(fn); in check_passes_fn_and_data()
161 tmp = get_assigned_expr(fn); in check_passes_fn_and_data()
163 fn = tmp; in check_passes_fn_and_data()
175 fn_param = get_param_num(fn); in check_passes_fn_and_data()
[all …]
H A Dsmatch_hooks.c31 void *fn; member
87 void *fn; member
100 container->fn = func; in add_hook()
109 container->fn = func; in add_merge_hook()
117 container->fn = func; in add_unmatched_state_hook()
138 ((sym_func *)fn)((struct symbol *)data); in pass_sym_to_client()
153 pass_expr_to_client(container->fn, data); in __pass_to_client()
156 pass_stmt_to_client(container->fn, data); in __pass_to_client()
159 pass_sym_to_client(container->fn, data); in __pass_to_client()
255 new->fn = fn; in add_scope_hook()
[all …]
H A Dcheck_debug.c34 static void match_all_values(const char *fn, struct expression *expr, void *info) in match_all_values() argument
43 static void match_cur_stree(const char *fn, struct expression *expr, void *info) in match_cur_stree() argument
48 static void match_state(const char *fn, struct expression *expr, void *info) in match_state() argument
78 static void match_states(const char *fn, struct expression *expr, void *info) in match_states() argument
105 sm_error("the argument to %s is supposed to be a string literal", fn); in match_print_value()
360 sm_error("the argument to %s is supposed to be a string literal", fn); in match_possible()
424 sm_error("the argument to %s is supposed to be a string literal", fn); in match_note()
541 match_print_implied(fn, expr, NULL); in match_about()
542 match_buf_size(fn, expr, NULL); in match_about()
543 match_strlen(fn, expr, NULL); in match_about()
[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;
57 return x / (-fn);
59 return x * fn;
61 if (rintl(fn) != fn)
62 return (fn - fn) / (fn - fn);
63 if (fn > 65000.0L)
65 else if (-fn > 65000.0L)
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dscalbl.c41 scalbl(long double x, long double fn) { in scalbl() argument
42 int *py = (int *) &fn, n; in scalbl()
45 if (isnanl(x) || isnanl(fn)) in scalbl()
46 return (x * fn); in scalbl()
53 return (x / (-fn)); in scalbl()
55 return (x * fn); in scalbl()
57 if (rintl(fn) != fn) in scalbl()
58 return ((fn - fn) / (fn - fn)); in scalbl()
59 if (fn > 65000.0L) in scalbl()
61 else if (-fn > 65000.0L) in scalbl()
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dinetboot.c94 char *fn; in post_mountroot_nfs() local
98 fn = NULL; in post_mountroot_nfs()
106 (void) strncpy(tmpname, fn, strlen(fn)+1); in post_mountroot_nfs()
107 fn = tmpname; in post_mountroot_nfs()
114 fn = tmpname; in post_mountroot_nfs()
124 if (fn != NULL) { in post_mountroot_nfs()
125 fd = openfile(fn); in post_mountroot_nfs()
129 fn = tmpname; in post_mountroot_nfs()
130 fd = openfile(fn); in post_mountroot_nfs()
134 fn = tmpname; in post_mountroot_nfs()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Deio.c97 ewrmsg(type, str, fn) in ewrmsg() argument
99 int fn;
114 erdmsg(str, fn) in erdmsg() argument
130 ewrdata(fp1, fn) in ewrdata() argument
132 int fn;
202 erddata(fn, fp2) in erddata() argument
335 trdmsg(str, fn) in trdmsg() argument
367 twrdata(fp1, fn) in twrdata() argument
369 int fn;
416 trddata(fn, fp2) in trddata() argument
[all …]
H A Dfio.c172 int fn;
191 frdmsg(str, fn) in frdmsg() argument
193 int fn;
222 fwrdata(fp1, fn) in fwrdata() argument
224 int fn;
264 frddata(fn, fp2) in frddata() argument
265 int fn; in frddata()
310 frdbuf(blk, len, fn) in frdbuf() argument
313 int fn;
344 int fn; in fwrblk()
[all …]
H A Ddio.c106 dwrmsg(type, str, fn) in dwrmsg() argument
108 int fn;
133 drdmsg(str, fn) in drdmsg() argument
166 dwrdata(fp1, fn) in dwrdata() argument
179 ret = (*Write)(fn, bufr, (unsigned) len);
188 (*Ioctl)(fn, DIOCXCTL, dkeof);
190 ret = (*Write)(fn, bufr, (unsigned) 0);
204 drddata(fn, fp2) in drddata() argument
216 len = drdblk(bufr, XBUFSIZ, fn);
241 drdblk(blk, len, fn) in drdblk() argument
[all …]
H A Dxio.c81 xwrmsg(type, str, fn) in xwrmsg() argument
83 int fn;
96 (void) (*Write)(fn, bufr, strlen(bufr) + 1);
109 xrdmsg(str, fn) in xrdmsg() argument
119 if( (len = (*Read)(fn, str, XBUFSIZ)) == 0)
143 xwrdata(fp1, fn) in xwrdata() argument
156 ret = (*Write)(fn, bufr, len);
163 ret = (*Write)(fn, bufr, 0);
177 xrddata(fn, fp2) in xrddata() argument
189 len = xrdblk(bufr, XBUFSIZ, fn);
[all …]
H A Dconn.c84 int nf, fn; local
93 if (fn < 0)
115 close(fn);
121 return(fn);
574 int nf, fn;
618 expect(str, fn) in expect() argument
620 int fn;
670 int fn;
778 int fn;
993 int fn; in wrchr()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dfunction-ptr-xtype.c11 int foo(void *fn, int arg1, int arg2);
12 int foo(void *fn, int arg1, int arg2) in foo() argument
16 res += ((binop_t)fn)(arg1, arg2); in foo()
17 res += ((unop_t)fn)(arg1); in foo()
18 res += ((ldef_t)fn)(); in foo()
19 res += ((idef_t)fn)(); in foo()
20 ((use_t)fn)(res); in foo()
24 int bar(int (*fn)(int), int arg1, int arg2);
25 int bar(int (*fn)(int), int arg1, int arg2) in bar()
29 res += ((binop_t)fn)(arg1, arg2); in bar()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c280 fz = tz = (*fn < *tn) ? *fn : *tn; in _win_iconv()
286 un = *fn; in _win_iconv()
296 fz = *fn; in _win_iconv()
352 fz = *fn; in _win_iconv()
400 *fn -= fz; in _win_iconv()
1315 n = *fn; in _ast_iconv()
1327 *fn -= n; in _ast_iconv()
1470 fn = n; in _ast_iconv_move()
1479 fn = fo; in _ast_iconv_move()
1517 fn--; in _ast_iconv_move()
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dscalb.c35 scalb(double x, double fn) { in scalb() argument
39 if (isnan(x) || isnan(fn)) in scalb()
40 return (x * fn); in scalb()
42 in = ((int *)&fn)[HIWORD]; in scalb()
45 return (_SVID_libm_err(x, fn, 47)); in scalb()
53 return ((fn == 0.0)? x : (x - x) / (x - x)); in scalb()
57 | ((int *)&fn)[LOWORD]) in scalb()
59 n = (int)fn; in scalb()
61 if (((int *)&fn)[LOWORD] & ((1 << (0x433 - (hn >> 20))) - 1)) in scalb()
68 return (_SVID_libm_err(x, fn, 33)); in scalb()
[all …]
H A D__rem_pio2.c65 double w, t, r, fn; in __rem_pio2() local
95 fn = (double)n; in __rem_pio2()
96 r = t - fn * pio2_1; in __rem_pio2()
105 w = fn * pio2_2; in __rem_pio2()
107 w = fn * pio2_2t - ((t - r) - w); in __rem_pio2()
110 r -= fn * pio2_2; in __rem_pio2()
111 w = fn * pio2_2t; in __rem_pio2()
118 w = fn * pio2_3; in __rem_pio2()
120 w = fn * pio2_3t - in __rem_pio2()
128 r -= fn * pio2_3; in __rem_pio2()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dbase64.c78 if (fn) in base64encode()
79 *fn = fp; in base64encode()
95 if (fn) in base64encode()
124 if (fn) in base64encode()
125 *fn = fp; in base64encode()
151 if (fn) in base64encode()
152 *fn = fp; in base64encode()
262 if (fn) in base64decode()
277 if (fn) in base64decode()
288 if (fn) in base64decode()
[all …]
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c50 char *fn = PCIDR_PLUGIN_SYMSTR; in PCIDR_PLUGIN_PROTO() local
63 dprint(DWARN, "%s: invalid or missing attributes\n", fn); in PCIDR_PLUGIN_PROTO()
78 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str); in PCIDR_PLUGIN_PROTO()
91 "found for the APID \"%s\"\n", fn, dr.dr_ap_id); in PCIDR_PLUGIN_PROTO()
100 "matching \"%s\"\n", fn, dr.dr_ap_id); in PCIDR_PLUGIN_PROTO()
109 dprint(DINFO, "%s: disconnecting ...\n", fn, apid); in PCIDR_PLUGIN_PROTO()
113 dprint(DINFO, "%s: disconnect FAILED\n", fn); in PCIDR_PLUGIN_PROTO()
117 dprint(DINFO, "%s: disconnect OK\n", fn); in PCIDR_PLUGIN_PROTO()
123 dprint(DINFO, "%s: configuring ...\n", fn, apid); in PCIDR_PLUGIN_PROTO()
127 dprint(DINFO, "%s: configure FAILED\n", fn); in PCIDR_PLUGIN_PROTO()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c251 printstatus(char *fn) in printstatus() argument
264 perror(fn); in printstatus()
276 perror(fn); in printstatus()
346 flushfs(char *fn) in flushfs() argument
352 perror(fn); in flushfs()
358 perror(fn); in flushfs()
370 lockfs(char *fn) in lockfs() argument
377 perror(fn); in lockfs()
386 perror(fn); in lockfs()
394 LOCKWARN(fn, "hard"); in lockfs()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c84 int nf, fn = FAIL; in conn() local
90 fn = getto(flds); in conn()
92 if (fn < 0) in conn()
103 fd_rmlock(fn); in conn()
104 (void) close(fn); in conn()
111 return (fn); in conn()
389 ok = expect(want, fn); in chat()
422 expect(char *str, int fn) in expect() argument
470 expect_str(char *str, int fn) in expect_str() argument
589 (*genbrk)(fn); in sendthem()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c47 char *fn;
73 fn = fbuf;
86 if (stat(fn, st) < 0)
188 char *dir = fn;
395 char *fn; in safedirpath()
420 if (*fn == '\0')
421 fn = "/";
682 char *fn; in safeopen()
765 fn);
789 char *fn; in safefopen()
[all …]
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_bench.c75 int fn, ncols; in run_gen_bench_impl() local
81 for (fn = 0; fn < RAIDZ_GEN_NUM; fn++) { in run_gen_bench_impl()
85 ncols = rto_opts.rto_dcols + fn + 1; in run_gen_bench_impl()
88 BENCH_ASHIFT, ncols, fn+1); in run_gen_bench_impl()
105 raidz_gen_name[fn], in run_gen_bench_impl()
138 int fn, ncols, nbad; in run_rec_bench_impl() local
152 for (fn = 0; fn < RAIDZ_REC_NUM; fn++) { in run_rec_bench_impl()
180 vdev_raidz_reconstruct(rm_bench, tgt[fn], nbad); in run_rec_bench_impl()
189 raidz_rec_name[fn], in run_rec_bench_impl()

12345678910>>...17