/external/icu4c/common/unicode/ |
D | uniset.h | 273 class U_COMMON_API UnicodeSet : public UnicodeFilter { 357 UnicodeSet(); 367 UnicodeSet(UChar32 start, UChar32 end); 377 UnicodeSet(const UnicodeString& pattern, 393 UnicodeSet(const UnicodeString& pattern, 412 UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, 421 UnicodeSet(const UnicodeSet& o); 427 virtual ~UnicodeSet(); 434 UnicodeSet& operator=(const UnicodeSet& o); 447 virtual UBool operator==(const UnicodeSet& o) const; [all …]
|
D | usetiter.h | 21 class UnicodeSet; variable 107 UnicodeSetIterator(const UnicodeSet& set); 220 void reset(const UnicodeSet& set); 252 const UnicodeSet* set;
|
/external/icu4c/common/ |
D | uset.cpp | 33 return (USet*) new UnicodeSet(); in uset_openEmpty() 38 return (USet*) new UnicodeSet(start, end); in uset_open() 43 delete (UnicodeSet*) set; in uset_close() 48 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone() 53 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen() 58 ((UnicodeSet*) set)->UnicodeSet::freeze(); in uset_freeze() 63 return (USet*) (((UnicodeSet*) set)->UnicodeSet::cloneAsThawed()); in uset_cloneAsThawed() 69 ((UnicodeSet*) set)->UnicodeSet::set(start, end); in uset_set() 74 ((UnicodeSet*) set)->UnicodeSet::addAll(*((const UnicodeSet*)additionalSet)); in uset_addAll() 79 ((UnicodeSet*) set)->UnicodeSet::add(c); in uset_add() [all …]
|
D | uniset.cpp | 64 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeSet) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 101 static inline void _dbgct(UnicodeSet* set) { in _dbgct() 109 static inline void _dbgdt(UnicodeSet* set) { in _dbgdt() 145 UnicodeSet::UnicodeSet() : in UnicodeSet() function in UnicodeSet 172 UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) : in UnicodeSet() function in UnicodeSet 196 UnicodeSet::UnicodeSet(const UnicodeSet& o) : in UnicodeSet() function in UnicodeSet 220 UnicodeSet::UnicodeSet(const UnicodeSet& o, UBool /* asThawed */) : in UnicodeSet() function in UnicodeSet 257 UnicodeSet::~UnicodeSet() { in ~UnicodeSet() 272 UnicodeSet& UnicodeSet::operator=(const UnicodeSet& o) { in operator =() 326 UnicodeFunctor* UnicodeSet::clone() const { in clone() [all …]
|
D | dictbe.h | 39 UnicodeSet fSet; 107 virtual void setCharacters( const UnicodeSet &set ); 150 UnicodeSet fThaiWordSet; 151 UnicodeSet fEndWordSet; 152 UnicodeSet fBeginWordSet; 153 UnicodeSet fSuffixSet; 154 UnicodeSet fMarkSet; 212 UnicodeSet fHangulWordSet; 213 UnicodeSet fHanWordSet; 214 UnicodeSet fKatakanaWordSet; [all …]
|
D | uset_props.cpp | 35 UnicodeSet* set = new UnicodeSet(pat, *ec); in uset_openPattern() 55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); in uset_openPatternOptions() 94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); in uset_applyPattern() 102 ((UnicodeSet*) set)->applyIntPropertyValue(prop, value, *ec); in uset_applyIntPropertyValue() 114 ((UnicodeSet*) set)->applyPropertyAlias(p, v, *ec); in uset_applyPropertyAlias() 125 UnicodeSet::resemblesPattern(pat, pos); in uset_resemblesPattern() 134 ((const UnicodeSet*) set)->toPattern(pat, escapeUnprintable); in uset_toPattern() 140 ((UnicodeSet*) set)->UnicodeSet::closeOver(attributes); in uset_closeOver()
|
D | uniset_closure.cpp | 47 UnicodeSet::UnicodeSet(const UnicodeString& pattern, in UnicodeSet() function in UnicodeSet 68 UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, in UnicodeSet() function in UnicodeSet 93 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() 114 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() 130 applyPattern(chars, symbols, rebuiltPat, options, &UnicodeSet::closeOver, status); in applyPattern() 145 ((UnicodeSet *)set)->add(c); in _set_add() 150 ((UnicodeSet *)set)->add(start, end); in _set_addRange() 155 ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); in _set_addString() 165 addCaseMapping(UnicodeSet &set, int32_t result, const UChar *full, UnicodeString &str) { in addCaseMapping() 180 UnicodeSet& UnicodeSet::closeOver(int32_t attribute) { in closeOver() [all …]
|
D | uniset_props.cpp | 105 class UnicodeSetSingleton : public SimpleSingletonWrapper<UnicodeSet> { 108 SimpleSingletonWrapper<UnicodeSet>(s), fPattern(pattern) {} in UnicodeSetSingleton() 109 UnicodeSet *getInstance(UErrorCode &errorCode) { in getInstance() 110 return SimpleSingletonWrapper<UnicodeSet>::getInstance(createInstance, fPattern, errorCode); in getInstance() 115 UnicodeSet *set=new UnicodeSet(pattern, errorCode); in createInstance() 130 static UnicodeSet *INCLUSIONS[UPROPS_SRC_COUNT] = { NULL }; // cached getInclusions() 142 ((UnicodeSet *)set)->add(c); in _set_add() 147 ((UnicodeSet *)set)->add(start, end); in _set_addRange() 152 ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); in _set_addString() 182 const UnicodeSet* UnicodeSet::getInclusions(int32_t src, UErrorCode &status) { in getInclusions() [all …]
|
D | rbbiscan.h | 86 void findSetFor(const UnicodeString &s, RBBINode *node, UnicodeSet *setToAdopt = NULL); 140 UnicodeSet fRuleSets[10]; // Unicode Sets that are needed during 151 UnicodeSet *gRuleSet_rule_char; 152 UnicodeSet *gRuleSet_white_space; 153 UnicodeSet *gRuleSet_name_char; 154 UnicodeSet *gRuleSet_name_start_char;
|
/external/icu4c/test/intltest/ |
D | usettest.h | 95 const UnicodeSet& testSet); 97 … UBool checkPat(const UnicodeString& source, const UnicodeSet& testSet, const UnicodeString& pat); 99 void _testComplement(int32_t a, UnicodeSet&, UnicodeSet&); 101 void _testAdd(int32_t a, int32_t b, UnicodeSet&, UnicodeSet&, UnicodeSet&); 103 void _testRetain(int32_t a, int32_t b, UnicodeSet&, UnicodeSet&, UnicodeSet&); 105 void _testRemove(int32_t a, int32_t b, UnicodeSet&, UnicodeSet&, UnicodeSet&); 107 void _testXor(int32_t a, int32_t b, UnicodeSet&, UnicodeSet&, UnicodeSet&); 113 void checkCanonicalRep(const UnicodeSet& set, const UnicodeString& msg); 118 static UnicodeSet& bitsToSet(int32_t a, UnicodeSet&); 124 static int32_t setToBits(const UnicodeSet& x); [all …]
|
D | usettest.cpp | 36 UnicodeString operator+(const UnicodeString& left, const UnicodeSet& set) { in operator +() 106 UnicodeSet t; in Testj2268() 108 UnicodeSet test(t); in Testj2268() 131 UnicodeSet s(OTHER_TOPATTERN_TESTS[j], ec); in TestToPattern() 159 UnicodeSet* s = new UnicodeSet("[a-z {aa} {ab}]", ec); in TestToPattern() 202 UnicodeSet s; in TestToPattern() 218 UnicodeSet testSet; in toPatternAux() 224 const UnicodeSet& testSet) { in checkPat() 250 const UnicodeSet& testSet, in checkPat() 253 UnicodeSet testSet2(pat, ec); in checkPat() [all …]
|
D | rbbitst.cpp | 1791 UnicodeSet *fCRLFSet; 1792 UnicodeSet *fControlSet; 1793 UnicodeSet *fExtendSet; 1794 UnicodeSet *fRegionalIndicatorSet; 1795 UnicodeSet *fPrependSet; 1796 UnicodeSet *fSpacingSet; 1797 UnicodeSet *fLSet; 1798 UnicodeSet *fVSet; 1799 UnicodeSet *fTSet; 1800 UnicodeSet *fLVSet; [all …]
|
D | transrt.cpp | 273 void reset(UnicodeSet& set, UBool abb = FALSE, int32_t density = 100); 308 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { in reset() 336 UnicodeSet sourceRange; 337 UnicodeSet targetRange; 338 UnicodeSet toSource; 339 UnicodeSet toTarget; 340 UnicodeSet roundtripExclusionsSet; 343 UnicodeSet badCharacters; 474 UnicodeSet neverOk("[:Other:]", status); in test() 475 UnicodeSet okAnyway("[^[:Letter:]]", status); in test() [all …]
|
D | ucdtest.cpp | 293 UnicodeSet alpha(UNICODE_STRING_SIMPLE("[:Alphabetic:]"), errorCode); in TestBinaryValues() 306 UnicodeSet set(pattern, errorCode); in TestBinaryValues() 320 UnicodeSet set(pattern, errorCode); in TestBinaryValues() 352 UnicodeSet set1, set2; in TestConsistency() 381 UnicodeSet syn_pp; in TestPatternProperties() 382 UnicodeSet syn_prop(UNICODE_STRING_SIMPLE("[:Pattern_Syntax:]"), errorCode); in TestPatternProperties() 383 UnicodeSet syn_list( in TestPatternProperties() 388 UnicodeSet ws_pp; in TestPatternProperties() 389 UnicodeSet ws_prop(UNICODE_STRING_SIMPLE("[:Pattern_White_Space:]"), errorCode); in TestPatternProperties() 390 …UnicodeSet ws_list(UNICODE_STRING_SIMPLE("[\\u0009-\\u000D\\ \\u0085\\u200E\\u200F\\u2028\\u2029]"… in TestPatternProperties() [all …]
|
D | ucdtest.h | 52 UnicodeSet derivedProps[30]; 55 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b,
|
/external/icu4c/i18n/ |
D | decfmtst.h | 23 class UnicodeSet; variable 38 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse); 40 UnicodeSet *fDotEquivalents; 41 UnicodeSet *fCommaEquivalents; 42 UnicodeSet *fOtherGroupingSeparators; 43 UnicodeSet *fDashEquivalents; 45 UnicodeSet *fStrictDotEquivalents; 46 UnicodeSet *fStrictCommaEquivalents; 47 UnicodeSet *fStrictOtherGroupingSeparators; 48 UnicodeSet *fStrictDashEquivalents; [all …]
|
D | regexst.cpp | 160 … fPropSets[URX_ISWORD_SET] = new UnicodeSet(UnicodeString(TRUE, gIsWordPattern, -1), *status); in RegexStaticSets() 161 … fPropSets[URX_ISSPACE_SET] = new UnicodeSet(UnicodeString(TRUE, gIsSpacePattern, -1), *status); in RegexStaticSets() 162 … fPropSets[URX_GC_EXTEND] = new UnicodeSet(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status); in RegexStaticSets() 163 … fPropSets[URX_GC_CONTROL] = new UnicodeSet(UnicodeString(TRUE, gGC_ControlPattern, -1), *status); in RegexStaticSets() 164 … fPropSets[URX_GC_L] = new UnicodeSet(UnicodeString(TRUE, gGC_LPattern, -1), *status); in RegexStaticSets() 165 … fPropSets[URX_GC_V] = new UnicodeSet(UnicodeString(TRUE, gGC_VPattern, -1), *status); in RegexStaticSets() 166 … fPropSets[URX_GC_T] = new UnicodeSet(UnicodeString(TRUE, gGC_TPattern, -1), *status); in RegexStaticSets() 167 … fPropSets[URX_GC_LV] = new UnicodeSet(UnicodeString(TRUE, gGC_LVPattern, -1), *status); in RegexStaticSets() 168 … fPropSets[URX_GC_LVT] = new UnicodeSet(UnicodeString(TRUE, gGC_LVTPattern, -1), *status); in RegexStaticSets() 193 fPropSets[URX_GC_NORMAL] = new UnicodeSet(0, UnicodeSet::MAX_VALUE); in RegexStaticSets() [all …]
|
D | decfmtst.cpp | 87 …fDotEquivalents = new UnicodeSet(UnicodeString(TRUE, gDotEquivalentsPattern, -1), … in DecimalFormatStaticSets() 88 …fCommaEquivalents = new UnicodeSet(UnicodeString(TRUE, gCommaEquivalentsPattern, -1),… in DecimalFormatStaticSets() 89 …fOtherGroupingSeparators = new UnicodeSet(UnicodeString(TRUE, gOtherGroupingSeparatorsPatter… in DecimalFormatStaticSets() 90 …fDashEquivalents = new UnicodeSet(UnicodeString(TRUE, gDashEquivalentsPattern, -1), … in DecimalFormatStaticSets() 92 …fStrictDotEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictDotEquivalentsPattern, … in DecimalFormatStaticSets() 93 …fStrictCommaEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictCommaEquivalentsPattern… in DecimalFormatStaticSets() 94 …fStrictOtherGroupingSeparators = new UnicodeSet(UnicodeString(TRUE, gStrictOtherGroupingSeparators… in DecimalFormatStaticSets() 95 …fStrictDashEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictDashEquivalentsPattern,… in DecimalFormatStaticSets() 98 fDefaultGroupingSeparators = new UnicodeSet(*fDotEquivalents); in DecimalFormatStaticSets() 102 fStrictDefaultGroupingSeparators = new UnicodeSet(*fStrictDotEquivalents); in DecimalFormatStaticSets() [all …]
|
D | smpdtfst.h | 25 class UnicodeSet; variable 40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex); 43 UnicodeSet *fDateIgnorables; 44 UnicodeSet *fTimeIgnorables; 45 UnicodeSet *fOtherIgnorables;
|
D | regexst.h | 29 class UnicodeSet; variable 42 UnicodeSet *fPropSets[URX_LAST_SET]; // The sets for common regex items, e.g. \s 45 UnicodeSet fRuleSets[10]; // Sets used while parsing regexp patterns. 46 UnicodeSet fUnescapeCharSet; // Set of chars handled by unescape when 48 UnicodeSet *fRuleDigitsAlias;
|
D | regexcmp.cpp | 92 static inline void addCategory(UnicodeSet *set, int32_t value, UErrorCode& ec) { in addCategory() 93 set->addAll(UnicodeSet().applyIntPropertyValue(UCHAR_GENERAL_CATEGORY_MASK, value, ec)); in addCategory() 278 delete (UnicodeSet *)fSetStack.pop(); in compile() 336 UnicodeSet *s = (UnicodeSet *)fRXPat->fSets->elementAt(i); in compile() 1273 UnicodeSet *theSet = scanProp(); in doParseActions() 1515 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); in doParseActions() 1522 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); in doParseActions() 1529 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); in doParseActions() 1536 UnicodeSet *set = (UnicodeSet *)fSetStack.peek(); in doParseActions() 1537 UnicodeSet SSet(*RegexStaticSets::gStaticSets->fPropSets[URX_ISSPACE_SET]); in doParseActions() [all …]
|
D | smpdtfst.cpp | 36 fDateIgnorables = new UnicodeSet(UNICODE_STRING("[-,./[:whitespace:]]", 20), *status); in SimpleDateFormatStaticSets() 37 fTimeIgnorables = new UnicodeSet(UNICODE_STRING("[-.:[:whitespace:]]", 19), *status); in SimpleDateFormatStaticSets() 38 fOtherIgnorables = new UnicodeSet(UNICODE_STRING("[:whitespace:]", 14), *status); in SimpleDateFormatStaticSets() 124 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) in getIgnorables()
|
D | rbt_set.h | 28 class UnicodeSet; variable 153 UnicodeSet& getSourceTargetSet(UnicodeSet& result,
|
/external/icu4c/test/perf/unisetperf/ |
D | unisetperf.cpp | 128 UnicodeSet set; 129 UnicodeSet prefrozen; 159 UnicodeSet set; in Contains() 176 const UnicodeSet &set=testcase.set; in call() 192 static int32_t span(const UnicodeSet &set, const UChar *s, int32_t length, UBool tf) { in span() 209 UnicodeSet set; in SpanUTF16() 238 const UnicodeSet &set=testcase.set; in call() 260 UnicodeSet set; in SpanBackUTF16() 289 const UnicodeSet &set=testcase.set; in call() 315 UnicodeSet set; in SpanUTF8() [all …]
|
/external/icu4c/tools/toolutil/ |
D | ppucd.h | 58 UnicodeSet scx; 129 const UniProps *getProps(UnicodeSet &newValues, UErrorCode &errorCode); 147 UBool parseProperty(UniProps &props, const char *field, UnicodeSet &newValues, 152 void parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode);
|