Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleBuilder.java24 import com.ibm.icu.impl.RBBIDataWrapper;
181 int headerSize = RBBIDataWrapper.DH_SIZE * 4; // align8(sizeof(RBBIDataHeader)); in flattenData()
199 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
204 … int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
205 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
206 header[RBBIDataWrapper.DH_FORMATVERSION] = RBBIDataWrapper.FORMAT_VERSION; in flattenData()
207 …header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all… in flattenData()
208 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); in flattenData()
210 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
211 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()
96 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
111 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
234 public RBBIDataWrapper fRData;
809 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
813 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
814 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
815 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
850 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
[all …]
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 ta…
1116 int rowSize = (use8Bits ? 1 : 2 ) * (RBBIDataWrapper.NEXTSTATES + numCols);
1129 RBBIDataWrapper.RBBIStateTable exportTable() {
1133 RBBIDataWrapper.RBBIStateTable table = new RBBIDataWrapper.RBBIStateTable();
1143 fLASlotsInUse == RBBIDataWrapper.ACCEPTING_UNCONDITIONAL ? 0 : fLASlotsInUse + 1;
1147 …int rowLen = RBBIDataWrapper.NEXTSTATES + fRB.fSetBuilder.getNumCharCategories(); // Row Length …
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleBuilder.java25 import android.icu.impl.RBBIDataWrapper;
182 int headerSize = RBBIDataWrapper.DH_SIZE * 4; // align8(sizeof(RBBIDataHeader)); in flattenData()
200 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
205 … int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
206 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
207 header[RBBIDataWrapper.DH_FORMATVERSION] = RBBIDataWrapper.FORMAT_VERSION; in flattenData()
208 …header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all… in flattenData()
209 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); in flattenData()
211 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
212 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()
96 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
110 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
229 public RBBIDataWrapper fRData;
788 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
792 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
793 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
794 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
829 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
[all …]
DRBBITableBuilder.java23 import android.icu.impl.RBBIDataWrapper;
87 int fLASlotsInUse = RBBIDataWrapper.ACCEPTING_UNCONDITIONAL;
710 sd.fAccepting = RBBIDataWrapper.ACCEPTING_UNCONDITIONAL; in flagAcceptingStates()
713 … if (sd.fAccepting==RBBIDataWrapper.ACCEPTING_UNCONDITIONAL && endMarker.fVal != 0) { in flagAcceptingStates()
1113 …int size = RBBIDataWrapper.RBBIStateTable.fHeaderSize; // The header, with no rows to the ta…
1117 int rowSize = (use8Bits ? 1 : 2 ) * (RBBIDataWrapper.NEXTSTATES + numCols);
1130 RBBIDataWrapper.RBBIStateTable exportTable() {
1134 RBBIDataWrapper.RBBIStateTable table = new RBBIDataWrapper.RBBIStateTable();
1144 fLASlotsInUse == RBBIDataWrapper.ACCEPTING_UNCONDITIONAL ? 0 : fLASlotsInUse + 1;
1148 …int rowLen = RBBIDataWrapper.NEXTSTATES + fRB.fSetBuilder.getNumCharCategories(); // Row Length …
[all …]
/external/icu/icu4c/source/common/
Drbbidata.h158 class RBBIDataWrapper : public UMemory {
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(const RBBIDataWrapper &other) = delete; /* forbid copying of this class */
201RBBIDataWrapper &operator=(const RBBIDataWrapper &other) = delete; /* forbid copying of this clas…
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::~RBBIDataWrapper() { in ~RBBIDataWrapper()
173 UBool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const { in operator ==()
186 int32_t RBBIDataWrapper::hashCode() { in hashCode()
199 void RBBIDataWrapper::removeReference() { in removeReference()
[all …]
Drbbi.cpp69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
107 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
134 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/external/icu/libicu/cts_headers/
Drbbidata.h158 class RBBIDataWrapper : public UMemory {
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(const RBBIDataWrapper &other) = delete; /* forbid copying of this class */
201RBBIDataWrapper &operator=(const RBBIDataWrapper &other) = delete; /* forbid copying of this clas…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java29 import com.ibm.icu.impl.RBBIDataWrapper;
577 RBBIDataWrapper dw = bi.fRData; in TestTableRedundancies()
578 RBBIDataWrapper.RBBIStateTable fwtbl = dw.fFTable; in TestTableRedundancies()
587 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
608 s.append(fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING]); in TestTableRedundancies()
609 s.append(fwtbl.fTable[row + RBBIDataWrapper.LOOKAHEAD]); in TestTableRedundancies()
610 s.append(fwtbl.fTable[row + RBBIDataWrapper.TAGSIDX]); in TestTableRedundancies()
612 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
656 … assertTrue("Forward Table", RBBIDataWrapper.equals(bi.fRData.fFTable, bi2.fRData.fFTable));
657 … assertTrue("Reverse Table", RBBIDataWrapper.equals(bi.fRData.fRTable, bi2.fRData.fRTable));
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java30 import android.icu.impl.RBBIDataWrapper;
580 RBBIDataWrapper dw = bi.fRData; in TestTableRedundancies()
581 RBBIDataWrapper.RBBIStateTable fwtbl = dw.fFTable; in TestTableRedundancies()
590 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
611 s.append(fwtbl.fTable[row + RBBIDataWrapper.ACCEPTING]); in TestTableRedundancies()
612 s.append(fwtbl.fTable[row + RBBIDataWrapper.LOOKAHEAD]); in TestTableRedundancies()
613 s.append(fwtbl.fTable[row + RBBIDataWrapper.TAGSIDX]); in TestTableRedundancies()
615 char tableVal = fwtbl.fTable[row + RBBIDataWrapper.NEXTSTATES + column]; in TestTableRedundancies()
659 … assertTrue("Forward Table", RBBIDataWrapper.equals(bi.fRData.fFTable, bi2.fRData.fFTable));
660 … assertTrue("Reverse Table", RBBIDataWrapper.equals(bi.fRData.fRTable, bi2.fRData.fRTable));
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java28 public final class RBBIDataWrapper { class
85 …boolean use8Bits = (This.fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_R… in get()
105 if ((fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_ROWS) { in put()
285 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
292 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
293 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java30 public final class RBBIDataWrapper { class
88 …boolean use8Bits = (This.fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_R… in get()
108 if ((fFlags & RBBIDataWrapper.RBBI_8BITS_ROWS) == RBBIDataWrapper.RBBI_8BITS_ROWS) { in put()
289 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
296 public static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
297 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/libicu/cts_headers/unicode/
Drbbi.h42 class RBBIDataWrapper; variable
74 RBBIDataWrapper *fData;
/external/icu/icu4c/source/common/unicode/
Drbbi.h42 class RBBIDataWrapper; variable
74 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.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j63.api3.gz
Dicu4j65.api3.gz
Dicu4j68.api3.gz
Dicu4j64.api3.gz12;ICU4J 64.2;; 2ST@3.6;PB;NS;NF;NS; ...
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp4650 RBBIDataWrapper *dw = bi->fData; in TestTableRedundancies()
4768 RBBIDataWrapper *data = bi->fData; in TestReverse()

12