Home
last modified time | relevance | path

Searched refs:local_header (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Dtbprint.c95 struct acpi_table_header local_header; in acpi_tb_print_table_header() local
108 memcpy(local_header.oem_id, in acpi_tb_print_table_header()
111 acpi_tb_fix_string(local_header.oem_id, ACPI_OEM_ID_SIZE); in acpi_tb_print_table_header()
121 local_header.oem_id)); in acpi_tb_print_table_header()
125 acpi_tb_cleanup_table_header(&local_header, header); in acpi_tb_print_table_header()
129 local_header.signature, ACPI_FORMAT_UINT64(address), in acpi_tb_print_table_header()
130 local_header.length, local_header.revision, in acpi_tb_print_table_header()
131 local_header.oem_id, local_header.oem_table_id, in acpi_tb_print_table_header()
132 local_header.oem_revision, in acpi_tb_print_table_header()
133 local_header.asl_compiler_id, in acpi_tb_print_table_header()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/cnpy/
H A Dcnpy.h214 std::vector<char> local_header; variable
215 local_header += "PK"; // first part of sig
216 local_header += (uint16_t)0x0403; // second part of sig
217 local_header += (uint16_t)20; // min version to extract
218 local_header += (uint16_t)0; // general purpose bit flag
219 local_header += (uint16_t)0; // compression method
220 local_header += (uint16_t)0; // file last mod time
221 local_header += (uint16_t)0; // file last mod date
222 local_header += (uint32_t)crc; // crc
223 local_header += (uint32_t)nbytes; // compressed size
[all …]
H A Dcnpy.cpp299 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()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/cnpy/
H A Dcnpy.h214 std::vector<char> local_header; variable
215 local_header += "PK"; // first part of sig
216 local_header += (uint16_t)0x0403; // second part of sig
217 local_header += (uint16_t)20; // min version to extract
218 local_header += (uint16_t)0; // general purpose bit flag
219 local_header += (uint16_t)0; // compression method
220 local_header += (uint16_t)0; // file last mod time
221 local_header += (uint16_t)0; // file last mod date
222 local_header += (uint32_t)crc; // crc
223 local_header += (uint32_t)nbytes; // compressed size
[all …]
H A Dcnpy.cpp299 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()
[all …]