ReactOS  0.4.15-dev-1377-ga59cecd
generated.c File Reference
#include "ntdll_test.h"
#include "wine/test.h"
Include dependency graph for generated.c:

Go to the source code of this file.

Macros

#define WINE_NOWINSOCK
 
#define DWORD_PTR   UINT_PTR
 
#define LONG_PTR   INT_PTR
 
#define ULONG_PTR   UINT_PTR
 
#define TEST_TYPE_SIZE(type, size)   C_ASSERT(sizeof(type) == size);
 
#define TEST_TYPE_ALIGN(type, align)
 
#define TEST_TARGET_ALIGN(type, align)
 
#define TEST_FIELD_ALIGN(type, field, align)
 
#define TEST_FIELD_OFFSET(type, field, offset)   C_ASSERT(FIELD_OFFSET(type, field) == offset);
 
#define TEST_TARGET_SIZE(type, size)   TEST_TYPE_SIZE(*(type)0, size)
 
#define TEST_FIELD_SIZE(type, field, size)   TEST_TYPE_SIZE((((type*)0)->field), size)
 
#define TEST_TYPE_SIGNED(type)   C_ASSERT((type) -1 < 0);
 
#define TEST_TYPE_UNSIGNED(type)   C_ASSERT((type) -1 > 0);
 

Functions

static void test_pack_DWORD32 (void)
 
static void test_pack_DWORD64 (void)
 
static void test_pack_DWORD_PTR (void)
 
static void test_pack_HALF_PTR (void)
 
static void test_pack_INT16 (void)
 
static void test_pack_INT32 (void)
 
static void test_pack_INT64 (void)
 
static void test_pack_INT8 (void)
 
static void test_pack_INT_PTR (void)
 
static void test_pack_LONG32 (void)
 
static void test_pack_LONG64 (void)
 
static void test_pack_LONG_PTR (void)
 
static void test_pack_SIZE_T (void)
 
static void test_pack_SSIZE_T (void)
 
static void test_pack_UHALF_PTR (void)
 
static void test_pack_UINT16 (void)
 
static void test_pack_UINT32 (void)
 
static void test_pack_UINT64 (void)
 
static void test_pack_UINT8 (void)
 
static void test_pack_UINT_PTR (void)
 
static void test_pack_ULONG32 (void)
 
static void test_pack_ULONG64 (void)
 
static void test_pack_ULONG_PTR (void)
 
static void test_pack_ACCESS_ALLOWED_ACE (void)
 
static void test_pack_ACCESS_DENIED_ACE (void)
 
static void test_pack_ACCESS_MASK (void)
 
static void test_pack_ACE_HEADER (void)
 
static void test_pack_ACL (void)
 
static void test_pack_ACL_REVISION_INFORMATION (void)
 
static void test_pack_ACL_SIZE_INFORMATION (void)
 
static void test_pack_BOOLEAN (void)
 
static void test_pack_CCHAR (void)
 
static void test_pack_CHAR (void)
 
static void test_pack_DWORDLONG (void)
 
static void test_pack_EXCEPTION_POINTERS (void)
 
static void test_pack_EXCEPTION_RECORD (void)
 
static void test_pack_EXECUTION_STATE (void)
 
static void test_pack_FPO_DATA (void)
 
static void test_pack_GENERIC_MAPPING (void)
 
static void test_pack_HANDLE (void)
 
static void test_pack_HRESULT (void)
 
static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER (void)
 
static void test_pack_IMAGE_AUX_SYMBOL (void)
 
static void test_pack_IMAGE_BASE_RELOCATION (void)
 
static void test_pack_IMAGE_BOUND_FORWARDER_REF (void)
 
static void test_pack_IMAGE_BOUND_IMPORT_DESCRIPTOR (void)
 
static void test_pack_IMAGE_COFF_SYMBOLS_HEADER (void)
 
static void test_pack_IMAGE_DATA_DIRECTORY (void)
 
static void test_pack_IMAGE_DEBUG_DIRECTORY (void)
 
static void test_pack_IMAGE_DEBUG_MISC (void)
 
static void test_pack_IMAGE_DOS_HEADER (void)
 
static void test_pack_IMAGE_EXPORT_DIRECTORY (void)
 
static void test_pack_IMAGE_FILE_HEADER (void)
 
static void test_pack_IMAGE_FUNCTION_ENTRY (void)
 
static void test_pack_IMAGE_IMPORT_BY_NAME (void)
 
static void test_pack_IMAGE_IMPORT_DESCRIPTOR (void)
 
static void test_pack_IMAGE_LINENUMBER (void)
 
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY (void)
 
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY32 (void)
 
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY64 (void)
 
static void test_pack_IMAGE_NT_HEADERS (void)
 
static void test_pack_IMAGE_NT_HEADERS32 (void)
 
static void test_pack_IMAGE_NT_HEADERS64 (void)
 
static void test_pack_IMAGE_OPTIONAL_HEADER (void)
 
static void test_pack_IMAGE_OPTIONAL_HEADER32 (void)
 
static void test_pack_IMAGE_OPTIONAL_HEADER64 (void)
 
static void test_pack_IMAGE_OS2_HEADER (void)
 
static void test_pack_IMAGE_RELOCATION (void)
 
static void test_pack_IMAGE_RESOURCE_DATA_ENTRY (void)
 
static void test_pack_IMAGE_RESOURCE_DIRECTORY (void)
 
static void test_pack_IMAGE_RESOURCE_DIRECTORY_ENTRY (void)
 
static void test_pack_IMAGE_RESOURCE_DIRECTORY_STRING (void)
 
static void test_pack_IMAGE_RESOURCE_DIR_STRING_U (void)
 
static void test_pack_IMAGE_SECTION_HEADER (void)
 
static void test_pack_IMAGE_SEPARATE_DEBUG_HEADER (void)
 
static void test_pack_IMAGE_SYMBOL (void)
 
static void test_pack_IMAGE_THUNK_DATA (void)
 
static void test_pack_IMAGE_TLS_DIRECTORY (void)
 
static void test_pack_IMAGE_TLS_DIRECTORY32 (void)
 
static void test_pack_IMAGE_TLS_DIRECTORY64 (void)
 
static void test_pack_IMAGE_VXD_HEADER (void)
 
static void test_pack_IO_COUNTERS (void)
 
static void test_pack_LANGID (void)
 
static void test_pack_LARGE_INTEGER (void)
 
static void test_pack_LCID (void)
 
static void test_pack_LIST_ENTRY (void)
 
static void test_pack_LONG (void)
 
static void test_pack_LONGLONG (void)
 
static void test_pack_LUID (void)
 
static void test_pack_LUID_AND_ATTRIBUTES (void)
 
static void test_pack_MEMORY_BASIC_INFORMATION (void)
 
static void test_pack_MESSAGE_RESOURCE_BLOCK (void)
 
static void test_pack_MESSAGE_RESOURCE_DATA (void)
 
static void test_pack_MESSAGE_RESOURCE_ENTRY (void)
 
static void test_pack_NT_TIB (void)
 
static void test_pack_OBJECT_TYPE_LIST (void)
 
static void test_pack_PACCESS_ALLOWED_ACE (void)
 
static void test_pack_PACCESS_DENIED_ACE (void)
 
static void test_pack_PACCESS_TOKEN (void)
 
static void test_pack_PACE_HEADER (void)
 
static void test_pack_PACL (void)
 
static void test_pack_PACL_REVISION_INFORMATION (void)
 
static void test_pack_PACL_SIZE_INFORMATION (void)
 
static void test_pack_PCCH (void)
 
static void test_pack_PCH (void)
 
static void test_pack_PCSTR (void)
 
static void test_pack_PCWCH (void)
 
static void test_pack_PCWSTR (void)
 
static void test_pack_PEXCEPTION_POINTERS (void)
 
static void test_pack_PEXCEPTION_RECORD (void)
 
static void test_pack_PFPO_DATA (void)
 
static void test_pack_PGENERIC_MAPPING (void)
 
static void test_pack_PHANDLE (void)
 
static void test_pack_PIMAGE_ARCHIVE_MEMBER_HEADER (void)
 
static void test_pack_PIMAGE_AUX_SYMBOL (void)
 
static void test_pack_PIMAGE_BASE_RELOCATION (void)
 
static void test_pack_PIMAGE_BOUND_FORWARDER_REF (void)
 
static void test_pack_PIMAGE_BOUND_IMPORT_DESCRIPTOR (void)
 
static void test_pack_PIMAGE_COFF_SYMBOLS_HEADER (void)
 
static void test_pack_PIMAGE_DATA_DIRECTORY (void)
 
static void test_pack_PIMAGE_DEBUG_DIRECTORY (void)
 
static void test_pack_PIMAGE_DEBUG_MISC (void)
 
static void test_pack_PIMAGE_DOS_HEADER (void)
 
static void test_pack_PIMAGE_EXPORT_DIRECTORY (void)
 
static void test_pack_PIMAGE_FILE_HEADER (void)
 
static void test_pack_PIMAGE_FUNCTION_ENTRY (void)
 
static void test_pack_PIMAGE_IMPORT_BY_NAME (void)
 
static void test_pack_PIMAGE_IMPORT_DESCRIPTOR (void)
 
static void test_pack_PIMAGE_LINENUMBER (void)
 
static void test_pack_PIMAGE_LOAD_CONFIG_DIRECTORY (void)
 
static void test_pack_PIMAGE_NT_HEADERS (void)
 
static void test_pack_PIMAGE_NT_HEADERS32 (void)
 
static void test_pack_PIMAGE_NT_HEADERS64 (void)
 
static void test_pack_PIMAGE_OPTIONAL_HEADER (void)
 
static void test_pack_PIMAGE_OPTIONAL_HEADER32 (void)
 
static void test_pack_PIMAGE_OPTIONAL_HEADER64 (void)
 
static void test_pack_PIMAGE_OS2_HEADER (void)
 
static void test_pack_PIMAGE_RELOCATION (void)
 
static void test_pack_PIMAGE_RESOURCE_DATA_ENTRY (void)
 
static void test_pack_PIMAGE_RESOURCE_DIRECTORY (void)
 
static void test_pack_PIMAGE_RESOURCE_DIRECTORY_ENTRY (void)
 
static void test_pack_PIMAGE_RESOURCE_DIRECTORY_STRING (void)
 
static void test_pack_PIMAGE_RESOURCE_DIR_STRING_U (void)
 
static void test_pack_PIMAGE_SECTION_HEADER (void)
 
static void test_pack_PIMAGE_SEPARATE_DEBUG_HEADER (void)
 
static void test_pack_PIMAGE_SYMBOL (void)
 
static void test_pack_PIMAGE_THUNK_DATA (void)
 
static void test_pack_PIMAGE_TLS_CALLBACK (void)
 
static void test_pack_PIMAGE_TLS_DIRECTORY (void)
 
static void test_pack_PIMAGE_VXD_HEADER (void)
 
static void test_pack_PIO_COUNTERS (void)
 
static void test_pack_PISECURITY_DESCRIPTOR (void)
 
static void test_pack_PISECURITY_DESCRIPTOR_RELATIVE (void)
 
static void test_pack_PISID (void)
 
static void test_pack_PLARGE_INTEGER (void)
 
static void test_pack_PLIST_ENTRY (void)
 
static void test_pack_PLUID (void)
 
static void test_pack_PLUID_AND_ATTRIBUTES (void)
 
static void test_pack_PMEMORY_BASIC_INFORMATION (void)
 
static void test_pack_PMESSAGE_RESOURCE_BLOCK (void)
 
static void test_pack_PMESSAGE_RESOURCE_DATA (void)
 
static void test_pack_PMESSAGE_RESOURCE_ENTRY (void)
 
static void test_pack_PNT_TIB (void)
 
static void test_pack_POBJECT_TYPE_LIST (void)
 
static void test_pack_PPRIVILEGE_SET (void)
 
static void test_pack_PRIVILEGE_SET (void)
 
static void test_pack_PRLIST_ENTRY (void)
 
static void test_pack_PRTL_CRITICAL_SECTION (void)
 
static void test_pack_PRTL_CRITICAL_SECTION_DEBUG (void)
 
static void test_pack_PRTL_OSVERSIONINFOEXW (void)
 
static void test_pack_PRTL_OSVERSIONINFOW (void)
 
static void test_pack_PRTL_RESOURCE_DEBUG (void)
 
static void test_pack_PSECURITY_DESCRIPTOR (void)
 
static void test_pack_PSECURITY_QUALITY_OF_SERVICE (void)
 
static void test_pack_PSID (void)
 
static void test_pack_PSID_IDENTIFIER_AUTHORITY (void)
 
static void test_pack_PSINGLE_LIST_ENTRY (void)
 
static void test_pack_PSTR (void)
 
static void test_pack_PSYSTEM_ALARM_ACE (void)
 
static void test_pack_PSYSTEM_AUDIT_ACE (void)
 
static void test_pack_PTOKEN_GROUPS (void)
 
static void test_pack_PTOKEN_PRIVILEGES (void)
 
static void test_pack_PTOKEN_USER (void)
 
static void test_pack_PULARGE_INTEGER (void)
 
static void test_pack_PVECTORED_EXCEPTION_HANDLER (void)
 
static void test_pack_PVOID (void)
 
static void test_pack_PWCH (void)
 
static void test_pack_PWSTR (void)
 
static void test_pack_RTL_CRITICAL_SECTION (void)
 
static void test_pack_RTL_CRITICAL_SECTION_DEBUG (void)
 
static void test_pack_RTL_OSVERSIONINFOEXW (void)
 
static void test_pack_RTL_OSVERSIONINFOW (void)
 
static void test_pack_RTL_RESOURCE_DEBUG (void)
 
static void test_pack_SECURITY_CONTEXT_TRACKING_MODE (void)
 
static void test_pack_SECURITY_DESCRIPTOR (void)
 
static void test_pack_SECURITY_DESCRIPTOR_CONTROL (void)
 
static void test_pack_SECURITY_DESCRIPTOR_RELATIVE (void)
 
static void test_pack_SECURITY_INFORMATION (void)
 
static void test_pack_SECURITY_QUALITY_OF_SERVICE (void)
 
static void test_pack_SHORT (void)
 
static void test_pack_SID (void)
 
static void test_pack_SID_AND_ATTRIBUTES (void)
 
