Searched defs:fptr (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/cmd/mail/
H A Ddoopen.c41 FILE *fptr; local
45 (fptr = fopen(file, type)) == NULL) {
54 return(fptr);
/illumos-gate/usr/src/tools/smatch/src/validation/expand/
H A Dbuiltin-expect.c31 void *fptr(void *a) function
80 fptr:
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcap_machelf.c39 Conv_fmt_flags_t fmt_flags, elfcap_to_str_func_t *fptr)
57 if ((*fptr)(ELFCAP_STYLE_UC, val, str, len, ELFCAP_FMT_SNGSPACE,
38 conv_cap(Xword val, char *str, size_t len, Half mach, Conv_fmt_flags_t fmt_flags, elfcap_to_str_func_t *fptr) argument
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c54 FILE *fptr=NULL; local
87 if ((fptr = fopen(file, "rF")) == NULL) {
95 while (fgets(line, RECORDLEN, fptr) != NULL) {
113 (void) fclose (fptr);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Derrors.c30 static const char *(KRB5_CALLCONV *fptr)(long); /* = &error_message */ variable
95 if (fptr == NULL) {
131 r = (char *) fptr(code);
166 fptr = f;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Ddebug.c58 FILE *fptr; /* File to send debug output */ member in struct:__anon1752
73 (void) fclose(dbg_ofile.fptr);
75 dbg_ofile.fptr = stderr;
109 FILE *fptr = fopen(ofile, MSG_ORIG(MSG_DBG_FOPEN_MODE)); local
110 if (fptr == NULL) {
118 dbg_ofile.fptr = fptr;
207 dbg_ofile.fptr);
209 (void) fputs(MSG_INTL(MSG_DBG_DFLT_FMT), dbg_ofile.fptr);
228 (void) vfprintf(dbg_ofile.fptr, forma
[all...]
H A Dsupport.c67 void *handle, *fptr; local
83 if ((fptr = dlsym(handle, support[interface].sup_name)) == NULL)
93 version = ((uint_t(*)())fptr)(LD_SUP_VCURRENT);
129 fl.fl_fptr = fptr;
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dseq.c219 typedef OM_uint32 (*fptr)(OM_uint32 *, gss_ctx_id_t, void *); typedef
222 static fptr __context_debug_entry_array[] = {
235 fptr *entrys;
237 sizeof (__context_debug_entry_array)/sizeof (fptr),
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c124 * mapped in (fptr == load()) and then once again to dldump(3x) the mapped
125 * objects (fptr == dump()).
128 scanconfig(Addr addr, int (*fptr)()) argument
160 if ((*fptr)(str, strtbl + obj->co_alter) != 0)
170 if (fptr == load) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c270 ql_fcache_t *fptr = ha->fcache; local
273 while ((fptr != NULL) && (types != 0)) {
275 if ((fptr = ql_get_fbuf(ha->fcache, types)) != NULL) {
277 switch (fptr->type) {
281 "%s fcode: %s;", orv, fptr->verstr);
286 "%s BIOS: %s;", orv, fptr->verstr);
291 "%s EFI: %s;", orv, fptr->verstr);
295 fptr->type);
298 types &= ~(fptr->type);
/illumos-gate/usr/src/cmd/format/
H A Dmenu_defect.c544 FILE *fptr; local
572 if ((fptr = fopen(str, "w+")) == NULL) {
580 (void) fprintf(fptr, "0x%08x%8d 0x%08x\n",
589 (void) fprintf(fptr, "%4d%8d%7d%8d%8d%8d\n",
597 (void) fclose(fptr);
619 FILE *fptr; local
661 if ((fptr = fopen(filename, "r")) == NULL) {
669 items = fscanf(fptr, "0x%x%d 0x%x\n", &magicno,
711 items = fscanf(fptr, "%*d%hd%hd%d%hd%hd\n", &dptr->cyl,
742 (void) fclose(fptr);
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c61 cmdfunc_t fptr = NULL; local
84 fptr = p->func;
88 if (fptr == NULL) {
95 ret = fptr(hContext, hTPM, argc, argv);
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c69 FILE *fptr; local
90 if ((fptr = fopen(pw_file, "r")) == NULL) {
95 if (fstat(fileno(fptr), &stat_buf) < 0) {
98 (void) fclose(fptr);
104 (void) fclose(fptr);
108 while (fgets(buf, sizeof (buf), fptr) != NULL) {
217 (void) fclose(fptr);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c117 * fptr and rptr are two pointers into the state info, a front and a rear
127 long *fptr, *rptr; member in struct:_randomjunk
217 rp->fptr = &rp->state[rp->rand_sep];
342 rp->fptr = &rp->state[(rear + rp->rand_sep) % rp->rand_deg];
375 *rp->fptr += *rp->rptr;
376 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */
377 if (++rp->fptr >= rp->end_ptr) {
378 rp->fptr = rp->state;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c134 * fptr and rptr are two pointers into the state info, a front and a rear
144 unsigned int *fptr, *rptr; member in struct:_randomjunk
336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ];
370 *rp->fptr += *rp->rptr;
371 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */
372 if (++rp->fptr >= rp->end_ptr) {
373 rp->fptr = rp->state;
410 rp->fptr = &rp->state[ rp->rand_sep ];
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c246 ARFILE *fptr; local
249 for (fptr = getfile(cmd_info); fptr; fptr = getfile(cmd_info)) {
250 if (match(fptr->ar_longname, cmd_info) != NULL) {
260 mesg('d', fptr->ar_longname, cmd_info);
273 mesg('u', fptr->ar_longname, cmd_info);
274 backptr = fptr;
514 ARFILE *fptr; local
520 for (fptr
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dconvutf8.c68 const char *fptr; local
96 fptr = src;
99 ret = iconv(cd, &fptr, &ileft, &tptr, &oleft);
106 if (fptr == NULL) /* already in initial state */
108 fptr = NULL;
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c179 static long int *fptr = &randtbl[SEP_3 + 1]; variable
219 fptr = &state[rand_sep];
336 fptr = &state[(rear + rand_sep) % rand_deg];
366 *fptr += *rptr;
368 i = (*fptr >> 1) & LONG_MAX;
369 ++fptr;
370 if (fptr >= end_ptr)
372 fptr = state;
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c55 (void) fprintf(fptr, "\n"); \
111 FILE *defptr; /* default file - fptr */
225 dispusrdef(FILE *fptr, unsigned flags, char *usertype) argument
233 outcount += fprintf(fptr, "group=%s,%ld ",
239 outcount += fprintf(fptr, "project=%s,%ld ",
245 outcount += fprintf(fptr, "basedir=%s ", deflts->defparent);
250 outcount += fprintf(fptr, "rid=%ld ", deflts->defrid);
255 outcount += fprintf(fptr, "skel=%s ", deflts->defskel);
260 outcount += fprintf(fptr, "shell=%s ", deflts->defshell);
265 outcount += fprintf(fptr, "inactiv
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c214 fake_elf64(struct ps_prochandle *P, file_info_t *fptr, uintptr_t addr, argument
218 fake_elf32(struct ps_prochandle *P, file_info_t *fptr, uintptr_t addr,
728 fptr->file_elfmem = elfdata;
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c65 FILE *fptr; variable
126 if ((fptr = fopen(argv[1], "r")) == NULL) {
156 while (!feof(fptr) && !ferror(fptr)) {
159 while (fgets(buf_off, (bufsize - buf_len), fptr) != NULL) {
161 if (buf[buf_len - 1] == '\n' || feof(fptr))
/illumos-gate/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c61 struct use_item *fptr, *bptr; member in struct:use_item
78 * | ----+-->| ----+-->| NULL | fptr
138 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr)
142 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s",
143 ptr, ptr->offset, ptr->bptr, ptr->fptr, line);
197 use_list.tail->fptr = item;
198 item->fptr = NULL;
204 item->fptr = item->bptr = NULL;
219 if (ptr->fptr == NULL)
222 (ptr->fptr)
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A D_elfedit.h174 FILE *fptr; /* Output file */ member in struct:__anon1509::__anon1514
/illumos-gate/usr/src/cmd/tic/
H A Dtic_parse.c115 struct use_item *fptr, *bptr; member in struct:use_item
136 * | ----+-->| ----+-->| NULL | fptr
202 ptr = ptr->fptr) {
224 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
241 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
244 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s",
245 ptr, ptr->offset, ptr->bptr, ptr->fptr, line);
437 use_list.tail->fptr = item;
438 item->fptr = NULL;
442 item->fptr
[all...]
/illumos-gate/usr/src/cmd/csplit/
H A Dcsplit.c345 * flag is set, getfile positions the file pointer(fptr) at the end of
346 * the file name prefix on the first call(fptr=0). The file counter is
356 static char *fptr; local
364 if (fptr == 0)
365 for (fptr = file; *fptr != '\0'; fptr++)
367 (void) sprintf(fptr, "%.*d", fiwidth, ctr++);
370 if (strlen(fptr) > fiwidth) {
399 (void) sprintf(fptr, "
[all...]

Completed in 226 milliseconds

123