Lines Matching refs:fid
57 if( (handle->fid = open(fileName, O_BINARY | O_RDONLY)) == -1 ) in OpenArc()
63 if (sizeof(ARCHeader) != read(handle->fid, &header, sizeof(ARCHeader))) in OpenArc()
84 if ( -1 == lseek(handle->fid, REV32(header.fstStart), SEEK_SET) ) in OpenArc()
90 if (fstLength != read(handle->fid, handle->fst, fstLength)) in OpenArc()
206 if (close(handle->fid) == -1) in CloseArc()
218 void Diff(int fid, FSTEntryInfo* entryInfo) in Diff() argument
268 if (DiffUtility(fid, entryInfo->filePosition, fidB, 0, fileLength)) in Diff()
287 void Extract(int fid, FSTEntryInfo* entryInfo) in Extract() argument
308 CopyUtility(fid, filePosition, outid, 0, fileLength); in Extract()
405 Extract(handle->fid, &entryInfo); in ExtractArc()
439 Diff(handle->fid, &entryInfo); in DiffArc()