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

Side by Side Diff: source/tools/toolutil/package.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/tools/toolutil/collationinfo.cpp ('k') | source/tools/toolutil/package.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) 2005-2013, International Business Machines 4 * Copyright (C) 2005-2014, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: package.h 8 * file name: package.h
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
11 * indentation:4 11 * indentation:4
12 * 12 *
13 * created on: 2005aug25 13 * created on: 2005aug25
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
15 * 15 *
16 * Read, modify, and write ICU .dat data package files. 16 * Read, modify, and write ICU .dat data package files.
17 */ 17 */
18 18
19 #ifndef __PACKAGE_H__ 19 #ifndef __PACKAGE_H__
20 #define __PACKAGE_H__ 20 #define __PACKAGE_H__
21 21
22 #include "unicode/utypes.h" 22 #include "unicode/utypes.h"
23 23
24 #include <stdio.h> 24 #include <stdio.h>
25 25
26 // .dat package file representation ---------------------------------------- *** 26 // .dat package file representation ---------------------------------------- ***
27 27
28 #define STRING_STORE_SIZE 100000 28 #define STRING_STORE_SIZE 100000
29 #define MAX_PKG_NAME_LENGTH 32 29 #define MAX_PKG_NAME_LENGTH 64
30 30
31 typedef void CheckDependency(void *context, const char *itemName, const char *ta rgetName); 31 typedef void CheckDependency(void *context, const char *itemName, const char *ta rgetName);
32 32
33 U_NAMESPACE_BEGIN 33 U_NAMESPACE_BEGIN
34 34
35 struct Item { 35 struct Item {
36 char *name; 36 char *name;
37 uint8_t *data; 37 uint8_t *data;
38 int32_t length; 38 int32_t length;
39 UBool isDataOwned; 39 UBool isDataOwned;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 * Grow itemMax to at least itemCount+1 192 * Grow itemMax to at least itemCount+1
193 */ 193 */
194 void ensureItemCapacity(); 194 void ensureItemCapacity();
195 }; 195 };
196 196
197 U_NAMESPACE_END 197 U_NAMESPACE_END
198 198
199 #endif 199 #endif
200 200
201 201
OLDNEW
« no previous file with comments | « source/tools/toolutil/collationinfo.cpp ('k') | source/tools/toolutil/package.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698