Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9060d2aa
Commit
9060d2aa
authored
Jun 16, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jun 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update generated packing tests using current headers.
parent
605d1e2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
18 deletions
+33
-18
generated.c
dlls/rpcrt4/tests/generated.c
+31
-16
generated.c
dlls/wininet/tests/generated.c
+2
-2
No files found.
dlls/rpcrt4/tests/generated.c
View file @
9060d2aa
...
...
@@ -308,12 +308,12 @@ static void test_pack_ARRAY_INFO(void)
{
/* ARRAY_INFO (pack 4) */
TEST_TYPE
(
ARRAY_INFO
,
24
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
long
,
Dimension
,
0
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
unsigned
long
*
,
BufferConformanceMark
,
4
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
unsigned
long
*
,
BufferVarianceMark
,
8
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
unsigned
long
*
,
MaxCountArray
,
12
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
unsigned
long
*
,
OffsetArray
,
16
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
unsigned
long
*
,
ActualCountArray
,
20
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
LONG
,
Dimension
,
0
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
ULONG
*
,
BufferConformanceMark
,
4
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
ULONG
*
,
BufferVarianceMark
,
8
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
ULONG
*
,
MaxCountArray
,
12
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
ULONG
*
,
OffsetArray
,
16
,
4
,
4
);
TEST_FIELD
(
ARRAY_INFO
,
ULONG
*
,
ActualCountArray
,
20
,
4
,
4
);
}
static
void
test_pack_COMM_FAULT_OFFSETS
(
void
)
...
...
@@ -328,8 +328,8 @@ static void test_pack_CS_STUB_INFO(void)
{
/* CS_STUB_INFO (pack 4) */
TEST_TYPE
(
CS_STUB_INFO
,
12
,
4
);
TEST_FIELD
(
CS_STUB_INFO
,
unsigned
long
,
WireCodeset
,
0
,
4
,
4
);
TEST_FIELD
(
CS_STUB_INFO
,
unsigned
long
,
DesiredReceivingCodeset
,
4
,
4
,
4
);
TEST_FIELD
(
CS_STUB_INFO
,
ULONG
,
WireCodeset
,
0
,
4
,
4
);
TEST_FIELD
(
CS_STUB_INFO
,
ULONG
,
DesiredReceivingCodeset
,
4
,
4
,
4
);
TEST_FIELD
(
CS_STUB_INFO
,
void
*
,
CSArrayInfo
,
8
,
4
,
4
);
}
...
...
@@ -344,7 +344,7 @@ static void test_pack_FULL_PTR_TO_REFID_ELEMENT(void)
TEST_TYPE
(
FULL_PTR_TO_REFID_ELEMENT
,
16
,
4
);
TEST_FIELD
(
FULL_PTR_TO_REFID_ELEMENT
,
struct
_FULL_PTR_TO_REFID_ELEMENT
*
,
Next
,
0
,
4
,
4
);
TEST_FIELD
(
FULL_PTR_TO_REFID_ELEMENT
,
void
*
,
Pointer
,
4
,
4
,
4
);
TEST_FIELD
(
FULL_PTR_TO_REFID_ELEMENT
,
unsigned
long
,
RefId
,
8
,
4
,
4
);
TEST_FIELD
(
FULL_PTR_TO_REFID_ELEMENT
,
ULONG
,
RefId
,
8
,
4
,
4
);
TEST_FIELD
(
FULL_PTR_TO_REFID_ELEMENT
,
unsigned
char
,
State
,
12
,
1
,
1
);
}
...
...
@@ -404,8 +404,8 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
*
,
BufferStart
,
8
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
*
,
BufferEnd
,
12
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
*
,
BufferMark
,
16
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
long
,
BufferLength
,
20
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
long
,
MemorySize
,
24
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
ULONG
,
BufferLength
,
20
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
ULONG
,
MemorySize
,
24
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
*
,
Memory
,
28
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
int
,
IsClient
,
32
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
int
,
ReuseBuffer
,
36
,
4
,
4
);
...
...
@@ -416,8 +416,8 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
,
fBufferValid
,
56
,
1
,
1
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
char
,
uFlags
,
57
,
1
,
1
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
ULONG_PTR
,
MaxCount
,
60
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
long
,
Offset
,
64
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
unsigned
long
,
ActualCount
,
68
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
ULONG
,
Offset
,
64
,
4
,
4
);
TEST_FIELD
(
MIDL_STUB_MESSAGE
,
ULONG
,
ActualCount
,
68
,
4
,
4
);
}
static
void
test_pack_MIDL_STUBLESS_PROXY_INFO
(
void
)
...
...
@@ -464,6 +464,19 @@ static void test_pack_NDR_SCONTEXT(void)
TEST_TYPE
(
NDR_SCONTEXT
,
4
,
4
);
}
static
void
test_pack_NDR_USER_MARSHAL_INFO
(
void
)
{
/* NDR_USER_MARSHAL_INFO (pack 4) */
TEST_FIELD
(
NDR_USER_MARSHAL_INFO
,
ULONG
,
InformationLevel
,
0
,
4
,
4
);
}
static
void
test_pack_NDR_USER_MARSHAL_INFO_LEVEL1
(
void
)
{
/* NDR_USER_MARSHAL_INFO_LEVEL1 (pack 4) */
TEST_FIELD
(
NDR_USER_MARSHAL_INFO_LEVEL1
,
void
*
,
Buffer
,
0
,
4
,
4
);
TEST_FIELD
(
NDR_USER_MARSHAL_INFO_LEVEL1
,
ULONG
,
BufferSize
,
4
,
4
,
4
);
}
static
void
test_pack_PARRAY_INFO
(
void
)
{
/* PARRAY_INFO */
...
...
@@ -563,7 +576,7 @@ static void test_pack_SCONTEXT_QUEUE(void)
{
/* SCONTEXT_QUEUE (pack 4) */
TEST_TYPE
(
SCONTEXT_QUEUE
,
8
,
4
);
TEST_FIELD
(
SCONTEXT_QUEUE
,
unsigned
long
,
NumberOfObjects
,
0
,
4
,
4
);
TEST_FIELD
(
SCONTEXT_QUEUE
,
ULONG
,
NumberOfObjects
,
0
,
4
,
4
);
TEST_FIELD
(
SCONTEXT_QUEUE
,
NDR_SCONTEXT
*
,
ArrayOfObjects
,
4
,
4
,
4
);
}
...
...
@@ -580,10 +593,10 @@ static void test_pack_STUB_THUNK(void)
static
void
test_pack_USER_MARSHAL_CB
(
void
)
{
/* USER_MARSHAL_CB (pack 4) */
TEST_FIELD
(
USER_MARSHAL_CB
,
unsigned
long
,
Flags
,
0
,
4
,
4
);
TEST_FIELD
(
USER_MARSHAL_CB
,
ULONG
,
Flags
,
0
,
4
,
4
);
TEST_FIELD
(
USER_MARSHAL_CB
,
PMIDL_STUB_MESSAGE
,
pStubMsg
,
4
,
4
,
4
);
TEST_FIELD
(
USER_MARSHAL_CB
,
PFORMAT_STRING
,
pReserve
,
8
,
4
,
4
);
TEST_FIELD
(
USER_MARSHAL_CB
,
unsigned
long
,
Signature
,
12
,
4
,
4
);
TEST_FIELD
(
USER_MARSHAL_CB
,
ULONG
,
Signature
,
12
,
4
,
4
);
}
static
void
test_pack_USER_MARSHAL_FREEING_ROUTINE
(
void
)
...
...
@@ -649,6 +662,8 @@ static void test_pack(void)
test_pack_NDR_NOTIFY_ROUTINE
();
test_pack_NDR_RUNDOWN
();
test_pack_NDR_SCONTEXT
();
test_pack_NDR_USER_MARSHAL_INFO
();
test_pack_NDR_USER_MARSHAL_INFO_LEVEL1
();
test_pack_PARRAY_INFO
();
test_pack_PFORMAT_STRING
();
test_pack_PFULL_PTR_TO_REFID_ELEMENT
();
...
...
dlls/wininet/tests/generated.c
View file @
9060d2aa
...
...
@@ -397,7 +397,7 @@ static void test_pack_INTERNET_ASYNC_RESULT(void)
{
/* INTERNET_ASYNC_RESULT (pack 4) */
TEST_TYPE
(
INTERNET_ASYNC_RESULT
,
8
,
4
);
TEST_FIELD
(
INTERNET_ASYNC_RESULT
,
DWORD
,
dwResult
,
0
,
4
,
4
);
TEST_FIELD
(
INTERNET_ASYNC_RESULT
,
DWORD
_PTR
,
dwResult
,
0
,
4
,
4
);
TEST_FIELD
(
INTERNET_ASYNC_RESULT
,
DWORD
,
dwError
,
4
,
4
,
4
);
}
...
...
@@ -408,7 +408,7 @@ static void test_pack_INTERNET_AUTH_NOTIFY_DATA(void)
TEST_FIELD
(
INTERNET_AUTH_NOTIFY_DATA
,
DWORD
,
cbStruct
,
0
,
4
,
4
);
TEST_FIELD
(
INTERNET_AUTH_NOTIFY_DATA
,
DWORD
,
dwOptions
,
4
,
4
,
4
);
TEST_FIELD
(
INTERNET_AUTH_NOTIFY_DATA
,
PFN_AUTH_NOTIFY
,
pfnNotify
,
8
,
4
,
4
);
TEST_FIELD
(
INTERNET_AUTH_NOTIFY_DATA
,
DWORD
,
dwContext
,
12
,
4
,
4
);
TEST_FIELD
(
INTERNET_AUTH_NOTIFY_DATA
,
DWORD
_PTR
,
dwContext
,
12
,
4
,
4
);
}
static
void
test_pack_INTERNET_BUFFERSA
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment