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

12

/external/icu/icu4c/source/common/
H A Duset_imp.h16 * Internal USet definitions.
28 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);
43 * Interface for adding items to a USet, to keep low-level code from
44 * statically depending on the USet implementation.
48 USet *set;
H A Duset.cpp16 * There are functions to efficiently serialize a USet into an array of uint16_t
18 * instantiating a new USet.
31 U_CAPI USet* U_EXPORT2
33 return (USet*) new UnicodeSet();
36 U_CAPI USet* U_EXPORT2
38 return (USet*) new UnicodeSet(start, end);
42 uset_close(USet* set) {
46 U_CAPI USet * U_EXPORT2
47 uset_clone(const USet *set) {
48 return (USet*) (((UnicodeSe
[all...]
H A Duset_props.cpp30 U_CAPI USet* U_EXPORT2
46 return (USet*) set;
49 U_CAPI USet* U_EXPORT2
66 return (USet*) set;
71 uset_applyPattern(USet *set,
100 uset_applyIntPropertyValue(USet* set,
106 uset_applyPropertyAlias(USet* set,
129 uset_toPattern(const USet* set,
139 uset_closeOver(USet* set, int32_t attributes) {
H A Ducnv_set.c16 * Conversion API functions using USet (ucnv_getUnicodeSet())
18 * implementation functions on the USet implementation.
31 USet *setFillIn,
H A Duniset_closure.cpp144 _set_add(USet *set, UChar32 c) {
149 _set_addRange(USet *set, UChar32 start, UChar32 end) {
154 _set_addString(USet *set, const UChar *str, int32_t length) {
/external/icu/icu4c/source/common/unicode/
H A Duset.h35 struct USet;
41 typedef struct USet USet; typedef in typeref:struct:USet
245 * USet API
249 * Create an empty USet object.
251 * @return a newly created USet. The caller must call uset_close() on
255 U_STABLE USet* U_EXPORT2
259 * Creates a USet object that contains the range of characters
264 * @return a newly created USet. The caller must call uset_close() on
268 U_STABLE USet* U_EXPORT
[all...]
H A Ducnvsel.h75 const USet* excludedCodePoints,
H A Duniset.h480 * Get a UnicodeSet pointer from a USet
482 * @param uset a USet (the ICU plain C type for UnicodeSet)
487 inline static UnicodeSet *fromUSet(USet *uset);
490 * Get a UnicodeSet pointer from a const USet
492 * @param uset a const USet (the ICU plain C type for UnicodeSet)
497 inline static const UnicodeSet *fromUSet(const USet *uset);
500 * Produce a USet * pointer for this UnicodeSet.
501 * USet is the plain C type for UnicodeSet
503 * @return a USet pointer for this UnicodeSet
506 inline USet *toUSe
[all...]
H A Ducnv.h57 * USet is the C API type for Unicode sets.
65 struct USet;
67 typedef struct USet USet; typedef in typeref:struct:USet
982 * @param setFillIn A valid USet *. It will be cleared by this function before
983 * the converter's specific set is filled into the USet.
996 USet *setFillIn,
H A Dunorm2.h225 * @param filterSet USet which determines the characters to be normalized
234 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
/external/llvm/unittests/ADT/
H A DSparseMultiSetTest.cpp17 typedef SparseMultiSet<unsigned> USet; typedef in namespace:__anon11221
21 USet Set;
32 const USet &CSet = Set;
36 USet::const_iterator I = CSet.find(5);
42 USet Set;
44 USet::iterator I = Set.insert(5);
82 USet Set;
113 USet::iterator I = Set.erase(Set.find(6));
163 USet Set;
173 USet
[all...]
H A DSparseSetTest.cpp17 typedef SparseSet<unsigned> USet; typedef in namespace:__anon11222
21 USet Set;
33 const USet &CSet = Set;
38 USet::const_iterator I = CSet.find(5);
44 USet Set;
46 std::pair<USet::iterator, bool> IP = Set.insert(5);
72 USet::iterator I = Set.find(5);
81 USet Set;
92 USet::const_iterator I = Set.begin();
106 std::pair<USet
[all...]
/external/icu/icu4c/source/test/cintltst/
H A 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);
81 USet* set;
82 USet* set2;
235 static void expect(const USet* set,
244 log_err("FAIL: USet is NULL\n");
252 static void expectContainment(const USet* set,
354 static void expectItems(const USet* se
[all...]
H A Dspooftest.c251 USet *us;
252 const USet *uset;
388 * AllowedChars set/get the USet of allowed characters.
391 const USet *set;
392 USet *tmpSet;
395 /* By default, we should see no restriction; the USet should allow all characters. */
537 const USet *inclusions = NULL;
538 const USet *recommended = NULL;
H A Dcldrtest.c23 static USet*
24 createFlattenSet(USet *origSet, UErrorCode *status) {
27 USet *newSet = NULL;
742 USet * mergedExemplarSet,
745 USet *exemplarSet;
790 USet *exemplarSet,
792 USet *scripts[10]= {0};
903 USet * mergedExemplarSet = NULL;
925 USet * exemplarSet = ulocdata_getExemplarSet(uld, NULL, USET_ADD_CASE_MAPPINGS, ULOCDATA_ES_STANDARD, &exemplarStatus);
1053 USet *exemplarSe
[all...]
H A Ducnvseltst.c272 const USet* excludedCodePoints, const UConverterUnicodeSet whichSet) {
282 USet* set;
379 USet* excluded_sets[3] = { NULL };
/external/icu/icu4c/source/i18n/unicode/
H A Dulocdata.h142 * @param fillIn Pointer to a USet object to receive the
145 * then a new USet is created and returned. The caller
159 * @return USet* Either fillIn, or if fillIn is NULL, a pointer to
160 * a newly-allocated USet that the user must close.
164 U_STABLE USet* U_EXPORT2
165 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn,
H A Duspoof.h572 * or deleting the USet after calling this function.
577 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status);
581 * Get a USet for the characters permitted in an identifier.
596 * @return A USet containing the characters that are permitted by
600 U_STABLE const USet * U_EXPORT2
989 U_STABLE const USet * U_EXPORT2
1003 U_STABLE const USet * U_EXPORT2
H A Ducol.h481 USet *conts,
498 USet *contractions, USet *expansions,
1385 * @return a pointer to newly created USet. Must be be disposed by using uset_close
1390 U_STABLE USet * U_EXPORT2
1407 USet *unsafe,
H A Dutrans.h544 * @param fillIn Pointer to a USet object to receive the modifiable characters
546 * NULL, then a new USet is created and returned. The caller
549 * @return USet* Either fillIn, or if fillIn is NULL, a pointer to a
550 * newly-allocated USet that the user must close. In case of
554 U_STABLE USet* U_EXPORT2
557 USet* fillIn,
/external/icu/icu4c/source/i18n/
H A Dname2uni.cpp40 _set_add(USet *set, UChar32 c) {
46 _set_addRange(USet *set, UChar32 start, UChar32 end) {
51 _set_addString(USet *set, const UChar *str, int32_t length) {
67 (USet *)legalPtr, // USet* == UnicodeSet*
H A Duspoof.cpp268 U_CAPI const USet * U_EXPORT2
285 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status) {
756 U_CAPI const USet * U_EXPORT2
762 U_CAPI const USet * U_EXPORT2
H A Dulocdata.c100 U_CAPI USet* U_EXPORT2
101 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn,
/external/icu/icu4c/source/test/intltest/
H A Dssearch.cpp1008 SetMonkey(const USet *theSet);
1014 const USet *set;
1017 SetMonkey::SetMonkey(const USet *theSet)
1042 StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData);
1050 const USet *set;
1055 StringSetMonkey::StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData)
1369 USet *expansions = uset_openEmpty();
1370 USet *contractions = uset_openEmpty();
1376 USet *letters = uset_openPattern(letter_pattern, 39, &status);
H A Dcolldata.cpp321 USet *charsToTest = uset_openPattern(test_pattern, 20, &status);
327 USet *charsToRemove = uset_openPattern(remove_pattern, 70, &status);
333 USet *expansions = uset_openEmpty();
334 USet *contractions = uset_openEmpty();

Completed in 299 milliseconds

12