static void test_pack_SID_IDENTIFIER_AUTHORITY (void)
 
static void test_pack_SINGLE_LIST_ENTRY (void)
 
static void test_pack_SYSTEM_ALARM_ACE (void)
 
static void test_pack_SYSTEM_AUDIT_ACE (void)
 
static void test_pack_TOKEN_DEFAULT_DACL (void)
 
static void test_pack_TOKEN_GROUPS (void)
 
static void test_pack_TOKEN_OWNER (void)
 
static void test_pack_TOKEN_PRIMARY_GROUP (void)
 
static void test_pack_TOKEN_PRIVILEGES (void)
 
static void test_pack_TOKEN_SOURCE (void)
 
static void test_pack_TOKEN_STATISTICS (void)
 
static void test_pack_TOKEN_USER (void)
 
static void test_pack_ULARGE_INTEGER (void)
 
static void test_pack_ULONGLONG (void)
 
static void test_pack_WAITORTIMERCALLBACKFUNC (void)
 
static void test_pack_WCHAR (void)
 
static void test_pack_ATOM (void)
 
static void test_pack_BOOL (void)
 
static void test_pack_BYTE (void)
 
static void test_pack_COLORREF (void)
 
static void test_pack_DWORD (void)
 
static void test_pack_FARPROC (void)
 
static void test_pack_FLOAT (void)
 
static void test_pack_GLOBALHANDLE (void)
 
static void test_pack_HCURSOR (void)
 
static void test_pack_HFILE (void)
 
static void test_pack_HGDIOBJ (void)
 
static void test_pack_HGLOBAL (void)
 
static void test_pack_HLOCAL (void)
 
static void test_pack_HMODULE (void)
 
static void test_pack_INT (void)
 
static void test_pack_LOCALHANDLE (void)
 
static void test_pack_LPARAM (void)
 
static void test_pack_LPCRECT (void)
 
static void test_pack_LPCRECTL (void)
 
static void test_pack_LPCVOID (void)
 
static void test_pack_LPPOINT (void)
 
static void test_pack_LPRECT (void)
 
static void test_pack_LPRECTL (void)
 
static void test_pack_LPSIZE (void)
 
static void test_pack_LRESULT (void)
 
static void test_pack_POINT (void)
 
static void test_pack_POINTL (void)
 
static void test_pack_PPOINT (void)
 
static void test_pack_PPOINTL (void)
 
static void test_pack_PRECT (void)
 
static void test_pack_PRECTL (void)
 
static void test_pack_PROC (void)
 
static void test_pack_PSIZE (void)
 
static void test_pack_PSZ (void)
 
static void test_pack_RECT (void)
 
static void test_pack_RECTL (void)
 
static void test_pack_SIZE (void)
 
static void test_pack_SIZEL (void)
 
static void test_pack_UCHAR (void)
 
static void test_pack_UINT (void)
 
static void test_pack_ULONG (void)
 
static void test_pack_USHORT (void)
 
static void test_pack_WORD (void)
 
static void test_pack_WPARAM (void)
 
static void test_pack (void)
 
 START_TEST (generated)
 

Macro Definition Documentation

◆ DWORD_PTR

Definition at line 18 of file generated.c.

◆ LONG_PTR

Definition at line 19 of file generated.c.

◆ TEST_FIELD_ALIGN

#define TEST_FIELD_ALIGN (   type,
  field,
  align 
)

Definition at line 63 of file generated.c.

◆ TEST_FIELD_OFFSET

#define TEST_FIELD_OFFSET (   type,
  field,
  offset 
)    C_ASSERT(FIELD_OFFSET(type, field) == offset);

Definition at line 66 of file generated.c.

◆ TEST_FIELD_SIZE

#define TEST_FIELD_SIZE (   type,
  field,
  size 
)    TEST_TYPE_SIZE((((type*)0)->field), size)

Definition at line 69 of file generated.c.

◆ TEST_TARGET_ALIGN

#define TEST_TARGET_ALIGN (   type,
  align 
)

Definition at line 62 of file generated.c.

◆ TEST_TARGET_SIZE

#define TEST_TARGET_SIZE (   type,
  size 
)    TEST_TYPE_SIZE(*(type)0, size)

Definition at line 68 of file generated.c.

◆ TEST_TYPE_ALIGN

#define TEST_TYPE_ALIGN (   type,
  align 
)

Definition at line 55 of file generated.c.

◆ TEST_TYPE_SIGNED

#define TEST_TYPE_SIGNED (   type)    C_ASSERT((type) -1 < 0);

Definition at line 70 of file generated.c.

◆ TEST_TYPE_SIZE

#define TEST_TYPE_SIZE (   type,
  size 
)    C_ASSERT(sizeof(type) == size);

Definition at line 50 of file generated.c.

◆ TEST_TYPE_UNSIGNED

#define TEST_TYPE_UNSIGNED (   type)    C_ASSERT((type) -1 > 0);

Definition at line 71 of file generated.c.

◆ ULONG_PTR

Definition at line 20 of file generated.c.

◆ WINE_NOWINSOCK

#define WINE_NOWINSOCK

Definition at line 8 of file generated.c.

Function Documentation

◆ START_TEST()

START_TEST ( generated  )

Definition at line 7176 of file generated.c.

7177 {
7178  test_pack();
7179 }
static void test_pack(void)
Definition: generated.c:6910

◆ test_pack()

static void test_pack ( void  )
static

Definition at line 6910 of file generated.c.

