/external/icu/icu4c/source/tools/gennorm2/ |
D | n2builder.h | 59 void setCC(UChar32 c, uint8_t cc); 60 void setOneWayMapping(UChar32 c, const UnicodeString &m); 61 void setRoundTripMapping(UChar32 c, const UnicodeString &m); 62 void removeMapping(UChar32 c); 80 Norm *getNorm(UChar32 c); 81 Norm *createNorm(UChar32 c); 82 Norm *checkNormForMapping(Norm *p, UChar32 c); // check for permitted overrides 84 const Norm &getNormRef(UChar32 c) const; 85 uint8_t getCC(UChar32 c) const; 87 UChar32 combine(const Norm &norm, UChar32 trail) const; [all …]
|
D | n2builder.cpp | 67 UChar32 start, limit; 94 CompositionPair(UChar32 t, UChar32 c) : trail(t), composite(c) {} in CompositionPair() 95 UChar32 trail, composite; 105 UChar32 c; in setMappingCP() 125 UChar32 mappingCP; // >=0 if mapping to 1 code point 157 virtual UBool rangeHandler(UChar32 start, UChar32 end, uint32_t value) = 0; 166 enumRangeHandler(const void *context, UChar32 start, UChar32 end, uint32_t value) { in enumRangeHandler() 219 Norm *Normalizer2DataBuilder::getNorm(UChar32 c) { in getNorm() 227 const Norm &Normalizer2DataBuilder::getNormRef(UChar32 c) const { in getNormRef() 235 Norm *Normalizer2DataBuilder::createNorm(UChar32 c) { in createNorm() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationsets.h | 55 UBool handleCE32(UChar32 start, UChar32 end, uint32_t ce32); 58 void compare(UChar32 c, uint32_t ce32, uint32_t baseCE32); 59 void comparePrefixes(UChar32 c, const UChar *p, const UChar *q); 60 void compareContractions(UChar32 c, const UChar *p, const UChar *q); 62 void addPrefixes(const CollationData *d, UChar32 c, const UChar *p); 63 void addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32); 64 void addContractions(UChar32 c, const UChar *p); 65 void addSuffix(UChar32 c, const UnicodeString &sfx); 66 void add(UChar32 c); 104 void forCodePoint(const CollationData *d, UChar32 c, UErrorCode &ec); [all …]
|
D | regeximp.cpp | 26 UChar32 CaseFoldingUTextIterator::next() { in next() 27 UChar32 foldedC; in next() 28 UChar32 originalC; in next() 43 foldedC = (UChar32)fFoldLength; in next() 74 UChar32 CaseFoldingUCharIterator::next() { in next() 75 UChar32 foldedC; in next() 76 UChar32 originalC; in next() 92 foldedC = (UChar32)fFoldLength; in next()
|
D | regexcmp.h | 51 UChar32 fChar; 89 UChar32 nextCharLL(); 90 UChar32 peekCharLL(); 103 void literalChar(UChar32 c); // Compile a literal char 123 UChar32 scanNamedChar(); 127 static void U_EXPORT2 findCaseInsensitiveStarters(UChar32 c, UnicodeSet *starterChars); 146 UChar32 fLastChar; // Previous char, needed to count CR-LF 148 UChar32 fPeekChar; // Saved char, if we've scanned ahead. 220 UChar32 fLastSetLiteral; // The last single code point added to a set.
|
/external/icu/icu4c/source/common/unicode/ |
D | uchar.h | 1984 u_hasBinaryProperty(UChar32 c, UProperty which); 1999 u_isUAlphabetic(UChar32 c); 2014 u_isULowercase(UChar32 c); 2029 u_isUUppercase(UChar32 c); 2050 u_isUWhiteSpace(UChar32 c); 2090 u_getIntPropertyValue(UChar32 c, UProperty which); 2165 u_getNumericValue(UChar32 c); 2200 u_islower(UChar32 c); 2227 u_isupper(UChar32 c); 2244 u_istitle(UChar32 c); [all …]
|
D | normalizer2.h | 267 getDecomposition(UChar32 c, UnicodeString &decomposition) const = 0; 294 getRawDecomposition(UChar32 c, UnicodeString &decomposition) const; 311 virtual UChar32 312 composePair(UChar32 a, UChar32 b) const; 323 getCombiningClass(UChar32 c) const; 398 virtual UBool hasBoundaryBefore(UChar32 c) const = 0; 414 virtual UBool hasBoundaryAfter(UChar32 c) const = 0; 429 virtual UBool isInert(UChar32 c) const = 0; 530 getDecomposition(UChar32 c, UnicodeString &decomposition) const; 544 getRawDecomposition(UChar32 c, UnicodeString &decomposition) const; [all …]
|
D | uniset.h | 280 UChar32* list; // MUST be terminated with HIGH 282 UChar32* buffer; // internal buffer, may be NULL 370 UnicodeSet(UChar32 start, UChar32 end); 572 UnicodeSet& set(UChar32 start, UChar32 end); 757 virtual UBool contains(UChar32 c) const; 767 virtual UBool contains(UChar32 start, UChar32 end) const; 804 UBool containsNone(UChar32 start, UChar32 end) const; 832 inline UBool containsSome(UChar32 start, UChar32 end) const; 1004 int32_t findCodePoint(UChar32 c) const; 1025 int32_t indexOf(UChar32 c) const; [all …]
|
D | uset.h | 269 uset_open(UChar32 start, UChar32 end); 393 UChar32 start, UChar32 end); 532 uset_add(USet* set, UChar32 c); 559 uset_addRange(USet* set, UChar32 start, UChar32 end); 594 uset_remove(USet* set, UChar32 c); 606 uset_removeRange(USet* set, UChar32 start, UChar32 end); 649 uset_retain(USet* set, UChar32 start, UChar32 end); 769 uset_contains(const USet* set, UChar32 c); 781 uset_containsRange(const USet* set, UChar32 start, UChar32 end); 805 uset_indexOf(const USet* set, UChar32 c); [all …]
|
D | usetiter.h | 78 UChar32 codepoint; 89 UChar32 codepointEnd; 145 inline UChar32 getCodepoint() const; 153 inline UChar32 getCodepointEnd() const; 304 return codepoint == (UChar32)IS_STRING; in isString() 307 inline UChar32 UnicodeSetIterator::getCodepoint() const { in getCodepoint() 311 inline UChar32 UnicodeSetIterator::getCodepointEnd() const { in getCodepointEnd()
|
D | uchriter.h | 163 virtual UChar32 first32(void); 173 virtual UChar32 first32PostInc(void); 191 virtual UChar32 last32(void); 214 virtual UChar32 setIndex32(int32_t position); 228 virtual UChar32 current32(void) const; 259 virtual UChar32 next32(void); 269 virtual UChar32 next32PostInc(void); 298 virtual UChar32 previous32(void);
|
/external/icu/icu4c/source/test/perf/charperf/ |
D | charperf.h | 19 typedef void (*CharPerfFn)(UChar32 ch); 27 for (UChar32 i = MIN_; i < MAX_; i ++) { in call() 36 CharPerfFunction(CharPerfFn func, UChar32 min, UChar32 max) in CharPerfFunction() 45 UChar32 MIN_; 46 UChar32 MAX_; 115 UChar32 MIN_; 116 UChar32 MAX_; 119 inline void isAlpha(UChar32 ch) in isAlpha() 124 inline void isUpper(UChar32 ch) in isUpper() 129 inline void isLower(UChar32 ch) in isLower() [all …]
|
/external/icu/icu4c/source/common/ |
D | ubidi_props.c | 55 _enumPropertyStartsRange(const void *context, UChar32 start, UChar32 end, uint32_t value) { in _enumPropertyStartsRange() 65 UChar32 c, start, limit; in ubidi_addPropertyStarts() 143 ubidi_getClass(const UBiDiProps *bdp, UChar32 c) { in ubidi_getClass() 149 ubidi_isMirrored(const UBiDiProps *bdp, UChar32 c) { in ubidi_isMirrored() 154 static UChar32 155 getMirror(const UBiDiProps *bdp, UChar32 c, uint16_t props) { in getMirror() 164 UChar32 c2; in getMirror() 186 U_CFUNC UChar32 187 ubidi_getMirror(const UBiDiProps *bdp, UChar32 c) { in ubidi_getMirror() 193 ubidi_isBidiControl(const UBiDiProps *bdp, UChar32 c) { in ubidi_isBidiControl() [all …]
|
D | uniset.cpp | 72 static inline UChar32 pinCodePoint(UChar32& c) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 155 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet() 172 UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) : in UnicodeSet() 182 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet() 209 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet() 233 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet() 237 uprv_memcpy(list, o.list, len*sizeof(UChar32)); in UnicodeSet() 289 uprv_memcpy(list, o.list, len*sizeof(UChar32)); in operator =() 402 UBool UnicodeSet::contains(UChar32 c) const { in contains() 432 int32_t UnicodeSet::findCodePoint(UChar32 c) const { in findCodePoint() [all …]
|
D | normalizer2impl.h | 60 static inline UBool isHangul(UChar32 c) { in isHangul() 68 static inline UBool isJamoL(UChar32 c) { in isJamoL() 71 static inline UBool isJamoV(UChar32 c) { in isJamoV() 79 static inline int32_t decompose(UChar32 c, UChar buffer[3]) { in decompose() 81 UChar32 c2=c%JAMO_T_COUNT; in decompose() 97 static inline void getRawDecomposition(UChar32 c, UChar buffer[2]) { in getRawDecomposition() 98 UChar32 orig=c; in getRawDecomposition() 100 UChar32 c2=c%JAMO_T_COUNT; in getRawDecomposition() 142 UBool append(UChar32 c, uint8_t cc, UErrorCode &errorCode) { in append() 167 UBool appendZeroCC(UChar32 c, UErrorCode &errorCode); [all …]
|
D | ucase.h | 86 U_CAPI UChar32 U_EXPORT2 87 ucase_tolower(const UCaseProps *csp, UChar32 c); 89 U_CAPI UChar32 U_EXPORT2 90 ucase_toupper(const UCaseProps *csp, UChar32 c); 92 U_CAPI UChar32 U_EXPORT2 93 ucase_totitle(const UCaseProps *csp, UChar32 c); 95 U_CAPI UChar32 U_EXPORT2 96 ucase_fold(const UCaseProps *csp, UChar32 c, uint32_t options); 108 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa); 139 UChar32 next(UnicodeString &full); [all …]
|
D | uchar.c | 55 u_charType(UChar32 c) { in u_charType() 73 _enumTypeRange(const void *context, UChar32 start, UChar32 end, uint32_t value) { in _enumTypeRange() 95 u_islower(UChar32 c) { in u_islower() 103 u_isupper(UChar32 c) { in u_isupper() 111 u_istitle(UChar32 c) { in u_istitle() 119 u_isdigit(UChar32 c) { in u_isdigit() 126 u_isxdigit(UChar32 c) { in u_isxdigit() 143 u_isalpha(UChar32 c) { in u_isalpha() 150 u_isUAlphabetic(UChar32 c) { in u_isUAlphabetic() 156 u_isalnum(UChar32 c) { in u_isalnum() [all …]
|
D | uprops.cpp | 45 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which); 53 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() 58 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() 62 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() 66 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() 70 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() 75 static UBool hasFullCompositionExclusion(const BinaryProperty &, UChar32, UProperty) { in hasFullCompositionExclusion() argument 79 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*whi… in hasFullCompositionExclusion() 89 static UBool isNormInert(const BinaryProperty &, UChar32, UProperty) { in isNormInert() argument 93 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() [all …]
|
D | ubidi_props.h | 47 ubidi_getClass(const UBiDiProps *bdp, UChar32 c); 50 ubidi_isMirrored(const UBiDiProps *bdp, UChar32 c); 52 U_CFUNC UChar32 53 ubidi_getMirror(const UBiDiProps *bdp, UChar32 c); 56 ubidi_isBidiControl(const UBiDiProps *bdp, UChar32 c); 59 ubidi_isJoinControl(const UBiDiProps *bdp, UChar32 c); 62 ubidi_getJoiningType(const UBiDiProps *bdp, UChar32 c); 65 ubidi_getJoiningGroup(const UBiDiProps *bdp, UChar32 c); 68 ubidi_getPairedBracketType(const UBiDiProps *bdp, UChar32 c); 70 U_CFUNC UChar32 [all …]
|
D | ucase.cpp | 57 _enumPropertyStartsRange(const void *context, UChar32 start, UChar32 /*end*/, uint32_t /*value*/) { in _enumPropertyStartsRange() argument 133 U_CAPI UChar32 U_EXPORT2 134 ucase_tolower(const UCaseProps *csp, UChar32 c) { in ucase_tolower() 150 U_CAPI UChar32 U_EXPORT2 151 ucase_toupper(const UCaseProps *csp, UChar32 c) { in ucase_toupper() 167 U_CAPI UChar32 U_EXPORT2 168 ucase_totitle(const UCaseProps *csp, UChar32 c) { in ucase_totitle() 199 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa) { in ucase_addCaseClosure() 377 UChar32 c; in ucase_addStringCaseClosure() 407 UChar32 [all …]
|
D | propsvec.c | 93 _findRow(UPropsVectors *pv, UChar32 rangeStart) { in _findRow() 103 if(rangeStart>=(UChar32)row[0]) { in _findRow() 104 if(rangeStart<(UChar32)row[1]) { in _findRow() 107 } else if(rangeStart<(UChar32)(row+=columns)[1]) { in _findRow() 111 } else if(rangeStart<(UChar32)(row+=columns)[1]) { in _findRow() 115 } else if((rangeStart-(UChar32)row[1])<10) { in _findRow() 121 } while(rangeStart>=(UChar32)row[1]); in _findRow() 125 } else if(rangeStart<(UChar32)pv->v[1]) { in _findRow() 136 if(rangeStart<(UChar32)row[0]) { in _findRow() 138 } else if(rangeStart<(UChar32)row[1]) { in _findRow() [all …]
|
D | propsvec.h | 87 UChar32 start, UChar32 end, 97 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column); 106 UChar32 *pRangeStart, UChar32 *pRangeEnd); 128 UChar32 start, UChar32 end, 170 UChar32 start, UChar32 end,
|
D | uchriter.cpp | 189 UChar32 194 UChar32 c; in first32() 202 UChar32 206 UChar32 c; in first32PostInc() 214 UChar32 218 UChar32 c; in last32() 226 UChar32 236 UChar32 c; in setIndex32() 245 UChar32 248 UChar32 c; in current32() [all …]
|
D | uset_imp.h | 28 USetAdd(USet *set, UChar32 c); 31 USetAddRange(USet *set, UChar32 start, UChar32 end); 37 USetRemove(USet *set, UChar32 c); 40 USetRemoveRange(USet *set, UChar32 start, UChar32 end);
|
/external/icu/icu4c/source/tools/genrb/ |
D | read.c | 41 UChar32 initialChar, 45 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UError… 48 static UBool isWhitespace (UChar32 c); 49 static UBool isNewline (UChar32 c); 70 UChar32 c; in getNextToken() 119 UChar32 initialChar, in getStringToken() 123 UChar32 c; in getStringToken() 129 UChar32 prevC=0; in getStringToken() 319 static UChar32 getNextChar(UCHARBUF* buf, in getNextChar() 323 UChar32 c, c2; in getNextChar() [all …]
|