Home
last modified time | relevance | path

Searched refs:RBBIDataWrapper (Results 1 - 24 of 24) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRBBIRuleBuilder.java24 import ohos.global.icu.impl.RBBIDataWrapper;
181 int headerSize = RBBIDataWrapper.DH_SIZE * 4; // align8(sizeof(RBBIDataHeader)); in flattenData()
197 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
202 int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
203 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
204 header[RBBIDataWrapper.DH_FORMATVERSION] = RBBIDataWrapper.FORMAT_VERSION; in flattenData()
205 header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all rule sections. in flattenData()
206 header[RBBIDataWrapper in flattenData()
[all...]
H A DRuleBasedBreakIterator.java29 import ohos.global.icu.impl.RBBIDataWrapper;
72 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); in getInstanceFromCompiledRules()
95 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
108 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
226 public RBBIDataWrapper fRData;
826 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
830 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
831 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
832 System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper in handleNext()
[all...]
H A DRBBITableBuilder.java23 import ohos.global.icu.impl.RBBIDataWrapper;
1113 * Create a RBBIDataWrapper.RBBIStateTable for a newly compiled table.
1114 * RBBIDataWrapper.RBBIStateTable is similar to struct RBBIStateTable in ICU4C,
1117 RBBIDataWrapper.RBBIStateTable exportTable() { in exportTable()
1121 RBBIDataWrapper.RBBIStateTable table = new RBBIDataWrapper.RBBIStateTable(); in exportTable()
1138 table.fFlags |= RBBIDataWrapper.RBBI_LOOKAHEAD_HARD_BREAK; in exportTable()
1141 table.fFlags |= RBBIDataWrapper.RBBI_BOF_REQUIRED; in exportTable()
1150 table.fTable[row + RBBIDataWrapper.ACCEPTING] = (short)sd.fAccepting; in exportTable()
1151 table.fTable[row + RBBIDataWrapper in exportTable()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRBBIRuleBuilder.java24 import com.ibm.icu.impl.RBBIDataWrapper;
184 int headerSize = RBBIDataWrapper.DH_SIZE * 4; // align8(sizeof(RBBIDataHeader)); in flattenData()
202 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
207 int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
208 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
209 header[RBBIDataWrapper.DH_FORMATVERSION] = RBBIDataWrapper.FORMAT_VERSION; in flattenData()
210 header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all rule sections. in flattenData()
211 header[RBBIDataWrapper in flattenData()
[all...]
H A DRBBITableBuilder.java22 import com.ibm.icu.impl.RBBIDataWrapper;
86 int fLASlotsInUse = RBBIDataWrapper.ACCEPTING_UNCONDITIONAL;
709 sd.fAccepting = RBBIDataWrapper.ACCEPTING_UNCONDITIONAL; in flagAcceptingStates()
712 if (sd.fAccepting==RBBIDataWrapper.ACCEPTING_UNCONDITIONAL && endMarker.fVal != 0) { in flagAcceptingStates()
1112 int size = RBBIDataWrapper.RBBIStateTable.fHeaderSize; // The header, with no rows to the table. in getTableSize()
1116 int rowSize = (use8Bits ? 1 : 2 ) * (RBBIDataWrapper.NEXTSTATES + numCols); in getTableSize()
1125 * Create a RBBIDataWrapper.RBBIStateTable for a newly compiled table.
1126 * RBBIDataWrapper.RBBIStateTable is similar to struct RBBIStateTable in ICU4C,
1129 RBBIDataWrapper.RBBIStateTable exportTable() { in exportTable()
1133 RBBIDataWrapper in exportTable()
[all...]
H A DRuleBasedBreakIterator.java29 import com.ibm.icu.impl.RBBIDataWrapper;
82 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); in getInstanceFromCompiledRules()
132 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
147 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
270 public RBBIDataWrapper fRData;
858 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
862 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
863 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
864 System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper in handleNext()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbidata.h20 * RBBIDataWrapper - Instances of this class sit between the
29 * There will be only one instance of RBBIDataWrapper for any
158 class RBBIDataWrapper : public UMemory { class
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
165 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
166 ~RBBIDataWrapper();
172 RBBIDataWrapper *addReference();
174 bool operator ==(const RBBIDataWrapper &other) const;
200 RBBIDataWrapper(cons
[all...]
H A Drbbidata.cpp33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
44 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
69 UBool RBBIDataWrapper::isDataVersionAcceptable(const UVersionInfo version) { in isDataVersionAcceptable()
80 void RBBIDataWrapper::init0() { in init0()
92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
150 RBBIDataWrapper
[all...]
H A Drbbi.cpp69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in RuleBasedBreakIterator()
120 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
147 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/third_party/node/deps/icu-small/source/common/
H A Drbbidata.h20 * RBBIDataWrapper - Instances of this class sit between the
29 * There will be only one instance of RBBIDataWrapper for any
158 class RBBIDataWrapper : public UMemory { class
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
165 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
166 ~RBBIDataWrapper();
172 RBBIDataWrapper *addReference();
174 bool operator ==(const RBBIDataWrapper &other) const;
200 RBBIDataWrapper(cons
[all...]
H A Drbbidata.cpp33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
44 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
69 UBool RBBIDataWrapper::isDataVersionAcceptable(const UVersionInfo version) { in isDataVersionAcceptable()
80 void RBBIDataWrapper::init0() { in init0()
92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
150 RBBIDataWrapper
[all...]
H A Drbbi.cpp68 fData = new RBBIDataWrapper(data, status); // status checked in constructor in RuleBasedBreakIterator()
118 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
144 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbidata.h20 * RBBIDataWrapper - Instances of this class sit between the
29 * There will be only one instance of RBBIDataWrapper for any
158 class RBBIDataWrapper : public UMemory { class
163 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
164 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
165 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
166 ~RBBIDataWrapper();
172 RBBIDataWrapper *addReference();
174 UBool operator ==(const RBBIDataWrapper &other) const;
200 RBBIDataWrapper(cons
[all...]
H A Drbbidata.cpp33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
44 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
69 UBool RBBIDataWrapper::isDataVersionAcceptable(const UVersionInfo version) { in isDataVersionAcceptable()
80 void RBBIDataWrapper::init0() { in init0()
92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
150 RBBIDataWrapper
[all...]
H A Drbbi.cpp69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in RuleBasedBreakIterator()
107 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
134 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITest.java30 import com.ibm.icu.impl.RBBIDataWrapper;
581 RBBIDataWrapper dw = bi.fRData; in TestTableRedundancies()
582 RBBIDataWrapper.RBBIStateTable fwtbl = dw.fFTable; in TestTableRedundancies()
591 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
612 s.append(fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING]); in TestTableRedundancies()
613 s.append(fwtbl.fTable[row + RBBIDataWrapper.LOOKAHEAD]); in TestTableRedundancies()
614 s.append(fwtbl.fTable[row + RBBIDataWrapper.TAGSIDX]); in TestTableRedundancies()
616 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
660 assertTrue("Forward Table", RBBIDataWrapper.equals(bi.fRData.fFTable, bi2.fRData.fFTable)); in TestTableRebuild()
661 assertTrue("Reverse Table", RBBIDataWrapper in TestTableRebuild()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DRBBIDataWrapper.java28 public final class RBBIDataWrapper { class
85 boolean use8Bits = (This.fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_ROWS; in get()
105 if ((fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_ROWS) { in put()
285 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
289 * Get an RBBIDataWrapper from an InputStream onto a pre-compiled set
292 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
293 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBITest.java30 import ohos.global.icu.impl.RBBIDataWrapper;
578 RBBIDataWrapper dw = bi.fRData; in TestTableRedundancies()
579 RBBIDataWrapper.RBBIStateTable fwtbl = dw.fFTable; in TestTableRedundancies()
588 short tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
608 assertTrue("Accepting < -1", fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING] >= -1); in TestTableRedundancies()
609 s.append(fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING]); in TestTableRedundancies()
610 s.append(fwtbl.fTable[row + RBBIDataWrapper.LOOKAHEAD]); in TestTableRedundancies()
611 s.append(fwtbl.fTable[row + RBBIDataWrapper.TAGIDX]); in TestTableRedundancies()
613 short tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
657 assertTrue("Forward Table", RBBIDataWrapper in TestTableRebuild()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DRBBIDataWrapper.java28 public final class RBBIDataWrapper { class
253 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
257 * Get an RBBIDataWrapper from an InputStream onto a pre-compiled set
260 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
261 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/third_party/icu/icu4c/source/common/unicode/
H A Drbbi.h42 class RBBIDataWrapper;
74 RBBIDataWrapper *fData;
/third_party/node/deps/icu-small/source/common/unicode/
H A Drbbi.h42 class RBBIDataWrapper;
137 RBBIDataWrapper *fData = nullptr;
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Drbbi.h42 class RBBIDataWrapper;
74 RBBIDataWrapper *fData;
/third_party/icu/icu4c/source/test/intltest/
H A Drbbitst.cpp4557 RBBIDataWrapper *dw = bi->fData; in TestTableRedundancies()
4675 RBBIDataWrapper *data = bi->fData; in TestReverse()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 30 milliseconds