/external/icu/icu4c/source/i18n/ |
D | collationdatareader.cpp | 77 int32_t indexesLength = inIndexes[IX_INDEXES_LENGTH]; in read() local 78 if(indexesLength < 2 || (0 <= inLength && inLength < indexesLength * 4)) { in read() 93 if(indexesLength > IX_TOTAL_SIZE) { in read() 95 } else if(indexesLength > IX_REORDER_CODES_OFFSET) { in read() 96 length = inIndexes[indexesLength - 1]; in read() 111 offset = getIndex(inIndexes, indexesLength, index); in read() 112 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read() 143 offset = getIndex(inIndexes, indexesLength, index); in read() 144 length = getIndex(inIndexes, indexesLength, index + 1) - offset; in read() 163 offset = getIndex(inIndexes, indexesLength, index); in read() [all …]
|
D | collationdatawriter.cpp | 114 int32_t indexesLength; in write() local 130 indexesLength = CollationDataReader::IX_TOTAL_SIZE + 1; in write() 139 indexesLength = CollationDataReader::IX_OPTIONS + 1; // no limit offset here in write() 142 indexesLength = CollationDataReader::IX_REORDER_TABLE_OFFSET + 2; in write() 148 indexesLength = CollationDataReader::IX_CE32S_OFFSET + 2; in write() 150 indexesLength = CollationDataReader::IX_CONTEXTS_OFFSET + 2; in write() 154 indexesLength = CollationDataReader::IX_UNSAFE_BWD_OFFSET + 2; in write() 158 indexesLength = CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET + 2; in write() 193 int32_t sum = headerSize + (indexesLength + reorderCodesLength) * 4; in write() 215 indexes[CollationDataReader::IX_INDEXES_LENGTH] = indexesLength; in write() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationDataReader.java | 111 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in read() local 112 if(indexesLength < 2 || inLength < indexesLength * 4) { in read() 116 inIndexes[0] = indexesLength; in read() 117 for(int i = 1; i < indexesLength && i < inIndexes.length; ++i) { in read() 120 for(int i = indexesLength; i < inIndexes.length; ++i) { in read() 123 if(indexesLength > inIndexes.length) { in read() 124 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4); in read() 137 if(indexesLength > IX_TOTAL_SIZE) { in read() 139 } else if(indexesLength > IX_REORDER_CODES_OFFSET) { in read() 140 length = inIndexes[indexesLength - 1]; in read()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationDataReader.java | 110 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in read() local 111 if(indexesLength < 2 || inLength < indexesLength * 4) { in read() 115 inIndexes[0] = indexesLength; in read() 116 for(int i = 1; i < indexesLength && i < inIndexes.length; ++i) { in read() 119 for(int i = indexesLength; i < inIndexes.length; ++i) { in read() 122 if(indexesLength > inIndexes.length) { in read() 123 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4); in read() 136 if(indexesLength > IX_TOTAL_SIZE) { in read() 138 } else if(indexesLength > IX_REORDER_CODES_OFFSET) { in read() 139 length = inIndexes[indexesLength - 1]; in read()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UPropertyAliases.java | 83 int indexesLength=bytes.getInt()/4; // inIndexes[IX_VALUE_MAPS_OFFSET]/4 in load() local 84 if(indexesLength<8) { // formatVersion 2 initially has 8 indexes in load() 87 int[] inIndexes=new int[indexesLength]; in load() 88 inIndexes[0]=indexesLength*4; in load() 89 for(int i=1; i<indexesLength; ++i) { in load()
|
D | UCharacterProperty.java | 161 int indexesLength = bytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in LayoutProps() local 162 if (indexesLength < 12) { in LayoutProps() 166 int[] inIndexes = new int[indexesLength]; in LayoutProps() 167 inIndexes[0] = indexesLength; in LayoutProps() 168 for (int i = 1; i < indexesLength; ++i) { in LayoutProps() 172 int offset = indexesLength * 4; in LayoutProps()
|
D | Normalizer2Impl.java | 463 int indexesLength=bytes.getInt()/4; // inIndexes[IX_NORM_TRIE_OFFSET]/4 in load() local 464 if(indexesLength<=IX_MIN_LCCC_CP) { in load() 467 int[] inIndexes=new int[indexesLength]; in load() 468 inIndexes[0]=indexesLength*4; in load() 469 for(int i=1; i<indexesLength; ++i) { in load()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UPropertyAliases.java | 82 int indexesLength=bytes.getInt()/4; // inIndexes[IX_VALUE_MAPS_OFFSET]/4 in load() local 83 if(indexesLength<8) { // formatVersion 2 initially has 8 indexes in load() 86 int[] inIndexes=new int[indexesLength]; in load() 87 inIndexes[0]=indexesLength*4; in load() 88 for(int i=1; i<indexesLength; ++i) { in load()
|
D | UCharacterProperty.java | 160 int indexesLength = bytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in LayoutProps() local 161 if (indexesLength < 12) { in LayoutProps() 165 int[] inIndexes = new int[indexesLength]; in LayoutProps() 166 inIndexes[0] = indexesLength; in LayoutProps() 167 for (int i = 1; i < indexesLength; ++i) { in LayoutProps() 171 int offset = indexesLength * 4; in LayoutProps()
|
D | Normalizer2Impl.java | 454 int indexesLength=bytes.getInt()/4; // inIndexes[IX_NORM_TRIE_OFFSET]/4 in load() local 455 if(indexesLength<=IX_MIN_LCCC_CP) { in load() 458 int[] inIndexes=new int[indexesLength]; in load() 459 inIndexes[0]=indexesLength*4; in load() 460 for(int i=1; i<indexesLength; ++i) { in load()
|
/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 324 int32_t indexesLength=indexes[0]=udata_readInt32(ds, inIndexes[0]); in swapFormatVersion4() local 325 if(0<=length && length<(indexesLength*4)) { in swapFormatVersion4() 333 for(int32_t i=1; i<=IX_TOTAL_SIZE && i<indexesLength; ++i) { in swapFormatVersion4() 336 for(int32_t i=indexesLength; i<=IX_TOTAL_SIZE; ++i) { in swapFormatVersion4() 343 if(indexesLength>IX_TOTAL_SIZE) { in swapFormatVersion4() 345 } else if(indexesLength>IX_REORDER_CODES_OFFSET) { in swapFormatVersion4() 346 size=indexes[indexesLength-1]; in swapFormatVersion4() 348 size=indexesLength*4; in swapFormatVersion4() 366 ds->swapArray32(ds, inBytes, indexesLength * 4, outBytes, &errorCode); in swapFormatVersion4()
|
D | loadednormalizer2impl.cpp | 87 int32_t indexesLength=inIndexes[IX_NORM_TRIE_OFFSET]/4; in load() local 88 if(indexesLength<=IX_MIN_LCCC_CP) { in load()
|
D | uprops.cpp | 103 int32_t indexesLength = inIndexes[ULAYOUT_IX_INDEXES_LENGTH]; in ulayout_load() local 104 if (indexesLength < 12) { in ulayout_load() 108 int32_t offset = indexesLength * 4; in ulayout_load()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 690 int32_t indexesLength = udata_readInt32(ds, inIndexes[ULAYOUT_IX_INDEXES_LENGTH]); in ulayout_swap() local 691 if (indexesLength < 12) { in ulayout_swap() 694 indexesLength); in ulayout_swap() 723 int32_t count = indexesLength * 4; in ulayout_swap()
|