/external/icu4c/test/cintltst/ |
D | usettest.c | 83 USet* set2; in TestAPI() local 171 set2 = uset_open(1, 1); in TestAPI() 172 uset_clear(set2); in TestAPI() 175 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec); in TestAPI() 176 expect(set2, " ", "abcdefghi{bc}", NULL); in TestAPI() 179 uset_set(set2, 0x0061, 0x0063); in TestAPI() 184 if (uset_containsSome(set, set2)) { in TestAPI() 187 uset_complementAll(set, set2); in TestAPI() 188 if (!uset_containsSome(set, set2)) { in TestAPI() 194 uset_removeAll(set, set2); in TestAPI() [all …]
|
D | cucdtst.c | 2849 USet *set1, *set2, *set3, *set4; in TestConsistency() local 2901 set2=uset_openPattern(dashPattern, 8, &errorCode); in TestConsistency() 2906 showAMinusB(set1, set2, "[:Hyphen:]", "[:Dash:]", FALSE); in TestConsistency() 2916 showAIntersectB(set3, set2, "[:Cf:]", "[:Dash:]", TRUE); in TestConsistency() 2923 uset_close(set2); in TestConsistency() 2982 set2=uset_open(1, 0); in TestConsistency() 2990 uset_add(set2, start); in TestConsistency() 2994 compareUSets(set1, set2, in TestConsistency() 3002 uset_close(set2); in TestConsistency() 3009 set2=uset_openPattern(mathPattern, 8, &errorCode); in TestConsistency() [all …]
|
/external/icu4c/common/ |
D | uset.cpp | 172 uset_containsAll(const USet* set1, const USet* set2) { in uset_containsAll() argument 173 return ((const UnicodeSet*) set1)->UnicodeSet::containsAll(* (const UnicodeSet*) set2); in uset_containsAll() 184 uset_containsNone(const USet* set1, const USet* set2) { in uset_containsNone() argument 185 return ((const UnicodeSet*) set1)->UnicodeSet::containsNone(* (const UnicodeSet*) set2); in uset_containsNone() 189 uset_containsSome(const USet* set1, const USet* set2) { in uset_containsSome() argument 190 return ((const UnicodeSet*) set1)->UnicodeSet::containsSome(* (const UnicodeSet*) set2); in uset_containsSome() 214 uset_equals(const USet* set1, const USet* set2) { in uset_equals() argument 215 return *(const UnicodeSet*)set1 == *(const UnicodeSet*)set2; in uset_equals()
|
/external/webkit/WebCore/icu/unicode/ |
D | uset.h | 593 uset_containsAll(const USet* set1, const USet* set2); 604 uset_containsNone(const USet* set1, const USet* set2); 615 uset_containsSome(const USet* set1, const USet* set2); 626 uset_equals(const USet* set1, const USet* set2);
|
/external/webkit/JavaScriptCore/icu/unicode/ |
D | uset.h | 593 uset_containsAll(const USet* set1, const USet* set2); 604 uset_containsNone(const USet* set1, const USet* set2); 615 uset_containsSome(const USet* set1, const USet* set2); 626 uset_equals(const USet* set1, const USet* set2);
|
/external/icu4c/common/unicode/ |
D | uset.h | 804 uset_containsAll(const USet* set1, const USet* set2); 828 uset_containsNone(const USet* set1, const USet* set2); 839 uset_containsSome(const USet* set1, const USet* set2); 936 uset_equals(const USet* set1, const USet* set2);
|
/external/icu4c/test/intltest/ |
D | usettest.cpp | 327 UnicodeSet *set2=new UnicodeSet("\\p{Decimal Number}", status); //Number, Decimal digit in TestCloneEqualHash() local 337 if (*set2 != *set2a) { in TestCloneEqualHash() 345 if(*set1 != *set1copy || *set1 == *set2 || in TestCloneEqualHash() 354 UnicodeSet set2equal=*set2; in TestCloneEqualHash() 355 if(set1equal != *set1 || set1equal != *set1copy || set2equal != *set2 || in TestCloneEqualHash() 362 UnicodeSet *set2clone=(UnicodeSet*)set2->clone(); in TestCloneEqualHash() 364 *set2clone != *set2 || *set2clone == *set1copy || *set2clone != set2equal || in TestCloneEqualHash() 371 set2->hashCode() != set2equal.hashCode() || set2->hashCode() != set2clone->hashCode() || in TestCloneEqualHash() 373 set1->hashCode() == set2->hashCode() || set1copy->hashCode() == set2->hashCode() || in TestCloneEqualHash() 374 set2->hashCode() == set1clone->hashCode() || set2->hashCode() == set1equal.hashCode() ){ in TestCloneEqualHash() [all …]
|
/external/libxml2/ |
D | xpath.c | 3834 xmlXPathNodeSetMergeAndClear(xmlNodeSetPtr set1, xmlNodeSetPtr set2, in xmlXPathNodeSetMergeAndClear() argument 3842 set1 = xmlXPathNodeSetCreateSize(set2->nodeNr); in xmlXPathNodeSetMergeAndClear() 3845 if (set2->nodeNr != 0) { in xmlXPathNodeSetMergeAndClear() 3846 memcpy(set1->nodeTab, set2->nodeTab, in xmlXPathNodeSetMergeAndClear() 3847 set2->nodeNr * sizeof(xmlNodePtr)); in xmlXPathNodeSetMergeAndClear() 3848 set1->nodeNr = set2->nodeNr; in xmlXPathNodeSetMergeAndClear() 3858 for (i = 0;i < set2->nodeNr;i++) { in xmlXPathNodeSetMergeAndClear() 3859 n2 = set2->nodeTab[i]; in xmlXPathNodeSetMergeAndClear() 3882 set2->nodeTab[i] = NULL; in xmlXPathNodeSetMergeAndClear() 3924 set2->nodeNr = 0; in xmlXPathNodeSetMergeAndClear() [all …]
|