Searched refs:header_position (Results 1 – 2 of 2) sorted by relevance
361 header_position = fp.tell()392 header_position = file_size - len(data) + pos396 if header_position < header_size:398 if header_position < header_offset:400 header_position -= header_size401 arc_offset = header_position - header_offset409 fp.seek(header_position)
712 unsigned long file_offset, header_position; in read_directory() local738 header_position = (unsigned long)ftell(fp); in read_directory()739 if (header_position == (unsigned long)-1) { in read_directory()742 assert(header_position <= (unsigned long)LONG_MAX); in read_directory()754 if (header_position < header_size) { in read_directory()758 if (header_position < header_offset) { in read_directory()762 if (header_position - header_size < header_offset) { in read_directory()766 header_position -= header_size; in read_directory()767 arc_offset = header_position - header_offset; in read_directory()779 if (fseek(fp, (long)header_position, 0) == -1) { in read_directory()