Searched refs:scan_buffer (Results 1 – 1 of 1) sorted by relevance
411 off64_t read_amount, uint8_t* scan_buffer) { in MapCentralDirectory0() argument420 read(fd, scan_buffer, static_cast<size_t>(read_amount))); in MapCentralDirectory0()435 if (scan_buffer[i] == 0x50) { in MapCentralDirectory0()436 uint32_t* sig_addr = reinterpret_cast<uint32_t*>(&scan_buffer[i]); in MapCentralDirectory0()449 const EocdRecord* eocd = reinterpret_cast<const EocdRecord*>(scan_buffer + i); in MapCentralDirectory0()542 uint8_t* scan_buffer = reinterpret_cast<uint8_t*>(malloc(read_amount)); in MapCentralDirectory() local544 file_length, read_amount, scan_buffer); in MapCentralDirectory()546 free(scan_buffer); in MapCentralDirectory()