| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |