Lines Matching refs:local_header
299 std::vector<char> local_header(30); in npz_load() local
300 size_t headerres = fread(&local_header[0], sizeof(char), 30, fp); in npz_load()
305 if (local_header[2] != 0x03 || local_header[3] != 0x04) in npz_load()
309 uint16_t name_len = *(uint16_t*)&local_header[26]; in npz_load()
319 uint16_t extra_field_len = *(uint16_t*)&local_header[28]; in npz_load()
327 uint16_t compr_method = *reinterpret_cast<uint16_t*>(&local_header[0] + 8); in npz_load()
328 uint32_t compr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 18); in npz_load()
329 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load()
350 std::vector<char> local_header(30); in npz_load() local
351 size_t header_res = fread(&local_header[0], sizeof(char), 30, fp); in npz_load()
356 if (local_header[2] != 0x03 || local_header[3] != 0x04) in npz_load()
360 uint16_t name_len = *(uint16_t*)&local_header[26]; in npz_load()
368 uint16_t extra_field_len = *(uint16_t*)&local_header[28]; in npz_load()
371 uint16_t compr_method = *reinterpret_cast<uint16_t*>(&local_header[0] + 8); in npz_load()
372 uint32_t compr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 18); in npz_load()
373 uint32_t uncompr_bytes = *reinterpret_cast<uint32_t*>(&local_header[0] + 22); in npz_load()
381 uint32_t size = *(uint32_t*)&local_header[22]; in npz_load()