Searched refs:UnicodeSet (Results 1 - 25 of 132) sorted by relevance

123456

/external/icu4c/i18n/
H A Ddecfmtst.h23 class UnicodeSet;
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 *fStrictDashEquivalent
[all...]
H A Dregexst.h29 class UnicodeSet;
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;
H A Dsmpdtfst.h25 class UnicodeSet;
40 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
43 UnicodeSet *fDateIgnorables;
44 UnicodeSet *fTimeIgnorables;
45 UnicodeSet *fOtherIgnorables;
H A Drbt_set.h28 class UnicodeSet;
153 UnicodeSet& getSourceTargetSet(UnicodeSet& result,
H A Dsmpdtfst.cpp36 fDateIgnorables = new UnicodeSet(UNICODE_STRING("[-,./[:whitespace:]]", 20), *status);
37 fTimeIgnorables = new UnicodeSet(UNICODE_STRING("[-.:[:whitespace:]]", 19), *status);
38 fOtherIgnorables = new UnicodeSet(UNICODE_STRING("[:whitespace:]", 14), *status);
124 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex)
H A Drbt.h61 * The right hand side may contain embedded <code>UnicodeSet</code>
120 * <p><b>UnicodeSet</b></p>
122 * <p><code>UnicodeSet</code> patterns may appear anywhere that
124 * Contrariwise, <code>UnicodeSet</code> patterns may themselves
128 * <p><code>UnicodeSet</code> patterns may also be embedded directly
138 * <p>See {@link UnicodeSet} for more documentation and examples.</p>
174 * <p>It is also possible to match the beginning or the end of the text using a <code>UnicodeSet</code>.
427 virtual void handleGetSourceSet(UnicodeSet& result) const;
433 virtual UnicodeSet& getTargetSet(UnicodeSet
[all...]
H A Ddecfmtst.cpp87 fDotEquivalents = new UnicodeSet(UnicodeString(TRUE, gDotEquivalentsPattern, -1), *status);
88 fCommaEquivalents = new UnicodeSet(UnicodeString(TRUE, gCommaEquivalentsPattern, -1), *status);
89 fOtherGroupingSeparators = new UnicodeSet(UnicodeString(TRUE, gOtherGroupingSeparatorsPattern, -1), *status);
90 fDashEquivalents = new UnicodeSet(UnicodeString(TRUE, gDashEquivalentsPattern, -1), *status);
92 fStrictDotEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictDotEquivalentsPattern, -1), *status);
93 fStrictCommaEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictCommaEquivalentsPattern, -1), *status);
94 fStrictOtherGroupingSeparators = new UnicodeSet(UnicodeString(TRUE, gStrictOtherGroupingSeparatorsPattern, -1), *status);
95 fStrictDashEquivalents = new UnicodeSet(UnicodeString(TRUE, gStrictDashEquivalentsPattern, -1), *status);
98 fDefaultGroupingSeparators = new UnicodeSet(*fDotEquivalents);
102 fStrictDefaultGroupingSeparators = new UnicodeSet(*fStrictDotEquivalent
[all...]
H A Dregexst.cpp158 fPropSets[URX_ISWORD_SET] = new UnicodeSet(UnicodeString(TRUE, gIsWordPattern, -1), *status);
159 fPropSets[URX_ISSPACE_SET] = new UnicodeSet(UnicodeString(TRUE, gIsSpacePattern, -1), *status);
160 fPropSets[URX_GC_EXTEND] = new UnicodeSet(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status);
161 fPropSets[URX_GC_CONTROL] = new UnicodeSet(UnicodeString(TRUE, gGC_ControlPattern, -1), *status);
162 fPropSets[URX_GC_L] = new UnicodeSet(UnicodeString(TRUE, gGC_LPattern, -1), *status);
163 fPropSets[URX_GC_V] = new UnicodeSet(UnicodeString(TRUE, gGC_VPattern, -1), *status);
164 fPropSets[URX_GC_T] = new UnicodeSet(UnicodeString(TRUE, gGC_TPattern, -1), *status);
165 fPropSets[URX_GC_LV] = new UnicodeSet(UnicodeString(TRUE, gGC_LVPattern, -1), *status);
166 fPropSets[URX_GC_LVT] = new UnicodeSet(UnicodeString(TRUE, gGC_LVTPattern, -1), *status);
191 fPropSets[URX_GC_NORMAL] = new UnicodeSet(
[all...]
/external/icu4c/test/intltest/
H A Dusettest.h25 * UnicodeSet test
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
[all...]
H A Ducdtest.h52 UnicodeSet derivedProps[30];
55 UBool compareUSets(const UnicodeSet &a, const UnicodeSet &b,
H A Dnptrans.h38 UnicodeSet unassigned;
39 UnicodeSet prohibited;
40 UnicodeSet labelSeparatorSet;
H A Ducdtest.cpp293 UnicodeSet alpha(UNICODE_STRING_SIMPLE("[:Alphabetic:]"), errorCode);
295 dataerrln("UnicodeSet([:Alphabetic:]) failed - %s", u_errorName(errorCode));
306 UnicodeSet set(pattern, errorCode);
308 errln("UnicodeSet([:Alphabetic=%s:]) failed - %s\n", falseValues[i], u_errorName(errorCode));
313 errln("UnicodeSet([:Alphabetic=%s:]).complement()!=UnicodeSet([:Alphabetic:])\n", falseValues[i]);
320 UnicodeSet set(pattern, errorCode);
322 errln("UnicodeSet([:Alphabetic=%s:]) failed - %s\n", trueValues[i], u_errorName(errorCode));
326 errln("UnicodeSet([:Alphabetic=%s:])!=UnicodeSet([
[all...]
H A Dusettest.cpp36 UnicodeString operator+(const UnicodeString& left, const UnicodeSet& set) {
106 UnicodeSet t;
108 UnicodeSet test(t);
131 UnicodeSet s(OTHER_TOPATTERN_TESTS[j], ec);
159 UnicodeSet* s = new UnicodeSet("[a-z {aa} {ab}]", ec);
202 UnicodeSet s;
218 UnicodeSet testSet;
224 const UnicodeSet& testSet) {
227 // be passed back into the UnicodeSet constructo
[all...]
/external/icu4c/common/unicode/
H A Duniset.h38 * <p>The UnicodeSet class is not designed to be subclassed.
40 * <p><code>UnicodeSet</code> supports two APIs. The first is the
42 * a <code>UnicodeSet</code> object. It conforms to Java 2's
44 * <code>UnicodeSet</code> does not actually implement that
48 * <code>UnicodeSet</code> instead of a <code>Collection</code>. The
65 * attributes of a <code>UnicodeSet</code> at once, based on a
117 * for UnicodeSet at
172 * <p><b>Warning</b>: you cannot add an empty string ("") to a UnicodeSet.</p>
261 * - Most UnicodeSet methods do not take a UErrorCode parameter because
266 * Instead, such methods set the UnicodeSet int
272 class U_COMMON_API UnicodeSet : public UnicodeFilter { class in inherits:UnicodeFilter
[all...]
H A Dunimatch.h23 class UnicodeSet;
158 virtual void addMatchSetTo(UnicodeSet& toUnionTo) const = 0;
H A Dusetiter.h16 * \brief C++ API: UnicodeSetIterator iterates over the contents of a UnicodeSet.
21 class UnicodeSet;
26 * UnicodeSetIterator iterates over the contents of a UnicodeSet. It
29 * multicharacter strings of the UnicodeSet, if any.
107 UnicodeSetIterator(const UnicodeSet& set);
220 void reset(const UnicodeSet& set);
252 const UnicodeSet* set;
H A Dsymtable.h26 class UnicodeSet;
43 * such as UnicodeSets. If U+E015 is mapped to the UnicodeSet [a-z],
44 * then lookupMatcher(0xE015) will return the UnicodeSet [a-z].
/external/icu4c/common/
H A Duset.cpp33 return (USet*) new UnicodeSet();
38 return (USet*) new UnicodeSet(start, end);
43 delete (UnicodeSet*) set;
48 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone());
53 return ((UnicodeSet*) set)->UnicodeSet::isFrozen();
58 ((UnicodeSet*) set)->UnicodeSet::freeze();
63 return (USet*) (((UnicodeSet*) se
[all...]
H A Ddictbe.h39 UnicodeSet fSet;
105 * @param set A UnicodeSet of the set of characters handled by the engine
107 virtual void setCharacters( const UnicodeSet &set );
150 UnicodeSet fThaiWordSet;
151 UnicodeSet fEndWordSet;
152 UnicodeSet fBeginWordSet;
153 UnicodeSet fSuffixSet;
154 UnicodeSet fMarkSet;
208 UnicodeSet fKhmerWordSet;
209 UnicodeSet fEndWordSe
[all...]
H A Drbbiscan.h21 #include "unicode/symtable.h"// For UnicodeSet parsing, is the interface that
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;
H A Duset_props.cpp16 * C wrappers around UnicodeSet functions that are implemented in
35 UnicodeSet* set = new UnicodeSet(pat, *ec);
55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec);
94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status);
102 ((UnicodeSet*) set)->applyIntPropertyValue(prop, value, *ec);
114 ((UnicodeSet*) set)->applyPropertyAlias(p, v, *ec);
125 UnicodeSet::resemblesPattern(pat, pos);
134 ((const UnicodeSet*) se
[all...]
H A Duniset.cpp63 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeSet)
88 // DEBUG UnicodeSet: ct 0x00A39B20; 397 [\u0A81-\u0A83\u0A85-
89 // DEBUG UnicodeSet: dt 0x00A39B20; 396 [\u0A81-\u0A83\u0A85-
100 static inline void _dbgct(UnicodeSet* set) {
105 printf("DEBUG UnicodeSet: ct 0x%08X; %d %s\n", set, ++_dbgCount, buf);
108 static inline void _dbgdt(UnicodeSet* set) {
113 printf("DEBUG UnicodeSet: dt 0x%08X; %d %s\n", set, --_dbgCount, buf);
144 UnicodeSet::UnicodeSet() : function in class:UnicodeSet
171 UnicodeSet function in class:UnicodeSet
195 UnicodeSet::UnicodeSet(const UnicodeSet& o) : function in class:UnicodeSet
219 UnicodeSet::UnicodeSet(const UnicodeSet& o, UBool /* asThawed */) : function in class:UnicodeSet
[all...]
H A Duniset_props.cpp102 // Not a TriStateSingletonWrapper because we think the UnicodeSet constructor
105 class UnicodeSetSingleton : public SimpleSingletonWrapper<UnicodeSet> {
108 SimpleSingletonWrapper<UnicodeSet>(s), fPattern(pattern) {}
109 UnicodeSet *getInstance(UErrorCode &errorCode) {
110 return SimpleSingletonWrapper<UnicodeSet>::getInstance(createInstance, fPattern, errorCode);
115 UnicodeSet *set=new UnicodeSet(pattern, errorCode);
130 static UnicodeSet *INCLUSIONS[UPROPS_SRC_COUNT] = { NULL }; // cached getInclusions()
142 ((UnicodeSet *)set)->add(c);
147 ((UnicodeSet *)se
330 UnicodeSet::UnicodeSet(const UnicodeString& pattern, function in class:UnicodeSet
357 UnicodeSet::UnicodeSet(const UnicodeString& pattern, function in class:UnicodeSet
378 UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos, function in class:UnicodeSet
[all...]
/external/icu4c/i18n/unicode/
H A Dunirepl.h24 class UnicodeSet;
92 virtual void addReplacementSetTo(UnicodeSet& toUnionTo) const = 0;
H A Dalphaindex.h75 class UnicodeSet;
193 virtual AlphabeticIndex &addLabels(const UnicodeSet &additions, UErrorCode &status);
559 static void getIndexExemplars(UnicodeSet &dest, const Locale &locale, UErrorCode &status);
565 static UnicodeSet *getScriptSet(UnicodeSet &dest, const UnicodeString &codePoint, UErrorCode &status);
656 UHashtable *alreadyIn_; // Key=UnicodeString, value=UnicodeSet
658 UnicodeSet *initialLabels_; // Initial (unprocessed) set of Labels. Union
666 UnicodeSet *noDistinctSorting_; // As the set of labels is built, strings may
671 UnicodeSet *notAlphabetic_; // As the set of labels is built, strings may
707 static UnicodeSet *ALPHABETI
[all...]

Completed in 2452 milliseconds

123456