Home
last modified time | relevance | path

Searched full:indexes (Results 1 – 25 of 877) sorted by relevance

12345678910>>...36

/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
109 // the indexes length and writing offsets. in write()
111 // so the indexes length must be at least index-of-start-offset + 2. in write()
126 // For the root collator, we write an even number of indexes in write()
[all …]
/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()
35 printf(" indexes: %6ld *4 = %6ld\n", (long)length, (long)length * 4); 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()
[all …]
Dswapimpl.cpp106 // formatVersion 2 initially has indexes[8], 32 bytes. in upname_swap()
129 // Swap the indexes[] and the valueMaps[]. in upname_swap()
193 /* the properties file must contain at least the indexes array */ in uprops_swap()
201 /* read the indexes */ in uprops_swap()
209 * indexes[] constants are in uprops.h in uprops_swap()
236 /* swap the indexes[16] */ in uprops_swap()
316 int32_t indexes[16]; in ucase_swap() local
361 /* read the first 16 indexes (ICU 3.2/format version 1: UCASE_IX_TOP==16, might grow) */ in ucase_swap()
363 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ucase_swap()
367 size=indexes[UCASE_IX_LENGTH]; in ucase_swap()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUBiDiProps.java44 // read indexes[] in readData()
48 throw new IOException("indexes[0] too small in "+DATA_FILE_NAME); in readData()
50 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()
[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/tools/gensprep/
Dstore.c60 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file
62 * UTrie stringPrepTrie; -- size in bytes=indexes[_SPREP_INDEX_TRIE_SIZE]
65 …* size in bytes = indexes[_SPREP_INDEX_MAPPING_DAT…
67 * The indexes array contains the following values:
68 * indexes[_SPREP_INDEX_TRIE_SIZE] -- The size of the StringPrep trie in bytes
69 * indexes[_SPREP_INDEX_MAPPING_DATA_SIZE] -- The size of the mappingTable in bytes
70 …* indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION] -- The index of Unicode version of last entry …
71 …* indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] -- The starting index of 1 UChar mapping inde…
72 …* indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] -- The starting index of 2 UChars mapping inde…
73 …* indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] -- The starting index of 3 UChars mapping inde…
[all …]
/external/icu/icu4c/source/common/
Dunormimp.h88 /* canonStartSets[0..31] contains indexes for what is in the array */
107 /* 14 bit indexes to canonical USerializedSets */
114 /* indexes[] value names */
186 * int32_t indexes[_NORM_INDEX_TOP]; -- _NORM_INDEX_TOP=32, see enum in this file
188 * UTrie normTrie; -- size in bytes=indexes[_NORM_INDEX_TRIE_SIZE]
190 * uint16_t extraData[extraDataTop]; -- extraDataTop=indexes[_NORM_INDEX_UCHAR_COUNT]
194 …* uint16_t combiningTable[combiningTableTop]; -- combiningTableTop=indexes[_NORM_INDEX_COMBINE_DA…
198 * UTrie fcdTrie; -- size in bytes=indexes[_NORM_INDEX_FCD_TRIE_SIZE]
200 * UTrie auxTrie; -- size in bytes=indexes[_NORM_INDEX_AUX_TRIE_SIZE]
202 …* uint16_t canonStartSets[canonStartSetsTop] -- canonStartSetsTop=indexes[_NORM_INDEX_CANON_SET_…
[all …]
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()
412 inIndexes=NULL; // Make sure we do not accidentally use these instead of indexes[]. in swapFormatVersion4()
417 size=indexes[IX_TOTAL_SIZE]; in swapFormatVersion4()
419 size=indexes[indexesLength-1]; in swapFormatVersion4()
438 // Swap the int32_t indexes[]. in swapFormatVersion4()
442 // Here we use indexes[] not inIndexes[] because in swapFormatVersion4()
444 int32_t index; // one of the indexes[] slots in swapFormatVersion4()
[all …]
Ducnv_ext.h97 * int32_t indexes[>=32];
99 * Array of indexes and lengths etc. The length of the array is at least 32.
100 * The actual length is stored in indexes[0] to be forward compatible.
102 * Each index to another array is the number of bytes from indexes[].
105 * Some of the structures may not be present, in which case their indexes
108 * Usage of indexes[i]:
109 * [0] length of indexes[]
128 * [13] index of fromUStage3[] (array of uint16_t indexes into fromUStage3b[])
152 * [>31] reserved; there are indexes[0] indexes
179 * and match the next unit; (value indexes toUTable[value])
[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 …]
Ducnvsel.cpp272 * int32_t indexes[UCNVSEL_INDEX_COUNT]; // see index entry constants above
273 * serialized UTrie2; // indexes[UCNVSEL_INDEX_TRIE_SIZE] bytes
274 * uint32_t pv[indexes[UCNVSEL_INDEX_PV_COUNT]]; // bit vectors
275 * char* encodingNames[indexes[UCNVSEL_INDEX_NAMES_LENGTH]]; // NUL-terminated strings + padding
308 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()
410 /* read the indexes */ in ucnvsel_swap()
[all …]
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 …]
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()
Duresdata.h85 /* indexes[] value names; indexes are generally 32-bit (Resource) indexes */
87 URES_INDEX_LENGTH, /* [0] contains URES_INDEX_TOP==the length of indexes[];
88 * formatVersion==1: all bits contain the length of indexes[]
91 * only bits 7..0 contain the length of indexes[],
107 * Nofallback attribute, attribute bit 0 in indexes[URES_INDEX_ATTRIBUTES].
113 * If indexes[] is missing or too short, then the attribute cannot be determined
151 * The using-bundle's and the pool-bundle's indexes[URES_INDEX_POOL_CHECKSUM] values
153 * Two bits in indexes[URES_INDEX_ATTRIBUTES] indicate whether a resource bundle
175 * int32_t indexes[indexes[0]]; -- array of indexes for friendly
180 * (minus the space for root and indexes[]),
[all …]
/external/llvm/lib/CodeGen/
DLiveRangeCalc.cpp35 Indexes = SI; in reset()
43 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument
47 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef()
54 assert(MRI && Indexes && "call reset() first"); in calculate()
94 createDeadDef(*Indexes, *Alloc, *CommonRange, MO); in calculate()
101 createDeadDef(*Indexes, *Alloc, *NewRange, MO); in calculate()
108 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
123 LI.constructMainRangeFromSubranges(*Indexes, *Alloc); in calculate()
132 assert(MRI && Indexes && "call reset() first"); in createDeadDefs()
137 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
[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/
DDictionaryData.java50 int[] indexes = new int[IX_COUNT]; in loadDictionaryFor() local
51 // TODO: read indexes[IX_STRING_TRIE_OFFSET] first, then read a variable-length indexes[] in loadDictionaryFor()
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/mesa3d/src/mesa/main/
Dpixeltransfer.c104 * Map color indexes to float rgba values.
196 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()
223 * of color indexes;
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/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-bind.cpp207 template<int I, int... Indexes, typename T, typename... Types>
208 struct make_indexes_impl<I, int_tuple<Indexes...>, T, Types...> {
209 typedef typename make_indexes_impl<I+1, int_tuple<Indexes..., I>, Types...>::type type;
212 template<int I, int... Indexes>
213 struct make_indexes_impl<I, int_tuple<Indexes...> > {
214 typedef int_tuple<Indexes...> type;
232 typedef typename make_indexes<BoundArgs...>::type indexes; typedef in bound_functor
287 template<typename F, int... Indexes, typename... Args>
289 unwrap_and_forward(F& f, int_tuple<Indexes...>, const tuple<Args&...>& args) { in unwrap_and_forward() argument
290 return f(get<Indexes>(args)...); in unwrap_and_forward()
[all …]
/external/icu/icu4c/source/tools/makeconv/
Dgencnvex.c57 …6_t stage3[0x10000<<UCNV_EXT_STAGE_2_LEFT_SHIFT]; /* 0x10000 because of 16-bit stage 2/3 indexes */
117 int32_t indexes[UCNV_EXT_INDEXES_MIN_LENGTH]={ 0 }; in CnvExtWrite() local
143 /* fill indexes[] - offsets/indexes are in units of the target array */ in CnvExtWrite()
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()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java50 * The extension data indexes have a separate field with the unicodeMask flags.
103 * -- SBCS: pure indexes
104 * uint16_t stage 2 indexes[?];
106 * -- DBCS, MBCS, EBCDIC_STATEFUL, ...: roundtrip flags and indexes
107 * uint32_t stage 2 flags and indexes[?];
123 * int32_t indexes[>=32]; ...
193 * int32_t indexes[>=32];
195 * Array of indexes and lengths etc. The length of the array is at least 32.
196 * The actual length is stored in indexes[0] to be forward compatible.
198 * Each index to another array is the number of bytes from indexes[].
[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/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()
38 TRACE("read_fragment_table: %d fragments, reading %d fragment 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()
[all …]
/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/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h59 SlotIndexes* Indexes; variable
79 /// MI = Indexes->getInstructionFromIndex(RegMaskSlot[N]);
188 return Indexes; in getSlotIndexes()
198 return !Indexes->hasIndex(Instr); in isNotInMIMap()
203 return Indexes->getInstructionIndex(instr); in getInstructionIndex()
208 return Indexes->getInstructionFromIndex(index); in getInstructionFromIndex()
213 return Indexes->getMBBStartIdx(mbb); in getMBBStartIdx()
218 return Indexes->getMBBEndIdx(mbb); in getMBBEndIdx()
232 return Indexes->getMBBFromIndex(index); in getMBBFromIndex()
236 Indexes->insertMBBInMaps(MBB); in insertMBBInMaps()
[all …]

12345678910>>...36