HomeSort by relevance Sort by last modified time
    Searched refs:indexLength (Results 1 - 25 of 34) sorted by null

1 2

  /external/icu/icu4c/source/common/
utrie.cpp 108 trie->indexLength=UTRIE_MAX_INDEX_LENGTH;
377 _findSameIndexBlock(const int32_t *idx, int32_t indexLength,
381 for(block=UTRIE_BMP_INDEX_LENGTH; block<indexLength; block+=UTRIE_SURROGATE_BLOCK_COUNT) {
391 return indexLength;
410 int32_t indexLength, block;
454 indexLength=UTRIE_BMP_INDEX_LENGTH;
468 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT);
484 if(block==indexLength) {
486 uprv_memmove(idx+indexLength,
489 indexLength+=UTRIE_SURROGATE_BLOCK_COUNT
    [all...]
utrie2.cpp 93 trie->data32==NULL ? trie->indexLength : 0,
172 tempTrie.indexLength=header->indexLength;
180 tempTrie.highValueIndex+=tempTrie.indexLength;
184 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2;
209 p16+=trie->indexLength;
244 int32_t indexLength, dataLength, length, i;
257 indexLength=UTRIE2_INDEX_1_OFFSET;
259 length=(int32_t)sizeof(UTrie2Header)+indexLength*2;
284 dataMove=indexLength;
    [all...]
utrie2_impl.h 64 uint16_t indexLength;
ucol_swp.cpp 61 trie.indexLength=udata_readInt32(ds, inTrie->indexLength);
67 trie.indexLength<UTRIE_BMP_INDEX_LENGTH ||
68 (trie.indexLength&(UTRIE_SURROGATE_BLOCK_COUNT-1))!=0 ||
78 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2);
95 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode);
96 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4,
97 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode);
99 ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode);
utrie.h 148 * pointer, with each index item increased by indexLength;
169 int32_t indexLength, dataLength;
274 #define UTRIE_GET16_LATIN1(trie) ((trie)->index+(trie)->indexLength+UTRIE_DATA_BLOCK_LENGTH)
563 int32_t indexLength, dataCapacity, dataLength;
750 * uint16_t index[header.indexLength];
767 /** indexLength is a multiple of UTRIE_SURROGATE_BLOCK_COUNT */
768 int32_t indexLength;
uresdata.cpp 187 int32_t indexLength=indexes[URES_INDEX_LENGTH]&0xff;
188 if(indexLength<=URES_INDEX_MAX_TABLE_LENGTH) {
194 (length<((1+indexLength)<<2) ||
201 if(indexes[URES_INDEX_KEYS_TOP]>(1+indexLength)) {
205 // In formatVersion 1, the indexLength took up this whole int.
211 if(indexLength>URES_INDEX_ATTRIBUTES) {
219 if((pResData->isPoolBundle || pResData->usesPoolBundle) && indexLength<=URES_INDEX_POOL_CHECKSUM) {
224 if( indexLength>URES_INDEX_16BIT_TOP &&
    [all...]
utrie2_builder.cpp 348 long indexLength=trie->indexLength;
350 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
352 indexLength, dataLength, totalLength);
357 long indexLength=trie->indexLength;
359 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
361 which, indexLength, dataLength, totalLength);
    [all...]
utrie2.h 392 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c))
680 * pointer, with each index item increased by indexLength;
691 int32_t indexLength, dataLength;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TrieBuilder.java 239 * @param indexLength size of index
243 protected static final int findSameIndexBlock(int index[], int indexLength,
246 for (int block = BMP_INDEX_LENGTH_; block < indexLength;
252 return indexLength;
Trie2.java 82 // uint16_t indexLength;
118 header.indexLength = bytes.getChar();
141 This.indexLength = header.indexLength;
148 This.highValueIndex += This.indexLength;
154 int indexArraySize = This.indexLength;
166 This.data16 = This.indexLength;
477 dos.writeShort(header.indexLength);
486 for (i=0; i< header.indexLength; i++) {
489 bytesWritten += header.indexLength;
    [all...]
IntTrieBuilder.java 243 // fold and compact if necessary, also checks that indexLength is
303 // fold and compact if necessary, also checks that indexLength is
329 // int32_t indexLength
360 /* write 16-bit index values shifted right by UTRIE_INDEX_SHIFT, after adding indexLength */
714 int indexLength = BMP_INDEX_LENGTH_;
721 block = findSameIndexBlock(index, indexLength, c >> SHIFT_);
736 if (block == indexLength) {
739 System.arraycopy(index, c >> SHIFT_, index, indexLength,
741 indexLength += SURROGATE_BLOCK_COUNT_;
759 if (indexLength >= MAX_INDEX_LENGTH_)
    [all...]
Trie2Writable.java 342 this.indexLength = tempTrie.indexLength;
    [all...]
Trie2_16.java 171 return 16+(header.indexLength+dataLength)*2;
Trie2_32.java 168 return 16+header.indexLength*2+dataLength*4;
ICUResourceBundleReader.java 258 int indexLength = indexes0 & 0xff;
259 if(indexLength <= URES_INDEX_MAX_TABLE_LENGTH) {
263 if(dataLength < ((1 + indexLength) << 2) ||
270 // In formatVersion 1, the indexLength took up this whole int.
276 if(indexLength > URES_INDEX_ATTRIBUTES) {
287 int keysBottom = 1 + indexLength;
307 if(indexLength > URES_INDEX_16BIT_TOP) {
322 if(indexLength > URES_INDEX_POOL_CHECKSUM) {
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TrieBuilder.java 237 * @param indexLength size of index
241 protected static final int findSameIndexBlock(int index[], int indexLength,
244 for (int block = BMP_INDEX_LENGTH_; block < indexLength;
250 return indexLength;
Trie2.java 80 // uint16_t indexLength;
116 header.indexLength = bytes.getChar();
139 This.indexLength = header.indexLength;
146 This.highValueIndex += This.indexLength;
152 int indexArraySize = This.indexLength;
164 This.data16 = This.indexLength;
475 dos.writeShort(header.indexLength);
484 for (i=0; i< header.indexLength; i++) {
487 bytesWritten += header.indexLength;
    [all...]
IntTrieBuilder.java 241 // fold and compact if necessary, also checks that indexLength is
301 // fold and compact if necessary, also checks that indexLength is
327 // int32_t indexLength
358 /* write 16-bit index values shifted right by UTRIE_INDEX_SHIFT, after adding indexLength */
712 int indexLength = BMP_INDEX_LENGTH_;
719 block = findSameIndexBlock(index, indexLength, c >> SHIFT_);
734 if (block == indexLength) {
737 System.arraycopy(index, c >> SHIFT_, index, indexLength,
739 indexLength += SURROGATE_BLOCK_COUNT_;
757 if (indexLength >= MAX_INDEX_LENGTH_)
    [all...]
Trie2Writable.java 340 this.indexLength = tempTrie.indexLength;
    [all...]
Trie2_16.java 169 return 16+(header.indexLength+dataLength)*2;
Trie2_32.java 166 return 16+header.indexLength*2+dataLength*4;
ICUResourceBundleReader.java 256 int indexLength = indexes0 & 0xff;
257 if(indexLength <= URES_INDEX_MAX_TABLE_LENGTH) {
261 if(dataLength < ((1 + indexLength) << 2) ||
268 // In formatVersion 1, the indexLength took up this whole int.
274 if(indexLength > URES_INDEX_ATTRIBUTES) {
285 int keysBottom = 1 + indexLength;
305 if(indexLength > URES_INDEX_16BIT_TOP) {
320 if(indexLength > URES_INDEX_POOL_CHECKSUM) {
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
writesrc.c 174 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength+pTrie->dataLength, postfix);
177 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength, postfix);
200 (long)pTrie->indexLength);
213 " %ld,\n" /* indexLength */
222 (long)pTrie->indexLength, (long)pTrie->dataLength,
  /external/icu/icu4c/source/tools/genrb/
genrb.cpp 318 int32_t indexLength;
387 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff;
388 if (indexLength <= URES_INDEX_POOL_CHECKSUM) {
392 int32_t keysBottom = 1 + indexLength;
  /developers/build/prebuilts/androidtv/sample-inputs/app/libs/
exoplayer_dev-hls_20150123.jar 

Completed in 2156 milliseconds

1 2