6911 {
6916  test_pack_ACL();
6919  test_pack_ATOM();
6920  test_pack_BOOL();
6922  test_pack_BYTE();
6923  test_pack_CCHAR();
6924  test_pack_CHAR();
6926  test_pack_DWORD();
6935  test_pack_FLOAT();
6940  test_pack_HANDLE();
6942  test_pack_HFILE();
6945  test_pack_HLOCAL();
6988  test_pack_INT();
6989  test_pack_INT16();
6990  test_pack_INT32();
6991  test_pack_INT64();
6992  test_pack_INT8();
6995  test_pack_LANGID();
6997  test_pack_LCID();
7000  test_pack_LONG();
7001  test_pack_LONG32();
7002  test_pack_LONG64();
7005  test_pack_LPARAM();
7010  test_pack_LPRECT();
7012  test_pack_LPSIZE();
7014  test_pack_LUID();
7020  test_pack_NT_TIB();
7026  test_pack_PACL();
7029  test_pack_PCCH();
7030  test_pack_PCH();
7031  test_pack_PCSTR();
7032  test_pack_PCWCH();
7033  test_pack_PCWSTR();
7079  test_pack_PISID();
7082  test_pack_PLUID();
7090  test_pack_POINT();
7091  test_pack_POINTL();
7092  test_pack_PPOINT();
7095  test_pack_PRECT();
7096  test_pack_PRECTL();
7099  test_pack_PROC();
7107  test_pack_PSID();
7110  test_pack_PSIZE();
7111  test_pack_PSTR();
7114  test_pack_PSZ();
7120  test_pack_PVOID();
7121  test_pack_PWCH();
7122  test_pack_PWSTR();
7123  test_pack_RECT();
7124  test_pack_RECTL();
7136  test_pack_SHORT();
7137  test_pack_SID();
7141  test_pack_SIZE();
7142  test_pack_SIZEL();
7143  test_pack_SIZE_T();
7155  test_pack_UCHAR();
7157  test_pack_UINT();
7158  test_pack_UINT16();
7159  test_pack_UINT32();
7160  test_pack_UINT64();
7161  test_pack_UINT8();
7164  test_pack_ULONG();
7169  test_pack_USHORT();
7171  test_pack_WCHAR();
7172  test_pack_WORD();
7173  test_pack_WPARAM();
7174 }
static void test_pack_PLARGE_INTEGER(void)
Definition: generated.c:5795
static void test_pack_PIMAGE_RESOURCE_DIR_STRING_U(void)
Definition: generated.c:5697
static void test_pack_UHALF_PTR(void)
Definition: generated.c:3602
static void test_pack_PIMAGE_BOUND_IMPORT_DESCRIPTOR(void)
Definition: generated.c:5486
static void test_pack_INT_PTR(void)
Definition: generated.c:3556
static void test_pack_PIMAGE_RELOCATION(void)
Definition: generated.c:5656
static void test_pack_SID_IDENTIFIER_AUTHORITY(void)
Definition: generated.c:6351
static void test_pack_IMAGE_VXD_HEADER(void)
Definition: generated.c:4934
static void test_pack_HLOCAL(void)
Definition: generated.c:6614
static void test_pack_PACL_REVISION_INFORMATION(void)
Definition: generated.c:5344
static void test_pack_PSIZE(void)
Definition: generated.c:6787
static void test_pack_PIMAGE_NT_HEADERS32(void)
Definition: generated.c:5604
static void test_pack_WCHAR(void)
Definition: generated.c:6516
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY(void)
Definition: generated.c:4252
static void test_pack_PMEMORY_BASIC_INFORMATION(void)
Definition: generated.c:5829
static void test_pack_INT32(void)
Definition: generated.c:3532
static void test_pack_IMAGE_NT_HEADERS32(void)
Definition: generated.c:4400
static void test_pack_EXCEPTION_RECORD(void)
Definition: generated.c:3821
static void test_pack_TOKEN_OWNER(void)
Definition: generated.c:6426
static void test_pack_PIMAGE_RESOURCE_DIRECTORY_STRING(void)
Definition: generated.c:5688
static void test_pack_IMAGE_SECTION_HEADER(void)
Definition: generated.c:4813
static void test_pack_IMAGE_OPTIONAL_HEADER64(void)
Definition: generated.c:4539
static void test_pack_TOKEN_DEFAULT_DACL(void)
Definition: generated.c:6403
static void test_pack_PISID(void)
Definition: generated.c:5786
static void test_pack_DWORD32(void)
Definition: generated.c:3493
static void test_pack_SID_AND_ATTRIBUTES(void)
Definition: generated.c:6338
static void test_pack_PIMAGE_TLS_DIRECTORY(void)
Definition: generated.c:5743
static void test_pack_PACL_SIZE_INFORMATION(void)
Definition: generated.c:5353
static void test_pack_SECURITY_QUALITY_OF_SERVICE(void)
Definition: generated.c:6303
static void test_pack_PISECURITY_DESCRIPTOR_RELATIVE(void)
Definition: generated.c:5777
static void test_pack_PTOKEN_USER(void)
Definition: generated.c:6040
static void test_pack_PIMAGE_THUNK_DATA(void)
Definition: generated.c:5729
static void test_pack_PIMAGE_TLS_CALLBACK(void)
Definition: generated.c:5736
static void test_pack_INT8(void)
Definition: generated.c:3548
static void test_pack_SECURITY_DESCRIPTOR_CONTROL(void)
Definition: generated.c:6259
static void test_pack_LPARAM(void)
Definition: generated.c:6643
static void test_pack_PRLIST_ENTRY(void)
Definition: generated.c:5906
static void test_pack_ACE_HEADER(void)
Definition: generated.c:3714
static void test_pack_PIMAGE_NT_HEADERS(void)
Definition: generated.c:5597
static void test_pack_PROC(void)
Definition: generated.c:6780
static void test_pack_PIMAGE_RESOURCE_DIRECTORY_ENTRY(void)
Definition: generated.c:5681
static void test_pack_IMAGE_FUNCTION_ENTRY(void)
Definition: generated.c:4213
static void test_pack_IMAGE_BASE_RELOCATION(void)
Definition: generated.c:3939
static void test_pack_PIMAGE_SYMBOL(void)
Definition: generated.c:5722
static void test_pack_SID(void)
Definition: generated.c:6319
static void test_pack_PACL(void)
Definition: generated.c:5335
static void test_pack_IMAGE_RESOURCE_DIRECTORY_ENTRY(void)
Definition: generated.c:4782
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY32(void)
Definition: generated.c:4259
static void test_pack_PULARGE_INTEGER(void)
Definition: generated.c:6049
static void test_pack_ACCESS_ALLOWED_ACE(void)
Definition: generated.c:3674
static void test_pack_LPCRECTL(void)
Definition: generated.c:6659
static void test_pack_PRTL_CRITICAL_SECTION_DEBUG(void)
Definition: generated.c:5924
static void test_pack_ATOM(void)
Definition: generated.c:6524
static void test_pack_HGLOBAL(void)
Definition: generated.c:6607
static void test_pack_IMAGE_DEBUG_MISC(void)
Definition: generated.c:4059
static void test_pack_RTL_CRITICAL_SECTION(void)
Definition: generated.c:6088
static void test_pack_PRTL_CRITICAL_SECTION(void)
Definition: generated.c:5915
static void test_pack_IMAGE_IMPORT_BY_NAME(void)
Definition: generated.c:4229
static void test_pack_ULONG64(void)
Definition: generated.c:3658
static void test_pack_EXECUTION_STATE(void)
Definition: generated.c:3846
static void test_pack_LPPOINT(void)
Definition: generated.c:6675
static void test_pack_IMAGE_RESOURCE_DIR_STRING_U(void)
Definition: generated.c:4800
static void test_pack_IMAGE_TLS_DIRECTORY64(void)
Definition: generated.c:4909
static void test_pack_IMAGE_BOUND_FORWARDER_REF(void)
Definition: generated.c:3952
static void test_pack_PSINGLE_LIST_ENTRY(void)
Definition: generated.c:5986
static void test_pack_FPO_DATA(void)
Definition: generated.c:3854
static void test_pack_CCHAR(void)
Definition: generated.c:3786
static void test_pack_LONGLONG(void)
Definition: generated.c:5161
static void test_pack_ACL_REVISION_INFORMATION(void)
Definition: generated.c:3752
static void test_pack_DWORD(void)
Definition: generated.c:6556
static void test_pack_PSECURITY_QUALITY_OF_SERVICE(void)
Definition: generated.c:5963
static void test_pack_SECURITY_DESCRIPTOR(void)
Definition: generated.c:6231
static void test_pack_PVOID(void)
Definition: generated.c:6063
static void test_pack_PMESSAGE_RESOURCE_DATA(void)
Definition: generated.c:5847
static void test_pack_RTL_RESOURCE_DEBUG(void)
Definition: generated.c:6201
static void test_pack_TOKEN_PRIMARY_GROUP(void)
Definition: generated.c:6436
static void test_pack_ULONG(void)
Definition: generated.c:6877
static void test_pack_LANGID(void)
Definition: generated.c:5119
static void test_pack_RECT(void)
Definition: generated.c:6803
static void test_pack_HANDLE(void)
Definition: generated.c:3892
static void test_pack_BOOL(void)
Definition: generated.c:6532
static void test_pack_FARPROC(void)
Definition: generated.c:6564
static void test_pack_PIMAGE_OS2_HEADER(void)
Definition: generated.c:5647
static void test_pack_PPRIVILEGE_SET(void)
Definition: generated.c:5881
static void test_pack_PIMAGE_NT_HEADERS64(void)
Definition: generated.c:5613
static void test_pack_MESSAGE_RESOURCE_DATA(void)
Definition: generated.c:5239
static void test_pack_PRIVILEGE_SET(void)
Definition: generated.c:5890
static void test_pack_IMAGE_NT_HEADERS(void)
Definition: generated.c:4393
static void test_pack_PCWSTR(void)
Definition: generated.c:5398
static void test_pack_PIMAGE_LOAD_CONFIG_DIRECTORY(void)
Definition: generated.c:5590
static void test_pack_TOKEN_STATISTICS(void)
Definition: generated.c:6472
static void test_pack_LONG_PTR(void)
Definition: generated.c:3580
static void test_pack_PSYSTEM_AUDIT_ACE(void)
Definition: generated.c:6013
static void test_pack_LPRECTL(void)
Definition: generated.c:6693
static void test_pack_IMAGE_OPTIONAL_HEADER(void)
Definition: generated.c:4432
static void test_pack_SYSTEM_ALARM_ACE(void)
Definition: generated.c:6371
static void test_pack_DWORD64(void)
Definition: generated.c:3501
static void test_pack_PIMAGE_RESOURCE_DIRECTORY(void)
Definition: generated.c:5672
static void test_pack_PGENERIC_MAPPING(void)
Definition: generated.c:5434
static void test_pack_IMAGE_DATA_DIRECTORY(void)
Definition: generated.c:4015
static void test_pack_IMAGE_EXPORT_DIRECTORY(void)
Definition: generated.c:4145
static void test_pack_LONG64(void)
Definition: generated.c:3572
static void test_pack_TOKEN_GROUPS(void)
Definition: generated.c:6413
static void test_pack_UINT(void)
Definition: generated.c:6869
static void test_pack_PACCESS_ALLOWED_ACE(void)
Definition: generated.c:5301
static void test_pack_IMAGE_LINENUMBER(void)
Definition: generated.c:4247
static void test_pack_PIMAGE_DATA_DIRECTORY(void)
Definition: generated.c:5504
static void test_pack_HFILE(void)
Definition: generated.c:6592
static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER(void)
Definition: generated.c:3906
static void test_pack_PSID_IDENTIFIER_AUTHORITY(void)
Definition: generated.c:5977
static void test_pack_PIMAGE_COFF_SYMBOLS_HEADER(void)
Definition: generated.c:5495
static void test_pack_PMESSAGE_RESOURCE_ENTRY(void)
Definition: generated.c:5856
static void test_pack_MESSAGE_RESOURCE_BLOCK(void)
Definition: generated.c:5223
static void test_pack_ULARGE_INTEGER(void)
Definition: generated.c:6496
static void test_pack_OBJECT_TYPE_LIST(void)
Definition: generated.c:5285
static void test_pack_PEXCEPTION_RECORD(void)
Definition: generated.c:5416
static void test_pack_PVECTORED_EXCEPTION_HANDLER(void)
Definition: generated.c:6056
static void test_pack_PSTR(void)
Definition: generated.c:5995
static void test_pack_PLIST_ENTRY(void)
Definition: generated.c:5802
static void test_pack_PIMAGE_OPTIONAL_HEADER32(void)
Definition: generated.c:5629
static void test_pack_PCH(void)
Definition: generated.c:5371
static void test_pack_PIMAGE_OPTIONAL_HEADER(void)
Definition: generated.c:5622
static void test_pack_IMAGE_IMPORT_DESCRIPTOR(void)
Definition: generated.c:4242
static void test_pack_LONG(void)
Definition: generated.c:5153
static void test_pack_RTL_CRITICAL_SECTION_DEBUG(void)
Definition: generated.c:6113
static void test_pack_PIMAGE_ARCHIVE_MEMBER_HEADER(void)
Definition: generated.c:5452
static void test_pack_IMAGE_RELOCATION(void)
Definition: generated.c:4733
static void test_pack_DWORD_PTR(void)
Definition: generated.c:3509
static void test_pack_PRTL_OSVERSIONINFOW(void)
Definition: generated.c:5940
static void test_pack_RTL_OSVERSIONINFOW(void)
Definition: generated.c:6176
static void test_pack_PIMAGE_DOS_HEADER(void)
Definition: generated.c:5531
static void test_pack_COLORREF(void)
Definition: generated.c:6548
static void test_pack_ACL_SIZE_INFORMATION(void)
Definition: generated.c:3762
static void test_pack_ACCESS_MASK(void)
Definition: generated.c:3706
static void test_pack_TOKEN_SOURCE(void)
Definition: generated.c:6459
static void test_pack_IMAGE_OPTIONAL_HEADER32(void)
Definition: generated.c:4439
static void test_pack_MEMORY_BASIC_INFORMATION(void)
Definition: generated.c:5195
static void test_pack_INT64(void)
Definition: generated.c:3540
static void test_pack_IMAGE_SEPARATE_DEBUG_HEADER(void)
Definition: generated.c:4821
static void test_pack_UINT8(void)
Definition: generated.c:3634
static void test_pack_UINT64(void)
Definition: generated.c:3626
static void test_pack_ULONGLONG(void)
Definition: generated.c:6501
static void test_pack_LPSIZE(void)
Definition: generated.c:6702
static void test_pack_PIMAGE_FILE_HEADER(void)
Definition: generated.c:5549
static void test_pack_SINGLE_LIST_ENTRY(void)
Definition: generated.c:6361
static void test_pack_IMAGE_RESOURCE_DIRECTORY(void)
Definition: generated.c:4757
static void test_pack_PRECTL(void)
Definition: generated.c:6771
static void test_pack_PIMAGE_RESOURCE_DATA_ENTRY(void)
Definition: generated.c:5663
static void test_pack_PWCH(void)
Definition: generated.c:6070
static void test_pack_HALF_PTR(void)
Definition: generated.c:3516
static void test_pack_PIMAGE_VXD_HEADER(void)
Definition: generated.c:5750
static void test_pack_HCURSOR(void)
Definition: generated.c:6585
static void test_pack_PIMAGE_DEBUG_MISC(void)
Definition: generated.c:5522
static void test_pack_DWORDLONG(void)
Definition: generated.c:3800
static void test_pack_LRESULT(void)
Definition: generated.c:6711
static void test_pack_PSID(void)
Definition: generated.c:5970
static void test_pack_PWSTR(void)
Definition: generated.c:6079
static void test_pack_HGDIOBJ(void)
Definition: generated.c:6600
static void test_pack_SIZE_T(void)
Definition: generated.c:3588
static void test_pack_PLUID_AND_ATTRIBUTES(void)
Definition: generated.c:5820
static void test_pack_RECTL(void)
Definition: generated.c:6822
static void test_pack_PISECURITY_DESCRIPTOR(void)
Definition: generated.c:5768
static void test_pack_PTOKEN_PRIVILEGES(void)
Definition: generated.c:6031
static void test_pack_POBJECT_TYPE_LIST(void)
Definition: generated.c:5872
static void test_pack_PIMAGE_IMPORT_DESCRIPTOR(void)
Definition: generated.c:5576
static void test_pack_PIMAGE_DEBUG_DIRECTORY(void)
Definition: generated.c:5513
static void test_pack_LPRECT(void)
Definition: generated.c:6684
static void test_pack_UINT_PTR(void)
Definition: generated.c:3642
static void test_pack_IMAGE_DOS_HEADER(void)
Definition: generated.c:4081
static void test_pack_IMAGE_TLS_DIRECTORY(void)
Definition: generated.c:4877
static void test_pack_IMAGE_AUX_SYMBOL(void)
Definition: generated.c:3934
static void test_pack_ACL(void)
Definition: generated.c:3730
static void test_pack_SECURITY_INFORMATION(void)
Definition: generated.c:6295
static void test_pack_EXCEPTION_POINTERS(void)
Definition: generated.c:3808
static void test_pack_UINT32(void)
Definition: generated.c:3618
static void test_pack_PRTL_RESOURCE_DEBUG(void)
Definition: generated.c:5949
static void test_pack_GLOBALHANDLE(void)
Definition: generated.c:6578
static void test_pack_HRESULT(void)
Definition: generated.c:3899
static void test_pack_TOKEN_PRIVILEGES(void)
Definition: generated.c:6446
static void test_pack_PRTL_OSVERSIONINFOEXW(void)
Definition: generated.c:5931
static void test_pack_PHANDLE(void)
Definition: generated.c:5443
static void test_pack_PACCESS_DENIED_ACE(void)
Definition: generated.c:5310
static void test_pack_PIO_COUNTERS(void)
Definition: generated.c:5759
static void test_pack_PACCESS_TOKEN(void)
Definition: generated.c:5319
static void test_pack_PIMAGE_IMPORT_BY_NAME(void)
Definition: generated.c:5567
static void test_pack_PIMAGE_EXPORT_DIRECTORY(void)
Definition: generated.c:5540
static void test_pack_GENERIC_MAPPING(void)
Definition: generated.c:3873
static void test_pack_SECURITY_CONTEXT_TRACKING_MODE(void)
Definition: generated.c:6224
static void test_pack_PTOKEN_GROUPS(void)
Definition: generated.c:6022
static void test_pack_IMAGE_COFF_SYMBOLS_HEADER(void)
Definition: generated.c:3984
static void test_pack_PRECT(void)
Definition: generated.c:6762
static void test_pack_WORD(void)
Definition: generated.c:6893
static void test_pack_LPCVOID(void)
Definition: generated.c:6668
static void test_pack_LPCRECT(void)
Definition: generated.c:6650
static void test_pack_INT16(void)
Definition: generated.c:3524
static void test_pack_IMAGE_OS2_HEADER(void)
Definition: generated.c:4636
static void test_pack_LUID_AND_ATTRIBUTES(void)
Definition: generated.c:5182
static void test_pack_POINTL(void)
Definition: generated.c:6731
static void test_pack_UINT16(void)
Definition: generated.c:3610
static void test_pack_PSZ(void)
Definition: generated.c:6796
static void test_pack_PLUID(void)
Definition: generated.c:5811
static void test_pack_PFPO_DATA(void)
Definition: generated.c:5425
static void test_pack_POINT(void)
Definition: generated.c:6718
static void test_pack_BYTE(void)
Definition: generated.c:6540
static void test_pack_SIZEL(void)
Definition: generated.c:6854
static void test_pack_SHORT(void)
Definition: generated.c:6311
static void test_pack_IMAGE_FILE_HEADER(void)
Definition: generated.c:4185
static void test_pack_NT_TIB(void)
Definition: generated.c:5268
static void test_pack_LONG32(void)
Definition: generated.c:3564
static void test_pack_IMAGE_NT_HEADERS64(void)
Definition: generated.c:4416
static void test_pack_IMAGE_TLS_DIRECTORY32(void)
Definition: generated.c:4884
static void test_pack_SIZE(void)
Definition: generated.c:6841
static void test_pack_SSIZE_T(void)
Definition: generated.c:3595
static void test_pack_HMODULE(void)
Definition: generated.c:6621
static void test_pack_WAITORTIMERCALLBACKFUNC(void)
Definition: generated.c:6509
static void test_pack_PIMAGE_AUX_SYMBOL(void)
Definition: generated.c:5461
static void test_pack_IMAGE_SYMBOL(void)
Definition: generated.c:4867
static void test_pack_LUID(void)
Definition: generated.c:5169
static void test_pack_USHORT(void)
Definition: generated.c:6885
static void test_pack_PPOINTL(void)
Definition: generated.c:6753
static void test_pack_PNT_TIB(void)
Definition: generated.c:5865
static void test_pack_PIMAGE_BASE_RELOCATION(void)
Definition: generated.c:5468
static void test_pack_TOKEN_USER(void)
Definition: generated.c:6486
static void test_pack_PIMAGE_SEPARATE_DEBUG_HEADER(void)
Definition: generated.c:5713
static void test_pack_PIMAGE_FUNCTION_ENTRY(void)
Definition: generated.c:5558
static void test_pack_PEXCEPTION_POINTERS(void)
Definition: generated.c:5407
static void test_pack_PPOINT(void)
Definition: generated.c:6744
static void test_pack_LARGE_INTEGER(void)
Definition: generated.c:5127
static void test_pack_IMAGE_DEBUG_DIRECTORY(void)
Definition: generated.c:4028
static void test_pack_LOCALHANDLE(void)
Definition: generated.c:6636
static void test_pack_SECURITY_DESCRIPTOR_RELATIVE(void)
Definition: generated.c:6267
static void test_pack_PCSTR(void)
Definition: generated.c:5380
static void test_pack_LIST_ENTRY(void)
Definition: generated.c:5140
static void test_pack_IMAGE_RESOURCE_DATA_ENTRY(void)
Definition: generated.c:4738
static void test_pack_FLOAT(void)
Definition: generated.c:6571
static void test_pack_PIMAGE_LINENUMBER(void)
Definition: generated.c:5583
static void test_pack_MESSAGE_RESOURCE_ENTRY(void)
Definition: generated.c:5252
static void test_pack_WPARAM(void)
Definition: generated.c:6901
static void test_pack_PCCH(void)
Definition: generated.c:5362
static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY64(void)
Definition: generated.c:4326
static void test_pack_PMESSAGE_RESOURCE_BLOCK(void)
Definition: generated.c:5838
static void test_pack_ACCESS_DENIED_ACE(void)
Definition: generated.c:3690
static void test_pack_ULONG_PTR(void)
Definition: generated.c:3666
static void test_pack_LCID(void)
Definition: generated.c:5132
static void test_pack_CHAR(void)
Definition: generated.c:3793
static void test_pack_PSECURITY_DESCRIPTOR(void)
Definition: generated.c:5956
static void test_pack_RTL_OSVERSIONINFOEXW(void)
Definition: generated.c:6136
static void test_pack_PIMAGE_OPTIONAL_HEADER64(void)
Definition: generated.c:5638
static void test_pack_IMAGE_RESOURCE_DIRECTORY_STRING(void)
Definition: generated.c:4787
static void test_pack_ULONG32(void)
Definition: generated.c:3650
static void test_pack_PIMAGE_BOUND_FORWARDER_REF(void)
Definition: generated.c:5477
static void test_pack_IMAGE_THUNK_DATA(void)
Definition: generated.c:4872
static void test_pack_IMAGE_BOUND_IMPORT_DESCRIPTOR(void)
Definition: generated.c:3968
static void test_pack_PCWCH(void)
Definition: generated.c:5389
static void test_pack_BOOLEAN(void)
Definition: generated.c:3778
static void test_pack_SYSTEM_AUDIT_ACE(void)
Definition: generated.c:6387
static void test_pack_INT(void)
Definition: generated.c:6628
static void test_pack_UCHAR(void)
Definition: generated.c:6861
static void test_pack_PSYSTEM_ALARM_ACE(void)
Definition: generated.c:6004
static void test_pack_IO_COUNTERS(void)
Definition: generated.c:5094
static void test_pack_PACE_HEADER(void)
Definition: generated.c:5326
static void test_pack_PIMAGE_SECTION_HEADER(void)
Definition: generated.c:5706

