Home | History | Annotate | Download | only in coll

Lines Matching refs:length

60     // Each item's byte length is given by the difference between its offset and
70 /** Byte offset to the collation trie. Its length is a multiple of 8 bytes. */
117 for(int i = 1; i < indexesLength && i < inIndexes.length; ++i) {
120 for(int i = indexesLength; i < inIndexes.length; ++i) {
123 if(indexesLength > inIndexes.length) {
124 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4);
135 int length; // number of bytes in the index part
138 length = inIndexes[IX_TOTAL_SIZE];
140 length = inIndexes[indexesLength - 1];
142 length = 0; // only indexes, and inLength was already checked for them
144 if(inLength < length) {
153 length = inIndexes[index + 1] - offset;
154 if(length >= 4) {
160 reorderCodesLength = length / 4;
161 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3);
177 ICUBinary.skipBytes(inBytes, length);
186 length = inIndexes[index + 1] - offset;
187 if(length >= 256) {
193 length -= 256;
198 ICUBinary.skipBytes(inBytes, length);
207 length = inIndexes[index + 1] - offset;
208 if(length >= 8) {
215 if(trieLength > length) {
218 length -= trieLength;
225 ICUBinary.skipBytes(inBytes, length);
229 length = inIndexes[index + 1] - offset;
230 ICUBinary.skipBytes(inBytes, length);
234 length = inIndexes[index + 1] - offset;
235 if(length >= 8) {
239 data.ces = ICUBinary.getLongs(inBytes, length / 8, length & 7);
241 ICUBinary.skipBytes(inBytes, length);
246 length = inIndexes[index + 1] - offset;
247 ICUBinary.skipBytes(inBytes, length);
251 length = inIndexes[index + 1] - offset;
252 if(length >= 4) {
256 data.ce32s = ICUBinary.getInts(inBytes, length / 4, length & 3);
258 ICUBinary.skipBytes(inBytes, length);
278 length = inIndexes[index + 1] - offset;
279 if(length >= 4) {
280 int rootElementsLength = length / 4;
301 length &= 3;
303 ICUBinary.skipBytes(inBytes, length);
307 length = inIndexes[index + 1] - offset;
308 if(length >= 2) {
312 data.contexts = ICUBinary.getString(inBytes, length / 2, length & 1);
314 ICUBinary.skipBytes(inBytes, length);
319 length = inIndexes[index + 1] - offset;
320 if(length >= 2) {
344 char[] unsafeData = ICUBinary.getChars(inBytes, length / 2, length & 1);
345 length = 0;
371 ICUBinary.skipBytes(inBytes, length);
378 length = inIndexes[index + 1] - offset;
383 if(length >= 2) {
391 int tableLength = length / 2 - headerLength;
392 data.fastLatinTable = ICUBinary.getChars(inBytes, tableLength, length & 1);
393 length = 0;
403 ICUBinary.skipBytes(inBytes, length);
407 length = inIndexes[index + 1] - offset;
408 if(length >= 2) {
412 int scriptsLength = length / 2;
435 ICUBinary.skipBytes(inBytes, length);
439 length = inIndexes[index + 1] - offset;
440 if(length >= 256) {
448 length -= 256;
456 ICUBinary.skipBytes(inBytes, length);
460 length = inIndexes[index + 1] - offset;
461 ICUBinary.skipBytes(inBytes, length);