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
9dfd90fb
Commit
9dfd90fb
authored
Jul 16, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: The cases are tokens, not table indices.
parent
f902b044
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
assembly.c
dlls/fusion/assembly.c
+15
-15
No files found.
dlls/fusion/assembly.c
View file @
9dfd90fb
...
@@ -248,7 +248,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -248,7 +248,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
+=
(
tables
>
MAX_TABLES_3BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
size
+=
(
tables
>
MAX_TABLES_3BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x0B
:
/* FIXME */
case
0x0B
000000
:
/* FIXME */
{
{
size
=
sizeof
(
CONSTANTTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
size
=
sizeof
(
CONSTANTTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
...
@@ -289,7 +289,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -289,7 +289,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
+=
(
tables
>
MAX_TABLES_3BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
size
+=
(
tables
>
MAX_TABLES_3BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x0D
:
/* FIXME */
case
0x0D
000000
:
/* FIXME */
{
{
size
=
sizeof
(
FIELDMARSHALTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
size
=
sizeof
(
FIELDMARSHALTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
...
@@ -310,14 +310,14 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -310,14 +310,14 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x0F
:
/* FIXME */
case
0x0F
000000
:
/* FIXME */
{
{
size
=
sizeof
(
CLASSLAYOUTTABLE
);
size
=
sizeof
(
CLASSLAYOUTTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x10
:
/* FIXME */
case
0x10
000000
:
/* FIXME */
{
{
size
=
sizeof
(
FIELDLAYOUTTABLE
);
size
=
sizeof
(
FIELDLAYOUTTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtFieldDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtFieldDef
)].
rows
>
...
@@ -329,7 +329,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -329,7 +329,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
=
sizeof
(
STANDALONESIGTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
size
=
sizeof
(
STANDALONESIGTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
break
;
break
;
}
}
case
0x12
:
/* FIXME */
case
0x12
000000
:
/* FIXME */
{
{
size
=
sizeof
(
EVENTMAPTABLE
);
size
=
sizeof
(
EVENTMAPTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
...
@@ -349,7 +349,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -349,7 +349,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x15
:
/* FIXME */
case
0x15
000000
:
/* FIXME */
{
{
size
=
sizeof
(
PROPERTYMAPTABLE
);
size
=
sizeof
(
PROPERTYMAPTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
...
@@ -364,7 +364,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -364,7 +364,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
(
assembly
->
blobsz
-
sizeof
(
WORD
));
(
assembly
->
blobsz
-
sizeof
(
WORD
));
break
;
break
;
}
}
case
0x18
:
/* FIXME */
case
0x18
000000
:
/* FIXME */
{
{
size
=
sizeof
(
METHODSEMANTICSTABLE
);
size
=
sizeof
(
METHODSEMANTICSTABLE
);
...
@@ -377,7 +377,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -377,7 +377,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x19
:
/* FIXME */
case
0x19
000000
:
/* FIXME */
{
{
size
=
sizeof
(
METHODIMPLTABLE
);
size
=
sizeof
(
METHODIMPLTABLE
);
...
@@ -400,7 +400,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -400,7 +400,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
=
sizeof
(
TYPESPECTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
size
=
sizeof
(
TYPESPECTABLE
)
+
(
assembly
->
blobsz
-
sizeof
(
WORD
));
break
;
break
;
}
}
case
0x1C
:
/* FIXME */
case
0x1C
000000
:
/* FIXME */
{
{
size
=
sizeof
(
IMPLMAPTABLE
)
+
(
assembly
->
stringsz
-
sizeof
(
WORD
));
size
=
sizeof
(
IMPLMAPTABLE
)
+
(
assembly
->
stringsz
-
sizeof
(
WORD
));
...
@@ -413,7 +413,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -413,7 +413,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x1D
:
/* FIXME */
case
0x1D
000000
:
/* FIXME */
{
{
size
=
sizeof
(
FIELDRVATABLE
);
size
=
sizeof
(
FIELDRVATABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtFieldDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtFieldDef
)].
rows
>
...
@@ -426,12 +426,12 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -426,12 +426,12 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
(
assembly
->
blobsz
-
sizeof
(
WORD
));
(
assembly
->
blobsz
-
sizeof
(
WORD
));
break
;
break
;
}
}
case
0x21
:
/* FIXME */
case
0x2
000000
1
:
/* FIXME */
{
{
size
=
sizeof
(
ASSEMBLYPROCESSORTABLE
);
size
=
sizeof
(
ASSEMBLYPROCESSORTABLE
);
break
;
break
;
}
}
case
0x22
:
/* FIXME */
case
0x22
000000
:
/* FIXME */
{
{
size
=
sizeof
(
ASSEMBLYOSTABLE
);
size
=
sizeof
(
ASSEMBLYOSTABLE
);
break
;
break
;
...
@@ -442,14 +442,14 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -442,14 +442,14 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
2
*
(
assembly
->
blobsz
-
sizeof
(
WORD
));
2
*
(
assembly
->
blobsz
-
sizeof
(
WORD
));
break
;
break
;
}
}
case
0x24
:
/* FIXME */
case
0x24
000000
:
/* FIXME */
{
{
size
=
sizeof
(
ASSEMBLYREFPROCESSORTABLE
);
size
=
sizeof
(
ASSEMBLYREFPROCESSORTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtAssemblyRef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtAssemblyRef
)].
rows
>
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
MAX_TABLES_WORD
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x25
:
/* FIXME */
case
0x25
000000
:
/* FIXME */
{
{
size
=
sizeof
(
ASSEMBLYREFOSTABLE
);
size
=
sizeof
(
ASSEMBLYREFOSTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtAssemblyRef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtAssemblyRef
)].
rows
>
...
@@ -482,7 +482,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
...
@@ -482,7 +482,7 @@ static inline ULONG get_table_size(ASSEMBLY *assembly, DWORD index)
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
size
+=
(
tables
>
MAX_TABLES_2BIT_ENCODE
)
?
sizeof
(
WORD
)
:
0
;
break
;
break
;
}
}
case
0x29
:
/* FIXME */
case
0x29
000000
:
/* FIXME */
{
{
size
=
sizeof
(
NESTEDCLASSTABLE
);
size
=
sizeof
(
NESTEDCLASSTABLE
);
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
size
+=
(
assembly
->
tables
[
TableFromToken
(
mdtTypeDef
)].
rows
>
...
...
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