Referenced by START_TEST().

◆ test_pack_ACCESS_ALLOWED_ACE()

static void test_pack_ACCESS_ALLOWED_ACE ( void  )
static

Definition at line 3674 of file generated.c.

3675 {
3676  /* ACCESS_ALLOWED_ACE */
3685  TEST_FIELD_SIZE (ACCESS_ALLOWED_ACE, SidStart, 4)
3686  TEST_FIELD_ALIGN (ACCESS_ALLOWED_ACE, SidStart, 4)
3688 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
Definition: Header.h:8
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
processorSet Mask

Referenced by test_pack().

◆ test_pack_ACCESS_DENIED_ACE()

static void test_pack_ACCESS_DENIED_ACE ( void  )
static

Definition at line 3690 of file generated.c.

3691 {
3692  /* ACCESS_DENIED_ACE */
3701  TEST_FIELD_SIZE (ACCESS_DENIED_ACE, SidStart, 4)
3702  TEST_FIELD_ALIGN (ACCESS_DENIED_ACE, SidStart, 4)
3703  TEST_FIELD_OFFSET(ACCESS_DENIED_ACE, SidStart, 8)
3704 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
Definition: Header.h:8
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
processorSet Mask

Referenced by test_pack().

◆ test_pack_ACCESS_MASK()

static void test_pack_ACCESS_MASK ( void  )
static

Definition at line 3706 of file generated.c.

3707 {
3708  /* ACCESS_MASK */
3712 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71
ULONG ACCESS_MASK
Definition: nt_native.h:40

Referenced by test_pack().

◆ test_pack_ACE_HEADER()

static void test_pack_ACE_HEADER ( void  )
static

Definition at line 3714 of file generated.c.

3715 {
3716  /* ACE_HEADER */
3725  TEST_FIELD_SIZE (ACE_HEADER, AceSize, 2)
3726  TEST_FIELD_ALIGN (ACE_HEADER, AceSize, 2)
3727  TEST_FIELD_OFFSET(ACE_HEADER, AceSize, 2)
3728 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
static const ACEFLAG AceType[]
Definition: security.c:2259
static const ACEFLAG AceFlags[]
Definition: security.c:2300

Referenced by test_pack().

◆ test_pack_ACL()

static void test_pack_ACL ( void  )
static

Definition at line 3730 of file generated.c.

3731 {
3732  /* ACL */
3733  TEST_TYPE_SIZE (ACL, 8)
3734  TEST_TYPE_ALIGN (ACL, 2)
3738  TEST_FIELD_SIZE (ACL, Sbz1, 1)
3739  TEST_FIELD_ALIGN (ACL, Sbz1, 1)
3740  TEST_FIELD_OFFSET(ACL, Sbz1, 1)
3741  TEST_FIELD_SIZE (ACL, AclSize, 2)
3742  TEST_FIELD_ALIGN (ACL, AclSize, 2)
3743  TEST_FIELD_OFFSET(ACL, AclSize, 2)
3744  TEST_FIELD_SIZE (ACL, AceCount, 2)
3745  TEST_FIELD_ALIGN (ACL, AceCount, 2)
3746  TEST_FIELD_OFFSET(ACL, AceCount, 4)
3747  TEST_FIELD_SIZE (ACL, Sbz2, 2)
3748  TEST_FIELD_ALIGN (ACL, Sbz2, 2)
3749  TEST_FIELD_OFFSET(ACL, Sbz2, 6)
3750 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
_In_ ULONG _In_ ULONG AclRevision
Definition: rtlfuncs.h:1844
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_ACL_REVISION_INFORMATION()

static void test_pack_ACL_REVISION_INFORMATION ( void  )
static

Definition at line 3752 of file generated.c.

3753 {
3754  /* ACL_REVISION_INFORMATION */
3760 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
_In_ ULONG _In_ ULONG AclRevision
Definition: rtlfuncs.h:1844
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_ACL_SIZE_INFORMATION()

static void test_pack_ACL_SIZE_INFORMATION ( void  )
static

Definition at line 3762 of file generated.c.

3763 {
3764  /* ACL_SIZE_INFORMATION */
3767  TEST_FIELD_SIZE (ACL_SIZE_INFORMATION, AceCount, 4)
3768  TEST_FIELD_ALIGN (ACL_SIZE_INFORMATION, AceCount, 4)
3770  TEST_FIELD_SIZE (ACL_SIZE_INFORMATION, AclBytesInUse, 4)
3771  TEST_FIELD_ALIGN (ACL_SIZE_INFORMATION, AclBytesInUse, 4)
3772  TEST_FIELD_OFFSET(ACL_SIZE_INFORMATION, AclBytesInUse, 4)
3773  TEST_FIELD_SIZE (ACL_SIZE_INFORMATION, AclBytesFree, 4)
3774  TEST_FIELD_ALIGN (ACL_SIZE_INFORMATION, AclBytesFree, 4)
3775  TEST_FIELD_OFFSET(ACL_SIZE_INFORMATION, AclBytesFree, 8)
3776 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_ATOM()

static void test_pack_ATOM ( void  )
static

Definition at line 6524 of file generated.c.

6525 {
6526  /* ATOM */
6527  TEST_TYPE_SIZE (ATOM, 2)
6528  TEST_TYPE_ALIGN (ATOM, 2)
6530 }
WORD ATOM
Definition: dimm.idl:113
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_BOOL()

static void test_pack_BOOL ( void  )
static

Definition at line 6532 of file generated.c.

6533 {
6534  /* BOOL */
6535  TEST_TYPE_SIZE (BOOL, 4)
6536  TEST_TYPE_ALIGN (BOOL, 4)
6538 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by test_pack().

◆ test_pack_BOOLEAN()

static void test_pack_BOOLEAN ( void  )
static

Definition at line 3778 of file generated.c.

3779 {
3780  /* BOOLEAN */
3781  TEST_TYPE_SIZE (BOOLEAN, 1)
3784 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
unsigned char BOOLEAN
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_BYTE()

static void test_pack_BYTE ( void  )
static

Definition at line 6540 of file generated.c.

6541 {
6542  /* BYTE */
6543  TEST_TYPE_SIZE (BYTE, 1)
6544  TEST_TYPE_ALIGN (BYTE, 1)
6546 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
unsigned char BYTE
Definition: xxhash.c:193
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_CCHAR()

static void test_pack_CCHAR ( void  )
static

Definition at line 3786 of file generated.c.

3787 {
3788  /* CCHAR */
3789  TEST_TYPE_SIZE (CCHAR, 1)
3790  TEST_TYPE_ALIGN (CCHAR, 1)
3791 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
char CCHAR
Definition: typedefs.h:51

Referenced by test_pack().

◆ test_pack_CHAR()

static void test_pack_CHAR ( void  )
static

Definition at line 3793 of file generated.c.

3794 {
3795  /* CHAR */
3796  TEST_TYPE_SIZE (CHAR, 1)
3797  TEST_TYPE_ALIGN (CHAR, 1)
3798 }
char CHAR
Definition: xmlstorage.h:175
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_COLORREF()

static void test_pack_COLORREF ( void  )
static

Definition at line 6548 of file generated.c.

6549 {
6550  /* COLORREF */
6554 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
DWORD COLORREF
Definition: windef.h:300
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_DWORD()

static void test_pack_DWORD ( void  )
static

Definition at line 6556 of file generated.c.

6557 {
6558  /* DWORD */
6559  TEST_TYPE_SIZE (DWORD, 4)
6560  TEST_TYPE_ALIGN (DWORD, 4)
6562 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
unsigned long DWORD
Definition: ntddk_ex.h:95
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_DWORD32()

static void test_pack_DWORD32 ( void  )
static

Definition at line 3493 of file generated.c.

3494 {
3495  /* DWORD32 */
3496  TEST_TYPE_SIZE (DWORD32, 4)
3499 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
unsigned int DWORD32
Definition: basetsd.h:126
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_DWORD64()

static void test_pack_DWORD64 ( void  )
static

Definition at line 3501 of file generated.c.

3502 {
3503  /* DWORD64 */
3504  TEST_TYPE_SIZE (DWORD64, 8)
3507 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
uint64_t DWORD64
Definition: typedefs.h:67
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_DWORD_PTR()

static void test_pack_DWORD_PTR ( void  )
static

Definition at line 3509 of file generated.c.

3510 {
3511  /* DWORD_PTR */
3514 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
uint32_t DWORD_PTR
Definition: typedefs.h:65

Referenced by test_pack().

◆ test_pack_DWORDLONG()

static void test_pack_DWORDLONG ( void  )
static

Definition at line 3800 of file generated.c.

3801 {
3802  /* DWORDLONG */
3806 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71
unsigned long long DWORDLONG
Definition: intsafe.h:91

Referenced by test_pack().

◆ test_pack_EXCEPTION_POINTERS()

static void test_pack_EXCEPTION_POINTERS ( void  )
static

Definition at line 3808 of file generated.c.

3809 {
3810  /* EXCEPTION_POINTERS */
3813  TEST_FIELD_SIZE (EXCEPTION_POINTERS, ExceptionRecord, 4)
3814  TEST_FIELD_ALIGN (EXCEPTION_POINTERS, ExceptionRecord, 4)
3815  TEST_FIELD_OFFSET(EXCEPTION_POINTERS, ExceptionRecord, 0)
3819 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
_IRQL_requires_same_ _In_ PVOID _Inout_ struct _CONTEXT * ContextRecord
Definition: ntbasedef.h:655
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_EXCEPTION_RECORD()

static void test_pack_EXCEPTION_RECORD ( void  )
static

Definition at line 3821 of file generated.c.

3822 {
3823  /* EXCEPTION_RECORD */
3829  TEST_FIELD_SIZE (EXCEPTION_RECORD, ExceptionFlags, 4)
3830  TEST_FIELD_ALIGN (EXCEPTION_RECORD, ExceptionFlags, 4)
3831  TEST_FIELD_OFFSET(EXCEPTION_RECORD, ExceptionFlags, 4)
3832  TEST_FIELD_SIZE (EXCEPTION_RECORD, ExceptionRecord, 4)
3833  TEST_FIELD_ALIGN (EXCEPTION_RECORD, ExceptionRecord, 4)
3834  TEST_FIELD_OFFSET(EXCEPTION_RECORD, ExceptionRecord, 8)
3835  TEST_FIELD_SIZE (EXCEPTION_RECORD, ExceptionAddress, 4)
3836  TEST_FIELD_ALIGN (EXCEPTION_RECORD, ExceptionAddress, 4)
3837  TEST_FIELD_OFFSET(EXCEPTION_RECORD, ExceptionAddress, 12)
3838  TEST_FIELD_SIZE (EXCEPTION_RECORD, NumberParameters, 4)
3839  TEST_FIELD_ALIGN (EXCEPTION_RECORD, NumberParameters, 4)
3840  TEST_FIELD_OFFSET(EXCEPTION_RECORD, NumberParameters, 16)
3841  TEST_FIELD_SIZE (EXCEPTION_RECORD, ExceptionInformation, 60)
3842  TEST_FIELD_ALIGN (EXCEPTION_RECORD, ExceptionInformation, 4)
3843  TEST_FIELD_OFFSET(EXCEPTION_RECORD, ExceptionInformation, 20)
3844 }
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
Definition: cdprocs.h:1772
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_EXECUTION_STATE()

static void test_pack_EXECUTION_STATE ( void  )
static

Definition at line 3846 of file generated.c.

3847 {
3848  /* EXECUTION_STATE */
3852 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
ULONG EXECUTION_STATE
Definition: potypes.h:213
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_FARPROC()

static void test_pack_FARPROC ( void  )
static

Definition at line 6564 of file generated.c.

6565 {
6566  /* FARPROC */
6567  TEST_TYPE_SIZE (FARPROC, 4)
6569 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
int(* FARPROC)()
Definition: compat.h:36

Referenced by test_pack().

◆ test_pack_FLOAT()

static void test_pack_FLOAT ( void  )
static

Definition at line 6571 of file generated.c.

6572 {
6573  /* FLOAT */
6574  TEST_TYPE_SIZE (FLOAT, 4)
6575  TEST_TYPE_ALIGN (FLOAT, 4)
6576 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
float FLOAT
Definition: typedefs.h:69

Referenced by test_pack().

◆ test_pack_FPO_DATA()

static void test_pack_FPO_DATA ( void  )
static

Definition at line 3854 of file generated.c.

3855 {
3856  /* FPO_DATA */
3857  TEST_TYPE_SIZE (FPO_DATA, 16)
3859  TEST_FIELD_SIZE (FPO_DATA, ulOffStart, 4)
3860  TEST_FIELD_ALIGN (FPO_DATA, ulOffStart, 4)
3861  TEST_FIELD_OFFSET(FPO_DATA, ulOffStart, 0)
3862  TEST_FIELD_SIZE (FPO_DATA, cbProcSize, 4)
3863  TEST_FIELD_ALIGN (FPO_DATA, cbProcSize, 4)
3864  TEST_FIELD_OFFSET(FPO_DATA, cbProcSize, 4)
3865  TEST_FIELD_SIZE (FPO_DATA, cdwLocals, 4)
3866  TEST_FIELD_ALIGN (FPO_DATA, cdwLocals, 4)
3867  TEST_FIELD_OFFSET(FPO_DATA, cdwLocals, 8)
3868  TEST_FIELD_SIZE (FPO_DATA, cdwParams, 2)
3869  TEST_FIELD_ALIGN (FPO_DATA, cdwParams, 2)
3870  TEST_FIELD_OFFSET(FPO_DATA, cdwParams, 12)
3871 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_GENERIC_MAPPING()

static void test_pack_GENERIC_MAPPING ( void  )
static

Definition at line 3873 of file generated.c.

3874 {
3875  /* GENERIC_MAPPING */
3878  TEST_FIELD_SIZE (GENERIC_MAPPING, GenericRead, 4)
3879  TEST_FIELD_ALIGN (GENERIC_MAPPING, GenericRead, 4)
3880  TEST_FIELD_OFFSET(GENERIC_MAPPING, GenericRead, 0)
3881  TEST_FIELD_SIZE (GENERIC_MAPPING, GenericWrite, 4)
3882  TEST_FIELD_ALIGN (GENERIC_MAPPING, GenericWrite, 4)
3883  TEST_FIELD_OFFSET(GENERIC_MAPPING, GenericWrite, 4)
3884  TEST_FIELD_SIZE (GENERIC_MAPPING, GenericExecute, 4)
3885  TEST_FIELD_ALIGN (GENERIC_MAPPING, GenericExecute, 4)
3886  TEST_FIELD_OFFSET(GENERIC_MAPPING, GenericExecute, 8)
3887  TEST_FIELD_SIZE (GENERIC_MAPPING, GenericAll, 4)
3888  TEST_FIELD_ALIGN (GENERIC_MAPPING, GenericAll, 4)
3889  TEST_FIELD_OFFSET(GENERIC_MAPPING, GenericAll, 12)
3890 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_GLOBALHANDLE()

static void test_pack_GLOBALHANDLE ( void  )
static

Definition at line 6578 of file generated.c.

6579 {
6580  /* GLOBALHANDLE */
6583 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HALF_PTR()

static void test_pack_HALF_PTR ( void  )
static

Definition at line 3516 of file generated.c.

3517 {
3518  /* HALF_PTR */
3522 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
short HALF_PTR
Definition: basetsd.h:76
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HANDLE()

static void test_pack_HANDLE ( void  )
static

Definition at line 3892 of file generated.c.

3893 {
3894  /* HANDLE */
3895  TEST_TYPE_SIZE (HANDLE, 4)
3896  TEST_TYPE_ALIGN (HANDLE, 4)
3897 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HCURSOR()

static void test_pack_HCURSOR ( void  )
static

Definition at line 6585 of file generated.c.

6586 {
6587  /* HCURSOR */
6588  TEST_TYPE_SIZE (HCURSOR, 4)
6590 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
HICON HCURSOR
Definition: windef.h:299
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HFILE()

static void test_pack_HFILE ( void  )
static

Definition at line 6592 of file generated.c.

6593 {
6594  /* HFILE */
6595  TEST_TYPE_SIZE (HFILE, 4)
6596  TEST_TYPE_ALIGN (HFILE, 4)
6598 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
int HFILE
Definition: windef.h:298

Referenced by test_pack().

◆ test_pack_HGDIOBJ()

static void test_pack_HGDIOBJ ( void  )
static

Definition at line 6600 of file generated.c.

6601 {
6602  /* HGDIOBJ */
6603  TEST_TYPE_SIZE (HGDIOBJ, 4)
6605 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HGLOBAL()

static void test_pack_HGLOBAL ( void  )
static

Definition at line 6607 of file generated.c.

6608 {
6609  /* HGLOBAL */
6610  TEST_TYPE_SIZE (HGLOBAL, 4)
6612 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HLOCAL()

static void test_pack_HLOCAL ( void  )
static

Definition at line 6614 of file generated.c.

6615 {
6616  /* HLOCAL */
6617  TEST_TYPE_SIZE (HLOCAL, 4)
6618  TEST_TYPE_ALIGN (HLOCAL, 4)
6619 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HMODULE()

static void test_pack_HMODULE ( void  )
static

Definition at line 6621 of file generated.c.

6622 {
6623  /* HMODULE */
6624  TEST_TYPE_SIZE (HMODULE, 4)
6626 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_HRESULT()

static void test_pack_HRESULT ( void  )
static

Definition at line 3899 of file generated.c.

3900 {
3901  /* HRESULT */
3902  TEST_TYPE_SIZE (HRESULT, 4)
3904 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
LONG HRESULT
Definition: typedefs.h:79

Referenced by test_pack().

◆ test_pack_IMAGE_ARCHIVE_MEMBER_HEADER()

static void test_pack_IMAGE_ARCHIVE_MEMBER_HEADER ( void  )
static

Definition at line 3906 of file generated.c.

3907 {
3908  /* IMAGE_ARCHIVE_MEMBER_HEADER */
3932 }
_In_ ULONG Mode
Definition: hubbusif.h:303
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_AUX_SYMBOL()

static void test_pack_IMAGE_AUX_SYMBOL ( void  )
static

Definition at line 3934 of file generated.c.

3935 {
3936  /* IMAGE_AUX_SYMBOL (pack 2) */
3937 }

Referenced by test_pack().

◆ test_pack_IMAGE_BASE_RELOCATION()

static void test_pack_IMAGE_BASE_RELOCATION ( void  )
static

Definition at line 3939 of file generated.c.

3940 {
3941  /* IMAGE_BASE_RELOCATION */
3947  TEST_FIELD_SIZE (IMAGE_BASE_RELOCATION, SizeOfBlock, 4)
3948  TEST_FIELD_ALIGN (IMAGE_BASE_RELOCATION, SizeOfBlock, 4)
3949  TEST_FIELD_OFFSET(IMAGE_BASE_RELOCATION, SizeOfBlock, 4)
3950 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_BOUND_FORWARDER_REF()

static void test_pack_IMAGE_BOUND_FORWARDER_REF ( void  )
static

Definition at line 3952 of file generated.c.

3953 {
3954  /* IMAGE_BOUND_FORWARDER_REF */
3957  TEST_FIELD_SIZE (IMAGE_BOUND_FORWARDER_REF, TimeDateStamp, 4)
3958  TEST_FIELD_ALIGN (IMAGE_BOUND_FORWARDER_REF, TimeDateStamp, 4)
3959  TEST_FIELD_OFFSET(IMAGE_BOUND_FORWARDER_REF, TimeDateStamp, 0)
3960  TEST_FIELD_SIZE (IMAGE_BOUND_FORWARDER_REF, OffsetModuleName, 2)
3961  TEST_FIELD_ALIGN (IMAGE_BOUND_FORWARDER_REF, OffsetModuleName, 2)
3962  TEST_FIELD_OFFSET(IMAGE_BOUND_FORWARDER_REF, OffsetModuleName, 4)
3966 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_BOUND_IMPORT_DESCRIPTOR()

static void test_pack_IMAGE_BOUND_IMPORT_DESCRIPTOR ( void  )
static

Definition at line 3968 of file generated.c.

3969 {
3970  /* IMAGE_BOUND_IMPORT_DESCRIPTOR */
3976  TEST_FIELD_SIZE (IMAGE_BOUND_IMPORT_DESCRIPTOR, OffsetModuleName, 2)
3977  TEST_FIELD_ALIGN (IMAGE_BOUND_IMPORT_DESCRIPTOR, OffsetModuleName, 2)
3978  TEST_FIELD_OFFSET(IMAGE_BOUND_IMPORT_DESCRIPTOR, OffsetModuleName, 4)
3979  TEST_FIELD_SIZE (IMAGE_BOUND_IMPORT_DESCRIPTOR, NumberOfModuleForwarderRefs, 2)
3980  TEST_FIELD_ALIGN (IMAGE_BOUND_IMPORT_DESCRIPTOR, NumberOfModuleForwarderRefs, 2)
3981  TEST_FIELD_OFFSET(IMAGE_BOUND_IMPORT_DESCRIPTOR, NumberOfModuleForwarderRefs, 6)
3982 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_COFF_SYMBOLS_HEADER()

static void test_pack_IMAGE_COFF_SYMBOLS_HEADER ( void  )
static

Definition at line 3984 of file generated.c.

3985 {
3986  /* IMAGE_COFF_SYMBOLS_HEADER */
3989  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, NumberOfSymbols, 4)
3990  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, NumberOfSymbols, 4)
3991  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, NumberOfSymbols, 0)
3992  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstSymbol, 4)
3993  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstSymbol, 4)
3994  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstSymbol, 4)
3995  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, NumberOfLinenumbers, 4)
3996  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, NumberOfLinenumbers, 4)
3997  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, NumberOfLinenumbers, 8)
3998  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstLinenumber, 4)
3999  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstLinenumber, 4)
4000  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, LvaToFirstLinenumber, 12)
4001  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfCode, 4)
4002  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfCode, 4)
4003  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfCode, 16)
4004  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfCode, 4)
4005  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfCode, 4)
4006  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfCode, 20)
4007  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfData, 4)
4008  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfData, 4)
4009  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, RvaToFirstByteOfData, 24)
4010  TEST_FIELD_SIZE (IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfData, 4)
4011  TEST_FIELD_ALIGN (IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfData, 4)
4012  TEST_FIELD_OFFSET(IMAGE_COFF_SYMBOLS_HEADER, RvaToLastByteOfData, 28)
4013 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_DATA_DIRECTORY()

static void test_pack_IMAGE_DATA_DIRECTORY ( void  )
static

Definition at line 4015 of file generated.c.

4016 {
4017  /* IMAGE_DATA_DIRECTORY */
4026 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_DEBUG_DIRECTORY()

static void test_pack_IMAGE_DEBUG_DIRECTORY ( void  )
static

Definition at line 4028 of file generated.c.

4029 {
4030  /* IMAGE_DEBUG_DIRECTORY */
4033  TEST_FIELD_SIZE (IMAGE_DEBUG_DIRECTORY, Characteristics, 4)
4034  TEST_FIELD_ALIGN (IMAGE_DEBUG_DIRECTORY, Characteristics, 4)
4035  TEST_FIELD_OFFSET(IMAGE_DEBUG_DIRECTORY, Characteristics, 0)
4036  TEST_FIELD_SIZE (IMAGE_DEBUG_DIRECTORY, TimeDateStamp, 4)
4037  TEST_FIELD_ALIGN (IMAGE_DEBUG_DIRECTORY, TimeDateStamp, 4)
4038  TEST_FIELD_OFFSET(IMAGE_DEBUG_DIRECTORY, TimeDateStamp, 4)
4048  TEST_FIELD_SIZE (IMAGE_DEBUG_DIRECTORY, SizeOfData, 4)
4049  TEST_FIELD_ALIGN (IMAGE_DEBUG_DIRECTORY, SizeOfData, 4)
4050  TEST_FIELD_OFFSET(IMAGE_DEBUG_DIRECTORY, SizeOfData, 16)
4051  TEST_FIELD_SIZE (IMAGE_DEBUG_DIRECTORY, AddressOfRawData, 4)
4052  TEST_FIELD_ALIGN (IMAGE_DEBUG_DIRECTORY, AddressOfRawData, 4)
4053  TEST_FIELD_OFFSET(IMAGE_DEBUG_DIRECTORY, AddressOfRawData, 20)
4054  TEST_FIELD_SIZE (IMAGE_DEBUG_DIRECTORY, PointerToRawData, 4)
4055  TEST_FIELD_ALIGN (IMAGE_DEBUG_DIRECTORY, PointerToRawData, 4)
4056  TEST_FIELD_OFFSET(IMAGE_DEBUG_DIRECTORY, PointerToRawData, 24)
4057 }
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
Type
Definition: Type.h:6
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_DEBUG_MISC()

static void test_pack_IMAGE_DEBUG_MISC ( void  )
static

Definition at line 4059 of file generated.c.

4060 {
4061  /* IMAGE_DEBUG_MISC */
4070  TEST_FIELD_SIZE (IMAGE_DEBUG_MISC, Unicode, 1)
4071  TEST_FIELD_ALIGN (IMAGE_DEBUG_MISC, Unicode, 1)
4072  TEST_FIELD_OFFSET(IMAGE_DEBUG_MISC, Unicode, 8)
4079 }
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
_In_ ULONG DataType
Definition: iotypes.h:803

Referenced by test_pack().

◆ test_pack_IMAGE_DOS_HEADER()

static void test_pack_IMAGE_DOS_HEADER ( void  )
static

Definition at line 4081 of file generated.c.

4082 {
4083  /* IMAGE_DOS_HEADER (pack 2) */
4089  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_cblp, 2)
4090  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_cblp, 2)
4095  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_crlc, 2)
4096  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_crlc, 2)
4098  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_cparhdr, 2)
4099  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_cparhdr, 2)
4100  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_cparhdr, 8)
4101  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_minalloc, 2)
4102  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_minalloc, 2)
4103  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_minalloc, 10)
4104  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_maxalloc, 2)
4105  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_maxalloc, 2)
4106  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_maxalloc, 12)
4113  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_csum, 2)
4114  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_csum, 2)
4115  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_csum, 18)
4122  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_lfarlc, 2)
4123  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_lfarlc, 2)
4124  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_lfarlc, 24)
4125  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_ovno, 2)
4126  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_ovno, 2)
4127  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_ovno, 26)
4128  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_res, 8)
4131  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_oemid, 2)
4132  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_oemid, 2)
4133  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_oemid, 36)
4134  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_oeminfo, 2)
4135  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_oeminfo, 2)
4136  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_oeminfo, 38)
4137  TEST_FIELD_SIZE (IMAGE_DOS_HEADER, e_res2, 20)
4138  TEST_FIELD_ALIGN (IMAGE_DOS_HEADER, e_res2, 2)
4139  TEST_FIELD_OFFSET(IMAGE_DOS_HEADER, e_res2, 40)
4143 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
WORD e_magic
Definition: crypt.c:1154
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
DWORD e_lfanew
Definition: crypt.c:1156
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_EXPORT_DIRECTORY()

