Home
last modified time | relevance | path

Searched refs:uset (Results 1 – 25 of 34) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java37 short uset = allBits; field in BasicPeriodBuilderFactory.Settings
46 Settings setUnits(int uset) { in setUnits() argument
47 if (this.uset == uset) { in setUnits()
52 result.uset = (short)uset; in setUnits()
54 if ((uset & allBits) == allBits) { in setUnits()
55 result.uset = allBits; in setUnits()
61 if (0 != (uset & (1 << i))) { in setUnits()
81 return uset; in effectiveSet()
83 return (short)(uset & ~(1 << TimeUnit.MILLISECOND.ordinal)); in effectiveSet()
92 if (0 != (uset & (1 << i))) { in effectiveMinUnit()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java38 short uset = allBits; field in BasicPeriodBuilderFactory.Settings
47 Settings setUnits(int uset) { in setUnits() argument
48 if (this.uset == uset) { in setUnits()
53 result.uset = (short)uset; in setUnits()
55 if ((uset & allBits) == allBits) { in setUnits()
56 result.uset = allBits; in setUnits()
62 if (0 != (uset & (1 << i))) { in setUnits()
82 return uset; in effectiveSet()
84 return (short)(uset & ~(1 << TimeUnit.MILLISECOND.ordinal)); in effectiveSet()
93 if (0 != (uset & (1 << i))) { in effectiveMinUnit()
[all …]
/external/icu/icu4c/source/common/
Drbbiscan.cpp710 U_ASSERT(node->fLeftChild->fType == RBBINode::uset); in findSetFor()
731 RBBINode *usetNode = new RBBINode(RBBINode::uset); in findSetFor()
1175 UnicodeSet *uset; in scanSet() local
1187 uset = new UnicodeSet(); in scanSet()
1188 if (uset == NULL) { in scanSet()
1191 uset->applyPatternIgnoreSpace(fRB->fRules, pos, fSymbolTable, localStatus); in scanSet()
1200 delete uset; in scanSet()
1206 U_ASSERT(uset!=NULL); in scanSet()
1207 if (uset->isEmpty()) { in scanSet()
1213 delete uset; in scanSet()
[all …]
Duset.cpp263 uset_getItemCount(const USet* uset) { in uset_getItemCount() argument
264 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItemCount()
269 uset_getItem(const USet* uset, int32_t itemIndex, in uset_getItem() argument
274 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItem()
Drbbinode.h29 uset, enumerator
Drbbinode.cpp148 } else if (fType == RBBINode::uset) { in cloneTree()
/external/libpcap/
Dgencode.h230 typedef bpf_u_int32 *uset; typedef
241 uset edom;
261 uset dom;
262 uset closure;
Doptimize.c180 static uset all_dom_sets;
181 static uset all_closure_sets;
182 static uset all_edge_sets;
276 uset x; in find_edom()
284 memset(root->et.edom, 0, edgewords * sizeof(*(uset)0)); in find_edom()
285 memset(root->ef.edom, 0, edgewords * sizeof(*(uset)0)); in find_edom()
/external/icu/icu4c/source/common/unicode/
Duniset.h509 inline static UnicodeSet *fromUSet(USet *uset);
519 inline static const UnicodeSet *fromUSet(const USet *uset);
1675 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) { in fromUSet() argument
1676 return reinterpret_cast<UnicodeSet *>(uset); in fromUSet()
1679 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) { in fromUSet() argument
1680 return reinterpret_cast<const UnicodeSet *>(uset); in fromUSet()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java55 UnicodeSet uset = new UnicodeSet(pattern); in TestSimpleStringSpanSlow() local
56 uset.complement(); in TestSimpleStringSpanSlow()
57 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestSimpleStringSpanSlow()
741 UnicodeSet uset = new UnicodeSet(Utility.unescape(unicodeSet1)); in TestInterestingStringSpan() local
747 boolean contains = uset.contains(c); in TestInterestingStringSpan()
753 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestInterestingStringSpan()
760 len = uset.span(interestingString, start, spanCondition) - start; in TestInterestingStringSpan()
813 UnicodeSet uset = new UnicodeSet(Utility.unescape(patternWithUnpairedSurrogate)); in TestStringWithUnpairedSurrogateSpan() local
818 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestStringWithUnpairedSurrogateSpan()
825 len = uset.span(string, start, spanCondition) - start; in TestStringWithUnpairedSurrogateSpan()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java59 UnicodeSet uset = new UnicodeSet(pattern); in TestSimpleStringSpanSlow() local
60 uset.complement(); in TestSimpleStringSpanSlow()
61 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestSimpleStringSpanSlow()
745 UnicodeSet uset = new UnicodeSet(Utility.unescape(unicodeSet1)); in TestInterestingStringSpan() local
751 boolean contains = uset.contains(c); in TestInterestingStringSpan()
757 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestInterestingStringSpan()
764 len = uset.span(interestingString, start, spanCondition) - start; in TestInterestingStringSpan()
817 UnicodeSet uset = new UnicodeSet(Utility.unescape(patternWithUnpairedSurrogate)); in TestStringWithUnpairedSurrogateSpan() local
822 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestStringWithUnpairedSurrogateSpan()
829 len = uset.span(string, start, spanCondition) - start; in TestStringWithUnpairedSurrogateSpan()
DUnicodeSetTest.java1168 UnicodeSet uset = new UnicodeSet("[a{bc}{cd}pqr\u0000]"); in TestUnicodeSetStrings() local
1169 logln(uset + " ~ " + uset.getRegexEquivalent()); in TestUnicodeSetStrings()
1181 check(uset, testStrings[i][0], testStrings[i][1]); in TestUnicodeSetStrings()
1186 private void check(UnicodeSet uset, String string, String desiredStatus) { in check() argument
1189 if (uset.containsAll(string) != shouldContainAll) { in check()
1194 if (uset.containsNone(string) != shouldContainNone) { in check()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetIterator.java194 public void reset(UnicodeSet uset) { in reset() argument
195 set = uset; in reset()
DRBBIRuleScanner.java607 Assert.assrt(node.fLeftChild.fType == RBBINode.uset); in findSetFor()
629 RBBINode usetNode = new RBBINode(RBBINode.uset); in findSetFor()
1021 UnicodeSet uset = null; in scanSet() local
1028 uset = new UnicodeSet(fRB.fRules, pos, fSymbolTable, UnicodeSet.IGNORE_SPACE); in scanSet()
1036 if (uset.isEmpty()) { in scanSet()
1068 findSetFor(n.fText, n, uset); in scanSet()
DRBBINode.java23 static final int uset = 1; field in RBBINode
153 } else if (fType == RBBINode.uset) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetIterator.java185 public void reset(UnicodeSet uset) { in reset() argument
186 set = uset; in reset()
DRBBIRuleScanner.java608 Assert.assrt(node.fLeftChild.fType == RBBINode.uset); in findSetFor()
630 RBBINode usetNode = new RBBINode(RBBINode.uset); in findSetFor()
1022 UnicodeSet uset = null; in scanSet() local
1029 uset = new UnicodeSet(fRB.fRules, pos, fSymbolTable, UnicodeSet.IGNORE_SPACE); in scanSet()
1037 if (uset.isEmpty()) { in scanSet()
1069 findSetFor(n.fText, n, uset); in scanSet()
DRBBINode.java24 static final int uset = 1; field in RBBINode
154 } else if (fType == RBBINode.uset) {
/external/icu/icu4c/source/test/cintltst/
Dutransts.c588 USet* uset; in TestGetRulesAndSourceSet() local
614 uset = utrans_getSourceSet(utrans, FALSE, NULL, &status); in TestGetRulesAndSourceSet()
615 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
616 uset_close(uset); in TestGetRulesAndSourceSet()
623 uset = utrans_getSourceSet(utrans, TRUE, NULL, &status); in TestGetRulesAndSourceSet()
624 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
625 uset_close(uset); in TestGetRulesAndSourceSet()
Dspooftest.c259 const USet *uset; in TestUSpoofCAPI() local
261 uset = uspoof_getAllowedChars(sc, &status); in TestUSpoofCAPI()
263 TEST_ASSERT(uset_isFrozen(uset)); in TestUSpoofCAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DPrettyPrinter.java120 public String format(UnicodeSet uset) { in format() argument
122 …UnicodeSet putAtEnd = new UnicodeSet(uset).retainAll(SORT_AT_END); // remove all the unassigned go… in format()
125 for (UnicodeSetIterator it = new UnicodeSetIterator(uset); it.nextRange();) { in format()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DPrettyPrinter.java119 public String format(UnicodeSet uset) { in format() argument
121 …UnicodeSet putAtEnd = new UnicodeSet(uset).retainAll(SORT_AT_END); // remove all the unassigned go… in format()
124 for (UnicodeSetIterator it = new UnicodeSetIterator(uset); it.nextRange();) { in format()
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt144 uniset_core uniset_props uniset_closure usetiter uset uset_props
274 group: uset
275 uset.o
490 conversion propsvec utrie2_builder uset ucnv_set
500 uset
815 ucharstrieiterator uiter ulist uset usetiter uvector32 uvector64
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java1644 private void convert(int set[], UnicodeSet uset) in convert() argument
1646 uset.clear(); in convert()
1654 uset.add(c); in convert()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java1643 private void convert(int set[], UnicodeSet uset) in convert() argument
1645 uset.clear(); in convert()
1653 uset.add(c); in convert()

12