Home
last modified time | relevance | path

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

/external/icu4c/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.cpp58 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap()
64 trie.indexLength<UTRIE_BMP_INDEX_LENGTH || in utrie_swap()
65 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 || in utrie_swap()
75 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap()
92 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap()
93 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap()
94 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode); in utrie_swap()
96 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap()
Duresdata.c188 int32_t indexLength=indexes[URES_INDEX_LENGTH]&0xff; in res_init() local
189 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) { in res_init()
195 (length<((1+indexLength)<<2) || in res_init()
202 if(indexes[URES_INDEX_KEYS_TOP]>(1+indexLength)) { in res_init()
205 if(indexLength>URES_INDEX_ATTRIBUTES) { in res_init()
211 …if((pResData->isPoolBundle || pResData->usesPoolBundle) && indexLength<=URES_INDEX_POOL_CHECKSUM) { in res_init()
216 if( indexLength>URES_INDEX_16BIT_TOP && in res_init()
982 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; in ures_swap() local
1030 indexLength=udata_readInt32(ds, inIndexes[URES_INDEX_LENGTH])&0xff; in ures_swap()
1031 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) { in ures_swap()
[all …]
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_builder.cpp348 long indexLength=trie->indexLength; in utrie_printLengths() local
350 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths()
352 indexLength, dataLength, totalLength); in utrie_printLengths()
357 long indexLength=trie->indexLength; in utrie2_printLengths() local
359 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths()
361 which, indexLength, dataLength, totalLength); in utrie2_printLengths()
1332 trie->indexLength=allIndexesLength; in utrie2_freeze()
1348 header->indexLength=(uint16_t)trie->indexLength; in utrie2_freeze()
Dutrie2_impl.h62 uint16_t indexLength; member
Dutrie2.h390 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c))
702 int32_t indexLength, dataLength; member
/external/icu4c/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/srec/srec/cfront/
Dsp_fft.c483 unsigned *indexTbl, indexLength; in do_fft1() local
491 indexLength = 0; in do_fft1()
515 indexLength = *indexTbl++; in do_fft1()
528 for (k = 0; k < indexLength; k++) in do_fft1()
537 indexTbl += indexLength; in do_fft1()
541 indexLength = *indexTbl++; in do_fft1()
542 for (k = 0; k < indexLength; k++) in do_fft1()
548 indexTbl += indexLength; in do_fft1()
551 indexLength = *indexTbl++; in do_fft1()
552 for (k = 0; k < indexLength; k++) in do_fft1()
/external/icu4c/tools/genrb/
Dgenrb.c312 int32_t indexLength; in main() local
380 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff; in main()
381 if (indexLength <= URES_INDEX_POOL_CHECKSUM) { in main()
385 keysBottom = (1 + indexLength) * 4; in main()