static void test_pack_IMAGE_EXPORT_DIRECTORY ( void  )
static

Definition at line 4145 of file generated.c.

4146 {
4147  /* IMAGE_EXPORT_DIRECTORY */
4150  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, Characteristics, 4)
4151  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, Characteristics, 4)
4152  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, Characteristics, 0)
4153  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, TimeDateStamp, 4)
4154  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, TimeDateStamp, 4)
4155  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, TimeDateStamp, 4)
4168  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, NumberOfFunctions, 4)
4169  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, NumberOfFunctions, 4)
4170  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, NumberOfFunctions, 20)
4171  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, NumberOfNames, 4)
4172  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, NumberOfNames, 4)
4173  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, NumberOfNames, 24)
4174  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, AddressOfFunctions, 4)
4175  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, AddressOfFunctions, 4)
4176  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, AddressOfFunctions, 28)
4177  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, AddressOfNames, 4)
4178  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, AddressOfNames, 4)
4179  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, AddressOfNames, 32)
4180  TEST_FIELD_SIZE (IMAGE_EXPORT_DIRECTORY, AddressOfNameOrdinals, 4)
4181  TEST_FIELD_ALIGN (IMAGE_EXPORT_DIRECTORY, AddressOfNameOrdinals, 4)
4182  TEST_FIELD_OFFSET(IMAGE_EXPORT_DIRECTORY, AddressOfNameOrdinals, 36)
4183 }
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2373
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_FILE_HEADER()

static void test_pack_IMAGE_FILE_HEADER ( void  )
static

Definition at line 4185 of file generated.c.

4186 {
4187  /* IMAGE_FILE_HEADER */
4190  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, Machine, 2)
4191  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, Machine, 2)
4193  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, NumberOfSections, 2)
4194  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, NumberOfSections, 2)
4195  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, NumberOfSections, 2)
4196  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, TimeDateStamp, 4)
4197  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, TimeDateStamp, 4)
4198  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, TimeDateStamp, 4)
4199  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, PointerToSymbolTable, 4)
4200  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, PointerToSymbolTable, 4)
4201  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, PointerToSymbolTable, 8)
4202  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, NumberOfSymbols, 4)
4203  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, NumberOfSymbols, 4)
4204  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, NumberOfSymbols, 12)
4205  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2)
4206  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, SizeOfOptionalHeader, 2)
4207  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, SizeOfOptionalHeader, 16)
4208  TEST_FIELD_SIZE (IMAGE_FILE_HEADER, Characteristics, 2)
4209  TEST_FIELD_ALIGN (IMAGE_FILE_HEADER, Characteristics, 2)
4210  TEST_FIELD_OFFSET(IMAGE_FILE_HEADER, Characteristics, 18)
4211 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_FUNCTION_ENTRY()

static void test_pack_IMAGE_FUNCTION_ENTRY ( void  )
static

Definition at line 4213 of file generated.c.

4214 {
4215  /* IMAGE_FUNCTION_ENTRY */
4218  TEST_FIELD_SIZE (IMAGE_FUNCTION_ENTRY, StartingAddress, 4)
4219  TEST_FIELD_ALIGN (IMAGE_FUNCTION_ENTRY, StartingAddress, 4)
4220  TEST_FIELD_OFFSET(IMAGE_FUNCTION_ENTRY, StartingAddress, 0)
4221  TEST_FIELD_SIZE (IMAGE_FUNCTION_ENTRY, EndingAddress, 4)
4222  TEST_FIELD_ALIGN (IMAGE_FUNCTION_ENTRY, EndingAddress, 4)
4223  TEST_FIELD_OFFSET(IMAGE_FUNCTION_ENTRY, EndingAddress, 4)
4224  TEST_FIELD_SIZE (IMAGE_FUNCTION_ENTRY, EndOfPrologue, 4)
4225  TEST_FIELD_ALIGN (IMAGE_FUNCTION_ENTRY, EndOfPrologue, 4)
4226  TEST_FIELD_OFFSET(IMAGE_FUNCTION_ENTRY, EndOfPrologue, 8)
4227 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
Definition: winnt_old.h:3465
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_IMPORT_BY_NAME()

static void test_pack_IMAGE_IMPORT_BY_NAME ( void  )
static

Definition at line 4229 of file generated.c.

4230 {
4231  /* IMAGE_IMPORT_BY_NAME */
4240 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_IMPORT_DESCRIPTOR()

static void test_pack_IMAGE_IMPORT_DESCRIPTOR ( void  )
static

Definition at line 4242 of file generated.c.

4243 {
4244  /* IMAGE_IMPORT_DESCRIPTOR */
4245 }

Referenced by test_pack().

◆ test_pack_IMAGE_LINENUMBER()

static void test_pack_IMAGE_LINENUMBER ( void  )
static

Definition at line 4247 of file generated.c.

4248 {
4249  /* IMAGE_LINENUMBER (pack 2) */
4250 }

Referenced by test_pack().

◆ test_pack_IMAGE_LOAD_CONFIG_DIRECTORY()

static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY ( void  )
static

Definition at line 4252 of file generated.c.

4253 {
4254  /* IMAGE_LOAD_CONFIG_DIRECTORY */
4257 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_IMAGE_LOAD_CONFIG_DIRECTORY32()

static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY32 ( void  )
static

Definition at line 4259 of file generated.c.

4260 {
4261  /* IMAGE_LOAD_CONFIG_DIRECTORY32 */
4276  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, GlobalFlagsClear, 4)
4277  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, GlobalFlagsClear, 4)
4278  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, GlobalFlagsClear, 12)
4279  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, GlobalFlagsSet, 4)
4280  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, GlobalFlagsSet, 4)
4282  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, CriticalSectionDefaultTimeout, 4)
4283  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, CriticalSectionDefaultTimeout, 4)
4284  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, CriticalSectionDefaultTimeout, 20)
4285  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitFreeBlockThreshold, 4)
4286  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitFreeBlockThreshold, 4)
4287  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitFreeBlockThreshold, 24)
4288  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitTotalFreeThreshold, 4)
4289  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitTotalFreeThreshold, 4)
4290  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, DeCommitTotalFreeThreshold, 28)
4291  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, LockPrefixTable, 4)
4292  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, LockPrefixTable, 4)
4293  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, LockPrefixTable, 32)
4294  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, MaximumAllocationSize, 4)
4295  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, MaximumAllocationSize, 4)
4296  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, MaximumAllocationSize, 36)
4297  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, VirtualMemoryThreshold, 4)
4298  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, VirtualMemoryThreshold, 4)
4299  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, VirtualMemoryThreshold, 40)
4300  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, ProcessHeapFlags, 4)
4301  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, ProcessHeapFlags, 4)
4302  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY32, ProcessHeapFlags, 44)
4315  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, SecurityCookie, 4)
4316  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, SecurityCookie, 4)
4318  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, SEHandlerTable, 4)
4319  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, SEHandlerTable, 4)
4321  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY32, SEHandlerCount, 4)
4322  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY32, SEHandlerCount, 4)
4324 }
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
Definition: bcd.h:201

Referenced by test_pack().

◆ test_pack_IMAGE_LOAD_CONFIG_DIRECTORY64()

static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY64 ( void  )
static

Definition at line 4326 of file generated.c.

4327 {
4328  /* IMAGE_LOAD_CONFIG_DIRECTORY64 */
4343  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, GlobalFlagsClear, 4)
4344  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, GlobalFlagsClear, 4)
4345  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, GlobalFlagsClear, 12)
4346  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, GlobalFlagsSet, 4)
4347  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, GlobalFlagsSet, 4)
4349  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, CriticalSectionDefaultTimeout, 4)
4350  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, CriticalSectionDefaultTimeout, 4)
4351  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, CriticalSectionDefaultTimeout, 20)
4352  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitFreeBlockThreshold, 8)
4353  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitFreeBlockThreshold, 8)
4354  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitFreeBlockThreshold, 24)
4355  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitTotalFreeThreshold, 8)
4356  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitTotalFreeThreshold, 8)
4357  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, DeCommitTotalFreeThreshold, 32)
4358  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, LockPrefixTable, 8)
4359  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, LockPrefixTable, 8)
4360  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, LockPrefixTable, 40)
4361  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, MaximumAllocationSize, 8)
4362  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, MaximumAllocationSize, 8)
4363  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, MaximumAllocationSize, 48)
4364  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, VirtualMemoryThreshold, 8)
4365  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, VirtualMemoryThreshold, 8)
4366  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, VirtualMemoryThreshold, 56)
4370  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, ProcessHeapFlags, 4)
4371  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, ProcessHeapFlags, 4)
4372  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, ProcessHeapFlags, 72)
4382  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, SecurityCookie, 8)
4383  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, SecurityCookie, 8)
4385  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, SEHandlerTable, 8)
4386  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, SEHandlerTable, 8)
4388  TEST_FIELD_SIZE (IMAGE_LOAD_CONFIG_DIRECTORY64, SEHandlerCount, 8)
4389  TEST_FIELD_ALIGN (IMAGE_LOAD_CONFIG_DIRECTORY64, SEHandlerCount, 8)
4390  TEST_FIELD_OFFSET(IMAGE_LOAD_CONFIG_DIRECTORY64, SEHandlerCount, 104)
4391 }
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
Definition: bcd.h:201

Referenced by test_pack().

◆ test_pack_IMAGE_NT_HEADERS()

static void test_pack_IMAGE_NT_HEADERS ( void  )
static

Definition at line 4393 of file generated.c.

4394 {
4395  /* IMAGE_NT_HEADERS */
4398 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_IMAGE_NT_HEADERS32()

static void test_pack_IMAGE_NT_HEADERS32 ( void  )
static

Definition at line 4400 of file generated.c.

4401 {
4402  /* IMAGE_NT_HEADERS32 */
4408  TEST_FIELD_SIZE (IMAGE_NT_HEADERS32, FileHeader, 20)
4409  TEST_FIELD_ALIGN (IMAGE_NT_HEADERS32, FileHeader, 4)
4410  TEST_FIELD_OFFSET(IMAGE_NT_HEADERS32, FileHeader, 4)
4411  TEST_FIELD_SIZE (IMAGE_NT_HEADERS32, OptionalHeader, 224)
4412  TEST_FIELD_ALIGN (IMAGE_NT_HEADERS32, OptionalHeader, 4)
4413  TEST_FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader, 24)
4414 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
static const WCHAR Signature[]
Definition: parser.c:141

Referenced by test_pack().

◆ test_pack_IMAGE_NT_HEADERS64()

static void test_pack_IMAGE_NT_HEADERS64 ( void  )
static

Definition at line 4416 of file generated.c.

4417 {
4418  /* IMAGE_NT_HEADERS64 */
4424  TEST_FIELD_SIZE (IMAGE_NT_HEADERS64, FileHeader, 20)
4425  TEST_FIELD_ALIGN (IMAGE_NT_HEADERS64, FileHeader, 4)
4426  TEST_FIELD_OFFSET(IMAGE_NT_HEADERS64, FileHeader, 4)
4427  TEST_FIELD_SIZE (IMAGE_NT_HEADERS64, OptionalHeader, 240)
4428  TEST_FIELD_ALIGN (IMAGE_NT_HEADERS64, OptionalHeader, 8)
4429  TEST_FIELD_OFFSET(IMAGE_NT_HEADERS64, OptionalHeader, 24)
4430 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
static const WCHAR Signature[]
Definition: parser.c:141

Referenced by test_pack().

◆ test_pack_IMAGE_OPTIONAL_HEADER()

static void test_pack_IMAGE_OPTIONAL_HEADER ( void  )
static

Definition at line 4432 of file generated.c.

4433 {
4434  /* IMAGE_OPTIONAL_HEADER */
4437 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_IMAGE_OPTIONAL_HEADER32()

static void test_pack_IMAGE_OPTIONAL_HEADER32 ( void  )
static

Definition at line 4439 of file generated.c.

4440 {
4441  /* IMAGE_OPTIONAL_HEADER32 */
4447  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MajorLinkerVersion, 1)
4448  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MajorLinkerVersion, 1)
4449  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MajorLinkerVersion, 2)
4450  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MinorLinkerVersion, 1)
4451  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MinorLinkerVersion, 1)
4452  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MinorLinkerVersion, 3)
4453  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfCode, 4)
4454  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfCode, 4)
4456  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfInitializedData, 4)
4457  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfInitializedData, 4)
4458  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfInitializedData, 8)
4459  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfUninitializedData, 4)
4460  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfUninitializedData, 4)
4461  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfUninitializedData, 12)
4462  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, AddressOfEntryPoint, 4)
4463  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, AddressOfEntryPoint, 4)
4464  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, AddressOfEntryPoint, 16)
4465  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, BaseOfCode, 4)
4466  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, BaseOfCode, 4)
4468  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, BaseOfData, 4)
4469  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, BaseOfData, 4)
4474  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SectionAlignment, 4)
4475  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SectionAlignment, 4)
4476  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SectionAlignment, 32)
4477  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, FileAlignment, 4)
4478  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, FileAlignment, 4)
4479  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, FileAlignment, 36)
4480  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MajorOperatingSystemVersion, 2)
4481  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MajorOperatingSystemVersion, 2)
4482  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MajorOperatingSystemVersion, 40)
4483  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MinorOperatingSystemVersion, 2)
4484  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MinorOperatingSystemVersion, 2)
4485  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MinorOperatingSystemVersion, 42)
4486  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MajorImageVersion, 2)
4487  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MajorImageVersion, 2)
4488  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MajorImageVersion, 44)
4489  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MinorImageVersion, 2)
4490  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MinorImageVersion, 2)
4491  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MinorImageVersion, 46)
4492  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MajorSubsystemVersion, 2)
4493  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MajorSubsystemVersion, 2)
4494  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MajorSubsystemVersion, 48)
4495  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, MinorSubsystemVersion, 2)
4496  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, MinorSubsystemVersion, 2)
4497  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, MinorSubsystemVersion, 50)
4498  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, Win32VersionValue, 4)
4499  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, Win32VersionValue, 4)
4500  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, Win32VersionValue, 52)
4501  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfImage, 4)
4502  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfImage, 4)
4503  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfImage, 56)
4504  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfHeaders, 4)
4505  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfHeaders, 4)
4506  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfHeaders, 60)
4513  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, DllCharacteristics, 2)
4514  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, DllCharacteristics, 2)
4515  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, DllCharacteristics, 70)
4516  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfStackReserve, 4)
4517  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfStackReserve, 4)
4518  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfStackReserve, 72)
4519  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfStackCommit, 4)
4520  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfStackCommit, 4)
4521  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfStackCommit, 76)
4522  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfHeapReserve, 4)
4523  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfHeapReserve, 4)
4524  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfHeapReserve, 80)
4525  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, SizeOfHeapCommit, 4)
4526  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, SizeOfHeapCommit, 4)
4527  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, SizeOfHeapCommit, 84)
4528  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, LoaderFlags, 4)
4529  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, LoaderFlags, 4)
4530  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, LoaderFlags, 88)
4531  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, NumberOfRvaAndSizes, 4)
4532  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, NumberOfRvaAndSizes, 4)
4533  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, NumberOfRvaAndSizes, 92)
4534  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER32, DataDirectory, 128)
4535  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER32, DataDirectory, 4)
4536  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER32, DataDirectory, 96)
4537 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
UCHAR CheckSum(LPSTR p, ULONG Len)
Definition: serial.c:197
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_OPTIONAL_HEADER64()

