Lines Matching defs:startOffset
28 FileRestriction(fssh_dev_t device, fssh_ino_t node, fssh_off_t startOffset,
33 startOffset(startOffset),
40 fssh_off_t startOffset;
76 add_file_restriction(const char* fileName, fssh_off_t startOffset,
93 restriction = new FileRestriction(device, node, startOffset, endOffset);
105 lseek(fd, restriction->startOffset, SEEK_SET);
133 pos += restriction->startOffset;
135 if (pos < restriction->startOffset || pos > restriction->endOffset) {
156 st->fssh_st_size = restriction->endOffset - restriction->startOffset;
201 pos = restriction->startOffset + offset;
205 if (pos < restriction->startOffset) {
212 pos -= restriction->startOffset;