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

Side by Side Diff: icu46/source/common/ucmndata.h

Issue 6462019: Port wpo.patch to ICU 4.6 ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « icu46/patches/wpo.patch ('k') | icu46/source/common/udata.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ****************************************************************************** 2 ******************************************************************************
3 * 3 *
4 * Copyright (C) 1999-2010, International Business Machines 4 * Copyright (C) 1999-2010, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************/ 7 ******************************************************************************/
8 8
9 9
10 /*------------------------------------------------------------------------------ ---- 10 /*------------------------------------------------------------------------------ ----
(...skipping 26 matching lines...) Expand all
37 uint8_t magic2; 37 uint8_t magic2;
38 } MappedData; 38 } MappedData;
39 39
40 40
41 typedef struct { 41 typedef struct {
42 MappedData dataHeader; 42 MappedData dataHeader;
43 UDataInfo info; 43 UDataInfo info;
44 } DataHeader; 44 } DataHeader;
45 45
46 typedef struct { 46 typedef struct {
47 DataHeader hdr;
48 char padding[8];
49 uint32_t count, reserved;
50 /*
51 const struct {
52 const char *const name;
53 const void *const data;
54 } toc[1];
55 */
56 int fakeNameAndData[4]; /* TODO: Change this header type from */
57 /* pointerTOC to OffsetTOC. */
58 } ICU_Data_Header;
59
60 typedef struct {
47 uint32_t nameOffset; 61 uint32_t nameOffset;
48 uint32_t dataOffset; 62 uint32_t dataOffset;
49 } UDataOffsetTOCEntry; 63 } UDataOffsetTOCEntry;
50 64
51 typedef struct { 65 typedef struct {
52 uint32_t count; 66 uint32_t count;
53 UDataOffsetTOCEntry entry[2]; /* Actual size of array is from count. */ 67 UDataOffsetTOCEntry entry[2]; /* Actual size of array is from count. */
54 } UDataOffsetTOC; 68 } UDataOffsetTOC;
55 69
56 /** 70 /**
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 * 113 *
100 * If a valid header and TOC are found, 114 * If a valid header and TOC are found,
101 * set the CommonDataFuncs function dispatch vector in the UDataMemory 115 * set the CommonDataFuncs function dispatch vector in the UDataMemory
102 * to point to the right functions for the TOC type. 116 * to point to the right functions for the TOC type.
103 * otherwise 117 * otherwise
104 * set an errorcode. 118 * set an errorcode.
105 */ 119 */
106 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode); 120 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
107 121
108 #endif 122 #endif
OLDNEW
« no previous file with comments | « icu46/patches/wpo.patch ('k') | icu46/source/common/udata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698