Home
last modified time | relevance | path

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

1234567

/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/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()
77 count=indexes[IX_JG_LIMIT]-indexes[IX_JG_START]; in readData()
84 count=indexes[IX_JG_LIMIT2]-indexes[IX_JG_START2]; in readData()
114 length=indexes[IX_MIRROR_LENGTH]; in addPropertyStarts()
121 start=indexes[IX_JG_START]; in addPropertyStarts()
122 limit=indexes[IX_JG_LIMIT]; in addPropertyStarts()
[all …]
/external/lldb/source/Symbol/
DSymtab.cpp162 Symtab::Dump(Stream *s, Target *target, std::vector<uint32_t>& indexes) const in Dump()
169 s->Printf("Symtab %lu symbol indexes (%lu symbols total):\n", indexes.size(), m_symbols.size()); in Dump()
172 if (!indexes.empty()) in Dump()
175 std::vector<uint32_t>::const_iterator end = indexes.end(); in Dump()
177 for (pos = indexes.begin(); pos != end; ++pos) in Dump()
444 Symtab::AppendSymbolNamesToMap (const IndexCollection &indexes, in AppendSymbolNamesToMap() argument
456 const size_t num_indexes = indexes.size(); in AppendSymbolNamesToMap()
459 entry.value = indexes[i]; in AppendSymbolNamesToMap()
482 Symtab::AppendSymbolIndexesWithType (SymbolType symbol_type, std::vector<uint32_t>& indexes, uint32… in AppendSymbolIndexesWithType() argument
486 uint32_t prev_size = indexes.size(); in AppendSymbolIndexesWithType()
[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/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()
285 mappingData = new char[indexes[INDEX_MAPPING_DATA_SIZE]/2]; in StringPrep()
293 doNFKC = ((indexes[OPTIONS] & NORMALIZATION_ON) > 0); in StringPrep()
294 checkBiDi = ((indexes[OPTIONS] & CHECK_BIDI_ON) > 0); in StringPrep()
296 normCorrVer = getVersionInfo(indexes[NORM_CORRECTNS_LAST_UNI_VERSION]); in StringPrep()
300 ((indexes[OPTIONS] & NORMALIZATION_ON) > 0) /* normalization turned on*/ in StringPrep()
419 if(index >= indexes[ONE_UCHAR_MAPPING_INDEX_START] && in map()
420 index < indexes[TWO_UCHARS_MAPPING_INDEX_START]){ in map()
422 }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/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/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/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/lldb/include/lldb/Symbol/
DSymtab.h50 void Dump(Stream *s, Target *target, std::vector<uint32_t>& indexes) const;
60 …bolIndexesWithType (lldb::SymbolType symbol_type, std::vector<uint32_t>& indexes, uint32_t start_i…
61 …db::SymbolType symbol_type, uint32_t flags_value, std::vector<uint32_t>& indexes, uint32_t start_i…
67 …ype (const RegularExpression &regex, lldb::SymbolType symbol_type, std::vector<uint32_t>& indexes);
68 …ymbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& indexes);
73 …FindSymbolContainingFileAddress (lldb::addr_t file_addr, const uint32_t* indexes, uint32_t num_ind…
78 …void SortSymbolIndexesByValue (std::vector<uint32_t>& indexes, bool remove_duplicates) cons…
93 void AppendSymbolNamesToMap (const IndexCollection &indexes,
/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()
/external/squashfs-tools/squashfs-tools/
Dunsquash-4.c35 int indexes = SQUASHFS_FRAGMENT_INDEXES(sBlk.s.fragments); in read_fragment_table_4() local
36 long long fragment_table_index[indexes]; in read_fragment_table_4()
39 "from 0x%llx\n", sBlk.s.fragments, indexes, in read_fragment_table_4()
60 SQUASHFS_INSWAP_FRAGMENT_INDEXES(fragment_table_index, indexes); in read_fragment_table_4()
62 for(i = 0; i < indexes; i++) { in read_fragment_table_4()
63 int expected = (i + 1) != indexes ? SQUASHFS_METADATA_SIZE : in read_fragment_table_4()
358 int indexes = SQUASHFS_ID_BLOCKS(sBlk.s.no_ids); in read_uids_guids_4() local
359 long long id_index_table[indexes]; in read_uids_guids_4()
375 SQUASHFS_INSWAP_ID_BLOCKS(id_index_table, indexes); in read_uids_guids_4()
377 for(i = 0; i < indexes; i++) { in read_uids_guids_4()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dsprpdata.c154 int32_t* indexes = data->indexes; in compareMapping() local
173 if(idx >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] && in compareMapping()
174 idx < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
176 }else if(idx >= indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] && in compareMapping()
177 idx < indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START]){ in compareMapping()
179 }else if(idx >= indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] && in compareMapping()
180 idx < indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START]){ in compareMapping()

1234567