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

Side by Side Diff: source/common/uchar.c

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/common/ucase_props_data.h ('k') | source/common/uchar_props_data.h » ('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 * Copyright (C) 1996-2012, International Business Machines 3 * Copyright (C) 1996-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************** 5 ********************************************************************************
6 * 6 *
7 * File UCHAR.C 7 * File UCHAR.C
8 * 8 *
9 * Modification History: 9 * Modification History:
10 * 10 *
11 * Date Name Description 11 * Date Name Description
12 * 04/02/97 aliu Creation. 12 * 04/02/97 aliu Creation.
13 * 4/15/99 Madhu Updated all the function definitions for C Implement ation 13 * 4/15/99 Madhu Updated all the function definitions for C Implement ation
(...skipping 10 matching lines...) Expand all
24 #include "unicode/uscript.h" 24 #include "unicode/uscript.h"
25 #include "unicode/udata.h" 25 #include "unicode/udata.h"
26 #include "uassert.h" 26 #include "uassert.h"
27 #include "cmemory.h" 27 #include "cmemory.h"
28 #include "ucln_cmn.h" 28 #include "ucln_cmn.h"
29 #include "utrie2.h" 29 #include "utrie2.h"
30 #include "udataswp.h" 30 #include "udataswp.h"
31 #include "uprops.h" 31 #include "uprops.h"
32 #include "ustr_imp.h" 32 #include "ustr_imp.h"
33 33
34 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
35
36 /* uchar_props_data.h is machine-generated by genprops --csource */ 34 /* uchar_props_data.h is machine-generated by genprops --csource */
37 #define INCLUDED_FROM_UCHAR_C 35 #define INCLUDED_FROM_UCHAR_C
38 #include "uchar_props_data.h" 36 #include "uchar_props_data.h"
39 37
40 /* constants and macros for access to the data ------------------------------ */ 38 /* constants and macros for access to the data ------------------------------ */
41 39
42 /* getting a uint32_t properties word from the data */ 40 /* getting a uint32_t properties word from the data */
43 #define GET_PROPS(c, result) ((result)=UTRIE2_GET16(&propsTrie, c)); 41 #define GET_PROPS(c, result) ((result)=UTRIE2_GET16(&propsTrie, c));
44 42
45 U_CFUNC UBool 43 U_CFUNC UBool
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 if(U_FAILURE(*pErrorCode)) { 716 if(U_FAILURE(*pErrorCode)) {
719 return; 717 return;
720 } 718 }
721 719
722 /* add the start code point of each same-value range of the properties vecto rs trie */ 720 /* add the start code point of each same-value range of the properties vecto rs trie */
723 if(propsVectorsColumns>0) { 721 if(propsVectorsColumns>0) {
724 /* if propsVectorsColumns==0 then the properties vectors trie may not be there at all */ 722 /* if propsVectorsColumns==0 then the properties vectors trie may not be there at all */
725 utrie2_enum(&propsVectorsTrie, NULL, _enumPropertyStartsRange, sa); 723 utrie2_enum(&propsVectorsTrie, NULL, _enumPropertyStartsRange, sa);
726 } 724 }
727 } 725 }
OLDNEW
« no previous file with comments | « source/common/ucase_props_data.h ('k') | source/common/uchar_props_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698