Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleBuilder.java192 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
197 … int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
198 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
199 … header[RBBIDataWrapper.DH_FORMATVERSION] = 0x03010000; // uint8_t fFormatVersion[4]; in flattenData()
200 …header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all… in flattenData()
201 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); // fCatCount. in flattenData()
202 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
203 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
204 …header[RBBIDataWrapper.DH_RTABLE] = header[RBBIDataWrapper.DH_FTABLE] + forwardTableSize; /… in flattenData()
205 header[RBBIDataWrapper.DH_RTABLELEN] = reverseTableSize; // fRTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java71 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); in getInstanceFromCompiledRules()
94 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
108 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
219 RBBIDataWrapper fRData;
1275 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
1279 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
1280 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
1281 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
1323 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
1324 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
[all …]
DRBBITableBuilder.java915 table[RBBIDataWrapper.NUMSTATES] = (short)(numStates >>> 16); in exportTable()
916 table[RBBIDataWrapper.NUMSTATES+1] = (short)(numStates & 0x0000ffff); in exportTable()
919 table[RBBIDataWrapper.ROWLEN] = (short)(rowLen >>> 16); in exportTable()
920 table[RBBIDataWrapper.ROWLEN+1] = (short)(rowLen & 0x0000ffff); in exportTable()
925 flags |= RBBIDataWrapper.RBBI_LOOKAHEAD_HARD_BREAK; in exportTable()
928 flags |= RBBIDataWrapper.RBBI_BOF_REQUIRED; in exportTable()
930 table[RBBIDataWrapper.FLAGS] = (short)(flags >>> 16); in exportTable()
931 table[RBBIDataWrapper.FLAGS+1] = (short)(flags & 0x0000ffff); in exportTable()
939 table[row + RBBIDataWrapper.ACCEPTING] = (short)sd.fAccepting; in exportTable()
940 table[row + RBBIDataWrapper.LOOKAHEAD] = (short)sd.fLookAhead; in exportTable()
[all …]
DRBBIDataWrapper.java26 final class RBBIDataWrapper { class
163 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
170 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
171 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleBuilder.java193 ICUBinary.writeHeader(RBBIDataWrapper.DATA_FORMAT, RBBIDataWrapper.FORMAT_VERSION, 0, dos); in flattenData()
198 … int[] header = new int[RBBIDataWrapper.DH_SIZE]; // sizeof struct RBBIDataHeader in flattenData()
199 header[RBBIDataWrapper.DH_MAGIC] = 0xb1a0; in flattenData()
200 … header[RBBIDataWrapper.DH_FORMATVERSION] = 0x03010000; // uint8_t fFormatVersion[4]; in flattenData()
201 …header[RBBIDataWrapper.DH_LENGTH] = totalSize; // fLength, the total size of all… in flattenData()
202 header[RBBIDataWrapper.DH_CATCOUNT] = fSetBuilder.getNumCharCategories(); // fCatCount. in flattenData()
203 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
204 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
205 …header[RBBIDataWrapper.DH_RTABLE] = header[RBBIDataWrapper.DH_FTABLE] + forwardTableSize; /… in flattenData()
206 header[RBBIDataWrapper.DH_RTABLELEN] = reverseTableSize; // fRTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java71 This.fRData = RBBIDataWrapper.get(ICUBinary.getByteBufferFromInputStreamAndCloseStream(is)); in getInstanceFromCompiledRules()
94 This.fRData = RBBIDataWrapper.get(bytes); in getInstanceFromCompiledRules()
107 fRData = RBBIDataWrapper.get(ByteBuffer.wrap(ruleOS.toByteArray())); in RuleBasedBreakIterator()
214 RBBIDataWrapper fRData;
1255 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
1259 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
1260 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
1261 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
1303 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
1304 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
[all …]
DRBBITableBuilder.java916 table[RBBIDataWrapper.NUMSTATES] = (short)(numStates >>> 16); in exportTable()
917 table[RBBIDataWrapper.NUMSTATES+1] = (short)(numStates & 0x0000ffff); in exportTable()
920 table[RBBIDataWrapper.ROWLEN] = (short)(rowLen >>> 16); in exportTable()
921 table[RBBIDataWrapper.ROWLEN+1] = (short)(rowLen & 0x0000ffff); in exportTable()
926 flags |= RBBIDataWrapper.RBBI_LOOKAHEAD_HARD_BREAK; in exportTable()
929 flags |= RBBIDataWrapper.RBBI_BOF_REQUIRED; in exportTable()
931 table[RBBIDataWrapper.FLAGS] = (short)(flags >>> 16); in exportTable()
932 table[RBBIDataWrapper.FLAGS+1] = (short)(flags & 0x0000ffff); in exportTable()
940 table[row + RBBIDataWrapper.ACCEPTING] = (short)sd.fAccepting; in exportTable()
941 table[row + RBBIDataWrapper.LOOKAHEAD] = (short)sd.fLookAhead; in exportTable()
[all …]
DRBBIDataWrapper.java27 final class RBBIDataWrapper { class
164 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
171 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
172 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/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();
157 RBBIDataWrapper *addReference();
159 UBool operator ==(const RBBIDataWrapper &other) const;
192 RBBIDataWrapper(const RBBIDataWrapper &other); /* forbid copying of this class */
193 RBBIDataWrapper &operator=(const RBBIDataWrapper &other); /* forbid copying of this class */
Drbbidata.cpp50 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
55 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
61 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper() function in RBBIDataWrapper
93 void RBBIDataWrapper::init0() { in init0()
106 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
166 RBBIDataWrapper::~RBBIDataWrapper() { in ~RBBIDataWrapper()
187 UBool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const { in operator ==()
200 int32_t RBBIDataWrapper::hashCode() { in hashCode()
213 void RBBIDataWrapper::removeReference() { in removeReference()
220 RBBIDataWrapper *RBBIDataWrapper::addReference() { in addReference()
[all …]
Drbbi.cpp69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
97 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
115 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
/external/icu/icu4c/source/common/unicode/
Drbbi.h43 class RBBIDataWrapper; variable
97 RBBIDataWrapper *fData;
/external/icu/icu4j/
Dcoverage-exclusion.txt804 com/ibm/icu/text/RBBIDataWrapper#dump:()V
805 com/ibm/icu/text/RBBIDataWrapper#dumpCharCategories:()V
806 com/ibm/icu/text/RBBIDataWrapper#dumpRow:([SI)V
807 com/ibm/icu/text/RBBIDataWrapper#dumpTable:([S)V
808 com/ibm/icu/text/RBBIDataWrapper#intToHexString:(II)Ljava/lang/String;
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz