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

1234

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c102 if (asprintf(&d->fn, "%s%skrb5_RCXXXXXX",
104 d->fn = NULL;
107 d->fd = mkstemp(d->fn);
126 d->fn, strerror(errno));
136 "with umask 077 "), d->fn);
148 rc_map_errno (krb5_context context, int e, const char *fn, argument
170 operation, fn, strerror(e));
185 krb5_rc_io_creat(krb5_context context, krb5_rc_iostuff *d, char **fn) argument
194 if (fn && *fn) {
250 krb5_rc_io_open_internal(krb5_context context, krb5_rc_iostuff *d, char *fn, char* full_pathname) argument
356 krb5_rc_io_open(krb5_context context, krb5_rc_iostuff *d, char *fn) argument
[all...]
H A Drc_io.h24 char *fn; member in struct:krb5_rc_iostuff
/osnet-11/usr/src/lib/libast/common/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
78 if (fn)
79 *fn = fp;
95 if (fn)
96 *fn = fp;
124 if (fn)
125 *fn = fp;
151 if (fn)
152 *fn = fp;
162 base64decode(const void* fb, size_t fz, void** fn, voi argument
[all...]
H A Dstrsort.c24 * strsort - sort an array pointers using fn
26 * fn follows strcmp(3) conventions
37 strsort(char** argv, int n, int(*fn)(const char*, const char*))
52 if ((*fn)(ap[m], ap[0]) >= 0) break;
/osnet-11/usr/src/lib/libnsl/dial/
H A Dconn.c84 int nf, fn = FAIL; local
90 fn = getto(flds);
91 CDEBUG(4, "getto ret %d\n", fn);
92 if (fn < 0)
95 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn, "", "") ==
98 return (fn); /* successful return */
102 DEBUG(6, "close caller (%d)\n", fn);
103 fd_rmlock(fn);
104 (void) close(fn);
111 return (fn);
377 chat(int nf, char *flds[], int fn, char *phstr1, char *phstr2) argument
422 expect(char *str, int fn) argument
470 expect_str(char *str, int fn) argument
577 sendthem(char *str, int fn, char *phstr1, char *phstr2) argument
712 wrstr(int fn, char *buf, int len, int echocheck) argument
744 wrchr(int fn, char *buf, int len) argument
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dftw.c57 ftw(const char *path, int (*fn)(), int depth) argument
59 return (_xftw(_XFTWVER, path, fn, depth));
H A Ddeflt.c89 * defopen(fn)
90 * char *fn
92 * If 'fn' is non-null; it is a full pathname of a file
94 * If 'fn' is null the defopen file is closed.
102 defopen(char *fn) argument
106 return (defopen_common(fn, thr_data));
112 * defopen_r(const char *fn)
114 * 'fn' is a full pathname of a file which becomes the one read
129 defopen_r(const char *fn) argument
134 if (defopen_common(fn, thr_dat
144 defopen_common(const char *fn, struct thr_data *thr_data) argument
[all...]
H A D_xftw.c32 * int _xftw(path, fn, depth) char *path; int (*fn)(); int depth;
38 * For each object visited, fn is called with three arguments.
39 * (*fn) (pathname, statp, ftwflag)
54 * the directory cannot be read, fn will not be
63 * directory. The stat buffer passed to fn will
69 * If fn returns nonzero, _xftw stops and returns the same value
128 int (*fn)(const char *, const struct stat *, int), int depth)
135 rc = fwalk(path, fn, depth, &var);
143 fwalk(const char *path, int (*fn)(cons
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Diconv.c66 #define RETURN(e,n,fn) \
67 if (*fn && !e) e = E2BIG; \
260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
280 fz = tz = (*fn < *tn) ? *fn : *tn;
286 un = *fn;
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
296 fz = *fn;
307 pz = *fn / 2;
308 fz = *fn
531 utf2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
605 bin2utf(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
715 ume2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
791 bin2ume(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
865 ucs2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
910 bin2ucs(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
956 scu2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1001 bin2scu(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1235 _ast_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1342 _ast_iconv_write(_ast_iconv_t cd, Sfio_t* op, char** fb, size_t* fn, Iconv_disc_t* disc) argument
1445 size_t fn; local
[all...]
/osnet-11/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
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Dinterp.c38 void (*fn)(fcode_env_t *env);
59 fn = (void (*)(fcode_env_t *)) target;
60 if (do_exec_debug(env, (void *)fn))
67 fn(env);
H A Dtracing.c100 do_fclib_trace(fcode_env_t *env, void *fn) argument
106 if (dladdr((void *) fn, &dlip)) {
110 offset = ((char *) fn) - ((char *) address);
121 log_message(MSG_FC_DEBUG, "do_fclib_trace: <Unknown> %p\n", fn);
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c147 char *fn = fullName; local
157 if (c == '.' || (c == '\\')) *fn++ = '\\'; // escape dot and backslash literals
160 *fn++ = '\\';
161 *fn++ = (char) ('0' + (c / 100));
162 *fn++ = (char) ('0' + (c / 10) % 10);
165 *fn++ = (char)c;
167 *fn++ = '.';
175 while(*r) *fn++ = *r++;
176 if (!DomainEndsInDot(regtype)) *fn++ = '.';
179 while(*d) *fn
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddir.c613 FILE_NAME_ATTR *fn = &ie->key.file_name; local
624 if (NVolInterix(vol) && fn->file_attributes & FILE_ATTR_SYSTEM)
629 return filldir(dirent, fn->file_name, fn->file_name_length,
630 fn->file_name_type, *pos,
656 FILE_NAME_ATTR *fn; local
680 fn = (FILE_NAME_ATTR*)((u8*)ctx->attr +
682 if ((u8*)fn + le32_to_cpu(ctx->attr->u.res.value_length) >
688 mref = le64_to_cpu(fn->parent_directory);
1098 FILE_NAME_ATTR *fn local
1449 FILE_NAME_ATTR *fn = NULL; local
1693 FILE_NAME_ATTR *fn = NULL; local
[all...]
/osnet-11/usr/src/lib/libpctx/common/
H A Dlibpctx.c75 pctx_default_errfn(const char *fn, const char *fmt, va_list ap) argument
77 (void) fprintf(stderr, "libpctx: pctx_%s: ", fn);
83 pctx_error(pctx_t *pctx, const char *fn, const char *fmt, ...) argument
88 pctx->errfn(fn, fmt, ap);
103 static const char fn[] = "create"; local
116 pctx_error(pctx, fn, gettext("cannot trace set-id or "
120 pctx_error(pctx, fn, gettext("cannot control LP64 "
124 pctx_error(pctx, fn, gettext("cannot execute "
128 pctx_error(pctx, fn, gettext("cannot find"
132 pctx_error(pctx, fn, gettex
168 static const char fn[] = "capture"; local
253 static const char fn[] = "set_events"; local
525 static const char fn[] = "run"; local
[all...]
/osnet-11/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c96 picbits(const char *fn, argument
105 __cpc_error(fn, gettext("missing '%s' value\n"),
110 __cpc_error(fn, gettext("%%pic%d cannot measure "
120 bitclr(const char *fn, argument
124 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token);
133 bitset(const char *fn, argument
137 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token);
206 static const char fn[] = "strtoevent"; local
249 if (kv->kv_action(fn, kv, cpuver, value, bits) != 0) {
256 __cpc_error(fn,
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_vstafs.c120 char *fn, ch; local
139 fn = dirname;
140 while ((ch = *fn) && ch != '/' && ! isspace (ch)) fn++;
141 *fn = 0;
168 *(dirname = fn) = ch;
/osnet-11/usr/src/lib/libcpc/common/
H A Dobsoleted.c63 const char *fn = "__cpc_init"; local
68 __cpc_error(fn, dgettext(TEXT_DOMAIN,
177 const char fn[] = "access"; local
187 __cpc_error(fn, dgettext(TEXT_DOMAIN, "Another process may be "
191 __cpc_error(fn,
196 __cpc_error(fn, "%s\n", strerror(errno));
366 __cpc_error(const char *fn, const char *fmt, ...) argument
372 __cpc_uerrfn(fn, fmt, ap);
374 (void) fprintf(stderr, "libcpc: %s: ", fn);
/osnet-11/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c308 char *p, *q, *first, *fn, *long_name, dir[2], tname[TERM_NAMES_LENGTH]; local
370 fn = m_pathcat(dir, q);
371 if (fn == NULL) {
379 if (0 <= stat(fn, &sb) && start_time <= sb.st_mtime) {
383 if (access(fn, W_OK) == -1 && errno != ENOENT) {
384 err_abort(m_strmsg(write_err), fn); local
386 (void) unlink(fn);
387 if (link(first, fn) < 0) {
388 if ((fp = fopen(fn, "w")) == NULL)
389 err_abort(m_strmsg(fail_open), fn); local
392 err_abort(m_strmsg(write_err), fn); local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c410 pci_bridge_declare(topo_mod_t *mod, tnode_t *fn, di_node_t din, int board, argument
419 err = pci_children_instantiate(mod, fn, din, board, bridge,
422 err = pci_children_instantiate(mod, fn, din, board, bridge,
433 tnode_t *fn; local
448 fn = pciexfn_declare(mod, *dev, din, fnno);
450 fn = pcifn_declare(mod, *dev, din, fnno);
452 if (fn == NULL) {
461 topo_node_unbind(fn);
473 (void) pci_bridge_declare(mod, fn, din, board, bridge, rc,
500 (void) topo_mod_enummap(mod, fn,
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dtimers.c176 Handler_t fn = *(Handler_t*)handle; local
178 (*fn)(SIGALRM);
185 Handler_t fn; local
203 fn = (Handler_t)signal(SIGALRM,sigalrm);
204 if((t= setalarm(t))>0 && fn && fn!=(Handler_t)sigalrm)
209 *hp = fn;
H A Dio.c1026 static Sfoff_t file_offset(Shell_t *shp, int fn, char *fname) argument
1035 VALIDATE_FD(shp, fn);
1037 sp = shp->sftable[fn];
1040 endf.fd = fn;
1133 int trunc=0, clexec=0, fn, traceon; local
1146 fn = (iof&IOUFD);
1147 if(fn==1 && shp->subshell && !shp->subshare && (flag==2 || isstring))
1206 fn = nv_getnum(np);
1208 if (!VALIDATE_FD(shp, fn))
1257 shp->subdup |= 1<<fn;
[all...]
/osnet-11/usr/src/lib/libcpc/i386/
H A Devent_pentium.c109 eightbits(const char *fn, argument
116 __cpc_error(fn, gettext("missing '%s' value\n"),
122 __cpc_error(fn, gettext("bad '%s' value\n"), kv->kv_token);
130 picbits(const char *fn, argument
139 __cpc_error(fn, gettext("missing '%s' value\n"),
149 __cpc_error(fn, gettext(
156 __cpc_error(fn, gettext(
169 bitclr(const char *fn, argument
173 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token);
182 bitset(const char *fn, argument
194 nextpair(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
370 static const char fn[] = "strtoevent"; local
[all...]
/osnet-11/usr/src/lib/efcode/upa/
H A Dupa.c48 int dev, fn, len; local
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Text/TabsWrap/t/
H A Dtabs.t111 $fn = 'expand';
114 $fn = 'unexpand';
129 print "\$\n------------ $fn -----------\n";

Completed in 315 milliseconds

1234