Home | History | Annotate | Download | only in coll

Lines Matching refs:length

59     // Each item's byte length is given by the difference between its offset and
69 /** Byte offset to the collation trie. Its length is a multiple of 8 bytes. */
116 for(int i = 1; i < indexesLength && i < inIndexes.length; ++i) {
119 for(int i = indexesLength; i < inIndexes.length; ++i) {
122 if(indexesLength > inIndexes.length) {
123 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4);
134 int length; // number of bytes in the index part
137 length = inIndexes[IX_TOTAL_SIZE];
139 length = inIndexes[indexesLength - 1];
141 length = 0; // only indexes, and inLength was already checked for them
143 if(inLength < length) {
152 length = inIndexes[index + 1] - offset;
153 if(length >= 4) {
159 reorderCodesLength = length / 4;
160 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3);
176 ICUBinary.skipBytes(inBytes, length);
185 length = inIndexes[index + 1] - offset;
186 if(length >= 256) {
192 length -= 256;
197 ICUBinary.skipBytes(inBytes, length);
206 length = inIndexes[index + 1] - offset;
207 if(length >= 8) {
214 if(trieLength > length) {
217 length -= trieLength;
224 ICUBinary.skipBytes(inBytes, length);
228 length = inIndexes[index + 1] - offset;
229 ICUBinary.skipBytes(inBytes, length);
233 length = inIndexes[index + 1] - offset;
234 if(length >= 8) {
238 data.ces = ICUBinary.getLongs(inBytes, length / 8, length & 7);
240 ICUBinary.skipBytes(inBytes, length);
245 length = inIndexes[index + 1] - offset;
246 ICUBinary.skipBytes(inBytes, length);
250 length = inIndexes[index + 1] - offset;
251 if(length >= 4) {
255 data.ce32s = ICUBinary.getInts(inBytes, length / 4, length & 3);
257 ICUBinary.skipBytes(inBytes, length);
277 length = inIndexes[index + 1] - offset;
278 if(length >= 4) {
279 int rootElementsLength = length / 4;
300 length &= 3;
302 ICUBinary.skipBytes(inBytes, length);
306 length = inIndexes[index + 1] - offset;
307 if(length >= 2) {
311 data.contexts = ICUBinary.getString(inBytes, length / 2, length & 1);
313 ICUBinary.skipBytes(inBytes, length);
318 length = inIndexes[index + 1] - offset;
319 if(length >= 2) {
343 char[] unsafeData = ICUBinary.getChars(inBytes, length / 2, length & 1);
344 length = 0;
370 ICUBinary.skipBytes(inBytes, length);
377 length = inIndexes[index + 1] - offset;
382 if(length >= 2) {
390 int tableLength = length / 2 - headerLength;
391 data.fastLatinTable = ICUBinary.getChars(inBytes, tableLength, length & 1);
392 length = 0;
402 ICUBinary.skipBytes(inBytes, length);
406 length = inIndexes[index + 1] - offset;
407 if(length >= 2) {
411 int scriptsLength = length / 2;
434 ICUBinary.skipBytes(inBytes, length);
438 length = inIndexes[index + 1] - offset;
439 if(length >= 256) {
447 length -= 256;
455 ICUBinary.skipBytes(inBytes, length);
459 length = inIndexes[index + 1] - offset;
460 ICUBinary.skipBytes(inBytes, length);