Home
last modified time | relevance | path

Searched refs:USet (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
Duset.h35 struct USet;
41 typedef struct USet USet; typedef
255 U_STABLE USet* U_EXPORT2
268 U_STABLE USet* U_EXPORT2
280 U_STABLE USet* U_EXPORT2
295 U_STABLE USet* U_EXPORT2
307 uset_close(USet* set);
322 U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
337 U_STABLE USet * U_EXPORT2
338 uset_clone(const USet *set);
[all …]
Duniset.h487 inline static UnicodeSet *fromUSet(USet *uset);
497 inline static const UnicodeSet *fromUSet(const USet *uset);
506 inline USet *toUSet();
516 inline const USet * toUSet() const;
1653 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) { in fromUSet()
1657 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) { in fromUSet()
1661 inline USet *UnicodeSet::toUSet() { in toUSet()
1662 return reinterpret_cast<USet *>(this); in toUSet()
1665 inline const USet *UnicodeSet::toUSet() const { in toUSet()
1666 return reinterpret_cast<const USet *>(this); in toUSet()
Ducnv.h65 struct USet;
67 typedef struct USet USet; typedef
996 USet *setFillIn,
Ducnvsel.h75 const USet* excludedCodePoints,
/external/icu/icu4c/source/common/
Duset.cpp31 U_CAPI USet* U_EXPORT2
33 return (USet*) new UnicodeSet(); in uset_openEmpty()
36 U_CAPI USet* U_EXPORT2
38 return (USet*) new UnicodeSet(start, end); in uset_open()
42 uset_close(USet* set) { in uset_close()
46 U_CAPI USet * U_EXPORT2
47 uset_clone(const USet *set) { in uset_clone()
48 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
52 uset_isFrozen(const USet *set) { in uset_isFrozen()
57 uset_freeze(USet *set) { in uset_freeze()
[all …]
Duset_imp.h28 USetAdd(USet *set, UChar32 c);
31 USetAddRange(USet *set, UChar32 start, UChar32 end);
34 USetAddString(USet *set, const UChar *str, int32_t length);
37 USetRemove(USet *set, UChar32 c);
40 USetRemoveRange(USet *set, UChar32 start, UChar32 end);
48 USet *set;
Duset_props.cpp30 U_CAPI USet* U_EXPORT2
46 return (USet*) set; in uset_openPattern()
49 U_CAPI USet* U_EXPORT2
66 return (USet*) set; in uset_openPatternOptions()
71 uset_applyPattern(USet *set, in uset_applyPattern()
100 uset_applyIntPropertyValue(USet* set, in uset_applyIntPropertyValue()
106 uset_applyPropertyAlias(USet* set, in uset_applyPropertyAlias()
129 uset_toPattern(const USet* set, in uset_toPattern()
139 uset_closeOver(USet* set, int32_t attributes) { in uset_closeOver()
Duniset_closure.cpp144 _set_add(USet *set, UChar32 c) { in _set_add()
149 _set_addRange(USet *set, UChar32 start, UChar32 end) { in _set_addRange()
154 _set_addString(USet *set, const UChar *str, int32_t length) { in _set_addString()
Ducnv_set.c31 USet *setFillIn, in ucnv_getUnicodeSet()
/external/llvm/unittests/ADT/
DSparseMultiSetTest.cpp17 typedef SparseMultiSet<unsigned> USet; typedef
21 USet Set; in TEST()
32 const USet &CSet = Set; in TEST()
36 USet::const_iterator I = CSet.find(5); in TEST()
42 USet Set; in TEST()
44 USet::iterator I = Set.insert(5); in TEST()
82 USet Set; in TEST()
113 USet::iterator I = Set.erase(Set.find(6)); in TEST()
163 USet Set; in TEST()
173 USet::RangePair RangePair = Set.equal_range(0); in TEST()
[all …]
DSparseSetTest.cpp17 typedef SparseSet<unsigned> USet; typedef
21 USet Set; in TEST()
33 const USet &CSet = Set; in TEST()
38 USet::const_iterator I = CSet.find(5); in TEST()
44 USet Set; in TEST()
46 std::pair<USet::iterator, bool> IP = Set.insert(5); in TEST()
72 USet::iterator I = Set.find(5); in TEST()
81 USet Set; in TEST()
92 USet::const_iterator I = Set.begin(); in TEST()
106 std::pair<USet::iterator, bool> IP = Set.insert(3); in TEST()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c26 static void expect(const USet* set,
30 static void expectContainment(const USet* set,
34 static void expectItems(const USet* set,
55 USet *s = uset_open(1, 0); in Testj2269()
81 USet* set; in TestAPI()
82 USet* set2; in TestAPI()
235 static void expect(const USet* set, in expect()
252 static void expectContainment(const USet* set, in expectContainment()
354 static void expectItems(const USet* set, in expectItems()
478 USet *set; in TestSerialized()
[all …]
Dcldrtest.c23 static USet*
24 createFlattenSet(USet *origSet, UErrorCode *status) { in createFlattenSet()
27 USet *newSet = NULL; in createFlattenSet()
742 USet * mergedExemplarSet, in findStringSetMismatch()
745 USet *exemplarSet; in findStringSetMismatch()
790 USet *exemplarSet, in findSetMatch()
792 USet *scripts[10]= {0}; in findSetMatch()
903 USet * mergedExemplarSet = NULL; in VerifyTranslation()
925USet * exemplarSet = ulocdata_getExemplarSet(uld, NULL, USET_ADD_CASE_MAPPINGS, ULOCDATA_ES_STANDA… in VerifyTranslation()
1053USet *exemplarSet = ulocdata_getExemplarSet(uld, NULL, 0, ULOCDATA_ES_STANDARD, &errorCode); in VerifyTranslation()
[all …]
Dspooftest.c251 USet *us; in TestUSpoofCAPI()
252 const USet *uset; in TestUSpoofCAPI()
391 const USet *set; in TestUSpoofCAPI()
392 USet *tmpSet; in TestUSpoofCAPI()
537 const USet *inclusions = NULL; in TestUSpoofCAPI()
538 const USet *recommended = NULL; in TestUSpoofCAPI()
Dcucdtst.c338 showADiffB(const USet *a, const USet *b, in showADiffB()
341 USet *aa; in showADiffB()
410 showAMinusB(const USet *a, const USet *b, in showAMinusB()
417 showAIntersectB(const USet *a, const USet *b, in showAIntersectB()
424 compareUSets(const USet *a, const USet *b, in compareUSets()
507 USet *digits, *decimalValues; in TestLetterNumber()
1833 USet* set = uset_open(1, 0); /* empty set */ in TestCharNames()
1834 USet* dumb = uset_open(1, 0); /* empty set */ in TestCharNames()
1975 USet *set; in TestMirroring()
3094 USet *set1, *set2, *set3, *set4; in TestConsistency()
[all …]
Ducnvseltst.c272 const USet* excludedCodePoints, const UConverterUnicodeSet whichSet) { in getResultsManually()
282 USet* set; in getResultsManually()
379 USet* excluded_sets[3] = { NULL }; in TestSelector()
/external/icu/icu4c/source/i18n/unicode/
Duspoof.h577 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status);
600 U_STABLE const USet * U_EXPORT2
989 U_STABLE const USet * U_EXPORT2
1003 U_STABLE const USet * U_EXPORT2
Ducol.h481 USet *conts,
498 USet *contractions, USet *expansions,
1390 U_STABLE USet * U_EXPORT2
1407 USet *unsafe,
Dulocdata.h164 U_STABLE USet* U_EXPORT2
165 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn,
Dutrans.h554 U_STABLE USet* U_EXPORT2
557 USet* fillIn,
/external/icu/icu4c/source/i18n/
Dname2uni.cpp40 _set_add(USet *set, UChar32 c) { in _set_add()
67 (USet *)legalPtr, // USet* == UnicodeSet* in NameUnicodeTransliterator()
Duspoof.cpp268 U_CAPI const USet * U_EXPORT2
285 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status) { in uspoof_setAllowedChars()
756 U_CAPI const USet * U_EXPORT2
762 U_CAPI const USet * U_EXPORT2
Dulocdata.c100 U_CAPI USet* U_EXPORT2
101 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn, in ulocdata_getExemplarSet()
/external/icu/icu4c/source/test/intltest/
Dssearch.cpp1008 SetMonkey(const USet *theSet);
1014 const USet *set;
1017 SetMonkey::SetMonkey(const USet *theSet) in SetMonkey()
1042 StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData);
1050 const USet *set;
1055 StringSetMonkey::StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData) in StringSetMonkey()
1369 USet *expansions = uset_openEmpty(); in monkeyTest()
1370 USet *contractions = uset_openEmpty(); in monkeyTest()
1376 USet *letters = uset_openPattern(letter_pattern, 39, &status); in monkeyTest()
Dcolldata.cpp321 USet *charsToTest = uset_openPattern(test_pattern, 20, &status); in CollData()
327 USet *charsToRemove = uset_openPattern(remove_pattern, 70, &status); in CollData()
333 USet *expansions = uset_openEmpty(); in CollData()
334 USet *contractions = uset_openEmpty(); in CollData()

12