Lines Matching refs:GetU16
199 uint16_t magic = data.GetU16(&offset); in MagicBytesMatch()
355 dos_header.e_magic = data.GetU16(&offset); // Magic number in ParseDOSHeader()
359 dos_header.e_cblp = data.GetU16(&offset); // Bytes on last page of file in ParseDOSHeader()
360 dos_header.e_cp = data.GetU16(&offset); // Pages in file in ParseDOSHeader()
361 dos_header.e_crlc = data.GetU16(&offset); // Relocations in ParseDOSHeader()
363 data.GetU16(&offset); // Size of header in paragraphs in ParseDOSHeader()
365 data.GetU16(&offset); // Minimum extra paragraphs needed in ParseDOSHeader()
367 data.GetU16(&offset); // Maximum extra paragraphs needed in ParseDOSHeader()
368 dos_header.e_ss = data.GetU16(&offset); // Initial (relative) SS value in ParseDOSHeader()
369 dos_header.e_sp = data.GetU16(&offset); // Initial SP value in ParseDOSHeader()
370 dos_header.e_csum = data.GetU16(&offset); // Checksum in ParseDOSHeader()
371 dos_header.e_ip = data.GetU16(&offset); // Initial IP value in ParseDOSHeader()
372 dos_header.e_cs = data.GetU16(&offset); // Initial (relative) CS value in ParseDOSHeader()
374 data.GetU16(&offset); // File address of relocation table in ParseDOSHeader()
375 dos_header.e_ovno = data.GetU16(&offset); // Overlay number in ParseDOSHeader()
377 dos_header.e_res[0] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
378 dos_header.e_res[1] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
379 dos_header.e_res[2] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
380 dos_header.e_res[3] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
383 data.GetU16(&offset); // OEM identifier (for e_oeminfo) in ParseDOSHeader()
385 data.GetU16(&offset); // OEM information; e_oemid specific in ParseDOSHeader()
386 dos_header.e_res2[0] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
387 dos_header.e_res2[1] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
388 dos_header.e_res2[2] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
389 dos_header.e_res2[3] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
390 dos_header.e_res2[4] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
391 dos_header.e_res2[5] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
392 dos_header.e_res2[6] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
393 dos_header.e_res2[7] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
394 dos_header.e_res2[8] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
395 dos_header.e_res2[9] = data.GetU16(&offset); // Reserved words in ParseDOSHeader()
413 coff_header.machine = data.GetU16(offset_ptr); in ParseCOFFHeader()
414 coff_header.nsects = data.GetU16(offset_ptr); in ParseCOFFHeader()
418 coff_header.hdrsize = data.GetU16(offset_ptr); in ParseCOFFHeader()
419 coff_header.flags = data.GetU16(offset_ptr); in ParseCOFFHeader()
431 m_coff_header_opt.magic = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
454 m_coff_header_opt.major_os_system_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
455 m_coff_header_opt.minor_os_system_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
456 m_coff_header_opt.major_image_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
457 m_coff_header_opt.minor_image_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
458 m_coff_header_opt.major_subsystem_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
459 m_coff_header_opt.minor_subsystem_version = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
464 m_coff_header_opt.subsystem = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
465 m_coff_header_opt.dll_flags = m_data.GetU16(offset_ptr); in ParseCOFFOptionalHeader()
568 m_sect_headers[idx].nreloc = section_header_data.GetU16(&offset); in ParseSectionHeaders()
569 m_sect_headers[idx].nline = section_header_data.GetU16(&offset); in ParseSectionHeaders()
645 symbol.sect = symtab_data.GetU16(&offset); in GetSymtab()
646 symbol.type = symtab_data.GetU16(&offset); in GetSymtab()
680 export_table.major_version = symtab_data.GetU16(&offset); in GetSymtab()
681 export_table.minor_version = symtab_data.GetU16(&offset); in GetSymtab()
703 has_ordinal ? symtab_data.GetU16(&name_ordinal_offset) : i; in GetSymtab()