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

Side by Side Diff: source/i18n/usrchimp.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/i18n/uspoof_impl.cpp ('k') | source/i18n/valueformatter.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) 2001-2014 IBM and others. All rights reserved. 3 * Copyright (C) 2001-2015 IBM and others. All rights reserved.
4 ********************************************************************** 4 **********************************************************************
5 * Date Name Description 5 * Date Name Description
6 * 08/13/2001 synwee Creation. 6 * 08/13/2001 synwee Creation.
7 ********************************************************************** 7 **********************************************************************
8 */ 8 */
9 #ifndef USRCHIMP_H 9 #ifndef USRCHIMP_H
10 #define USRCHIMP_H 10 #define USRCHIMP_H
11 11
12 #include "unicode/utypes.h" 12 #include "unicode/utypes.h"
13 13
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 { 62 {
63 PCEI defaultBuffer[16]; 63 PCEI defaultBuffer[16];
64 PCEI *buffer; 64 PCEI *buffer;
65 int32_t bufferIndex; 65 int32_t bufferIndex;
66 int32_t bufferSize; 66 int32_t bufferSize;
67 67
68 PCEBuffer(); 68 PCEBuffer();
69 ~PCEBuffer(); 69 ~PCEBuffer();
70 70
71 void reset(); 71 void reset();
72 UBool empty() const; 72 UBool isEmpty() const;
73 void put(uint64_t ce, int32_t ixLow, int32_t ixHigh); 73 void put(uint64_t ce, int32_t ixLow, int32_t ixHigh, UErrorCode &errorCode) ;
74 const PCEI *get(); 74 const PCEI *get();
75 }; 75 };
76 76
77 class UCollationPCE : public UMemory { 77 class UCollationPCE : public UMemory {
78 private: 78 private:
79 PCEBuffer pceBuffer; 79 PCEBuffer pceBuffer;
80 CollationElementIterator *cei; 80 CollationElementIterator *cei;
81 UCollationStrength strength; 81 UCollationStrength strength;
82 UBool toShift; 82 UBool toShift;
83 UBool isShifted; 83 UBool isShifted;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 * @param status error status if any 238 * @param status error status if any
239 * @return TRUE if a canonical match is found, FALSE otherwise 239 * @return TRUE if a canonical match is found, FALSE otherwise
240 */ 240 */
241 U_CFUNC 241 U_CFUNC
242 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch, 242 UBool usearch_handlePreviousCanonical(UStringSearch *strsrch,
243 UErrorCode *status); 243 UErrorCode *status);
244 244
245 #endif /* #if !UCONFIG_NO_COLLATION */ 245 #endif /* #if !UCONFIG_NO_COLLATION */
246 246
247 #endif 247 #endif
OLDNEW
« no previous file with comments | « source/i18n/uspoof_impl.cpp ('k') | source/i18n/valueformatter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698