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

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

Issue 1637683002: ICU 56 step 5: Apply the remaining local patches (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@56post56
Patch Set: drop uconv.patch 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/stringpiece.cpp ('k') | 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-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 {
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 * 116 *
103 * If a valid header and TOC are found, 117 * If a valid header and TOC are found,
104 * set the CommonDataFuncs function dispatch vector in the UDataMemory 118 * set the CommonDataFuncs function dispatch vector in the UDataMemory
105 * to point to the right functions for the TOC type. 119 * to point to the right functions for the TOC type.
106 * otherwise 120 * otherwise
107 * set an errorcode. 121 * set an errorcode.
108 */ 122 */
109 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode); 123 U_CFUNC void udata_checkCommonData(UDataMemory *pData, UErrorCode *pErrorCode);
110 124
111 #endif 125 #endif
OLDNEW
« no previous file with comments | « source/common/stringpiece.cpp ('k') | source/common/udata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698