Home
last modified time | relevance | path

Searched refs:indexesLength (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp76 int32_t indexesLength = inIndexes[IX_INDEXES_LENGTH]; in read() local
77 if(indexesLength < 2 || (0 <= inLength && inLength < indexesLength * 4)) { in read()
92 if(indexesLength > IX_TOTAL_SIZE) { in read()
94 } else if(indexesLength > IX_REORDER_CODES_OFFSET) { in read()
95 length = inIndexes[indexesLength - 1]; in read()
108 offset = getIndex(inIndexes, indexesLength, index); in read()
109 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
126 offset = getIndex(inIndexes, indexesLength, index); in read()
127 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read()
146 offset = getIndex(inIndexes, indexesLength, index); in read()
[all …]
Dcollationdatawriter.cpp112 int32_t indexesLength; in write() local
128 indexesLength = CollationDataReader::IX_TOTAL_SIZE + 1; in write()
137 indexesLength = CollationDataReader::IX_OPTIONS + 1; // no limit offset here in write()
140 indexesLength = CollationDataReader::IX_REORDER_TABLE_OFFSET + 2; in write()
146 indexesLength = CollationDataReader::IX_CE32S_OFFSET + 2; in write()
148 indexesLength = CollationDataReader::IX_CONTEXTS_OFFSET + 2; in write()
152 indexesLength = CollationDataReader::IX_UNSAFE_BWD_OFFSET + 2; in write()
156 indexesLength = CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET + 2; in write()
174 int32_t sum = headerSize + (indexesLength + settings.reorderCodesLength) * 4; in write()
196 indexes[CollationDataReader::IX_INDEXES_LENGTH] = indexesLength; in write()
[all …]
/external/icu/icu4c/source/common/
Ducol_swp.cpp398 int32_t indexesLength=indexes[0]=udata_readInt32(ds, inIndexes[0]); in swapFormatVersion4() local
399 if(0<=length && length<(indexesLength*4)) { in swapFormatVersion4()
407 for(int32_t i=1; i<=IX_TOTAL_SIZE && i<indexesLength; ++i) { in swapFormatVersion4()
410 for(int32_t i=indexesLength; i<=IX_TOTAL_SIZE; ++i) { in swapFormatVersion4()
417 if(indexesLength>IX_TOTAL_SIZE) { in swapFormatVersion4()
419 } else if(indexesLength>IX_REORDER_CODES_OFFSET) { in swapFormatVersion4()
420 size=indexes[indexesLength-1]; in swapFormatVersion4()
422 size=indexesLength*4; in swapFormatVersion4()
440 ds->swapArray32(ds, inBytes, indexesLength * 4, outBytes, &errorCode); in swapFormatVersion4()
Dnormalizer2impl.cpp294 int32_t indexesLength=inIndexes[IX_NORM_TRIE_OFFSET]/4; in load() local
295 if(indexesLength<=IX_MIN_MAYBE_YES) { in load()
/external/chromium_org/third_party/icu/source/common/
Dnormalizer2impl.cpp294 int32_t indexesLength=inIndexes[IX_NORM_TRIE_OFFSET]/4; in load() local
295 if(indexesLength<=IX_MIN_MAYBE_YES) { in load()