/titanic_41/usr/src/lib/libast/common/sfio/ |
H A D | sfseek.c | 93 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) != SEEK_SET && 134 if(SFSK(f,r,SEEK_SET,f->disc) != r) 148 r = p + (type == SEEK_SET ? 0 : s); 166 p = (hardseek || r != f->here) ? SFSK(f,r,SEEK_SET,f->disc) : r; 181 (s = SFSK(f, f->here, SEEK_SET, f->disc)) == f->here) ) 249 if((hardseek || r != f->here) && (f->here = SFSK(f,r,SEEK_SET,f->disc)) != r) 251 f->here = SFSK(f,p,SEEK_SET,f->disc); 263 if((f->here = SFSK(f,p,SEEK_SET,f->disc)) != p)
|
H A D | sfpurge.c | 62 (void)SFSK(f,f->here,SEEK_SET,f->disc); 85 (void)SFSK(f,f->here,SEEK_SET,f->disc);
|
/titanic_41/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 71 lk.l_whence = SEEK_SET; in cfg_filelock() 92 lk.l_whence = SEEK_SET; in cfg_fileunlock() 105 lseek(local_lockfd, off, SEEK_SET); in cfg_readpid() 113 lseek(local_lockfd, off, SEEK_SET); in cfg_writepid()
|
/titanic_41/usr/src/lib/libast/common/disc/ |
H A D | sfdcsubstr.c | 69 if(sfsk(f,here,SEEK_SET,disc) != here) 80 sfsk(f,parent,SEEK_SET,disc); 128 case SEEK_SET: 142 sfsk(f,parent,SEEK_SET,disc); 186 if((here = sfseek(parent,(Sfoff_t)0,SEEK_CUR)) < 0 || sfseek(parent,offset,SEEK_SET) < 0) 188 else sfseek(parent,here,SEEK_SET);
|
H A D | sfdcdos.c | 304 case SEEK_SET: 323 sfsk(iop,mp->physical,SEEK_SET,disc); 333 if(whence==SEEK_SET && dp->lhere>=offset) 343 whence=SEEK_SET; 354 if(whence==SEEK_SET) 356 sfsk(iop, physical ,SEEK_SET,disc);
|
H A D | sfdcseekable.c | 121 case SEEK_SET: 159 return sfseek(sf,addr,SEEK_SET) + sk->discard; 188 sfseek(sk->shadow,(Sfoff_t)0,SEEK_SET);
|
/titanic_41/usr/src/cmd/cdrw/ |
H A D | bstream.c | 191 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in wav_write_stream_close() 197 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in wav_write_stream_close() 215 if (lseek(h->bstr_fd, 8L, SEEK_SET) < 0) in au_write_stream_close() 235 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in file_stream_rewind() 243 (void) lseek(h->bstr_fd, 0L, SEEK_SET); in au_stream_rewind() 249 SEEK_SET) < 0) { in au_stream_rewind() 257 (void) lseek(h->bstr_fd, (long)(sizeof (Wave_filehdr)), SEEK_SET); in wav_stream_rewind() 317 (void) lseek(h->bstr_fd, ISO9660_BOOT_BLOCK_SIZE, SEEK_SET); in open_iso_read_stream() 442 if (lseek(fd, au->au_offset, SEEK_SET) < 0) { in open_au_read_stream() 511 if (lseek(fd, sizeof (*wav), SEEK_SET) < 0) { in open_wav_read_stream()
|
/titanic_41/usr/src/cmd/geniconvtbl/ |
H A D | assemble.c | 951 (void) fseek(fp, 0, SEEK_SET); in output() 955 (void) fseek(fp, info_header->str_sec.place.itm_ptr, SEEK_SET); in output() 963 (void) fseek(fp, info_header->direc_tbl_sec.place.itm_ptr, SEEK_SET); in output() 971 (void) fseek(fp, info_header->cond_tbl_sec.place.itm_ptr, SEEK_SET); in output() 979 (void) fseek(fp, info_header->map_tbl_sec.place.itm_ptr, SEEK_SET); in output() 987 (void) fseek(fp, info_header->op_tbl_sec.place.itm_ptr, SEEK_SET); in output() 995 (void) fseek(fp, info_header->range_tbl_sec.place.itm_ptr, SEEK_SET); in output() 1004 SEEK_SET); in output() 1013 (void) fseek(fp, info_header->data_sec.place.itm_ptr, SEEK_SET); in output() 1032 (void) fseek(fp, itm_header->info_hdr.itm_ptr, SEEK_SET); in output() [all …]
|
/titanic_41/usr/src/lib/libshell/common/edit/ |
H A D | hexpand.c | 376 sfseek(wm, 0, SEEK_SET); 456 sfseek(tmp, 0, SEEK_SET); 493 sfseek(tmp, i, SEEK_SET); 535 sfseek(tmp, 0, SEEK_SET); 563 sfseek(tmp2, n, SEEK_SET); 577 sfseek(tmp, n, SEEK_SET); 658 sfseek(tmp, 0, SEEK_SET);
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | lseek.c | 52 #define SEEK_SET 0 /* Set file pointer to "offset" */ macro 93 case SEEK_SET: in lseek32_common() 227 if (fp->f_vnode->v_type == VREG || stype != SEEK_SET) in lseek32() 230 else if (stype == SEEK_SET) in lseek32() 301 case SEEK_SET: in lseek64()
|
/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 260 if (lock_register(fd, F_SETLKW, F_WRLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list() 328 if (lseek(copy_fd, filesize - 1, SEEK_SET) == -1) { in update_fabric_wwn_list() 448 if (lseek(tmp_fd, size - 1, SEEK_SET) == -1) { in update_fabric_wwn_list() 502 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list() 544 if (lseek(tmp_fd, size - 1, SEEK_SET) == -1) { in update_fabric_wwn_list() 601 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list()
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | tail.c | 177 sfseek(fp, offset, SEEK_SET); in tailpos() 222 sfseek(out, (Sfoff_t)0, SEEK_SET); in pipetail() 231 sfseek(tmp[0], (Sfoff_t)0, SEEK_SET); in pipetail() 239 sfseek(tmp[1], (Sfoff_t)0, SEEK_SET); in pipetail() 299 sfseek(tp->sp, offset, SEEK_SET); in init() 322 sfseek(op, (Sfoff_t)0, SEEK_SET); in init() 753 sfseek(ip, offset, SEEK_SET); in b_tail() 763 sfseek(op, (Sfoff_t)0, SEEK_SET); in b_tail()
|
H A D | revlib.c | 65 sfseek(in, offset, SEEK_SET); in rev_line() 107 sfseek(in, start, SEEK_SET); in rev_line()
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 93 #ifndef SEEK_SET 94 #define SEEK_SET 0 /* Set file pointer to "offset" */ macro
|
/titanic_41/usr/src/cmd/format/ |
H A D | disk_generic.c | 132 status = llseek(fd, tmpblk, SEEK_SET); 144 status = llseek(fd, tmpblk, SEEK_SET);
|
/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | filehdr.c | 148 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 160 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 172 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize() 198 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_au_filesize() 231 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_wav_filesize() 243 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_wav_filesize() 277 } else if ((lseek(fd, (off_t)0, SEEK_SET) < 0) || in audio_rewrite_filesize() 646 (void) lseek(fd, (off_t)4, SEEK_SET); in decode_au() 783 (void) lseek(fd, (off_t)0, SEEK_SET); in audio_decode_filehdr()
|
/titanic_41/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 75 lock.l_whence = SEEK_SET; in lock_op() 252 if (fseek(fp, woffs, SEEK_SET) == -1) in zonecfg_delete_scratch() 257 if (fseek(fp, roffs, SEEK_SET) == -1) in zonecfg_delete_scratch()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 140 if (lseek(fd, h.e_phoff, SEEK_SET) != h.e_phoff || in __fex_read_syms() 152 if (lseek(fd, h.e_shoff, SEEK_SET) != h.e_shoff || in __fex_read_syms() 191 if (lseek(fd, sh[i].sh_offset, SEEK_SET) != sh[i].sh_offset || in __fex_read_syms() 193 lseek(fd, sh[sh[i].sh_link].sh_offset, SEEK_SET) != in __fex_read_syms()
|
/titanic_41/usr/src/head/ |
H A D | fcntl.h | 50 #ifndef SEEK_SET 51 #define SEEK_SET 0 /* Set file pointer to "offset" */ macro
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | seekdir.c | 66 (void) lseek(dirp->dd_fd, loc, SEEK_SET); in seekdir() 109 (void) lseek64(dirp->dd_fd, loc, SEEK_SET); in seekdir64()
|
/titanic_41/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 74 lock.l_whence = SEEK_SET; in _check_daemon_lock() 153 lock.l_whence = SEEK_SET; in _enter_daemon_lock()
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_pr.c | 104 #ifndef SEEK_SET 105 # define SEEK_SET 0 macro 185 if (fseek(pvt->fp, 0L, SEEK_SET) == 0) in pr_rewind()
|
/titanic_41/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 112 lk.l_whence = SEEK_SET; 140 if (lseek(id, 0, SEEK_SET) < 0) 191 lk.l_whence = SEEK_SET;
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | stdio.c | 269 (void) lseek(stream->_file, stream->_offset, SEEK_SET); in fread() 289 case SEEK_SET: in fseek() 311 result = lseek(stream->_file, new_offset, SEEK_SET); in fseek()
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | ppinput.c | 135 if (sfseek(pp.member->archive->info.sp, pp.member->offset, SEEK_SET) != pp.member->offset) in pppush() 163 if (lseek(cur->fd, 0L, SEEK_END) > 0 && !lseek(cur->fd, 0L, SEEK_SET)) in pppush() 492 if (sfseek(sp, file_offset + 22, SEEK_SET) != file_offset + 22 || !(s = sfgetr(sp, '\n', 1))) in ppload() 524 if ((n = sfseek(sp, p, SEEK_SET)) != p) in ppload() 535 if (sfseek(sp, index_offset, SEEK_SET) != index_offset) in ppload() 573 if (sfseek(sp, file_offset + keep_begin, SEEK_SET) != file_offset + keep_begin) in ppload() 628 if (sfseek(sp, macro_offset, SEEK_SET) != macro_offset) in ppload()
|