static void test_pack_IMAGE_OPTIONAL_HEADER64 ( void  )
static

Definition at line 4539 of file generated.c.

4540 {
4541  /* IMAGE_OPTIONAL_HEADER64 */
4547  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MajorLinkerVersion, 1)
4548  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MajorLinkerVersion, 1)
4549  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MajorLinkerVersion, 2)
4550  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MinorLinkerVersion, 1)
4551  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MinorLinkerVersion, 1)
4552  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MinorLinkerVersion, 3)
4553  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfCode, 4)
4554  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfCode, 4)
4556  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfInitializedData, 4)
4557  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfInitializedData, 4)
4558  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfInitializedData, 8)
4559  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfUninitializedData, 4)
4560  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfUninitializedData, 4)
4561  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfUninitializedData, 12)
4562  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, AddressOfEntryPoint, 4)
4563  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, AddressOfEntryPoint, 4)
4564  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, AddressOfEntryPoint, 16)
4565  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, BaseOfCode, 4)
4566  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, BaseOfCode, 4)
4571  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SectionAlignment, 4)
4572  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SectionAlignment, 4)
4573  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SectionAlignment, 32)
4574  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, FileAlignment, 4)
4575  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, FileAlignment, 4)
4576  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, FileAlignment, 36)
4577  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MajorOperatingSystemVersion, 2)
4578  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MajorOperatingSystemVersion, 2)
4579  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MajorOperatingSystemVersion, 40)
4580  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MinorOperatingSystemVersion, 2)
4581  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MinorOperatingSystemVersion, 2)
4582  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MinorOperatingSystemVersion, 42)
4583  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MajorImageVersion, 2)
4584  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MajorImageVersion, 2)
4585  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MajorImageVersion, 44)
4586  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MinorImageVersion, 2)
4587  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MinorImageVersion, 2)
4588  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MinorImageVersion, 46)
4589  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MajorSubsystemVersion, 2)
4590  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MajorSubsystemVersion, 2)
4591  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MajorSubsystemVersion, 48)
4592  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, MinorSubsystemVersion, 2)
4593  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, MinorSubsystemVersion, 2)
4594  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, MinorSubsystemVersion, 50)
4595  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, Win32VersionValue, 4)
4596  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, Win32VersionValue, 4)
4597  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, Win32VersionValue, 52)
4598  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfImage, 4)
4599  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfImage, 4)
4600  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfImage, 56)
4601  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfHeaders, 4)
4602  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfHeaders, 4)
4603  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfHeaders, 60)
4610  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, DllCharacteristics, 2)
4611  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, DllCharacteristics, 2)
4612  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, DllCharacteristics, 70)
4613  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfStackReserve, 8)
4614  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfStackReserve, 8)
4615  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfStackReserve, 72)
4616  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfStackCommit, 8)
4617  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfStackCommit, 8)
4618  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfStackCommit, 80)
4619  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfHeapReserve, 8)
4620  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfHeapReserve, 8)
4621  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfHeapReserve, 88)
4622  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, SizeOfHeapCommit, 8)
4623  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, SizeOfHeapCommit, 8)
4624  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, SizeOfHeapCommit, 96)
4625  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, LoaderFlags, 4)
4626  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, LoaderFlags, 4)
4627  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, LoaderFlags, 104)
4628  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, NumberOfRvaAndSizes, 4)
4629  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, NumberOfRvaAndSizes, 4)
4630  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, NumberOfRvaAndSizes, 108)
4631  TEST_FIELD_SIZE (IMAGE_OPTIONAL_HEADER64, DataDirectory, 128)
4632  TEST_FIELD_ALIGN (IMAGE_OPTIONAL_HEADER64, DataDirectory, 4)
4633  TEST_FIELD_OFFSET(IMAGE_OPTIONAL_HEADER64, DataDirectory, 112)
4634 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
UCHAR CheckSum(LPSTR p, ULONG Len)
Definition: serial.c:197
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_OS2_HEADER()

static void test_pack_IMAGE_OS2_HEADER ( void  )
static

Definition at line 4636 of file generated.c.

4637 {
4638  /* IMAGE_OS2_HEADER (pack 2) */
4641  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_magic, 2)
4642  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_magic, 2)
4643  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_magic, 0)
4644  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_ver, 1)
4645  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_ver, 1)
4647  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_rev, 1)
4648  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_rev, 1)
4650  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_enttab, 2)
4651  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_enttab, 2)
4652  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_enttab, 4)
4653  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cbenttab, 2)
4654  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cbenttab, 2)
4655  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cbenttab, 6)
4656  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_crc, 4)
4657  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_crc, 2)
4659  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_flags, 2)
4660  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_flags, 2)
4661  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_flags, 12)
4662  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_autodata, 2)
4663  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_autodata, 2)
4664  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_autodata, 14)
4665  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_heap, 2)
4666  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_heap, 2)
4667  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_heap, 16)
4668  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_stack, 2)
4669  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_stack, 2)
4670  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_stack, 18)
4671  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_csip, 4)
4672  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_csip, 2)
4673  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_csip, 20)
4674  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_sssp, 4)
4675  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_sssp, 2)
4676  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_sssp, 24)
4677  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cseg, 2)
4678  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cseg, 2)
4679  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cseg, 28)
4680  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cmod, 2)
4681  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cmod, 2)
4682  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cmod, 30)
4683  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cbnrestab, 2)
4684  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cbnrestab, 2)
4685  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cbnrestab, 32)
4686  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_segtab, 2)
4687  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_segtab, 2)
4688  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_segtab, 34)
4689  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_rsrctab, 2)
4690  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_rsrctab, 2)
4691  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_rsrctab, 36)
4692  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_restab, 2)
4693  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_restab, 2)
4694  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_restab, 38)
4695  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_modtab, 2)
4696  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_modtab, 2)
4697  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_modtab, 40)
4698  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_imptab, 2)
4699  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_imptab, 2)
4700  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_imptab, 42)
4701  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_nrestab, 4)
4702  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_nrestab, 2)
4703  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_nrestab, 44)
4704  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cmovent, 2)
4705  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cmovent, 2)
4706  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cmovent, 48)
4707  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_align, 2)
4708  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_align, 2)
4709  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_align, 50)
4710  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_cres, 2)
4711  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_cres, 2)
4712  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_cres, 52)
4713  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_exetyp, 1)
4714  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_exetyp, 1)
4715  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_exetyp, 54)
4716  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_flagsothers, 1)
4717  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_flagsothers, 1)
4718  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_flagsothers, 55)
4719  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_pretthunks, 2)
4720  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_pretthunks, 2)
4721  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_pretthunks, 56)
4722  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_psegrefbytes, 2)
4723  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_psegrefbytes, 2)
4724  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_psegrefbytes, 58)
4725  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_swaparea, 2)
4726  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_swaparea, 2)
4727  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_swaparea, 60)
4728  TEST_FIELD_SIZE (IMAGE_OS2_HEADER, ne_expver, 2)
4729  TEST_FIELD_ALIGN (IMAGE_OS2_HEADER, ne_expver, 2)
4730  TEST_FIELD_OFFSET(IMAGE_OS2_HEADER, ne_expver, 62)
4731 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_RELOCATION()

static void test_pack_IMAGE_RELOCATION ( void  )
static

Definition at line 4733 of file generated.c.

4734 {
4735  /* IMAGE_RELOCATION (pack 2) */
4736 }

Referenced by test_pack().

◆ test_pack_IMAGE_RESOURCE_DATA_ENTRY()

static void test_pack_IMAGE_RESOURCE_DATA_ENTRY ( void  )
static

Definition at line 4738 of file generated.c.

4739 {
4740  /* IMAGE_RESOURCE_DATA_ENTRY */
4743  TEST_FIELD_SIZE (IMAGE_RESOURCE_DATA_ENTRY, OffsetToData, 4)
4744  TEST_FIELD_ALIGN (IMAGE_RESOURCE_DATA_ENTRY, OffsetToData, 4)
4755 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
Definition: pedump.c:457
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_RESOURCE_DIR_STRING_U()

static void test_pack_IMAGE_RESOURCE_DIR_STRING_U ( void  )
static

Definition at line 4800 of file generated.c.

4801 {
4802  /* IMAGE_RESOURCE_DIR_STRING_U */
4811 }
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_RESOURCE_DIRECTORY()

static void test_pack_IMAGE_RESOURCE_DIRECTORY ( void  )
static

Definition at line 4757 of file generated.c.

4758 {
4759  /* IMAGE_RESOURCE_DIRECTORY */
4762  TEST_FIELD_SIZE (IMAGE_RESOURCE_DIRECTORY, Characteristics, 4)
4763  TEST_FIELD_ALIGN (IMAGE_RESOURCE_DIRECTORY, Characteristics, 4)
4764  TEST_FIELD_OFFSET(IMAGE_RESOURCE_DIRECTORY, Characteristics, 0)
4765  TEST_FIELD_SIZE (IMAGE_RESOURCE_DIRECTORY, TimeDateStamp, 4)
4766  TEST_FIELD_ALIGN (IMAGE_RESOURCE_DIRECTORY, TimeDateStamp, 4)
4767  TEST_FIELD_OFFSET(IMAGE_RESOURCE_DIRECTORY, TimeDateStamp, 4)
4774  TEST_FIELD_SIZE (IMAGE_RESOURCE_DIRECTORY, NumberOfNamedEntries, 2)
4775  TEST_FIELD_ALIGN (IMAGE_RESOURCE_DIRECTORY, NumberOfNamedEntries, 2)
4776  TEST_FIELD_OFFSET(IMAGE_RESOURCE_DIRECTORY, NumberOfNamedEntries, 12)
4777  TEST_FIELD_SIZE (IMAGE_RESOURCE_DIRECTORY, NumberOfIdEntries, 2)
4778  TEST_FIELD_ALIGN (IMAGE_RESOURCE_DIRECTORY, NumberOfIdEntries, 2)
4779  TEST_FIELD_OFFSET(IMAGE_RESOURCE_DIRECTORY, NumberOfIdEntries, 14)
4780 }
ULONG MinorVersion
Definition: ros_glue.cpp:5
ULONG MajorVersion
Definition: ros_glue.cpp:4
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_RESOURCE_DIRECTORY_ENTRY()

static void test_pack_IMAGE_RESOURCE_DIRECTORY_ENTRY ( void  )
static

Definition at line 4782 of file generated.c.

4783 {
4784  /* IMAGE_RESOURCE_DIRECTORY_ENTRY */
4785 }

Referenced by test_pack().

◆ test_pack_IMAGE_RESOURCE_DIRECTORY_STRING()

static void test_pack_IMAGE_RESOURCE_DIRECTORY_STRING ( void  )
static

Definition at line 4787 of file generated.c.

4788 {
4789  /* IMAGE_RESOURCE_DIRECTORY_STRING */
4798 }
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_SECTION_HEADER()

static void test_pack_IMAGE_SECTION_HEADER ( void  )
static

Definition at line 4813 of file generated.c.

4814 {
4815  /* IMAGE_SECTION_HEADER */
4819 }
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_SEPARATE_DEBUG_HEADER()

static void test_pack_IMAGE_SEPARATE_DEBUG_HEADER ( void  )
static

Definition at line 4821 of file generated.c.

4822 {
4823  /* IMAGE_SEPARATE_DEBUG_HEADER */
4835  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, Characteristics, 2)
4836  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, Characteristics, 2)
4837  TEST_FIELD_OFFSET(IMAGE_SEPARATE_DEBUG_HEADER, Characteristics, 6)
4838  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, TimeDateStamp, 4)
4839  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, TimeDateStamp, 4)
4850  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, NumberOfSections, 4)
4851  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, NumberOfSections, 4)
4852  TEST_FIELD_OFFSET(IMAGE_SEPARATE_DEBUG_HEADER, NumberOfSections, 24)
4853  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, ExportedNamesSize, 4)
4854  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, ExportedNamesSize, 4)
4855  TEST_FIELD_OFFSET(IMAGE_SEPARATE_DEBUG_HEADER, ExportedNamesSize, 28)
4856  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, DebugDirectorySize, 4)
4857  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, DebugDirectorySize, 4)
4858  TEST_FIELD_OFFSET(IMAGE_SEPARATE_DEBUG_HEADER, DebugDirectorySize, 32)
4859  TEST_FIELD_SIZE (IMAGE_SEPARATE_DEBUG_HEADER, SectionAlignment, 4)
4860  TEST_FIELD_ALIGN (IMAGE_SEPARATE_DEBUG_HEADER, SectionAlignment, 4)
4861  TEST_FIELD_OFFSET(IMAGE_SEPARATE_DEBUG_HEADER, SectionAlignment, 36)
4865 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
UCHAR CheckSum(LPSTR p, ULONG Len)
Definition: serial.c:197
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63
static const WCHAR Signature[]
Definition: parser.c:141

Referenced by test_pack().

◆ test_pack_IMAGE_SYMBOL()

static void test_pack_IMAGE_SYMBOL ( void  )
static

Definition at line 4867 of file generated.c.

4868 {
4869  /* IMAGE_SYMBOL (pack 2) */
4870 }

Referenced by test_pack().

