Lines Matching defs:pos
283 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin)
288 UInt32 low = (UInt32)*pos;
289 LONG high = (LONG)((UInt64)*pos >> 16 >> 16); /* for case when UInt64 is 32-bit only */
305 *pos = ((Int64)high << 32) | low;
322 int res = fseek(p->file, (long)*pos, moveMethod);
325 *pos = ftell(p->file);
326 if (*pos == -1)
332 off_t res = lseek(p->fd, (off_t)*pos, moveMethod);
335 *pos = res;
361 long pos = ftell(p->file);
364 fseek(p->file, pos, SEEK_SET);
369 off_t pos;
371 pos = lseek(p->fd, 0, SEEK_CUR);
372 if (pos != -1)
375 const off_t res2 = lseek(p->fd, pos, SEEK_SET);
415 static SRes FileInStream_Seek(ISeekInStreamPtr pp, Int64 *pos, ESzSeek origin)
418 const WRes wres = File_Seek(&p->file, pos, origin);