Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1113)

Side by Side Diff: third_party/lzma_sdk/Bra.h

Issue 1700453002: Update lzma_sdk sources to 15.14. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium modifications Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lzma_sdk/Bcj2.c ('k') | third_party/lzma_sdk/Bra.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Bra.h -- Branch converters for executables 1 /* Bra.h -- Branch converters for executables
2 2009-02-07 : Igor Pavlov : Public domain */ 2 2013-01-18 : Igor Pavlov : Public domain */
3 3
4 #ifndef __BRA_H 4 #ifndef __BRA_H
5 #define __BRA_H 5 #define __BRA_H
6 6
7 #include "Types.h" 7 #include "7zTypes.h"
8 8
9 #ifdef __cplusplus 9 EXTERN_C_BEGIN
10 extern "C" {
11 #endif
12 10
13 /* 11 /*
14 These functions convert relative addresses to absolute addresses 12 These functions convert relative addresses to absolute addresses
15 in CALL instructions to increase the compression ratio. 13 in CALL instructions to increase the compression ratio.
16 14
17 In: 15 In:
18 data - data buffer 16 data - data buffer
19 size - size of data 17 size - size of data
20 ip - current virtual Instruction Pinter (IP) value 18 ip - current virtual Instruction Pinter (IP) value
21 state - state variable for x86 converter 19 state - state variable for x86 converter
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 */ 52 */
55 53
56 #define x86_Convert_Init(state) { state = 0; } 54 #define x86_Convert_Init(state) { state = 0; }
57 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding ); 55 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding );
58 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 56 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
59 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 57 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
60 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 58 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
61 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 59 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
62 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 60 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
63 61
64 #ifdef __cplusplus 62 EXTERN_C_END
65 }
66 #endif
67 63
68 #endif 64 #endif
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/Bcj2.c ('k') | third_party/lzma_sdk/Bra.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698