Searched refs:indexLength (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dutrie.cpp106 trie->indexLength=UTRIE_MAX_INDEX_LENGTH;
375 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, argument
379 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) {
389 return indexLength;
408 int32_t indexLength, block; local
452 indexLength=UTRIE_BMP_INDEX_LENGTH;
466 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT);
482 if(block==indexLength) {
484 uprv_memmove(idx+indexLength,
487 indexLength
[all...]
H A Dutrie2.cpp91 trie->data32==NULL ? trie->indexLength : 0,
170 tempTrie.indexLength=header->indexLength;
178 tempTrie.highValueIndex+=tempTrie.indexLength;
182 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2;
207 p16+=trie->indexLength;
242 int32_t indexLength, dataLength, length, i; local
255 indexLength=UTRIE2_INDEX_1_OFFSET;
257 length=(int32_t)sizeof(UTrie2Header)+indexLength*2;
282 dataMove=indexLength;
[all...]
H A Dutrie2_impl.h62 uint16_t indexLength; member in struct:UTrie2Header
H A Ducol_swp.cpp59 trie.indexLength=udata_readInt32(ds, inTrie->indexLength);
65 trie.indexLength<UTRIE_BMP_INDEX_LENGTH ||
66 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 ||
76 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2);
93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode);
94 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4,
95 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode);
97 ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode);
H A Duresdata.c186 int32_t indexLength=indexes[URES_INDEX_LENGTH]&0xff; local
187 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) {
193 (length<((1+indexLength)<<2) ||
200 if(indexes[URES_INDEX_KEYS_TOP]>(1+indexLength)) {
203 if(indexLength>URES_INDEX_ATTRIBUTES) {
209 if((pResData->isPoolBundle || pResData->usesPoolBundle) && indexLength<=URES_INDEX_POOL_CHECKSUM) {
214 if( indexLength>URES_INDEX_16BIT_TOP &&
980 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; local
1028 indexLength=udata_readInt32(ds, inIndexes[URES_INDEX_LENGTH])&0xff;
1029 if(indexLength<
[all...]
H A Dutrie.h146 * pointer, with each index item increased by indexLength;
167 int32_t indexLength, dataLength; member in struct:UTrie
272 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH)
561 int32_t indexLength, dataCapacity, dataLength; member in struct:UNewTrie
748 * uint16_t index[header.indexLength];
765 /** indexLength is a multiple of UTRIE_SURROGATE_BLOCK_COUNT */
766 int32_t indexLength; member in struct:UTrieHeader
H A Dutrie2_builder.cpp348 long indexLength=trie->indexLength; local
350 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
352 indexLength, dataLength, totalLength);
357 long indexLength=trie->indexLength; local
359 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
361 which, indexLength, dataLength, totalLength);
1236 * Limited by its own 16-bit index values, and by uint16_t UTrie2Header.indexLength.
1302 /* are indexLength an
[all...]
H A Dutrie2.h390 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c))
678 * pointer, with each index item increased by indexLength;
689 int32_t indexLength, dataLength; member in struct:UTrie2
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dwritesrc.c168 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength+pTrie->dataLength, postfix);
171 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength, postfix);
194 (long)pTrie->indexLength);
207 " %ld,\n" /* indexLength */
216 (long)pTrie->indexLength, (long)pTrie->dataLength,
/macosx-10.10.1/ICU-531.30/icuSources/tools/genrb/
H A Dgenrb.c312 int32_t indexLength; local
380 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff;
381 if (indexLength <= URES_INDEX_POOL_CHECKSUM) {
385 keysBottom = (1 + indexLength) * 4;

Completed in 206 milliseconds