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.java196 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()
216 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
217 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
220 …header[RBBIDataWrapper.DH_RTABLE] = header[RBBIDataWrapper.DH_FTABLE] + forwardTableSize; /… in flattenData()
221 header[RBBIDataWrapper.DH_RTABLELEN] = 0; // fRTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java72 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()
227 RBBIDataWrapper fRData;
853 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
857 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
858 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
859 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
901 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
902 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.java25 final class RBBIDataWrapper { class
148 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
155 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
156 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleBuilder.java197 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()
217 header[RBBIDataWrapper.DH_FTABLE] = headerSize; // fFTable in flattenData()
218 header[RBBIDataWrapper.DH_FTABLELEN] = forwardTableSize; // fTableLen in flattenData()
221 …header[RBBIDataWrapper.DH_RTABLE] = header[RBBIDataWrapper.DH_FTABLE] + forwardTableSize; /… in flattenData()
222 header[RBBIDataWrapper.DH_RTABLELEN] = 0; // fRTableLen in flattenData()
[all …]
DRuleBasedBreakIterator.java72 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()
222 RBBIDataWrapper fRData;
832 if ((flagsState & RBBIDataWrapper.RBBI_BOF_REQUIRED) != 0) { in handleNext()
836 System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
837 System.out.print(RBBIDataWrapper.intToHexString(c, 10)); in handleNext()
838 …System.out.println(RBBIDataWrapper.intToString(state,7) + RBBIDataWrapper.intToString(category,6)); in handleNext()
880 … System.out.print(" " + RBBIDataWrapper.intToString(text.getIndex(), 5)); in handleNext()
881 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.java26 final class RBBIDataWrapper { class
149 RBBIDataWrapper() { in RBBIDataWrapper() method in RBBIDataWrapper
156 static RBBIDataWrapper get(ByteBuffer bytes) throws IOException { in get()
157 RBBIDataWrapper This = new RBBIDataWrapper(); in get()
/external/icu/icu4c/source/common/
Drbbidata.h146 class RBBIDataWrapper : public UMemory {
151 RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status);
152 RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt dontAdopt, UErrorCode &status);
153 RBBIDataWrapper(UDataMemory* udm, UErrorCode &status);
154 ~RBBIDataWrapper();
160 RBBIDataWrapper *addReference();
162 UBool operator ==(const RBBIDataWrapper &other) const;
195 RBBIDataWrapper(const RBBIDataWrapper &other); /* forbid copying of this class */
196 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()
94 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init()
160 RBBIDataWrapper::~RBBIDataWrapper() { in ~RBBIDataWrapper()
183 UBool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const { in operator ==()
196 int32_t RBBIDataWrapper::hashCode() { in hashCode()
209 void RBBIDataWrapper::removeReference() { in removeReference()
[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.h39 class RBBIDataWrapper; variable
88 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/
Dicu4j48.api3.gz
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j49.api3.gz