Home
last modified time | relevance | path

Searched refs:fseek (Results 1 – 25 of 178) sorted by relevance

12345678

/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dopen_memstreamtest.c75 if (fseek(fp, OFFSET, SEEK_SET) != 0) { in main()
96 if (fseek(fp, 0, SEEK_SET) != 0) { in main()
135 if (fseek(fp, 100, SEEK_END) != 0) { in main()
151 if (fseek(fp, -1, SEEK_END) != 0) { in main()
156 if (fseek(fp, 8, SEEK_SET) != 0) { in main()
167 if (fseek(fp, -1, SEEK_CUR) != 0) { in main()
177 if (fseek(fp, 5, SEEK_CUR) != 0) { in main()
H A Dfmemopentest.c66 (void) fseek(s2, 0, SEEK_SET); in simpletest()
101 (void) fseek(s1, 0, SEEK_SET); in updatetest()
187 if (fseek(s1, 8, SEEK_SET) != 0) { in seektest()
198 if (fseek(s1, -1, SEEK_CUR) != 0) { in seektest()
H A Dorientation_test.c147 TEST_UNCHANGED(fseek(f, 1, SEEK_CUR)); in main()
148 TEST_UNCHANGED(fseek(f, 1, SEEK_SET)); in main()
149 TEST_UNCHANGED(fseek(f, 1, SEEK_END)); in main()
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Dassemble.c949 (void) fseek(fp, 0, SEEK_SET); in output()
953 (void) fseek(fp, info_header->str_sec.place.itm_ptr, SEEK_SET); in output()
961 (void) fseek(fp, info_header->direc_tbl_sec.place.itm_ptr, SEEK_SET); in output()
969 (void) fseek(fp, info_header->cond_tbl_sec.place.itm_ptr, SEEK_SET); in output()
977 (void) fseek(fp, info_header->map_tbl_sec.place.itm_ptr, SEEK_SET); in output()
985 (void) fseek(fp, info_header->op_tbl_sec.place.itm_ptr, SEEK_SET); in output()
993 (void) fseek(fp, info_header->range_tbl_sec.place.itm_ptr, SEEK_SET); in output()
1001 (void) fseek(fp, info_header->escapeseq_tbl_sec.place.itm_ptr, in output()
1011 (void) fseek(fp, info_header->data_sec.place.itm_ptr, SEEK_SET); in output()
1030 (void) fseek(fp, itm_header->info_hdr.itm_ptr, SEEK_SET); in output()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dpictures.c229 fseek(fp_pic, 0L, 0); in picopen()
239 fseek(fp, 0L, 0); in picopen()
242 fseek(fp_pic, total, 1); in picopen()
286 fseek(fp_pic, 0L, 2); in inlinepic()
H A Dps_include.c122 fseek(fin, 0L, 0); in ps_include()
163 fseek(fin, 0L, 2); in ps_include()
200 fseek(fin, s->start, 0); in copy()
/illumos-gate/usr/src/cmd/look/
H A Dlook.c85 fseek(dfile,0L,2); in main()
89 fseek(dfile,mid,0); in main()
112 fseek(dfile,bot,0); in main()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c492 if (fseek(KTFILEP(id), *fileoff, 0) == -1) { in krb5_ktfile_get_next()
772 fseek(KTFILEP(keytab), fpos, SEEK_SET); in krb5_ktf_keytab_internalize()
861 if (fseek(KTFILEP(id), 0, 2) == -1) { in krb5_ktfile_add()
1195 if (fseek(KTFILEP(id), delete_point, SEEK_SET)) { in krb5_ktfileint_delete_entry()
1209 if (fseek(KTFILEP(id), delete_point, SEEK_SET)) { in krb5_ktfileint_delete_entry()
1259 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_internal_read_entry()
1273 if (fseek(KTFILEP(id), -size, SEEK_CUR)) { in krb5_ktfileint_internal_read_entry()
1434 fseek(KTFILEP(id), start_pos + size, SEEK_SET); in krb5_ktfileint_internal_read_entry()
1481 if (fseek(KTFILEP(id), 0L, SEEK_CUR) < 0) in krb5_ktfileint_write_entry()
1580 if (fseek(KTFILEP(id), commit_point, SEEK_SET)) { in krb5_ktfileint_write_entry()
[all …]
/illumos-gate/usr/src/cmd/acpi/common/
H A Dcmfsize.c190 Status = fseek (File, 0, SEEK_END); in CmGetFileSize()
204 Status = fseek (File, CurrentOffset, SEEK_SET); in CmGetFileSize()
H A Dacfileio.c438 fseek (File, TableOffset, SEEK_SET); in AcGetOneTableFromFile()
510 fseek (File, FileOffset, SEEK_SET); in AcIsFileBinary()
555 fseek (File, TableOffset, SEEK_SET); in AcValidateTableHeader()
558 fseek (File, OriginalOffset, SEEK_SET); in AcValidateTableHeader()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfseek.c34 #pragma weak _fseek = fseek
48 fseek(FILE *iop, long offset, int ptrname) in fseek() function
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c295 fseek (fp, 0, SEEK_END); in pci_ids_load()
297 fseek (fp, 0, SEEK_SET); in pci_ids_load()
512 fseek (fp, 0, SEEK_END); in usb_ids_load()
514 fseek (fp, 0, SEEK_SET); in usb_ids_load()
/illumos-gate/usr/src/cmd/make/bin/
H A Dar.cc404 if (fseek(arp->fd, arp->first_ar_mem, 0) != 0) { in read_archive_dir()
450 if (fseek(arp->fd, ptr, 1) != 0) { in read_archive_dir()
533 if (fseek(arp->fd, ptr, 1) != 0) { in read_archive_dir()
570 if (fseek(arp->fd, arp->first_ar_mem, 0) != 0) { in process_long_names_member()
640 if (fseek(arp->fd, arp->sym_begin, 0) != 0) { in translate_entry()
660 if ((fseek(arp->fd, in translate_entry()
713 if (fseek(arp->fd, in translate_entry()
/illumos-gate/usr/src/cmd/acpi/acpixtract/
H A Daxutils.c209 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()
252 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()
259 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c215 if (fseek(fp, 0, SEEK_END) == -1) in zonecfg_add_scratch()
250 if (fseek(fp, woffs, SEEK_SET) == -1) in zonecfg_delete_scratch()
255 if (fseek(fp, roffs, SEEK_SET) == -1) in zonecfg_delete_scratch()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dscr_reset.c173 if (fseek(filep, (long)(2 * labmax * lablen * in scr_reset()
205 if (fseek(filep, (long)(colors * sizeof (_Color) + in scr_reset()
238 if (fseek(filep, (long)(colors * in scr_reset()
/illumos-gate/usr/src/cmd/mailx/
H A Dlex.c132 fseek(ibuf, (long)(BUFSIZ+1), 0); /* flush input buffer */ in setfile()
133 fseek(ibuf, 0L, 0); in setfile()
337 fseek(otf, 0L, 2); in commands()
352 fseek(ibuf, mailsize, 0); in commands()
978 fseek(otf, 0L, 2); in inc()
982 fseek(ibuf, mailsize, 0); in inc()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Drmtab.c458 (void) fseek(fp, -i + 1, in rmtab_load()
489 if (rmtabf == NULL || fseek(rmtabf, 0L, 2) == -1) { in rmtab_insert()
521 if (rmtabf != NULL && pos != -1 && fseek(rmtabf, pos, 0) == 0) { in rmtab_delete()
/illumos-gate/usr/src/common/ficl/softcore/
H A Dmakesoftcore.c107 fseek(f, 0, SEEK_END); in main()
109 fseek(f, 0, SEEK_SET); in main()
/illumos-gate/usr/src/cmd/refer/
H A Dhunt6.c70 fseek(fc, lp, 0); in baddrop()
153 fseek(fd, lp, 0); in auxil()
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c146 if (fseek(pwp->ifp, 0L, 0)) { in PWClose()
255 if (fseek(pwp->ifp, sizeof (struct pi_header) + in GetPW()
264 if (fseek(pwp->dfp, datum, 0)) { in GetPW()
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c171 (void) fseek(fp, psizes[pass], SEEK_CUR); in print_lintmod()
476 (void) fseek(fp, sizeof (ATYPE) * nargs, SEEK_CUR); in lsu_build()
485 (void) fseek(fp, sizeof (ATYPE), SEEK_CUR); in lsu_build()
491 (void) fseek(fp, curoff, SEEK_SET); in lsu_build()
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c166 (void) fseek(stdin, (long)shdr.sh_offset, 0); in look_in_sections()
316 (void) fseek(stdin, (long)ADATAPOS(&ahdr), 0);
333 (void) fseek(stdin, (long)0, 0);
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c228 if (fseek (pfile, fset, SEEK_SET) != 0) { in edit_power_conf_file()
246 if (fseek (pfile, next_fset, SEEK_SET) != 0) { in edit_power_conf_file()
256 fseek (pfile, fset, SEEK_SET); in edit_power_conf_file()
260 fseek (pfile, next_fset, SEEK_SET); in edit_power_conf_file()
265 fseek (pfile, fset, SEEK_SET); in edit_power_conf_file()
289 if (fseek (pfile, 0, SEEK_END) != 0) { in edit_power_conf_file()
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslstartup.c308 fseek (Info->Handle, 0, SEEK_SET); in AslDetectSourceFileType()
332 fseek (Info->Handle, 0, SEEK_SET); in AslDetectSourceFileType()

12345678