/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | scr_reset.c | 98 if (fread((char *)&magic, sizeof (short), 1, filep) != 1) in scr_reset() 104 if (fread((char *)&ttytime, sizeof (time_t), 1, filep) != 1) in scr_reset() 129 (fread((char *)&magic, sizeof (int), 1, filep) != 1)) in scr_reset() 147 if ((fread((char *)&labmax, sizeof (short), 1, filep) != 1) || in scr_reset() 148 (fread((char *)&lablen, sizeof (short), 1, filep) != 1)) { in scr_reset() 164 if ((fread(slk->_ldis[i], sizeof (char), in scr_reset() 166 (fread(slk->_lval[i], in scr_reset() 181 if (fread((char *)&magic, sizeof (int), 1, filep) != 1) in scr_reset() 197 if ((fread((char *)&colors, sizeof (int), 1, filep) != 1) || in scr_reset() 198 (fread((char *)&color_pairs, sizeof (int), 1, in scr_reset() [all …]
|
H A D | getwin.c | 63 if ((fread((char *) win_nums, sizeof (short), SEPARATE_READ, filep) != in getwin() 75 if (fread(&(win->_flags), 1, nelt, filep) != nelt) in getwin() 86 if (fread((char *) *wcp++, sizeof (chtype), maxx, filep) != in getwin()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | inv5.c | 35 fread(&n, sizeof (n), 1, fa); in recopy() 36 fread(&iflong, sizeof (iflong), 1, fa); in recopy() 39 n = fread(hpt_l, sizeof (*hpt_l), n, fa); in recopy() 42 n = fread(hpt_s, sizeof (*hpt_s), n, fa); in recopy()
|
H A D | hunt1.c | 175 fread(&nhash, sizeof (nhash), 1, fa); in main() 176 fread(&iflong, sizeof (iflong), 1, fa); in main() 181 kk = fread(hpt, sizeof (*hpt), nhash, fa); in main() 189 frtbl = fread(hfreq, sizeof (*hfreq), nhash, fa); in main()
|
H A D | glue1.c | 161 fread(&nhash, sizeof (nhash), 1, fa); in huntmain() 162 fread(&iflong, sizeof (iflong), 1, fa); in huntmain() 190 fread(hpt, sizeof (*hpt), nhash, fa); in huntmain() 201 frtbl = fread(hfreq, sizeof (*hfreq), nhash, fa); in huntmain()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | ar.cc | 284 if (fread(mag_port, AR_PORT_MAGIC_LENGTH, 1, arp->fd) != 1) { in open_archive() 328 if (fread(buffer, sizeof buffer, 1, arp->fd) != 1) { in open_archive() 411 if (fread((char *) &arp->arf_5, sizeof arp->arf_5, 1, arp->fd) in read_archive_dir() 457 if ((fread((char *) &arp->ar_port, in read_archive_dir() 596 if (fread(*long_names_table, table_size, 1, arp->fd) != 1) { in process_long_names_member() 651 if (fread((char *) &arp->ars_5, in translate_entry() 663 (fread((char *) &arp->arf_5, in translate_entry() 685 if (fread((char *) offs, in translate_entry() 699 if (fread(syms, in translate_entry() 718 if ((fread((char *) &arp->ar_port, in translate_entry() [all …]
|
/illumos-gate/usr/src/cmd/acpi/iasl/ |
H A D | aslascii.c | 217 while (fread (&Byte, 1, 1, Handle) == 1) in FlIsFileAsciiSource() 330 while (fread (&Byte, 1, 1, Handle) == 1) in FlConsumeAnsiComment() 387 while (fread (&Byte, 1, 1, Handle) == 1) in FlConsumeNewComment()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | eftread.c | 95 if (fread(&hdr, 1, sizeof (hdr), fp) < sizeof (hdr)) { in eftread_fopen() 133 if (fread(idbuf, 1, rsz, fp) != rsz) in eftread_fopen() 150 if ((cc = fread(dbuf, 1, hdr.dictlen, fp)) != hdr.dictlen) in eftread_fopen() 169 while ((cc = fread(buf, 1, BUFLEN, fp)) > 0) { in eftread_fopen()
|
H A D | eftwrite.c | 143 while ((cc = fread(buf, 1, BUFLEN, tfp)) > 0) { in eftwrite() 172 while ((cc = fread(buf, 1, BUFLEN, tfp)) > 0) { in eftwrite()
|
/illumos-gate/usr/src/test/libc-tests/tests/stdio/ |
H A D | fmemopentest.c | 72 len = fread(buffer, 1, sizeof(buffer) - 1, s2); in simpletest() 107 len = fread(buffer, 1, sizeof(buffer) - 1, s1); in updatetest() 154 len = fread(buffer, 1, sizeof(buffer) - 1, s1); in writetest()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 418 #define READ_TOKEN_INFO_STR(fp, rec, reclen) rc = fread(rec, reclen, 1, fp); \ 421 #define READ_TOKEN_INFO_UINT32(fp, rec) rc = fread(&fieldval, \ 904 (void) fread(&size, sizeof (UINT32), 1, fp2); in load_public_token_objects() 905 (void) fread(&priv, sizeof (CK_BBOOL), 1, fp2); in load_public_token_objects() 920 (void) fread(buf, size, 1, fp2); in load_public_token_objects() 982 (void) fread(&size, sizeof (UINT32), 1, fp2); in load_private_token_objects() 983 (void) fread(&priv, sizeof (CK_BBOOL), 1, fp2); in load_private_token_objects() 996 rc = fread((char *)buf, size, 1, fp2); in load_private_token_objects() 1136 (void) fread(&size, sizeof (UINT32), 1, fp); in reload_token_object() 1137 (void) fread(&priv, sizeof (CK_BBOOL), 1, fp); in reload_token_object() [all …]
|
/illumos-gate/usr/src/cmd/acpi/common/ |
H A D | acfileio.c | 398 Count = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File); in AcGetOneTableFromFile() 440 Count = fread (Table, 1, TableHeader.Length, File); in AcGetOneTableFromFile() 500 while (fread (&Byte, 1, 1, File) == 1) in AcIsFileBinary() 557 Actual = fread (&TableHeader, 1, sizeof (ACPI_TABLE_HEADER), File); in AcValidateTableHeader()
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashcheck.c | 88 (void) fread((char *)hindex, sizeof (*hindex), NI, stdin); in main() 90 (void) fread((char *)table, sizeof (*table), hindex[NI-1], stdin); in main()
|
H A D | hashlook.c | 134 fread((char *)hindex, sizeof (*hindex), NI, f) != NI || in prime() 136 fread((char *)table, sizeof (*table), hindex[NI-1], f) != in prime()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 103 if (!fread((char *)&(pdesc->header), sizeof (pdesc->header), in PWOpen() 126 if (fread(pdesc->hwms, 1, sizeof (pdesc->hwms), wfp) != in PWOpen() 260 if (!fread((char *)&datum, sizeof (datum), 1, pwp->ifp)) { in GetPW() 268 if (!fread(buffer, 1, sizeof (buffer), pwp->dfp)) { in GetPW()
|
/illumos-gate/usr/src/tools/lintdump/ |
H A D | lintdump.c | 122 for (mod = 1; fread(&hdr, sizeof (hdr), 1, fp) == 1; mod++) { in main() 190 if (fread(&rec, sizeof (rec), 1, fp) != 1) in print_pass() 227 if (fread(args, sizeof (atype), nargs, fp) != nargs) in print_pass() 272 if (fread(&atype, sizeof (atype), 1, fp) != 1) { in print_pass() 463 if (fread(&rec, sizeof (rec), 1, fp) != 1) in lsu_build()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | udpublickey.c | 86 if (! fread(key, keylen, 1, stdin)) { 93 if (! fread(data, datalen, 1, stdin)) {
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc1.c | 112 if (fread((char *)&ab, sizeof(struct acct), 1, stdin) != 1) in main() 285 if ((ret = fread((char *)&oab, sizeof(struct o_acct), 1, stdin)) == 1){ in aread() 301 ret = fread((char *)&ab, sizeof(struct acct), 1, stdin); in aread()
|
H A D | acctcms.c | 237 while (fread(&cmt, sizeof(cmt), 1, stdin) == 1) in tdofile() 240 if (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) in tdofile() 256 while (fread(&acct.oab, sizeof(acct.oab), 1, stdin) == 1) { in tdofile() 273 while (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) { in tdofile() 315 while (fread(&pcmt, sizeof(pcmt), 1, stdin) == 1) in dofile() 320 if (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) in dofile() 337 while (fread(&acct.oab, sizeof(acct.oab), 1, stdin) == 1) { in dofile() 388 while (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) { in dofile()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.c | 1391 if (fread(&rtld_arc64, in readarcs() 1410 if (fread(&rtld_arc, in readarcs() 1425 if (fread(&arc, sizeof (struct rawarc), 1, in readarcs() 1436 if (fread(&arc32, sizeof (struct rawarc32), in readarcs() 1479 (void) fread(&sample, sizeof (unsigned_UNIT), 1, pfile); in readsamples() 1506 if (fread(&prof_hdr, sizeof (ProfHeader), 1, pfile) == 0) { in handle_versioned() 1586 if (fread(&magic_num, sizeof (unsigned int), 1, pfile) == 0) { in openpfile() 1642 if (fread(&l_hdr64, sizeof (L_hdr64), 1, pfile) == 0) { in openpfile() 1666 if (fread(&l_hdr, sizeof (L_hdr), 1, pfile) == 0) { in openpfile() 1684 if (fread(&tmp, sizeof (struct hdr), 1, pfile) == 0) { in openpfile() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_stdio.c | 84 if (fread((caddr_t)lp, sizeof (int32_t), 1, in xdrstdio_getint32() 136 (fread(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1)) in xdrstdio_getbytes()
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_default.c | 234 if (fread((krb5_pointer) &enctype, 2, 1, kf) != 1) { in krb5_db_def_fetch_mkey() 246 if (fread((krb5_pointer) &key->length, in krb5_db_def_fetch_mkey() 262 if (fread((krb5_pointer) key->contents, in krb5_db_def_fetch_mkey()
|
/illumos-gate/usr/src/cmd/expand/ |
H A D | expand.c | 139 if ((len = fread(p1, 1, BUFSIZ, stdin)) <= 0) 203 if ((len = fread(p2, 1, BUFSIZ - n,
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuencode.c | 196 n = fread(iptr, 1, 45, in); in encode() 235 while ((n = fread(in_buf, 1, 51, in)) > 0) { in encode()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | copystream.c | 55 while ((nread = fread(buffer, sizeof (char), sizeof (buffer), in copystream()
|