◆ test_pack_IMAGE_THUNK_DATA()

static void test_pack_IMAGE_THUNK_DATA ( void  )
static

Definition at line 4872 of file generated.c.

4873 {
4874  /* IMAGE_THUNK_DATA */
4875 }

Referenced by test_pack().

◆ test_pack_IMAGE_TLS_DIRECTORY()

static void test_pack_IMAGE_TLS_DIRECTORY ( void  )
static

Definition at line 4877 of file generated.c.

4878 {
4879  /* IMAGE_TLS_DIRECTORY */
4882 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_IMAGE_TLS_DIRECTORY32()

static void test_pack_IMAGE_TLS_DIRECTORY32 ( void  )
static

Definition at line 4884 of file generated.c.

4885 {
4886  /* IMAGE_TLS_DIRECTORY32 */
4889  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, StartAddressOfRawData, 4)
4890  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, StartAddressOfRawData, 4)
4891  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, StartAddressOfRawData, 0)
4892  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, EndAddressOfRawData, 4)
4893  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, EndAddressOfRawData, 4)
4894  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, EndAddressOfRawData, 4)
4895  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, AddressOfIndex, 4)
4896  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, AddressOfIndex, 4)
4897  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, AddressOfIndex, 8)
4898  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, AddressOfCallBacks, 4)
4899  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, AddressOfCallBacks, 4)
4900  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, AddressOfCallBacks, 12)
4901  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, SizeOfZeroFill, 4)
4902  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, SizeOfZeroFill, 4)
4903  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, SizeOfZeroFill, 16)
4904  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY32, Characteristics, 4)
4905  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY32, Characteristics, 4)
4906  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY32, Characteristics, 20)
4907 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_TLS_DIRECTORY64()

static void test_pack_IMAGE_TLS_DIRECTORY64 ( void  )
static

Definition at line 4909 of file generated.c.

4910 {
4911  /* IMAGE_TLS_DIRECTORY64 */
4914  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, StartAddressOfRawData, 8)
4915  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, StartAddressOfRawData, 8)
4916  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, StartAddressOfRawData, 0)
4917  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, EndAddressOfRawData, 8)
4918  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, EndAddressOfRawData, 8)
4919  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, EndAddressOfRawData, 8)
4920  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, AddressOfIndex, 8)
4921  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, AddressOfIndex, 8)
4922  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, AddressOfIndex, 16)
4923  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, AddressOfCallBacks, 8)
4924  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, AddressOfCallBacks, 8)
4925  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, AddressOfCallBacks, 24)
4926  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, SizeOfZeroFill, 4)
4927  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, SizeOfZeroFill, 4)
4928  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, SizeOfZeroFill, 32)
4929  TEST_FIELD_SIZE (IMAGE_TLS_DIRECTORY64, Characteristics, 4)
4930  TEST_FIELD_ALIGN (IMAGE_TLS_DIRECTORY64, Characteristics, 4)
4931  TEST_FIELD_OFFSET(IMAGE_TLS_DIRECTORY64, Characteristics, 36)
4932 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_IMAGE_VXD_HEADER()

static void test_pack_IMAGE_VXD_HEADER ( void  )
static

Definition at line 4934 of file generated.c.

4935 {
4936  /* IMAGE_VXD_HEADER (pack 2) */
4939  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_magic, 2)
4940  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_magic, 2)
4941  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_magic, 0)
4942  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_border, 1)
4943  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_border, 1)
4944  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_border, 2)
4945  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_worder, 1)
4946  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_worder, 1)
4947  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_worder, 3)
4948  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_level, 4)
4949  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_level, 2)
4950  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_level, 4)
4951  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_cpu, 2)
4952  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_cpu, 2)
4953  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_cpu, 8)
4954  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_os, 2)
4955  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_os, 2)
4956  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_os, 10)
4957  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_ver, 4)
4958  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_ver, 2)
4959  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_ver, 12)
4960  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_mflags, 4)
4961  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_mflags, 2)
4962  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_mflags, 16)
4963  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_mpages, 4)
4964  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_mpages, 2)
4965  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_mpages, 20)
4966  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_startobj, 4)
4967  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_startobj, 2)
4968  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_startobj, 24)
4969  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_eip, 4)
4970  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_eip, 2)
4971  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_eip, 28)
4972  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_stackobj, 4)
4973  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_stackobj, 2)
4974  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_stackobj, 32)
4975  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_esp, 4)
4976  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_esp, 2)
4977  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_esp, 36)
4978  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_pagesize, 4)
4979  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_pagesize, 2)
4980  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_pagesize, 40)
4981  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_lastpagesize, 4)
4982  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_lastpagesize, 2)
4983  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_lastpagesize, 44)
4984  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_fixupsize, 4)
4985  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_fixupsize, 2)
4986  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_fixupsize, 48)
4987  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_fixupsum, 4)
4988  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_fixupsum, 2)
4989  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_fixupsum, 52)
4990  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_ldrsize, 4)
4991  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_ldrsize, 2)
4992  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_ldrsize, 56)
4993  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_ldrsum, 4)
4994  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_ldrsum, 2)
4995  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_ldrsum, 60)
4996  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_objtab, 4)
4997  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_objtab, 2)
4998  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_objtab, 64)
4999  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_objcnt, 4)
5000  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_objcnt, 2)
5001  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_objcnt, 68)
5002  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_objmap, 4)
5003  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_objmap, 2)
5004  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_objmap, 72)
5005  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_itermap, 4)
5006  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_itermap, 2)
5007  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_itermap, 76)
5008  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_rsrctab, 4)
5009  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_rsrctab, 2)
5010  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_rsrctab, 80)
5011  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_rsrccnt, 4)
5012  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_rsrccnt, 2)
5013  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_rsrccnt, 84)
5014  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_restab, 4)
5015  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_restab, 2)
5016  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_restab, 88)
5017  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_enttab, 4)
5018  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_enttab, 2)
5019  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_enttab, 92)
5020  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_dirtab, 4)
5021  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_dirtab, 2)
5022  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_dirtab, 96)
5023  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_dircnt, 4)
5024  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_dircnt, 2)
5025  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_dircnt, 100)
5026  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_fpagetab, 4)
5027  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_fpagetab, 2)
5028  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_fpagetab, 104)
5029  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_frectab, 4)
5030  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_frectab, 2)
5031  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_frectab, 108)
5032  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_impmod, 4)
5033  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_impmod, 2)
5034  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_impmod, 112)
5035  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_impmodcnt, 4)
5036  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_impmodcnt, 2)
5037  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_impmodcnt, 116)
5038  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_impproc, 4)
5039  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_impproc, 2)
5040  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_impproc, 120)
5041  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_pagesum, 4)
5042  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_pagesum, 2)
5043  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_pagesum, 124)
5044  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_datapage, 4)
5045  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_datapage, 2)
5046  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_datapage, 128)
5047  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_preload, 4)
5048  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_preload, 2)
5049  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_preload, 132)
5050  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_nrestab, 4)
5051  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_nrestab, 2)
5052  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_nrestab, 136)
5053  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_cbnrestab, 4)
5054  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_cbnrestab, 2)
5055  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_cbnrestab, 140)
5056  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_nressum, 4)
5057  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_nressum, 2)
5058  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_nressum, 144)
5059  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_autodata, 4)
5060  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_autodata, 2)
5061  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_autodata, 148)
5062  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_debuginfo, 4)
5063  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_debuginfo, 2)
5064  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_debuginfo, 152)
5065  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_debuglen, 4)
5066  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_debuglen, 2)
5067  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_debuglen, 156)
5068  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_instpreload, 4)
5069  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_instpreload, 2)
5070  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_instpreload, 160)
5071  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_instdemand, 4)
5072  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_instdemand, 2)
5073  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_instdemand, 164)
5074  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_heapsize, 4)
5075  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_heapsize, 2)
5076  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_heapsize, 168)
5077  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_res3, 12)
5078  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_res3, 1)
5079  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_res3, 172)
5080  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_winresoff, 4)
5081  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_winresoff, 2)
5082  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_winresoff, 184)
5083  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_winreslen, 4)
5084  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_winreslen, 2)
5085  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_winreslen, 188)
5086  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_devid, 2)
5087  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_devid, 2)
5088  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_devid, 192)
5089  TEST_FIELD_SIZE (IMAGE_VXD_HEADER, e32_ddkver, 2)
5090  TEST_FIELD_ALIGN (IMAGE_VXD_HEADER, e32_ddkver, 2)
5091  TEST_FIELD_OFFSET(IMAGE_VXD_HEADER, e32_ddkver, 194)
5092 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_INT()

static void test_pack_INT ( void  )
static

Definition at line 6628 of file generated.c.

6629 {
6630  /* INT */
6631  TEST_TYPE_SIZE (INT, 4)
6632  TEST_TYPE_ALIGN (INT, 4)
6634 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
int32_t INT
Definition: typedefs.h:58

Referenced by test_pack().

◆ test_pack_INT16()

static void test_pack_INT16 ( void  )
static

Definition at line 3524 of file generated.c.

3525 {
3526  /* INT16 */
3527  TEST_TYPE_SIZE (INT16, 2)
3528  TEST_TYPE_ALIGN (INT16, 2)
3530 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
signed short INT16

Referenced by test_pack().

◆ test_pack_INT32()

static void test_pack_INT32 ( void  )
static

Definition at line 3532 of file generated.c.

3533 {
3534  /* INT32 */
3535  TEST_TYPE_SIZE (INT32, 4)
3536  TEST_TYPE_ALIGN (INT32, 4)
3538 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
signed int INT32

Referenced by test_pack().

◆ test_pack_INT64()

static void test_pack_INT64 ( void  )
static

Definition at line 3540 of file generated.c.

3541 {
3542  /* INT64 */
3543  TEST_TYPE_SIZE (INT64, 8)
3544  TEST_TYPE_ALIGN (INT64, 8)
3546 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
signed long long INT64

Referenced by test_pack().

◆ test_pack_INT8()

static void test_pack_INT8 ( void  )
static

Definition at line 3548 of file generated.c.

3549 {
3550  /* INT8 */
3551  TEST_TYPE_SIZE (INT8, 1)
3552  TEST_TYPE_ALIGN (INT8, 1)
3554 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
signed char INT8
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_INT_PTR()

static void test_pack_INT_PTR ( void  )
static

Definition at line 3556 of file generated.c.

3557 {
3558  /* INT_PTR */
3559  TEST_TYPE_SIZE (INT_PTR, 4)
3562 }
#define TEST_TYPE_SIGNED(type)
Definition: generated.c:70
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
int32_t INT_PTR
Definition: typedefs.h:64
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55

Referenced by test_pack().

◆ test_pack_IO_COUNTERS()

static void test_pack_IO_COUNTERS ( void  )
static

Definition at line 5094 of file generated.c.

5095 {
5096  /* IO_COUNTERS (pack 8) */
5099  TEST_FIELD_SIZE (IO_COUNTERS, ReadOperationCount, 8)
5100  TEST_FIELD_ALIGN (IO_COUNTERS, ReadOperationCount, 8)
5101  TEST_FIELD_OFFSET(IO_COUNTERS, ReadOperationCount, 0)
5102  TEST_FIELD_SIZE (IO_COUNTERS, WriteOperationCount, 8)
5103  TEST_FIELD_ALIGN (IO_COUNTERS, WriteOperationCount, 8)
5104  TEST_FIELD_OFFSET(IO_COUNTERS, WriteOperationCount, 8)
5105  TEST_FIELD_SIZE (IO_COUNTERS, OtherOperationCount, 8)
5106  TEST_FIELD_ALIGN (IO_COUNTERS, OtherOperationCount, 8)
5107  TEST_FIELD_OFFSET(IO_COUNTERS, OtherOperationCount, 16)
5108  TEST_FIELD_SIZE (IO_COUNTERS, ReadTransferCount, 8)
5109  TEST_FIELD_ALIGN (IO_COUNTERS, ReadTransferCount, 8)
5110  TEST_FIELD_OFFSET(IO_COUNTERS, ReadTransferCount, 24)
5111  TEST_FIELD_SIZE (IO_COUNTERS, WriteTransferCount, 8)
5112  TEST_FIELD_ALIGN (IO_COUNTERS, WriteTransferCount, 8)
5113  TEST_FIELD_OFFSET(IO_COUNTERS, WriteTransferCount, 32)
5114  TEST_FIELD_SIZE (IO_COUNTERS, OtherTransferCount, 8)
5115  TEST_FIELD_ALIGN (IO_COUNTERS, OtherTransferCount, 8)
5116  TEST_FIELD_OFFSET(IO_COUNTERS, OtherTransferCount, 40)
5117 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
#define TEST_FIELD_SIZE(type, field, size)
Definition: generated.c:69
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_FIELD_OFFSET(type, field, offset)
Definition: generated.c:66
#define TEST_FIELD_ALIGN(type, field, align)
Definition: generated.c:63

Referenced by test_pack().

◆ test_pack_LANGID()

static void test_pack_LANGID ( void  )
static

Definition at line 5119 of file generated.c.

5120 {
5121  /* LANGID */
5122  TEST_TYPE_SIZE (LANGID, 2)
5123  TEST_TYPE_ALIGN (LANGID, 2)
5125 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
WORD LANGID
Definition: typedefs.h:81
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_LARGE_INTEGER()

static void test_pack_LARGE_INTEGER ( void  )
static

Definition at line 5127 of file generated.c.

5128 {
5129  /* LARGE_INTEGER */
5130 }

Referenced by test_pack().

◆ test_pack_LCID()

static void test_pack_LCID ( void  )
static

Definition at line 5132 of file generated.c.

5133 {
5134  /* LCID */
5135  TEST_TYPE_SIZE (LCID, 4)
5136  TEST_TYPE_ALIGN (LCID, 4)
5138 }
#define TEST_TYPE_SIZE(type, size)
Definition: generated.c:50
DWORD LCID
Definition: nls.h:13
#define TEST_TYPE_ALIGN(type, align)
Definition: generated.c:55
#define TEST_TYPE_UNSIGNED(type)
Definition: generated.c:71

Referenced by test_pack().

◆ test_pack_LIST_ENTRY()

static void test_pack_LIST_ENTRY ( void  )
static

Definition at line 5140 of file generated.c.

5141 {
5142  /* LIST_ENTRY */