Home
last modified time | relevance | path

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

12345678910>>...12

/titanic_52/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) in krb5_rc_io_creat() argument
85 if (fn && *fn) in krb5_rc_io_creat()
88 if (*fn[0] == '/') { in krb5_rc_io_creat()
89 d->fn = strdup(*fn); in krb5_rc_io_creat()
90 if (d->fn == NULL) in krb5_rc_io_creat()
93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1))) in krb5_rc_io_creat()
95 (void) strcpy(d->fn, di in krb5_rc_io_creat()
196 krb5_rc_io_open_internal(krb5_context context,krb5_rc_iostuff * d,char * fn,char * full_pathname) krb5_rc_io_open_internal() argument
331 krb5_rc_io_open(krb5_context context,krb5_rc_iostuff * d,char * fn) krb5_rc_io_open() argument
[all...]
/titanic_52/usr/src/tools/ctf/cvt/
H A Dfifo.c62 fifonode_t *fn = xmalloc(sizeof (fifonode_t)); in fifo_add() local
64 fn->fn_data = data; in fifo_add()
65 fn->fn_next = NULL; in fifo_add()
68 f->f_head = f->f_tail = fn; in fifo_add()
70 f->f_tail->fn_next = fn; in fifo_add()
71 f->f_tail = fn; in fifo_add()
79 fifonode_t *fn; in fifo_remove() local
82 if ((fn = f->f_head) == NULL) in fifo_remove()
85 data = fn->fn_data; in fifo_remove()
86 if ((f->f_head = fn in fifo_remove()
105 fifonode_t *fn = f->f_head; fifo_free() local
125 fifonode_t *fn; fifo_len() local
142 fifonode_t *fn; fifo_iter() local
[all...]
/titanic_52/usr/src/cmd/logadm/
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 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 */ argument
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 *
57 fn_buffn global() argument
58 fn_buflastfn global() argument
59 fn_rptrfn global() argument
60 fn_wptrfn global() argument
62 fn_stbuffn global() argument
63 fn_nfn global() argument
[all...]
H A Dglob.c49 * on a filename to the "n" value kept by the fn routines with each
50 * filename (see fn_setn() in fn.c). logadm uses this mechanism to
59 * struct (see fn_setstat() in fn.c).
77 #include "fn.h"
81 static struct fn_list *glob_debrace(struct fn *fnp);
83 static boolean_t glob_magic(struct fn *fnp);
87 glob_debrace(struct fn *fnp) in glob_debrace()
139 glob_magic(struct fn *fnp) in glob_magic()
159 glob_glob(struct fn *fnp) in glob_glob()
163 struct fn *nextfn in glob_glob()
[all...]
/titanic_52/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...]
/titanic_52/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()
49 * fn is inf or NaN in scalbl()
53 return (x / (-fn)); in scalbl()
55 return (x * fn); in scalbl()
57 if (rintl(fn) != fn) in scalbl()
58 return ((fn in scalbl()
[all...]
/titanic_52/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()
102 fn = (cmd_line_boot_archive[0] != '\0') ? in post_mountroot_nfs()
106 (void) strncpy(tmpname, fn, strlen(fn)+1); in post_mountroot_nfs()
107 fn = tmpname; in post_mountroot_nfs()
109 printf("Enter filename [%s]: ", fn); 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()
[all...]
/titanic_52/usr/src/cmd/bnu/
H A Deio.c91 * fn -> link file descriptor
97 ewrmsg(type, str, fn) in ewrmsg() argument
99 int fn;
102 return(etwrmsg(type, str, fn, 0));
108 * fn -> file descriptor
114 erdmsg(str, fn) in erdmsg() argument
117 return(etrdmsg(str, fn, 0));
124 * fn -> link descriptor
130 ewrdata(fp1, fn) in ewrdata() argument
132 int fn;
202 erddata(fn,fp2) erddata() argument
294 erdblk(blk,len,fn) erdblk() argument
335 trdmsg(str,fn) trdmsg() argument
351 twrmsg(type,str,fn) twrmsg() argument
367 twrdata(fp1,fn) twrdata() argument
416 trddata(fn,fp2) trddata() argument
460 etrdmsg(str,fn,i) etrdmsg() argument
526 etwrmsg(type,str,fn,len) etwrmsg() argument
[all...]
H A Dfio.c170 fwrmsg(type, str, fn) in fwrmsg() argument
172 int fn;
186 (void) write(fn, bufr, s - bufr);
191 frdmsg(str, fn) in frdmsg() argument
193 int fn;
202 if (read(fn, str, 1) <= 0)
222 fwrdata(fp1, fn) in fwrdata() argument
224 int fn;
237 alen = fwrblk(fn, fp1, &flen);
244 if (frdmsg(ibuf, fn) !
264 frddata(fn,fp2) frddata() argument
310 frdbuf(blk,len,fn) frdbuf() argument
343 fwrblk(fn,fp,lenp) fwrblk() argument
430 frdblk(ip,fn,rlen) frdblk() argument
[all...]
H A Ddio.c100 * fn -> Datakit file descriptor
106 dwrmsg(type, str, fn) in dwrmsg() argument
108 int fn;
121 return((*Write)(fn, bufr, (unsigned) strlen(bufr) + 1) < 0 ? FAIL : SUCCESS);
127 * fn -> Datakit file descriptor
133 drdmsg(str, fn) in drdmsg() argument
144 if( (len = (*Read)(fn, str, XBUFSIZ)) <= 0) {
160 * fn -> Datakit descriptor
166 dwrdata(fp1, fn) in dwrdata() argument
179 ret = (*Write)(fn, buf
204 drddata(fn,fp2) drddata() argument
241 drdblk(blk,len,fn) drdblk() argument
[all...]
H A Dxio.c76 * fn -> x.25 file descriptor
81 xwrmsg(type, str, fn) in xwrmsg() argument
83 int fn;
96 (void) (*Write)(fn, bufr, strlen(bufr) + 1);
103 * fn -> x.25 file descriptor
109 xrdmsg(str, fn) in xrdmsg() argument
119 if( (len = (*Read)(fn, str, XBUFSIZ)) == 0)
137 * fn -> x.25 descriptor
143 xwrdata(fp1, fn) in xwrdata() argument
156 ret = (*Write)(fn, buf
177 xrddata(fn,fp2) xrddata() argument
214 xrdblk(blk,len,fn) xrdblk() argument
[all...]
H A Dconn.c88 int nf, fn; local
95 fn = getto(flds);
96 CDEBUG(4, "getto ret %d\n", fn);
97 if (fn < 0)
107 ioctl(fn, TIOCSPGRP, &pgrp);
111 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn,"","") == SUCCESS) {
113 return(fn); /* successful return */
117 DEBUG(6, "close caller (%d)\n", fn);
118 fd_rmlock(fn);
119 close(fn);
576 chat(nf,flds,fn,phstr1,phstr2) chat() argument
622 expect(str,fn) expect() argument
672 expect_str(str,fn) expect_str() argument
780 sendthem(str,fn,phstr1,phstr2) sendthem() argument
963 wrstr(fn,buf,len,echocheck) wrstr() argument
996 wrchr(fn,buf,len) wrchr() argument
1318 int fn = FAIL; global() local
[all...]
/titanic_52/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()
44 if (hn == 0x7ff00000) /* fn is inf */ in scalb()
45 return (_SVID_libm_err(x, fn, 47)); in scalb()
47 /* see if fn is an integer without raising inexact */ in scalb()
49 /* |fn| >= 2^52, so it must be an integer */ in scalb()
52 /* |fn| < 1, so it must be zero or non-integer */ in scalb()
53 return ((fn 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()
98 w = fn * pio2_1t; /* 1st round good to 85 bit */ in __rem_pio2()
104 t = r; /* r-fn*pio2_2 may not be exact */ 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_ in __rem_pio2()
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c66 #define RETURN(e,n,fn) \ argument
67 if (*fn && !e) e = E2BIG; \
260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) in _win_iconv() argument
280 fz = tz = (*fn < *tn) ? *fn : *tn; in _win_iconv()
286 un = *fn; in _win_iconv()
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn) in _win_iconv()
296 fz = *fn; in _win_iconv()
307 pz = *fn / 2; in _win_iconv()
308 fz = *fn in _win_iconv()
531 utf2bin(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) utf2bin() argument
605 bin2utf(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) bin2utf() argument
715 ume2bin(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) ume2bin() argument
791 bin2ume(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) bin2ume() argument
865 ucs2bin(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) ucs2bin() argument
910 bin2ucs(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) bin2ucs() argument
956 scu2bin(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) scu2bin() argument
1001 bin2scu(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) bin2scu() argument
1235 _ast_iconv(_ast_iconv_t cd,char ** fb,size_t * fn,char ** tb,size_t * tn) _ast_iconv() argument
1342 _ast_iconv_write(_ast_iconv_t cd,Sfio_t * op,char ** fb,size_t * fn,Iconv_disc_t * disc) _ast_iconv_write() argument
1445 size_t fn; _ast_iconv_move() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) in base64encode() argument
78 if (fn) in base64encode()
79 *fn = fp; in base64encode()
95 if (fn) in base64encode()
96 *fn = fp; in base64encode()
124 if (fn) in base64encode()
125 *fn = fp; in base64encode()
151 if (fn) in base64encode()
152 *fn = fp; in base64encode()
162 base64decode(const void* fb, size_t fz, void** fn, voi argument
[all...]
/titanic_52/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()
103 dprint(DINFO, "===========================================\n", fn); 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, api in PCIDR_PLUGIN_PROTO()
[all...]
/titanic_52/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c240 printstatusline(char *fn, char *locktype, char *comment) in printstatusline() argument
244 printf("%-20s %-10s %s\n", fn, locktype, comment); in printstatusline()
251 printstatus(char *fn) in printstatus() argument
259 fd = open64(fn, O_RDONLY); in printstatus()
262 printstatusline(fn, "EIO", "May be hard locked"); in printstatus()
264 perror(fn); in printstatus()
276 perror(fn); in printstatus()
335 printstatusline(fn, locktype, lf.lf_comment); in printstatus()
337 LOCKWARN(fn, locktype); in printstatus()
346 flushfs(char *fn) in flushfs() argument
370 lockfs(char * fn) lockfs() argument
[all...]
/titanic_52/usr/src/lib/libnsl/dial/
H A Dconn.c84 int nf, fn = FAIL; in conn() local
90 fn = getto(flds); in conn()
91 CDEBUG(4, "getto ret %d\n", fn); in conn()
92 if (fn < 0) in conn()
95 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn, "", "") == in conn()
98 return (fn); /* successful return */ in conn()
102 DEBUG(6, "close caller (%d)\n", fn); in conn()
103 fd_rmlock(fn); in conn()
104 (void) close(fn); in conn()
111 return (fn); in conn()
377 chat(int nf,char * flds[],int fn,char * phstr1,char * phstr2) chat() argument
422 expect(char * str,int fn) expect() argument
470 expect_str(char * str,int fn) expect_str() argument
577 sendthem(char * str,int fn,char * phstr1,char * phstr2) sendthem() argument
712 wrstr(int fn,char * buf,int len,int echocheck) wrstr() argument
744 wrchr(int fn,char * buf,int len) wrchr() argument
[all...]
/titanic_52/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c25 ** fn -- filename to check.
38 ** 0 if fn exists, is owned by uid, and matches mode.
46 safefile(fn, uid, gid, user, flags, mode, st)
47 char *fn;
65 fn, (int) uid, (int) gid, flags, mode);
67 if (sm_strlcpy(fbuf, fn, sizeof fbuf) >= sizeof fbuf)
73 fn = fbuf;
83 if ((bitset(SFF_NOSLINK, flags) ? lstat(fn, st)
84 : stat(fn, st)) < 0)
86 if (stat(fn, s
394 safedirpath(fn,uid,gid,user,flags,level,offset) safedirpath() argument
681 safeopen(fn,omode,cmode,sff) safeopen() argument
788 safefopen(fn,omode,cmode,sff) safefopen() argument
864 filechanged(fn,fd,stb) filechanged() argument
[all...]
/titanic_52/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c111 char *fn = fullName; in DNSServiceConstructFullName() local
128 if (fn+4 >= lim) goto fail; in DNSServiceConstructFullName()
129 *fn++ = '\\'; in DNSServiceConstructFullName()
130 *fn++ = '0' + (c / 100); in DNSServiceConstructFullName()
131 *fn++ = '0' + (c / 10) % 10; in DNSServiceConstructFullName()
136 if (fn+2 >= lim) goto fail; in DNSServiceConstructFullName()
137 *fn++ = '\\'; in DNSServiceConstructFullName()
140 if (fn+1 >= lim) goto fail; in DNSServiceConstructFullName()
141 *fn++ = (char)c; in DNSServiceConstructFullName()
143 *fn in DNSServiceConstructFullName()
[all...]
/titanic_52/usr/src/cmd/svc/startd/
H A Dfile.c54 char *fn; in file_ready() local
63 fn = file_fmri + sizeof ("file://") - 1; in file_ready()
66 fn = file_fmri + sizeof ("file://localhost") - 1; in file_ready()
69 fn = file_fmri + sizeof ("file://") - 1; in file_ready()
74 if ((fn = strchr(fn, '/')) == NULL) in file_ready()
82 r = stat(fn, &sbuf); in file_ready()
/titanic_52/usr/src/lib/libpctx/common/
H A Dlibpctx.c75 pctx_default_errfn(const char *fn, const char *fmt, va_list ap) in pctx_default_errfn() argument
77 (void) fprintf(stderr, "libpctx: pctx_%s: ", fn); in pctx_default_errfn()
83 pctx_error(pctx_t *pctx, const char *fn, const char *fmt, ...) in pctx_error() argument
88 pctx->errfn(fn, fmt, ap); in pctx_error()
103 static const char fn[] = "create"; in pctx_create() local
116 pctx_error(pctx, fn, gettext("cannot trace set-id or " in pctx_create()
120 pctx_error(pctx, fn, gettext("cannot control LP64 " in pctx_create()
124 pctx_error(pctx, fn, gettext("cannot execute " in pctx_create()
128 pctx_error(pctx, fn, gettext("cannot find" in pctx_create()
132 pctx_error(pctx, fn, gettex in pctx_create()
168 static const char fn[] = "capture"; pctx_capture() local
253 static const char fn[] = "set_events"; pctx_set_events() local
525 static const char fn[] = "run"; pctx_run() local
[all...]
/titanic_52/usr/src/lib/libtecla/common/
H A Dhash.h48 #define SYM_DEL_FN(fn) void *(fn)(void *app_data, int code, void *sym_data) argument
60 #define HASH_DEL_FN(fn) void *(fn)(void *app_data) argument
89 void (*fn)(void); /* Application supplied generic function */ member
138 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn));
155 #define HASH_SCAN_FN(fn) int (fn)(Symbol *sym, void *context) argument

12345678910>>...12