/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vrsqrt.S | 1167 st %f0,[%fp+tmp0] 1170 ld [%fp+tmp0],%g1 1189 st %f0,[%fp+tmp0] 1192 ld [%fp+tmp0],%g1 1243 st %f8,[%fp+tmp7] 1246 ld [%fp+tmp7],%g1 1264 st %f8,[%fp+tmp7] 1267 ld [%fp+tmp7],%g1 1318 st %f0,[%fp+tmp7] 1321 ld [%fp+tmp7],%g1 [all …]
|
H A D | __vatan2.S | 133 ld [%fp+0x5c],%l7 153 std %f0,[%fp+twom3] 155 std %f4,[%fp+pio4] 164 add %fp,junk,%l6 584 add %fp,junk,%i5 599 add %fp,junk,%l6 664 st %f0,[%fp+yscl] 665 ld [%fp+yscl],%o7 666 st %f2,[%fp+xscl] 881 add %fp,junk,%i5 [all …]
|
H A D | __vsin.S | 218 add %fp,x0_1,%o4 219 add %fp,x0_1,%o5 1533 st %f3,[%fp+n0] 1574 ld [%fp+n0],%o3 1577 ld [%fp+n1],%o4 1580 ld [%fp+n2],%o5 1829 ld [%fp+n0],%o3 1832 ld [%fp+n1],%o4 1834 ld [%fp+n2],%o5 1913 add %fp,%o5,%o5 [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | admutil.c | 45 find_label(FILE *fp, char *ttylabel) in find_label() argument 51 while (fgets(buf, BUFSIZ, fp)) { in find_label() 61 if (!feof(fp)) { in find_label()
|
H A D | ttyadm.c | 236 FILE *fp; in check_label() local 242 if ((fp = fopen(TTYDEFS, "r")) == NULL) { in check_label() 247 if (find_label(fp, ttylabel)) { in check_label() 248 (void) fclose(fp); in check_label() 251 (void) fclose(fp); in check_label()
|
/illumos-gate/usr/src/cmd/tsol/tnchkdb/ |
H A D | tnchkdb.c | 273 FILE *fp; local 285 if ((fp = fopen(file, "r")) == NULL) { 295 while (fgets(line, sizeof (line), fp) != NULL) { 424 (void) fclose(fp); 434 FILE *fp; local 443 if ((fp = fopen(file, "r")) == NULL) { 456 while (fgets(line, sizeof (line), fp) != NULL) { 497 (void) fclose(fp); 576 FILE *fp; local 584 if ((fp = fopen(file, "r")) == NULL) { [all …]
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_ksndudat.c | 68 file_t *fp; in t_ksndudata() local 76 fp = tiptr->fp; in t_ksndudata() 144 unitdata->opt.len, fp->f_cred, NOPID))) { in t_ksndudata() 185 flag = fp->f_flag; in t_ksndudata()
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_plugin.c | 251 static FILE *fp = NULL; in __auditd_debug_file_open() local 253 if (fp != NULL) in __auditd_debug_file_open() 254 return (fp); in __auditd_debug_file_open() 255 if ((fp = fopen("/var/audit/dump", "aF")) == NULL) in __auditd_debug_file_open() 259 return (fp); in __auditd_debug_file_open()
|
H A D | devalloc.c | 86 FILE *fp; in da_check_logindevperm() local 133 (void) fclose(fp); in da_check_logindevperm() 138 (void) fclose(fp); in da_check_logindevperm() 985 (void) fputs("\n", fp); in _write_defattrs() 1071 (void) fprintf(fp, "%s", tok); in _write_new_defattrs() 1077 (void) fprintf(fp, "%s", tok); in _write_new_defattrs() 1126 (void) fprintf(fp, "%s", in _write_new_entry() 1132 (void) fprintf(fp, "%s", in _write_new_entry() 1143 (void) fprintf(fp, "%s\n", in _write_new_entry() 1153 (void) fprintf(fp, "%s%s\\\n", in _write_new_entry() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | sendlist.c | 60 FILE *fp; in sendlist() local 116 fp = popenvp(sendmail_prog, argv, "w", 0); in sendlist() 120 if (fp == NULL) in sendlist() 123 copylet(letnum, fp, ORDINARY); in sendlist() 124 rc = pclosevp(fp); in sendlist()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_utils.c | 62 FILE *fp; in __gss_read_qop_file() local 76 fp = fopen(QOP_NUM_FILE, "rF"); in __gss_read_qop_file() 77 if (fp == (FILE *)0) { in __gss_read_qop_file() 88 while (!feof(fp)) { in __gss_read_qop_file() 89 line = fgets(buf, BUFLEN, fp); in __gss_read_qop_file() 155 (void) fclose(fp); in __gss_read_qop_file()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.fingerd.c | 58 FILE *fp; local 129 if ((fp = fdopen(p[0], "r")) == NULL) 131 while ((i = getc(fp)) != EOF) { 136 fclose(fp);
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | elf64_freebsd.c | 71 elf64_exec(struct preloaded_file *fp) in elf64_exec() argument 79 if ((md = file_findmetadata(fp, MODINFOMD_ELFHDR)) == NULL) in elf64_exec() 83 err = bi_load64(fp->f_args, 0, &modulep, &kernend, 1); in elf64_exec() 122 elf64_obj_exec(struct preloaded_file *fp __unused) in elf64_obj_exec()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_mnt.c | 203 FILE *fp; in load_mnttab() local 216 if ((fp = fopen("/etc/mnttab", "r")) != NULL) { in load_mnttab() 220 while (getmntent(fp, &entry) == 0) { in load_mnttab() 241 (void) fclose(fp); in load_mnttab() 259 (void) fclose(fp); in load_mnttab() 269 (void) fclose(fp); in load_mnttab() 276 (void) fclose(fp); in load_mnttab()
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 701 FILE *fp; in undiv() local 721 (void) fclose(fp); in undiv() 813 FILE *fp; in xfopen() local 819 return (fp); in xfopen() 830 FILE *fp; in m4open() local 854 return (fp); in m4open() 1140 myfgetwc(FILE *fp, int idx) in myfgetwc() argument 1146 if (fp == NULL) in myfgetwc() 1147 fp = ifile[idx]; in myfgetwc() 1155 c = getc(fp); in myfgetwc() [all …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 118 FILE *fp; in __ns_ldap_self_gssapi_config() local 130 if ((fp = fopen(NSCONFIGFILE, "rF")) == NULL) in __ns_ldap_self_gssapi_config() 133 (void) fclose(fp); in __ns_ldap_self_gssapi_config() 134 if ((fp = fopen(NSCREDFILE, "rF")) == NULL) in __ns_ldap_self_gssapi_config() 137 (void) fclose(fp); in __ns_ldap_self_gssapi_config() 263 FILE *fp = NULL; in __ns_nsw_getconfig() local 267 if ((fp = fopen(fname, "rF")) == NULL) { in __ns_nsw_getconfig() 273 while (linep = fgets(lineq, BUFSIZ, fp)) { in __ns_nsw_getconfig() 296 (void) fclose(fp); in __ns_nsw_getconfig()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | trestore.c | 137 struct functnod *fp; in r_tree() local 148 fp = (struct functnod*)(slp+1); in r_tree() 149 memset(fp, 0, sizeof(*fp)); in r_tree() 150 fp->functtyp = TFUN|FAMP; in r_tree() 152 fp->functnam = stkcopy(shp->stk,shp->st.filename); in r_tree() 219 struct fornod *fp = (struct fornod*)getnode(shp->stk,fornod); in r_arg() local 220 fp->fortyp = sfgetu(infile); in r_arg() 221 fp->fortre = r_tree(shp); in r_arg() 222 fp->fornam = ap->argval+1; in r_arg() 223 ap->argchn.ap = (struct argnod*)fp; in r_arg()
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 82 static FILE *fp[3]; variable 162 if ((fp[i] = fopen(argv[i+3], "r")) == NULL) { in main() 190 if ((fp[0] = fopen(name, "r")) == NULL) { in readin() 197 for (i = 0; getchange(fp[0]); i++) { in readin() 227 (void) fclose(fp[0]); in readin() 454 if ((j = getaline(fp[i])) == 0) in skip() 481 c = getc(fp[0]); in duplicate() 482 d = getc(fp[1]); in duplicate() 501 (void) fseek(fp[i], (long)-nchar, 1); in repos() 541 (void) fseek(fp[2], (long)de[n].new.from, 0); in edscript() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_method.c | 430 topo_faclist_t faclist, *fp; in topo_method_sensor_failure() local 448 for (fp = topo_list_next(&faclist.tf_list); fp != NULL; in topo_method_sensor_failure() 449 fp = topo_list_next(fp)) { in topo_method_sensor_failure() 450 if (topo_prop_getpgrp(fp->tf_node, TOPO_PGROUP_FACILITY, in topo_method_sensor_failure() 488 fp->tf_node, in, &state); in topo_method_sensor_failure() 509 nvlist_add_nvlist(nvl, topo_node_name(fp->tf_node), in topo_method_sensor_failure() 529 while ((fp = topo_list_next(&faclist.tf_list)) != NULL) { in topo_method_sensor_failure() 530 topo_list_delete(&faclist.tf_list, fp); in topo_method_sensor_failure() 531 topo_mod_free(mod, fp, sizeof (topo_faclist_t)); in topo_method_sensor_failure()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 170 struct file_entry *fp; in getfilentry() local 184 fp = (struct file_entry *)bp->b_un.b_buf; in getfilentry() 185 err = verifytag(&fp->fe_tag, block, &fp->fe_tag, UD_FILE_ENTRY); in getfilentry() 188 "tag=%d\n"), tagerrs[err], fp->fe_tag.tag_id); in getfilentry() 198 struct file_entry *fp; in putfilentry() local 201 fp = (struct file_entry *)bp->b_un.b_buf; in putfilentry() 202 maketag(&fp->fe_tag, &fp->fe_tag); in putfilentry() 235 getaline(FILE *fp, char *loc, int32_t maxlen) in getaline() argument 242 while ((n = getc(fp)) != '\n') { in getaline()
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetipnodes.c | 39 puthostent(const struct hostent *hp, FILE *fp) in puthostent() argument 75 if (fprintf(fp, "%s\t%s", res, hp->h_name) == EOF) in puthostent() 78 if (fprintf(fp, " %s", *q) == EOF) in puthostent() 81 if (putc('\n', fp) == EOF) in puthostent()
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 889 FILE *fp; in output_one_mo_file() local 911 fp = fopen(fname, "w"); in output_one_mo_file() 912 if (fp == NULL) { in output_one_mo_file() 955 (void) fwrite(&i, sizeof (int), 1, fp); in output_one_mo_file() 956 (void) fwrite(&message_count, sizeof (int), 1, fp); in output_one_mo_file() 958 (void) fwrite(&string_count_msg, sizeof (int), 1, fp); in output_one_mo_file() 960 (void) fwrite(&i, sizeof (int), 1, fp); in output_one_mo_file() 966 (void) fwrite(&less[i], sizeof (int), 1, fp); in output_one_mo_file() 967 (void) fwrite(&more[i], sizeof (int), 1, fp); in output_one_mo_file() 977 (void) fwrite(p->msgid, strlen(p->msgid)+1, 1, fp); in output_one_mo_file() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | setadmin.c | 126 FILE *fp; in setadminFile() local 151 if ((fp = fopen(path, "r")) == NULL) { in setadminFile() 157 while (value = fpkgparam(fp, param)) { in setadminFile() 178 (void) fclose(fp); in setadminFile()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 260 FILE *fp; in smb_pwd_getpwnam() local 272 if ((fp = fopen(SMB_PASSWD, "rF")) == NULL) { in smb_pwd_getpwnam() 287 (void) fclose(fp); in smb_pwd_getpwnam() 311 FILE *fp; in smb_pwd_getpwuid() local 323 if ((fp = fopen(SMB_PASSWD, "rF")) == NULL) { in smb_pwd_getpwuid() 338 (void) fclose(fp); in smb_pwd_getpwuid() 625 if (fgets(pwentry, SMB_PWD_BUFSIZE, fp) == NULL) in smb_pwd_fgetent() 733 smb_pwd_fputent(FILE *fp, const smb_pwbuf_t *pwbuf) in smb_pwd_fputent() argument 1016 FILE *fp; in smb_lucache_do_update() local 1023 if ((fp = fopen(SMB_PASSWD, "rF")) == NULL) { in smb_lucache_do_update() [all …]
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 110 FILE *fp; /* pipe read stream */ in wordexp() local 301 if ((fp = fdopen(pv[0], "rF")) == NULL) { in wordexp() 316 (void) fclose(fp); in wordexp() 323 flockfile(fp); in wordexp() 324 while ((i = getc_unlocked(fp)) != EOF) { in wordexp() 345 funlockfile(fp); in wordexp() 350 (void) fclose(fp); /* kill shell if still writing */ in wordexp()
|