Searched refs:fp (Results 451 - 475 of 1284) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c367 FILE *fp, *nfp; local
391 if ((fp = fopen(CONSCONFIG, "r")) != NULL) {
392 while (fgets(buf, MAXPATHLEN, fp) != NULL) {
410 (void) fclose(fp);
422 FILE *fp, *nfp; local
432 if ((fp = fopen(CONSCONFIG, "r")) == NULL) {
454 while (fgets(value, MAXPATHLEN, fp) != NULL) {
468 (void) fclose(fp);
571 FILE *fp; local
601 if ((fp
617 FILE *fp; local
843 FILE *fp; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c359 static int getstr(fp, s, n)
360 FILE *fp;
365 while (fread(s, 1, 1, fp) > 0 && --count)
389 FILE *fp; local
396 fp = fopen(name, "r");
397 if (!fp)
409 if (!(getstr(fp, sname, SNAME_SZ) > 0 &&
410 getstr(fp, sinst, INST_SZ) > 0 &&
411 getstr(fp, srealm, REALM_SZ) > 0 &&
412 fread(&kvno, 1, 1, fp) >
480 FILE *fp; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c195 set_ctf_id(mdb_ctf_id_t *p, ctf_file_t *fp, ctf_id_t id) argument
199 mcip->mci_fp = fp;
212 ctf_file_t *fp; local
215 if ((fp = mdb_tgt_name_to_ctf(tnp->tn_tgt, name)) != NULL &&
216 (id = ctf_lookup_by_name(fp, tnp->tn_name)) != CTF_ERR) {
217 tnp->tn_fp = fp;
226 return (ctf_type_kind(fp, id) == CTF_K_FORWARD ? 0 : -1);
241 ctf_file_t *fp = NULL; local
271 if (((fp = mdb_tgt_name_to_ctf(t, object)) == NULL ||
272 (id = ctf_lookup_by_name(fp, nam
320 ctf_file_t *fp = NULL; local
341 ctf_file_t *fp = NULL; local
410 ctf_file_t *fp; local
433 ctf_file_t *fp = NULL; local
478 ctf_file_t *fp; local
798 ctf_file_t *fp; local
2127 ctf_file_t *fp, *syn = mdb.m_synth; local
2168 ctf_file_t *fp = mdb.m_synth; local
[all...]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vlogf.S275 st %i0,[%fp+tmp0]
276 stx %i1,[%fp+tmp5]
298 ld [%fp+tmp0],counter
299 ldx [%fp+tmp5],x0
300 st %g0,[%fp+tmp0]
334 st iy0,[%fp+tmp1] ! (Y0_0) (double) iy
358 st iy1,[%fp+tmp3] ! (Y1_0) (double) iy
360 st iy2,[%fp+tmp2] ! (Y2_0) (double) iy
365 ld [%fp+tmp1],%f2 ! (Y0_0) (double) iy
370 ld [%fp
[all...]
H A D__vrhypotf.S294 ldx [%fp+STACK_BIAS+176],stridez
296 ld [%fp+STACK_BIAS+92],stridez
299 stx %i1,[%fp+tmp_px]
302 stx %i3,[%fp+tmp_py]
305 st %i0,[%fp+tmp_counter]
327 ld [%fp+tmp_counter],counter
328 ldx [%fp+tmp_px],%o4
329 ldx [%fp+tmp_py],%i2
330 st %g0,[%fp+tmp_counter]
377 st %f20,[%fp
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c1393 file_info_t *fp; local
1399 (fp = mp->map_file) == NULL) {
1404 if (fp->file_symtab.sym_data_pri != NULL) {
1468 fp->file_symtab.sym_elf = elf_memory((char *)b, size);
1469 if (fp->file_symtab.sym_elf == NULL) {
1474 fp->file_symtab.sym_elfmem = b;
1532 fp->file_symtab.sym_elf = elf_memory((char *)b, size);
1533 if (fp->file_symtab.sym_elf == NULL) {
1538 fp->file_symtab.sym_elfmem = b;
1542 if ((scn = elf_getscn(fp
1960 file_info_t *fp; local
2729 file_info_t *fp; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c271 FILE *fp; local
327 if ((fp = fopen(pbuf, "rF")) == NULL) {
335 if (fstat(fileno(fp), &sbuf)) {
336 fclose(fp);
341 fclose(fp);
347 while (!isok && (fgets(linebuf, BUFSIZ, fp) != NULL)) {
363 while (((gobble = getc(fp)) != EOF) && gobble != '\n');
366 fclose(fp);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dalarm.c163 *fp)
165 register struct tevent *tp = (struct tevent*)fp;
171 return(nv_setdisc(np, event, action, fp));
183 static void putval(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
197 nv_putv(np,val,flag,fp);
199 tp = (struct tevent*)fp;
203 nv_putv(np,(char*)&x,NV_INTEGER,fp);
220 free((void*)fp);
162 setdisc(Namval_t *np, const char *event, Namval_t* action, Namfun_t *fp) argument
H A Dshiocmd_solaris.c190 Shfield_t *fp = ftable; local
199 for(i=0; i < nelem; i++,fp++)
201 if(memcmp(fp->name,name,n)==0 && fp->name[n]==0)
202 return(fp);
224 static Namval_t *sh_newnode(register Shfield_t *fp, Namval_t *np) argument
226 char *val = np->nvalue + fp->offset;
230 sfprintf(stkstd,"%s.%s\0",name,fp->name);
233 if(fp->size<0)
235 nv_putval(nq,val,fp
245 Shfield_t *fp = sh_findfield(sp->fields,sp->nelem,name); local
262 Shfield_t *fp = sp->fields; local
[all...]
/illumos-gate/usr/src/lib/libwanbootutil/common/
H A Dkey_util.c181 * This routine is used to search a key file (whose handle, fp, has been
198 wbku_find_key(FILE *fp, fpos_t *ppos, wbku_key_attr_t *ka, uint8_t *ekey, argument
210 rewind(fp);
216 xdrstdio_create(&xdrs, fp, XDR_DECODE);
233 for (keyno = 0; !feof(fp); keyno++) {
239 if (fgetpos(fp, &pos) != 0) {
294 wbku_write_key(FILE *fp, const fpos_t *ppos, const wbku_key_attr_t *ka, argument
303 if (fsetpos(fp, ppos) != 0) {
311 xdrstdio_create(&xdrs, fp, XDR_ENCODE);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgetdate.c68 FILE *fp; local
90 if ((fp = fopen(datemsk, "r")) == NULL) {
111 while ((line = fgets(buf, sizeof (buf), fp)) != NULL) {
121 (void) fclose(fp);
133 if (errno != 0 || ferror(fp)) {
138 (void) fclose(fp);
141 if (feof(fp) || (rp != NULL && *rp != '\0')) {
145 (void) fclose(fp);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dsiglongjmp.c51 greg_t fp = bp->sjs_fp; local
82 * Copy the fp and i7 values into the register window save area.
94 sp->fr_savfp = (struct frame *)fp;
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dsiglongjmp.c48 greg_t fp = bp->sjs_fp; local
81 * Copy the fp and i7 values into the register window save area.
93 sp->fr_savfp = (struct frame *)fp;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dpids.c59 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) argument
65 if (!(s = fp->t_str) || streq(s, "pid"))
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/
H A DMakefile21 # lib/cfgadm_plugins/fp/Makefile
42 XGETFLAGS= -a -x fp.xcl
43 POFILE= fp.po
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.br.s68 stb %g0, [%fp - 4]
71 sub %fp, 4, %o0
/illumos-gate/usr/src/cmd/saf/
H A Dreadtab.c56 FILE *fp; /* scratch file pointer */ local
75 fp = fopen(SACTAB, "r");
76 if (fp == NULL)
90 while (sp = read_entry(fp))
93 (void) fclose(fp);
100 * args: fp - file pointer referencing _sactab
104 read_entry(fp)
105 FILE *fp;
116 if (fgets(buf, SIZE, fp) == NULL)
/illumos-gate/usr/src/cmd/getent/
H A Ddogetethers.c40 putethers(const char *hostname, const struct ether_addr *e, FILE *fp) argument
45 if (fprintf(fp, "%-20s %s\n", hostname, ether_ntoa(e)) == EOF)
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dmemscrub_asm.s68 rd %fprs, %o2 ! get the status of fp
69 wr %g0, FPRS_FEF, %fprs ! enable fp
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dprintlist.c87 printlist(FILE *fp, char **list) argument
89 return (fdprintlist(fileno(fp), list));
/illumos-gate/usr/src/boot/lib/libstand/sparc64/
H A D_setjmp.S67 stx %fp, [%o0 + _JB_FP]
77 1: cmp %fp, %g3
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c141 FILE *fp; /* Pointer to current file */ local
153 if ((fp = fopen(scan, "r")) == NULL) {
158 process(fp);
159 (void) fclose(fp);
327 FILE *fp; /* File pointer */ local
555 if ((fp = fopen(filep, "r")) == NULL) {
560 (void) readline(fp, work);
561 (void) fclose(fp);
636 readline(FILE *fp, char *area) /* Read one line from the file. */ argument
637 /* fp
691 process(FILE *fp) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y427 FILE *fp = NULL;
440 fp = fopen(filename, "r");
441 if (!fp) {
447 fp = stdin;
449 while (ippool_parsesome(fd, fp, iocfunc) == 1)
451 if (fp != NULL)
452 fclose(fp);
457 int ippool_parsesome(fd, fp, iocfunc)
459 FILE *fp;
467 if (feof(fp))
[all...]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c175 FILE *fp; local
180 if ((fp = fopen(file, "r")) == NULL) {
188 while (rhentp = tsol_fgetrhent(fp, &error)) {
198 (void) fclose(fp);
218 (void) fclose(fp);
405 FILE *fp; local
409 if ((fp = fopen(file, "r")) == NULL) {
418 while (fgets(line, sizeof (line), fp) != NULL) {
442 (void) fclose(fp);
465 FILE *fp; local
[all...]
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c54 file_info_t *fp; local
57 if (mp == NULL || (fp = mp->map_file) == NULL ||
58 fp->file_plt_base == 0 || pltaddr < fp->file_plt_base ||
59 pltaddr >= fp->file_plt_base + fp->file_plt_size) {
68 pltoff = pltaddr - fp->file_plt_base;
70 i = (pltaddr - fp->file_plt_base -
83 r_addr = fp->file_jmp_rel + i * sizeof (Elf64_Rela);
86 (i = ELF64_R_SYM(r.r_info)) < fp
345 prgreg_t fp; local
[all...]

Completed in 241 milliseconds

<<11121314151617181920>>