Home
last modified time | relevance | path

Searched refs:indexLength (Results 1 – 25 of 26) sorted by relevance

12

/external/icu/icu4c/source/common/
Dutrie.cpp106 trie->indexLength=UTRIE_MAX_INDEX_LENGTH; in utrie_open()
375 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, in _findSameIndexBlock() argument
379 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) { in _findSameIndexBlock()
389 return indexLength; in _findSameIndexBlock()
408 int32_t indexLength, block; in utrie_fold() local
452 indexLength=UTRIE_BMP_INDEX_LENGTH; in utrie_fold()
466 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); in utrie_fold()
482 if(block==indexLength) { in utrie_fold()
484 uprv_memmove(idx+indexLength, in utrie_fold()
487 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT; in utrie_fold()
[all …]
Dutrie2.cpp91 trie->data32==NULL ? trie->indexLength : 0, in u8Index()
170 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized()
178 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized()
182 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
207 p16+=trie->indexLength; in utrie2_openFromSerialized()
242 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local
255 indexLength=UTRIE2_INDEX_1_OFFSET; in utrie2_openDummy()
257 length=(int32_t)sizeof(UTrie2Header)+indexLength*2; in utrie2_openDummy()
282 dataMove=indexLength; in utrie2_openDummy()
287 trie->indexLength=indexLength; in utrie2_openDummy()
[all …]
Ducol_swp.cpp59 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap()
65 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap()
66 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap()
76 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap()
93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap()
94 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap()
95 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap()
97 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap()
Duresdata.cpp185 int32_t indexLength=indexes[URES_INDEX_LENGTH]&0xff; in res_init() local
186 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) { in res_init()
192 (length<((1+indexLength)<<2) || in res_init()
199 if(indexes[URES_INDEX_KEYS_TOP]>(1+indexLength)) { in res_init()
209 if(indexLength>URES_INDEX_ATTRIBUTES) { in res_init()
217 …if((pResData->isPoolBundle || pResData->usesPoolBundle) && indexLength<=URES_INDEX_POOL_CHECKSUM) { in res_init()
222 if( indexLength>URES_INDEX_16BIT_TOP && in res_init()
1300 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; in ures_swap() local
1349 indexLength=udata_readInt32(ds, inIndexes[URES_INDEX_LENGTH])&0xff; in ures_swap()
1350 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) { in ures_swap()
[all …]
Dutrie2_builder.cpp346 long indexLength=trie->indexLength; in utrie_printLengths() local
348 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths()
350 indexLength, dataLength, totalLength); in utrie_printLengths()
355 long indexLength=trie->indexLength; in utrie2_printLengths() local
357 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths()
359 which, indexLength, dataLength, totalLength); in utrie2_printLengths()
1330 trie->indexLength=allIndexesLength; in utrie2_freeze()
1346 header->indexLength=(uint16_t)trie->indexLength; in utrie2_freeze()
Dutrie.h167 int32_t indexLength, dataLength; member
272 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH)
561 int32_t indexLength, dataCapacity, dataLength; member
766 int32_t indexLength; member
Dutrie2_impl.h62 uint16_t indexLength; member
Dutrie2.h390 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c))
689 int32_t indexLength, dataLength; member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java114 header.indexLength = bytes.getChar(); in createFromSerialized()
137 This.indexLength = header.indexLength; in createFromSerialized()
144 This.highValueIndex += This.indexLength; in createFromSerialized()
150 int indexArraySize = This.indexLength; in createFromSerialized()
162 This.data16 = This.indexLength; in createFromSerialized()
467 dos.writeShort(header.indexLength); in serializeHeader()
476 for (i=0; i< header.indexLength; i++) { in serializeHeader()
479 bytesWritten += header.indexLength; in serializeHeader()
637 int indexLength; field in Trie2.UTrie2Header
661 int indexLength; field in Trie2
DIntTrieBuilder.java710 int indexLength = BMP_INDEX_LENGTH_; in fold() local
717 block = findSameIndexBlock(index, indexLength, c >> SHIFT_); in fold()
732 if (block == indexLength) { in fold()
735 System.arraycopy(index, c >> SHIFT_, index, indexLength, in fold()
737 indexLength += SURROGATE_BLOCK_COUNT_; in fold()
755 if (indexLength >= MAX_INDEX_LENGTH_) { in fold()
762 indexLength - BMP_INDEX_LENGTH_); in fold()
765 indexLength += SURROGATE_BLOCK_COUNT_; in fold()
766 m_indexLength_ = indexLength; in fold()
DTrieBuilder.java239 protected static final int findSameIndexBlock(int index[], int indexLength, in findSameIndexBlock() argument
242 for (int block = BMP_INDEX_LENGTH_; block < indexLength; in findSameIndexBlock()
248 return indexLength; in findSameIndexBlock()
DTrie2Writable.java338 this.indexLength = tempTrie.indexLength; in uncompact()
1051 int indexLength = allIndexesLength; in freeze() local
1053 indexLength += dataLength; in freeze()
1057 dest.index = new char[indexLength]; in freeze()
1059 dest.indexLength = allIndexesLength; in freeze()
1078 dest.header.indexLength = dest.indexLength; in freeze()
DICUResourceBundleReader.java254 int indexLength = indexes0 & 0xff; in init() local
255 if(indexLength <= URES_INDEX_MAX_TABLE_LENGTH) { in init()
259 if(dataLength < ((1 + indexLength) << 2) || in init()
272 if(indexLength > URES_INDEX_ATTRIBUTES) { in init()
283 int keysBottom = 1 + indexLength; in init()
303 if(indexLength > URES_INDEX_16BIT_TOP) { in init()
318 if(indexLength > URES_INDEX_POOL_CHECKSUM) { in init()
DTrie2_32.java164 return 16+header.indexLength*2+dataLength*4; in getSerializedLength()
DTrie2_16.java167 return 16+(header.indexLength+dataLength)*2; in getSerializedLength()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java116 header.indexLength = bytes.getChar(); in createFromSerialized()
139 This.indexLength = header.indexLength; in createFromSerialized()
146 This.highValueIndex += This.indexLength; in createFromSerialized()
152 int indexArraySize = This.indexLength; in createFromSerialized()
164 This.data16 = This.indexLength; in createFromSerialized()
469 dos.writeShort(header.indexLength); in serializeHeader()
478 for (i=0; i< header.indexLength; i++) { in serializeHeader()
481 bytesWritten += header.indexLength; in serializeHeader()
639 int indexLength; field in Trie2.UTrie2Header
663 int indexLength; field in Trie2
DIntTrieBuilder.java712 int indexLength = BMP_INDEX_LENGTH_; in fold() local
719 block = findSameIndexBlock(index, indexLength, c >> SHIFT_); in fold()
734 if (block == indexLength) { in fold()
737 System.arraycopy(index, c >> SHIFT_, index, indexLength, in fold()
739 indexLength += SURROGATE_BLOCK_COUNT_; in fold()
757 if (indexLength >= MAX_INDEX_LENGTH_) { in fold()
764 indexLength - BMP_INDEX_LENGTH_); in fold()
767 indexLength += SURROGATE_BLOCK_COUNT_; in fold()
768 m_indexLength_ = indexLength; in fold()
DTrieBuilder.java241 protected static final int findSameIndexBlock(int index[], int indexLength, in findSameIndexBlock() argument
244 for (int block = BMP_INDEX_LENGTH_; block < indexLength; in findSameIndexBlock()
250 return indexLength; in findSameIndexBlock()
DTrie2Writable.java340 this.indexLength = tempTrie.indexLength; in uncompact()
1053 int indexLength = allIndexesLength; in freeze() local
1055 indexLength += dataLength; in freeze()
1059 dest.index = new char[indexLength]; in freeze()
1061 dest.indexLength = allIndexesLength; in freeze()
1080 dest.header.indexLength = dest.indexLength; in freeze()
DICUResourceBundleReader.java256 int indexLength = indexes0 & 0xff; in init() local
257 if(indexLength <= URES_INDEX_MAX_TABLE_LENGTH) { in init()
261 if(dataLength < ((1 + indexLength) << 2) || in init()
274 if(indexLength > URES_INDEX_ATTRIBUTES) { in init()
285 int keysBottom = 1 + indexLength; in init()
305 if(indexLength > URES_INDEX_16BIT_TOP) { in init()
320 if(indexLength > URES_INDEX_POOL_CHECKSUM) { in init()
DTrie2_16.java169 return 16+(header.indexLength+dataLength)*2; in getSerializedLength()
DTrie2_32.java166 return 16+header.indexLength*2+dataLength*4; in getSerializedLength()
/external/icu/icu4c/source/tools/toolutil/
Dwritesrc.c168 … usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength+pTrie->dataLength, postfix); in usrc_writeUTrie2Arrays()
171 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength, postfix); in usrc_writeUTrie2Arrays()
194 (long)pTrie->indexLength); in usrc_writeUTrie2Struct()
216 (long)pTrie->indexLength, (long)pTrie->dataLength, in usrc_writeUTrie2Struct()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp315 int32_t indexLength; in main() local
384 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff; in main()
385 if (indexLength <= URES_INDEX_POOL_CHECKSUM) { in main()
389 int32_t keysBottom = 1 + indexLength; in main()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12