Home
last modified time | relevance | path

Searched refs:indexes (Results 1 – 25 of 219) sorted by relevance

123456789

/external/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp55 int32_t indexes[CollationDataReader::IX_TOTAL_SIZE + 1]; in cloneBinary() local
57 *tailoring, *settings, indexes, dest, capacity, in cloneBinary()
78 int32_t indexes[], uint8_t *dest, int32_t capacity, in writeBase() argument
83 indexes, dest, capacity, errorCode); in writeBase()
88 int32_t indexes[], uint8_t *dest, int32_t capacity, in writeTailoring() argument
93 indexes, dest, capacity, errorCode); in writeTailoring()
100 int32_t indexes[], uint8_t *dest, int32_t capacity, in write() argument
213 indexes[CollationDataReader::IX_INDEXES_LENGTH] = indexesLength; in write()
215 indexes[CollationDataReader::IX_OPTIONS] = in write()
217 indexes[CollationDataReader::IX_RESERVED2] = 0; in write()
[all …]
Dcollationdatawriter.h32 int32_t indexes[], uint8_t *dest, int32_t capacity,
36 int32_t indexes[], uint8_t *dest, int32_t capacity,
45 int32_t indexes[], uint8_t *dest, int32_t capacity,
48 static void copyData(const int32_t indexes[], int32_t startIndex,
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.cpp28 CollationInfo::printSizes(int32_t sizeWithHeader, const int32_t indexes[]) { in printSizes() argument
29 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; in printSizes()
34 int32_t length = indexes[CollationDataReader::IX_INDEXES_LENGTH]; in printSizes()
37 length = getDataLength(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET); in printSizes()
42 length = getDataLength(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET); in printSizes()
48 length = getDataLength(indexes, CollationDataReader::IX_TRIE_OFFSET); in printSizes()
53 length = getDataLength(indexes, CollationDataReader::IX_RESERVED8_OFFSET); in printSizes()
58 length = getDataLength(indexes, CollationDataReader::IX_CES_OFFSET); in printSizes()
63 length = getDataLength(indexes, CollationDataReader::IX_RESERVED10_OFFSET); in printSizes()
68 length = getDataLength(indexes, CollationDataReader::IX_CE32S_OFFSET); in printSizes()
[all …]
Dswapimpl.cpp316 int32_t indexes[16]; in ucase_swap() local
363 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ucase_swap()
367 size=indexes[UCASE_IX_LENGTH]; in ucase_swap()
385 count=indexes[UCASE_IX_INDEX_TOP]*4; in ucase_swap()
390 count=indexes[UCASE_IX_TRIE_SIZE]; in ucase_swap()
395 count=(indexes[UCASE_IX_EXC_LENGTH]+indexes[UCASE_IX_UNFOLD_LENGTH])*2; in ucase_swap()
418 int32_t indexes[16]; in ubidi_swap() local
465 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ubidi_swap()
469 size=indexes[UBIDI_IX_LENGTH]; in ubidi_swap()
487 count=indexes[UBIDI_IX_INDEX_TOP]*4; in ubidi_swap()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUBiDiProps.java54 indexes=new int[count]; in readData()
56 indexes[0]=count; in readData()
58 indexes[i]=bytes.getInt(); in readData()
63 int expectedTrieLength=indexes[IX_TRIE_SIZE]; in readData()
72 count=indexes[IX_MIRROR_LENGTH]; in readData()
78 count=indexes[IX_JG_LIMIT]-indexes[IX_JG_START]; in readData()
83 count=indexes[IX_JG_LIMIT2]-indexes[IX_JG_START2]; in readData()
111 length=indexes[IX_MIRROR_LENGTH]; in addPropertyStarts()
118 start=indexes[IX_JG_START]; in addPropertyStarts()
119 limit=indexes[IX_JG_LIMIT]; in addPropertyStarts()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUBiDiProps.java50 indexes=new int[count]; in readData()
52 indexes[0]=count; in readData()
54 indexes[i]=bytes.getInt(); in readData()
59 int expectedTrieLength=indexes[IX_TRIE_SIZE]; in readData()
68 count=indexes[IX_MIRROR_LENGTH]; in readData()
74 count=indexes[IX_JG_LIMIT]-indexes[IX_JG_START]; in readData()
79 count=indexes[IX_JG_LIMIT2]-indexes[IX_JG_START2]; in readData()
107 length=indexes[IX_MIRROR_LENGTH]; in addPropertyStarts()
114 start=indexes[IX_JG_START]; in addPropertyStarts()
115 limit=indexes[IX_JG_LIMIT]; in addPropertyStarts()
[all …]
/external/icu/icu4c/source/common/
Ducol_swp.cpp386 int32_t indexes[IX_TOTAL_SIZE+1]; in swapFormatVersion4() local
397 int32_t indexesLength=indexes[0]=udata_readInt32(ds, inIndexes[0]); in swapFormatVersion4()
407 indexes[i]=udata_readInt32(ds, inIndexes[i]); in swapFormatVersion4()
410 indexes[i]=-1; in swapFormatVersion4()
417 size=indexes[IX_TOTAL_SIZE]; in swapFormatVersion4()
419 size=indexes[indexesLength-1]; in swapFormatVersion4()
449 offset = indexes[index]; in swapFormatVersion4()
450 length = indexes[index + 1] - offset; in swapFormatVersion4()
458 offset = indexes[index]; in swapFormatVersion4()
459 length = indexes[index + 1] - offset; in swapFormatVersion4()
[all …]
Dubidi_props.c32 const int32_t *indexes; member
78 length=bdp->indexes[UBIDI_IX_MIRROR_LENGTH]; in ubidi_addPropertyStarts()
85 start=bdp->indexes[UBIDI_IX_JG_START]; in ubidi_addPropertyStarts()
86 limit=bdp->indexes[UBIDI_IX_JG_LIMIT]; in ubidi_addPropertyStarts()
102 if(limit==bdp->indexes[UBIDI_IX_JG_LIMIT]) { in ubidi_addPropertyStarts()
104 start=bdp->indexes[UBIDI_IX_JG_START2]; in ubidi_addPropertyStarts()
105 limit=bdp->indexes[UBIDI_IX_JG_LIMIT2]; in ubidi_addPropertyStarts()
127 max=bdp->indexes[UBIDI_MAX_VALUES_INDEX]; in ubidi_getMaxValue()
167 length=bdp->indexes[UBIDI_IX_MIRROR_LENGTH]; in getMirror()
214 start=bdp->indexes[UBIDI_IX_JG_START]; in ubidi_getJoiningGroup()
[all …]
Ddictionarydata.cpp167 int32_t indexes[DictionaryData::IX_COUNT]; in udict_swap() local
190 if (length < (int32_t)(sizeof(indexes))) { in udict_swap()
198 indexes[i] = udata_readInt32(ds, inIndexes[i]); in udict_swap()
201 size = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap()
215 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode); in udict_swap()
216 offset = (int32_t)sizeof(indexes); in udict_swap()
217 int32_t trieType = indexes[DictionaryData::IX_TRIE_TYPE] & DictionaryData::TRIE_TYPE_MASK; in udict_swap()
218 int32_t nextOffset = indexes[DictionaryData::IX_RESERVED1_OFFSET]; in udict_swap()
233 nextOffset = indexes[DictionaryData::IX_RESERVED2_OFFSET]; in udict_swap()
235 nextOffset = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap()
Dusprep.cpp262 uprv_memcpy(&profile->indexes, p, sizeof(profile->indexes)); in loadData()
269 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData()
276 normCorrVer = profile->indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION]; in loadData()
284 … ((profile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0) /* normalization turned on*/ in loadData()
345 … newProfile->doNFKC = (UBool)((newProfile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0); in usprep_getProfile()
346 … newProfile->checkBiDi = (UBool)((newProfile->indexes[_SPREP_OPTIONS] & _SPREP_CHECK_BIDI_ON) > 0); in usprep_getProfile()
522 const int32_t* indexes = profile->indexes; in usprep_map() local
551 if(index >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] && in usprep_map()
552 index < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){ in usprep_map()
554 }else if(index >= indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] && in usprep_map()
[all …]
Ducnvsel.cpp308 int32_t indexes[UCNVSEL_INDEX_COUNT] = { in ucnvsel_serialize() local
317 (int32_t)sizeof(indexes) + in ucnvsel_serialize()
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
332 length = (int32_t)sizeof(indexes); in ucnvsel_serialize()
333 uprv_memcpy(p, indexes, length); in ucnvsel_serialize()
412 int32_t indexes[16]; in ucnvsel_swap() local
415 indexes[i] = udata_readInt32(ds, inIndexes[i]); in ucnvsel_swap()
419 int32_t size = indexes[UCNVSEL_INDEX_SIZE]; in ucnvsel_swap()
441 count = indexes[UCNVSEL_INDEX_TRIE_SIZE]; in ucnvsel_swap()
446 count = indexes[UCNVSEL_INDEX_PV_COUNT]*4; in ucnvsel_swap()
[all …]
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp179 memset(indexes, 0, sizeof(indexes)); in Normalizer2DataBuilder()
955 norm16=indexes[Normalizer2Impl::IX_MIN_MAYBE_YES]+offset; in writeNorm16()
962 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO]+offset; in writeNorm16()
966 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO_MAPPINGS_ONLY]+offset; in writeNorm16()
970 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO]+offset; in writeNorm16()
982 if(isDecompNo && start<indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]) { in writeNorm16()
983 indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]=start; in writeNorm16()
985 if(isCompNoMaybe && start<indexes[Normalizer2Impl::IX_MIN_COMP_NO_MAYBE_CP]) { in writeNorm16()
986 indexes[Normalizer2Impl::IX_MIN_COMP_NO_MAYBE_CP]=start; in writeNorm16()
1012 … norm16=(uint16_t)indexes[Normalizer2Impl::IX_MIN_YES_NO]; // Hangul LV/LVT encoded as minYesNo in setHangulData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringPrep.java210 private int[] indexes; field in StringPrep
264 indexes = reader.readIndexes(INDEX_TOP); in StringPrep()
270 mappingData = reader.read(indexes[INDEX_MAPPING_DATA_SIZE]/2); in StringPrep()
276 doNFKC = ((indexes[OPTIONS] & NORMALIZATION_ON) > 0); in StringPrep()
277 checkBiDi = ((indexes[OPTIONS] & CHECK_BIDI_ON) > 0); in StringPrep()
279 normCorrVer = getVersionInfo(indexes[NORM_CORRECTNS_LAST_UNI_VERSION]); in StringPrep()
283 ((indexes[OPTIONS] & NORMALIZATION_ON) > 0) /* normalization turned on*/ in StringPrep()
401 if(index >= indexes[ONE_UCHAR_MAPPING_INDEX_START] && in map()
402 index < indexes[TWO_UCHARS_MAPPING_INDEX_START]){ in map()
404 }else if(index >= indexes[TWO_UCHARS_MAPPING_INDEX_START] && in map()
[all …]
DDictionaryData.java51 int[] indexes = new int[IX_COUNT]; in loadDictionaryFor() local
54 indexes[i] = bytes.getInt(); in loadDictionaryFor()
56 int offset = indexes[IX_STRING_TRIE_OFFSET]; in loadDictionaryFor()
62 int trieType = indexes[IX_TRIE_TYPE] & TRIE_TYPE_MASK; in loadDictionaryFor()
63 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor()
66 int transform = indexes[IX_TRANSFORM]; in loadDictionaryFor()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrep.java225 private int[] indexes; field in StringPrep
280 indexes = reader.readIndexes(INDEX_TOP); in StringPrep()
286 mappingData = reader.read(indexes[INDEX_MAPPING_DATA_SIZE]/2); in StringPrep()
292 doNFKC = ((indexes[OPTIONS] & NORMALIZATION_ON) > 0); in StringPrep()
293 checkBiDi = ((indexes[OPTIONS] & CHECK_BIDI_ON) > 0); in StringPrep()
295 normCorrVer = getVersionInfo(indexes[NORM_CORRECTNS_LAST_UNI_VERSION]); in StringPrep()
299 ((indexes[OPTIONS] & NORMALIZATION_ON) > 0) /* normalization turned on*/ in StringPrep()
418 if(index >= indexes[ONE_UCHAR_MAPPING_INDEX_START] && in map()
419 index < indexes[TWO_UCHARS_MAPPING_INDEX_START]){ in map()
421 }else if(index >= indexes[TWO_UCHARS_MAPPING_INDEX_START] && in map()
[all …]
DDictionaryData.java50 int[] indexes = new int[IX_COUNT]; in loadDictionaryFor() local
53 indexes[i] = bytes.getInt(); in loadDictionaryFor()
55 int offset = indexes[IX_STRING_TRIE_OFFSET]; in loadDictionaryFor()
61 int trieType = indexes[IX_TRIE_TYPE] & TRIE_TYPE_MASK; in loadDictionaryFor()
62 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor()
65 int transform = indexes[IX_TRANSFORM]; in loadDictionaryFor()
/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c117 int32_t indexes[UCNV_EXT_INDEXES_MIN_LENGTH]={ 0 }; in CnvExtWrite() local
146 indexes[UCNV_EXT_INDEXES_LENGTH]=length=UCNV_EXT_INDEXES_MIN_LENGTH; in CnvExtWrite()
149 indexes[UCNV_EXT_TO_U_INDEX]=top; in CnvExtWrite()
150 indexes[UCNV_EXT_TO_U_LENGTH]=length=utm_countItems(extData->toUTable); in CnvExtWrite()
153 indexes[UCNV_EXT_TO_U_UCHARS_INDEX]=top; in CnvExtWrite()
154 indexes[UCNV_EXT_TO_U_UCHARS_LENGTH]=length=utm_countItems(extData->toUUChars); in CnvExtWrite()
157 indexes[UCNV_EXT_FROM_U_UCHARS_INDEX]=top; in CnvExtWrite()
168 indexes[UCNV_EXT_FROM_U_LENGTH]=length; in CnvExtWrite()
170 indexes[UCNV_EXT_FROM_U_VALUES_INDEX]=top; in CnvExtWrite()
173 indexes[UCNV_EXT_FROM_U_BYTES_INDEX]=top; in CnvExtWrite()
[all …]
/external/opencv3/modules/ts/misc/
Dchart.py73 def nextPermutation(indexes, lists, x, y): argument
74 idx = len(indexes)-1
80 v = indexes[idx] + 1
82 indexes[idx] = v;
85 indexes[idx] = 0;
89 def getTestWideName(sname, indexes, lists, x, y): argument
91 for i in range(len(indexes)):
99 name += lists[i][indexes[i]]
187 indexes = [0] * argsnum variable
201 if v[i] != arglists[i][indexes[i]]:
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs571 IList<int> indexes; in fillReverseIndex()
573 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex()
575 indexes = new List<int>(); // no list yet for this token type in fillReverseIndex()
576 indexes.Add( streamIndex ); // not there yet, add in fillReverseIndex()
577 tokenTypeToStreamIndexesMap[tokenType] = indexes; in fillReverseIndex()
581 if ( !indexes.Contains( streamIndex ) ) in fillReverseIndex()
583 indexes.Add( streamIndex ); // not there yet, add in fillReverseIndex()
638 IList<int> indexes; in getNodeIndex()
639 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
644 for ( int i = 0; i < indexes.size(); i++ ) in getNodeIndex()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs648 IList<int> indexes; in fillReverseIndex()
650 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex()
652 indexes = new List<int>(); // no list yet for this token type in fillReverseIndex()
653 indexes.Add( streamIndex ); // not there yet, add in fillReverseIndex()
654 tokenTypeToStreamIndexesMap[tokenType] = indexes; in fillReverseIndex()
658 if ( !indexes.Contains( streamIndex ) ) in fillReverseIndex()
660 indexes.Add( streamIndex ); // not there yet, add in fillReverseIndex()
715 IList<int> indexes; in getNodeIndex()
716 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
721 for ( int i = 0; i < indexes.size(); i++ ) in getNodeIndex()
[all …]
/external/boringssl/src/crypto/bn/
Dctx.c96 unsigned int *indexes; member
203 st->indexes = NULL; in BN_STACK_init()
208 OPENSSL_free(st->indexes); in BN_STACK_finish()
221 memcpy(newitems, st->indexes, st->depth * sizeof(unsigned int)); in BN_STACK_push()
223 OPENSSL_free(st->indexes); in BN_STACK_push()
224 st->indexes = newitems; in BN_STACK_push()
228 st->indexes[(st->depth)++] = idx; in BN_STACK_push()
233 return st->indexes[--(st->depth)]; in BN_STACK_pop()
/external/icu/icu4c/source/tools/gensprep/
Dstore.c151 static int32_t indexes[_SPREP_INDEX_TOP]={ 0 }; variable
186 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION] = univer; in setUnicodeVersionNC()
269 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
343 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex+1; in storeMappingData()
345 indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START] = limitIndex; in storeMappingData()
351 indexes[_SPREP_OPTIONS] = options; in setOptions()
573 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData()
596 indexes[_SPREP_INDEX_TRIE_SIZE]=sprepTrieSize; in generateData()
597 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR; in generateData()
599 udata_writeBlock(pData, indexes, sizeof(indexes)); in generateData()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DFieldProviderTransformer.java84 int indexes[] = new int[names.length]; in generate() local
85 for (int i = 0; i < indexes.length; i++) { in generate()
86 indexes[i] = i; in generate()
98 setByIndex(names, indexes); in generate()
99 getByIndex(names, indexes); in generate()
134 private void setByIndex(final String[] names, final int[] indexes) throws Exception { in setByIndex() argument
139 e.process_switch(indexes, new ProcessSwitchCallback() { in setByIndex()
153 private void getByIndex(final String[] names, final int[] indexes) throws Exception { in getByIndex() argument
157 e.process_switch(indexes, new ProcessSwitchCallback() { in getByIndex()
/external/mesa3d/src/mesa/main/
Dpixeltransfer.c196 GLuint n, GLuint indexes[]) in _mesa_shift_and_offset_ci() argument
203 indexes[i] = (indexes[i] << shift) + offset; in _mesa_shift_and_offset_ci()
209 indexes[i] = (indexes[i] >> shift) + offset; in _mesa_shift_and_offset_ci()
214 indexes[i] = indexes[i] + offset; in _mesa_shift_and_offset_ci()
228 GLuint n, GLuint indexes[]) in _mesa_apply_ci_transfer_ops() argument
231 _mesa_shift_and_offset_ci(ctx, n, indexes); in _mesa_apply_ci_transfer_ops()
237 const GLuint j = indexes[i] & mask; in _mesa_apply_ci_transfer_ops()
238 indexes[i] = F_TO_I(ctx->PixelMaps.ItoI.Map[j]); in _mesa_apply_ci_transfer_ops()
/external/icu/icu4c/source/test/intltest/
Dtestidn.cpp68 static const int32_t *indexes = NULL; variable
94 indexes = profile->indexes; in testData()
348 if(index >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] && in compareMapping()
349 index < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
351 }else if(index >= indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] && in compareMapping()
352 index < indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
354 }else if(index >= indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] && in compareMapping()
355 index < indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START]){ in compareMapping()

123456789