Home
last modified time | relevance | path

Searched refs:RBBIDataWrapper (Results 1 – 20 of 20) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleBuilder.java24 import android.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… in flattenData()
206 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); // fCatCount. in flattenData()
208 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
209 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java29 import android.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.intToString(category,6)); in handleNext()
874 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
[all …]
DRBBITableBuilder.java23 import android.icu.impl.RBBIDataWrapper;
1078 RBBIDataWrapper.RBBIStateTable exportTable() {
1082 RBBIDataWrapper.RBBIStateTable table = new RBBIDataWrapper.RBBIStateTable();
1099 table.fFlags |= RBBIDataWrapper.RBBI_LOOKAHEAD_HARD_BREAK;
1102 table.fFlags |= RBBIDataWrapper.RBBI_BOF_REQUIRED;
1111 table.fTable[row + RBBIDataWrapper.ACCEPTING] = (short)sd.fAccepting;
1112 table.fTable[row + RBBIDataWrapper.LOOKAHEAD] = (short)sd.fLookAhead;
1113 table.fTable[row + RBBIDataWrapper.TAGIDX] = (short)sd.fTagsIdx;
1115 table.fTable[row + RBBIDataWrapper.NEXTSTATES + col] = (short)sd.fDtran[col];
1231 RBBIDataWrapper.RBBIStateTable exportSafeTable() {
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleBuilder.java23 import com.ibm.icu.impl.RBBIDataWrapper;
180 int headerSize = RBBIDataWrapper.DH_SIZE * 4; // align8(sizeof(RBBIDataHeader)); in flattenData()
196 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
201 … int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
202 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
203 header[RBBIDataWrapper.DH_FORMATVERSION] = RBBIDataWrapper.FORMAT_VERSION; in flattenData()
204 …header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all… in flattenData()
205 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); // fCatCount. in flattenData()
207 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
208 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java28 import com.ibm.icu.impl.RBBIDataWrapper;
72 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); in getInstanceFromCompiledRules()
95 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
109 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
231 public RBBIDataWrapper fRData;
847 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
851 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
852 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
853 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
895 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
[all …]
DRBBITableBuilder.java22 import com.ibm.icu.impl.RBBIDataWrapper;
1077 RBBIDataWrapper.RBBIStateTable exportTable() {
1081 RBBIDataWrapper.RBBIStateTable table = new RBBIDataWrapper.RBBIStateTable();
1098 table.fFlags |= RBBIDataWrapper.RBBI_LOOKAHEAD_HARD_BREAK;
1101 table.fFlags |= RBBIDataWrapper.RBBI_BOF_REQUIRED;
1110 table.fTable[row + RBBIDataWrapper.ACCEPTING] = (short)sd.fAccepting;
1111 table.fTable[row + RBBIDataWrapper.LOOKAHEAD] = (short)sd.fLookAhead;
1112 table.fTable[row + RBBIDataWrapper.TAGIDX] = (short)sd.fTagsIdx;
1114 table.fTable[row + RBBIDataWrapper.NEXTSTATES + col] = (short)sd.fDtran[col];
1230 RBBIDataWrapper.RBBIStateTable exportSafeTable() {
[all …]
/external/icu/icu4c/source/common/
Drbbidata.h145 class RBBIDataWrapper : public UMemory {
150 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
151 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
152 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
153 ~RBBIDataWrapper();
159 RBBIDataWrapper *addReference();
161 UBool operator ==(const RBBIDataWrapper &other) const;
187 RBBIDataWrapper(const RBBIDataWrapper &other); /* forbid copying of this class */
188 RBBIDataWrapper &operator=(const RBBIDataWrapper &other); /* forbid copying of this class */
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()
143 RBBIDataWrapper::~RBBIDataWrapper() { in ~RBBIDataWrapper()
166 UBool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const { in operator ==()
179 int32_t RBBIDataWrapper::hashCode() { in hashCode()
192 void RBBIDataWrapper::removeReference() { in removeReference()
[all …]
Drbbi.cpp73 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
103 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
122 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java30 import android.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.equals(bi.fRData.fFTable, bi2.fRData.fFTable)); in TestTableRebuild()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java29 import com.ibm.icu.impl.RBBIDataWrapper;
575 RBBIDataWrapper dw = bi.fRData; in TestTableRedundancies()
576 RBBIDataWrapper.RBBIStateTable fwtbl = dw.fFTable; in TestTableRedundancies()
585 short tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
605 assertTrue("Accepting < -1", fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING] >= -1); in TestTableRedundancies()
606 s.append(fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING]); in TestTableRedundancies()
607 s.append(fwtbl.fTable[row + RBBIDataWrapper.LOOKAHEAD]); in TestTableRedundancies()
608 s.append(fwtbl.fTable[row + RBBIDataWrapper.TAGIDX]); in TestTableRedundancies()
610 short tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
654 … assertTrue("Forward Table", RBBIDataWrapper.equals(bi.fRData.fFTable, bi2.fRData.fFTable)); in TestTableRebuild()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java26 public final class RBBIDataWrapper { class
249 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
256 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
257 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java28 public final class RBBIDataWrapper { class
253 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
260 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
261 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/icu4c/source/common/unicode/
Drbbi.h38 class RBBIDataWrapper; variable
70 RBBIDataWrapper *fData;
/external/icu/icu4j/
Dcoverage-exclusion.txt940 com/ibm/icu/text/RBBIDataWrapper#dump:()V
941 com/ibm/icu/text/RBBIDataWrapper#dumpCharCategories:()V
942 com/ibm/icu/text/RBBIDataWrapper#dumpRow:([SI)V
943 com/ibm/icu/text/RBBIDataWrapper#dumpTable:([S)V
944 com/ibm/icu/text/RBBIDataWrapper#intToHexString:(II)Ljava/lang/String;
/external/icu/icu4j/tools/build/
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j62.api3.gz
Dicu4j63.api3.gz
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp4421 RBBIDataWrapper *dw = bi->fData; in TestTableRedundancies()
4529 RBBIDataWrapper *data = bi->fData; in TestReverse()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...