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

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

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 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 | « source/common/uchar_props_data.h ('k') | source/common/ucnv2022.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-2011, International Business Machines 4 * Copyright (C) 1999-2011, 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 {
61 uint32_t nameOffset; 47 uint32_t nameOffset;
62 uint32_t dataOffset; 48 uint32_t dataOffset;
63 } UDataOffsetTOCEntry; 49 } UDataOffsetTOCEntry;
64 50
65 typedef struct { 51 typedef struct {
66 uint32_t count; 52 uint32_t count;
67 UDataOffsetTOCEntry entry[2]; /* Actual size of array is from count. */ 53 UDataOffsetTOCEntry entry[2]; /* Actual size of array is from count. */
68 } UDataOffsetTOC; 54 } UDataOffsetTOC;
69 55
70 /** 56 /**
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 * 102 *
117 * If a valid header and TOC are found, 103 * If a valid header and TOC are found,
118 * set the CommonDataFuncs function dispatch vector in the UDataMemory 104 * set the CommonDataFuncs function dispatch vector in the UDataMemory
119 * to point to the right functions for the TOC type. 105 * to point to the right functions for the TOC type.
120 * otherwise 106 * otherwise
121 * set an errorcode. 107 * set an errorcode.
122 */ 108 */
123 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode); 109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
124 110
125 #endif 111 #endif
OLDNEW
« no previous file with comments | « source/common/uchar_props_data.h ('k') | source/common/ucnv2022.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698