Searched refs:header_position (Results 1 – 2 of 2) sorted by relevance
714 unsigned long file_offset, header_position; in read_directory() local740 header_position = (unsigned long)ftell(fp); in read_directory()741 if (header_position == (unsigned long)-1) { in read_directory()744 assert(header_position <= (unsigned long)LONG_MAX); in read_directory()756 if (header_position < header_size) { in read_directory()760 if (header_position < header_offset) { in read_directory()764 if (header_position - header_size < header_offset) { in read_directory()768 header_position -= header_size; in read_directory()769 arc_offset = header_position - header_offset; in read_directory()781 if (fseek(fp, (long)header_position, 0) == -1) { in read_directory()
896 unsigned long file_offset, header_position; in read_directory() local919 header_position = (unsigned long)ftell(fp); in read_directory()920 if (header_position == (unsigned long)-1) { in read_directory()923 assert(header_position <= (unsigned long)LONG_MAX); in read_directory()935 if (header_position < header_size) { in read_directory()939 if (header_position < header_offset) { in read_directory()943 if (header_position - header_size < header_offset) { in read_directory()947 header_position -= header_size; in read_directory()948 arc_offset = header_position - header_offset; in read_directory()956 if (fseek(fp, (long)header_position, 0) == -1) { in read_directory()