Home
last modified time | relevance | path

Searched refs:uset (Results 1 - 25 of 50) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DBasicPeriodBuilderFactory.java39 short uset = allBits; field in BasicPeriodBuilderFactory.Settings
48 Settings setUnits(int uset) { in setUnits() argument
49 if (this.uset == uset) { in setUnits()
54 result.uset = (short)uset; in setUnits()
56 if ((uset & allBits) == allBits) { in setUnits()
57 result.uset = allBits; in setUnits()
63 if (0 != (uset & (1 << i))) { in setUnits()
83 return uset; in effectiveSet()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
H A DBasicPeriodBuilderFactory.java40 short uset = allBits; field in BasicPeriodBuilderFactory.Settings
49 Settings setUnits(int uset) { in setUnits() argument
50 if (this.uset == uset) { in setUnits()
55 result.uset = (short)uset; in setUnits()
57 if ((uset & allBits) == allBits) { in setUnits()
58 result.uset = allBits; in setUnits()
64 if (0 != (uset & (1 << i))) { in setUnits()
84 return uset; in effectiveSet()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbiscan.cpp719 // - find the corresponding Unicode Set (uset node)
722 // to the uset node
723 // Maintain a hash table of uset nodes, so the same one is always used
743 U_ASSERT(node->fLeftChild->fType == RBBINode::uset);
761 // Make a new uset node to refer to this UnicodeSet
762 // This new uset node becomes the child of the caller's setReference node.
764 RBBINode *usetNode = new RBBINode(RBBINode::uset);
776 // Add the new uset node to the list of all uset nodes.
1204 UnicodeSet *uset;
[all...]
H A Duset.cpp10 * file name: uset.cpp
25 #include "unicode/uset.h"
310 uset_getItemCount(const USet* uset) { in uset_getItemCount() argument
311 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItemCount()
316 uset_getItem(const USet* uset, int32_t itemIndex, in uset_getItem() argument
321 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItem()
561 // TODO The old, internal uset.c had an efficient uset_containsOne function.
563 // Consider adding such a function to both C and C++ UnicodeSet/uset.
H A Drbbinode.h32 uset, enumerator
61 UnicodeSet *fInputSet; // For uset nodes only.
/third_party/node/deps/icu-small/source/common/
H A Drbbiscan.cpp717 // - find the corresponding Unicode Set (uset node)
720 // to the uset node
721 // Maintain a hash table of uset nodes, so the same one is always used
741 U_ASSERT(node->fLeftChild->fType == RBBINode::uset);
759 // Make a new uset node to refer to this UnicodeSet
760 // This new uset node becomes the child of the caller's setReference node.
762 RBBINode *usetNode = new RBBINode(RBBINode::uset);
774 // Add the new uset node to the list of all uset nodes.
1202 UnicodeSet *uset;
[all...]
H A Duset.cpp10 * file name: uset.cpp
25 #include "unicode/uset.h"
310 uset_getItemCount(const USet* uset) { in uset_getItemCount() argument
311 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItemCount()
316 uset_getItem(const USet* uset, int32_t itemIndex, in uset_getItem() argument
321 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItem()
561 // TODO The old, internal uset.c had an efficient uset_containsOne function.
563 // Consider adding such a function to both C and C++ UnicodeSet/uset.
H A Drbbinode.h32 uset, enumerator
61 UnicodeSet *fInputSet; // For uset nodes only.
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbiscan.cpp719 // - find the corresponding Unicode Set (uset node)
722 // to the uset node
723 // Maintain a hash table of uset nodes, so the same one is always used
743 U_ASSERT(node->fLeftChild->fType == RBBINode::uset);
761 // Make a new uset node to refer to this UnicodeSet
762 // This new uset node becomes the child of the caller's setReference node.
764 RBBINode *usetNode = new RBBINode(RBBINode::uset);
776 // Add the new uset node to the list of all uset nodes.
1204 UnicodeSet *uset;
[all...]
H A Duset.cpp10 * file name: uset.cpp
25 #include "unicode/uset.h"
300 uset_getItemCount(const USet* uset) { in uset_getItemCount() argument
301 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItemCount()
306 uset_getItem(const USet* uset, int32_t itemIndex, in uset_getItem() argument
311 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItem()
556 // TODO The old, internal uset.c had an efficient uset_containsOne function.
558 // Consider adding such a function to both C and C++ UnicodeSet/uset.
H A Drbbinode.h32 uset, enumerator
61 UnicodeSet *fInputSet; // For uset nodes only.
/third_party/icu/icu4c/source/common/unicode/
H A Duniset.h23 #include "unicode/uset.h"
526 * @param uset a USet (the ICU plain C type for UnicodeSet)
531 inline static UnicodeSet *fromUSet(USet *uset);
536 * @param uset a const USet (the ICU plain C type for UnicodeSet)
541 inline static const UnicodeSet *fromUSet(const USet *uset);
1740 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) { in fromUSet() argument
1741 return reinterpret_cast<UnicodeSet *>(uset); in fromUSet()
1744 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) { in fromUSet() argument
1745 return reinterpret_cast<const UnicodeSet *>(uset); in fromUSet()
/third_party/node/deps/icu-small/source/common/unicode/
H A Duniset.h23 #include "unicode/uset.h"
530 * @param uset a USet (the ICU plain C type for UnicodeSet)
535 inline static UnicodeSet *fromUSet(USet *uset);
540 * @param uset a const USet (the ICU plain C type for UnicodeSet)
545 inline static const UnicodeSet *fromUSet(const USet *uset);
1753 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) { in fromUSet() argument
1754 return reinterpret_cast<UnicodeSet *>(uset); in fromUSet()
1757 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) { in fromUSet() argument
1758 return reinterpret_cast<const UnicodeSet *>(uset); in fromUSet()
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Duniset.h23 #include "unicode/uset.h"
520 * @param uset a USet (the ICU plain C type for UnicodeSet)
525 inline static UnicodeSet *fromUSet(USet *uset);
530 * @param uset a const USet (the ICU plain C type for UnicodeSet)
535 inline static const UnicodeSet *fromUSet(const USet *uset);
1720 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) { in fromUSet() argument
1721 return reinterpret_cast<UnicodeSet *>(uset); in fromUSet()
1724 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) { in fromUSet() argument
1725 return reinterpret_cast<const UnicodeSet *>(uset); in fromUSet()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeSetIterator.java218 * @param uset the set to iterate over.
221 public void reset(UnicodeSet uset) { in reset() argument
222 set = uset; in reset()
H A DRBBIRuleScanner.java597 // been encountered. The val Node will be of nodetype uset
615 // - find the corresponding Unicode Set (uset node)
618 // to the uset node
619 // Maintain a hash table of uset nodes, so the same one is always used
638 Assert.assrt(node.fLeftChild.fType == RBBINode.uset); in findSetFor()
656 // Make a new uset node to refer to this UnicodeSet in findSetFor()
657 // This new uset node becomes the child of the caller's setReference in findSetFor()
660 RBBINode usetNode = new RBBINode(RBBINode.uset); in findSetFor()
667 // Add the new uset node to the list of all uset node in findSetFor()
[all...]
H A DRBBINode.java25 static final int uset = 1; field in RBBINode
44 "uset",
72 UnicodeSet fInputSet; // For uset nodes only.
162 } else if (fType == RBBINode.uset) { in cloneTree()
222 // the left child of the uset node.
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUnicodeSetIterator.java185 * @param uset the set to iterate over.
187 public void reset(UnicodeSet uset) { in reset() argument
188 set = uset; in reset()
H A DRBBIRuleScanner.java598 // been encountered. The val Node will be of nodetype uset
616 // - find the corresponding Unicode Set (uset node)
619 // to the uset node
620 // Maintain a hash table of uset nodes, so the same one is always used
639 Assert.assrt(node.fLeftChild.fType == RBBINode.uset); in findSetFor()
657 // Make a new uset node to refer to this UnicodeSet in findSetFor()
658 // This new uset node becomes the child of the caller's setReference in findSetFor()
661 RBBINode usetNode = new RBBINode(RBBINode.uset); in findSetFor()
668 // Add the new uset node to the list of all uset node in findSetFor()
[all...]
H A DRBBINode.java26 static final int uset = 1; field in RBBINode
45 "uset",
73 UnicodeSet fInputSet; // For uset nodes only.
163 } else if (fType == RBBINode.uset) { in cloneTree()
223 // the left child of the uset node.
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUnicodeSetStringSpanTest.java62 UnicodeSet uset = new UnicodeSet(pattern); in TestSimpleStringSpanSlow()
63 uset.complement(); in TestSimpleStringSpanSlow()
64 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestSimpleStringSpanSlow()
750 UnicodeSet uset = new UnicodeSet(Utility.unescape(unicodeSet1)); in TestInterestingStringSpan()
756 boolean contains = uset.contains(c); in TestInterestingStringSpan()
762 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestInterestingStringSpan()
769 len = uset.span(interestingString, start, spanCondition) - start; in TestInterestingStringSpan()
823 UnicodeSet uset = new UnicodeSet(Utility.unescape(patternWithUnpairedSurrogate)); in TestStringWithUnpairedSurrogateSpan()
828 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestStringWithUnpairedSurrogateSpan()
835 len = uset in TestStringWithUnpairedSurrogateSpan()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetStringSpanTest.java59 UnicodeSet uset = new UnicodeSet(pattern); in TestSimpleStringSpanSlow()
60 uset.complement(); in TestSimpleStringSpanSlow()
61 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestSimpleStringSpanSlow()
747 UnicodeSet uset = new UnicodeSet(Utility.unescape(unicodeSet1)); in TestInterestingStringSpan()
753 boolean contains = uset.contains(c); in TestInterestingStringSpan()
759 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestInterestingStringSpan()
766 len = uset.span(interestingString, start, spanCondition) - start; in TestInterestingStringSpan()
820 UnicodeSet uset = new UnicodeSet(Utility.unescape(patternWithUnpairedSurrogate)); in TestStringWithUnpairedSurrogateSpan()
825 UnicodeSetWithStrings set = new UnicodeSetWithStrings(uset); in TestStringWithUnpairedSurrogateSpan()
832 len = uset in TestStringWithUnpairedSurrogateSpan()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dutransts.c22 #include "unicode/uset.h"
594 USet* uset; in TestGetRulesAndSourceSet() local
620 uset = utrans_getSourceSet(utrans, false, NULL, &status); in TestGetRulesAndSourceSet()
621 ulen = uset_toPattern(uset, ubuf, kUBufMax, false, &status); in TestGetRulesAndSourceSet()
622 uset_close(uset); in TestGetRulesAndSourceSet()
629 uset = utrans_getSourceSet(utrans, true, NULL, &status); in TestGetRulesAndSourceSet()
630 ulen = uset_toPattern(uset, ubuf, kUBufMax, false, &status); in TestGetRulesAndSourceSet()
631 uset_close(uset); in TestGetRulesAndSourceSet()
/third_party/icu/icu4c/source/test/intltest/
H A Dstatic_unisets_test.cpp98 const UnicodeSet* uset = get(static_cast<unisets::Key>(i)); in testNonEmpty() local
100 assertFalse(UnicodeString("Set should not be empty: ") + i, uset->isEmpty(), false, true); in testNonEmpty()
/third_party/icu/icu4c/source/tools/icuexportdata/
H A Dicuexportdata.cpp12 #include <unicode/uset.h>
138 const USet* uset = u_getBinaryPropertySet(uproperty, status); in dumpBinaryProperty() local
144 usrc_writeUnicodeSet(f, uset, UPRV_TARGET_SYNTAX_TOML); in dumpBinaryProperty()
383 void writeDecompositionData(const char* basename, uint32_t baseSize16, uint32_t baseSize32, uint32_t supplementSize16, USet* uset, USet* reference, const std::vector<PendingDescriptor>& pendingTrieInsertions, char16_t passthroughCap) { in writeDecompositionData() argument
456 USet* halfWidthCheck = uset_cloneAsThawed(uset); in writeDecompositionData()
470 uset_removeAll(iotaCheck, uset); in writeDecompositionData()

Completed in 27 milliseconds

12