/external/icu/icu4c/source/i18n/ |
D | collationdatawriter.cpp | 57 int32_t indexes[CollationDataReader::IX_TOTAL_SIZE + 1]; in cloneBinary() local 59 *tailoring, *settings, indexes, dest, capacity, in cloneBinary() 80 int32_t indexes[], uint8_t *dest, int32_t capacity, in writeBase() argument 85 indexes, dest, capacity, errorCode); in writeBase() 90 int32_t indexes[], uint8_t *dest, int32_t capacity, in writeTailoring() argument 95 indexes, dest, capacity, errorCode); in writeTailoring() 102 int32_t indexes[], uint8_t *dest, int32_t capacity, in write() argument 111 // the indexes length and writing offsets. in write() 113 // so the indexes length must be at least index-of-start-offset + 2. in write() 128 // For the root collator, we write an even number of indexes in write() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | collationinfo.cpp | 30 CollationInfo::printSizes(int32_t sizeWithHeader, const int32_t indexes[]) { in printSizes() argument 31 int32_t totalSize = indexes[CollationDataReader::IX_TOTAL_SIZE]; in printSizes() 36 int32_t length = indexes[CollationDataReader::IX_INDEXES_LENGTH]; in printSizes() 37 printf(" indexes: %6ld *4 = %6ld\n", (long)length, (long)length * 4); in printSizes() 39 length = getDataLength(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET); in printSizes() 44 length = getDataLength(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET); in printSizes() 50 length = getDataLength(indexes, CollationDataReader::IX_TRIE_OFFSET); in printSizes() 55 length = getDataLength(indexes, CollationDataReader::IX_RESERVED8_OFFSET); in printSizes() 60 length = getDataLength(indexes, CollationDataReader::IX_CES_OFFSET); in printSizes() 65 length = getDataLength(indexes, CollationDataReader::IX_RESERVED10_OFFSET); in printSizes() [all …]
|
D | swapimpl.cpp | 109 // formatVersion 2 initially has indexes[8], 32 bytes. in upname_swap() 132 // Swap the indexes[] and the valueMaps[]. in upname_swap() 196 /* the properties file must contain at least the indexes array */ in uprops_swap() 204 /* read the indexes */ in uprops_swap() 212 * indexes[] constants are in uprops.h in uprops_swap() 239 /* swap the indexes[16] */ in uprops_swap() 319 int32_t indexes[16]; in ucase_swap() local 364 /* read the first 16 indexes (ICU 3.2/format version 1: UCASE_IX_TOP==16, might grow) */ in ucase_swap() 366 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ucase_swap() 370 size=indexes[UCASE_IX_LENGTH]; in ucase_swap() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UBiDiProps.java | 50 // read indexes[] in readData() 54 throw new IOException("indexes[0] too small in "+DATA_FILE_NAME); in readData() 56 indexes=new int[count]; in readData() 58 indexes[0]=count; in readData() 60 indexes[i]=bytes.getInt(); in readData() 65 int expectedTrieLength=indexes[IX_TRIE_SIZE]; in readData() 74 count=indexes[IX_MIRROR_LENGTH]; in readData() 80 count=indexes[IX_JG_LIMIT]-indexes[IX_JG_START]; in readData() 85 count=indexes[IX_JG_LIMIT2]-indexes[IX_JG_START2]; in readData() 114 length=indexes[IX_MIRROR_LENGTH]; in addPropertyStarts() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UBiDiProps.java | 46 // read indexes[] in readData() 50 throw new IOException("indexes[0] too small in "+DATA_FILE_NAME); in readData() 52 indexes=new int[count]; in readData() 54 indexes[0]=count; in readData() 56 indexes[i]=bytes.getInt(); in readData() 61 int expectedTrieLength=indexes[IX_TRIE_SIZE]; in readData() 70 count=indexes[IX_MIRROR_LENGTH]; in readData() 76 count=indexes[IX_JG_LIMIT]-indexes[IX_JG_START]; in readData() 81 count=indexes[IX_JG_LIMIT2]-indexes[IX_JG_START2]; in readData() 110 length=indexes[IX_MIRROR_LENGTH]; in addPropertyStarts() [all …]
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | n2builder.cpp | 100 memset(indexes, 0, sizeof(indexes)); in Normalizer2DataBuilder() 441 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO]+norm.offset*2; in writeNorm16() 444 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO_MAPPINGS_ONLY]+norm.offset*2; in writeNorm16() 447 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO]+norm.offset*2; in writeNorm16() 450 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_COMP_BOUNDARY_BEFORE]+norm.offset*2; in writeNorm16() 453 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_COMP_NO_MAYBE_CC]+norm.offset*2; in writeNorm16() 456 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_EMPTY]+norm.offset*2; in writeNorm16() 473 norm16=indexes[Normalizer2Impl::IX_MIN_MAYBE_YES]+norm.offset*2; in writeNorm16() 496 if(isDecompNo && start<indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]) { in writeNorm16() 497 indexes[Normalizer2Impl::IX_MIN_DECOMP_NO_CP]=start; in writeNorm16() [all …]
|
/external/icu/icu4c/source/tools/gensprep/ |
D | store.c | 62 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file 64 * UTrie stringPrepTrie; -- size in bytes=indexes[_SPREP_INDEX_TRIE_SIZE] 67 …* size in bytes = indexes[_SPREP_INDEX_MAPPING_DAT… 69 * The indexes array contains the following values: 70 * indexes[_SPREP_INDEX_TRIE_SIZE] -- The size of the StringPrep trie in bytes 71 * indexes[_SPREP_INDEX_MAPPING_DATA_SIZE] -- The size of the mappingTable in bytes 72 …* indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION] -- The index of Unicode version of last entry … 73 …* indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] -- The starting index of 1 UChar mapping inde… 74 …* indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] -- The starting index of 2 UChars mapping inde… 75 …* indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] -- The starting index of 3 UChars mapping inde… [all …]
|
/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 313 int32_t indexes[IX_TOTAL_SIZE+1]; in swapFormatVersion4() local 324 int32_t indexesLength=indexes[0]=udata_readInt32(ds, inIndexes[0]); in swapFormatVersion4() 334 indexes[i]=udata_readInt32(ds, inIndexes[i]); in swapFormatVersion4() 337 indexes[i]=-1; in swapFormatVersion4() 339 inIndexes=NULL; // Make sure we do not accidentally use these instead of indexes[]. in swapFormatVersion4() 344 size=indexes[IX_TOTAL_SIZE]; in swapFormatVersion4() 346 size=indexes[indexesLength-1]; in swapFormatVersion4() 365 // Swap the int32_t indexes[]. in swapFormatVersion4() 369 // Here we use indexes[] not inIndexes[] because in swapFormatVersion4() 371 int32_t index; // one of the indexes[] slots in swapFormatVersion4() [all …]
|
D | unormimp.h | 90 /* canonStartSets[0..31] contains indexes for what is in the array */ 109 /* 14 bit indexes to canonical USerializedSets */ 116 /* indexes[] value names */ 188 * int32_t indexes[_NORM_INDEX_TOP]; -- _NORM_INDEX_TOP=32, see enum in this file 190 * UTrie normTrie; -- size in bytes=indexes[_NORM_INDEX_TRIE_SIZE] 192 * uint16_t extraData[extraDataTop]; -- extraDataTop=indexes[_NORM_INDEX_UCHAR_COUNT] 196 …* uint16_t combiningTable[combiningTableTop]; -- combiningTableTop=indexes[_NORM_INDEX_COMBINE_DA… 200 * UTrie fcdTrie; -- size in bytes=indexes[_NORM_INDEX_FCD_TRIE_SIZE] 202 * UTrie auxTrie; -- size in bytes=indexes[_NORM_INDEX_AUX_TRIE_SIZE] 204 …* uint16_t canonStartSets[canonStartSetsTop] -- canonStartSetsTop=indexes[_NORM_INDEX_CANON_SET_… [all …]
|
D | ucnv_ext.h | 99 * int32_t indexes[>=32]; 101 * Array of indexes and lengths etc. The length of the array is at least 32. 102 * The actual length is stored in indexes[0] to be forward compatible. 104 * Each index to another array is the number of bytes from indexes[]. 107 * Some of the structures may not be present, in which case their indexes 110 * Usage of indexes[i]: 111 * [0] length of indexes[] 130 * [13] index of fromUStage3[] (array of uint16_t indexes into fromUStage3b[]) 154 * [>31] reserved; there are indexes[0] indexes 181 * and match the next unit; (value indexes toUTable[value]) [all …]
|
D | ubidi_props.cpp | 34 const int32_t *indexes; member 75 length=ubidi_props_singleton.indexes[UBIDI_IX_MIRROR_LENGTH]; in ubidi_addPropertyStarts() 82 start=ubidi_props_singleton.indexes[UBIDI_IX_JG_START]; in ubidi_addPropertyStarts() 83 limit=ubidi_props_singleton.indexes[UBIDI_IX_JG_LIMIT]; in ubidi_addPropertyStarts() 99 if(limit==ubidi_props_singleton.indexes[UBIDI_IX_JG_LIMIT]) { in ubidi_addPropertyStarts() 101 start=ubidi_props_singleton.indexes[UBIDI_IX_JG_START2]; in ubidi_addPropertyStarts() 102 limit=ubidi_props_singleton.indexes[UBIDI_IX_JG_LIMIT2]; in ubidi_addPropertyStarts() 118 int32_t max=ubidi_props_singleton.indexes[UBIDI_MAX_VALUES_INDEX]; in ubidi_getMaxValue() 158 length=ubidi_props_singleton.indexes[UBIDI_IX_MIRROR_LENGTH]; in getMirror() 205 start=ubidi_props_singleton.indexes[UBIDI_IX_JG_START]; in ubidi_getJoiningGroup() [all …]
|
D | ucnvsel.cpp | 275 * int32_t indexes[UCNVSEL_INDEX_COUNT]; // see index entry constants above 276 * serialized UTrie2; // indexes[UCNVSEL_INDEX_TRIE_SIZE] bytes 277 * uint32_t pv[indexes[UCNVSEL_INDEX_PV_COUNT]]; // bit vectors 278 * char* encodingNames[indexes[UCNVSEL_INDEX_NAMES_LENGTH]]; // NUL-terminated strings + padding 311 int32_t indexes[UCNVSEL_INDEX_COUNT] = { in ucnvsel_serialize() local 320 (int32_t)sizeof(indexes) + in ucnvsel_serialize() 324 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize() 335 length = (int32_t)sizeof(indexes); in ucnvsel_serialize() 336 uprv_memcpy(p, indexes, length); in ucnvsel_serialize() 413 /* read the indexes */ in ucnvsel_swap() [all …]
|
D | usprep.cpp | 266 uprv_memcpy(&profile->indexes, p, sizeof(profile->indexes)); in loadData() 273 …profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TR… in loadData() 280 normCorrVer = profile->indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION]; in loadData() 288 … ((profile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0) /* normalization turned on*/ in loadData() 349 … newProfile->doNFKC = (UBool)((newProfile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0); in usprep_getProfile() 350 … 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 …]
|
D | dictionarydata.cpp | 169 int32_t indexes[DictionaryData::IX_COUNT]; in udict_swap() local 192 if (length < (int32_t)(sizeof(indexes))) { in udict_swap() 200 indexes[i] = udata_readInt32(ds, inIndexes[i]); in udict_swap() 203 size = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap() 217 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode); in udict_swap() 218 offset = (int32_t)sizeof(indexes); in udict_swap() 219 int32_t trieType = indexes[DictionaryData::IX_TRIE_TYPE] & DictionaryData::TRIE_TYPE_MASK; in udict_swap() 220 int32_t nextOffset = indexes[DictionaryData::IX_RESERVED1_OFFSET]; in udict_swap() 235 nextOffset = indexes[DictionaryData::IX_RESERVED2_OFFSET]; in udict_swap() 237 nextOffset = indexes[DictionaryData::IX_TOTAL_SIZE]; in udict_swap()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 30 void LiveRangeCalc::updateLiveIns(VNInfo *OverrideVNI, SlotIndexes *Indexes) { in updateLiveIns() argument 41 tie(Start, End) = Indexes->getMBBRange(MBB); in updateLiveIns() 59 SlotIndexes *Indexes, in extend() argument 64 assert(Indexes && "Missing SlotIndexes"); in extend() 67 MachineBasicBlock *KillMBB = Indexes->getMBBFromIndex(Kill.getPrevSlot()); in extend() 71 if (LI->extendInBlock(Indexes->getMBBStartIdx(KillMBB), Kill)) in extend() 78 VNInfo *VNI = findReachingDefs(LI, KillMBB, Kill, Indexes, DomTree); in extend() 82 updateSSA(Indexes, DomTree, Alloc); in extend() 84 updateLiveIns(VNI, Indexes); in extend() 91 void LiveRangeCalc::calculateValues(SlotIndexes *Indexes, in calculateValues() argument [all …]
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
D | CompoundTopLevelIndex.java | 32 private final ImmutableList<TopLevelIndex> indexes; field in CompoundTopLevelIndex 34 private CompoundTopLevelIndex(ImmutableList<TopLevelIndex> indexes) { in CompoundTopLevelIndex() argument 35 this.indexes = checkNotNull(indexes); in CompoundTopLevelIndex() 39 public static CompoundTopLevelIndex of(TopLevelIndex... indexes) { in of() argument 40 return new CompoundTopLevelIndex(ImmutableList.copyOf(indexes)); in of() 49 for (TopLevelIndex index : indexes) { 69 for (TopLevelIndex index : indexes) { in lookupPackage()
|
/external/llvm/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 35 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() 148 assert(MRI && Indexes && "call reset() first"); in createDeadDefs() 153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs() 191 UseIdx = Indexes->getMBBEndIdx(MI->getOperand(OpNo+1).getMBB()); in extendToUses() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | LiveRangeCalc.cpp | 58 Indexes = SI; in reset() 65 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument 69 Indexes.getInstructionIndex(MI).getRegSlot(MO.isEarlyClobber()); in createDeadDef() 76 assert(MRI && Indexes && "call reset() first"); in calculate() 101 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate() 108 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate() 120 SubLRC.reset(MF, Indexes, DomTree, Alloc); in calculate() 148 assert(MRI && Indexes && "call reset() first"); in createDeadDefs() 153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs() 160 LI->computeSubRangeUndefs(Undefs, Mask, *MRI, *Indexes); in extendToUses() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | pack.c | 255 extract_uint_indexes(GLuint n, GLuint indexes[], in extract_uint_indexes() argument 282 indexes[i] = (*ubsrc & mask) ? 1 : 0; in extract_uint_indexes() 296 indexes[i] = (*ubsrc & mask) ? 1 : 0; in extract_uint_indexes() 313 indexes[i] = s[i]; in extract_uint_indexes() 321 indexes[i] = s[i]; in extract_uint_indexes() 332 indexes[i] = value; in extract_uint_indexes() 337 indexes[i] = s[i]; in extract_uint_indexes() 349 indexes[i] = value; in extract_uint_indexes() 354 indexes[i] = s[i]; in extract_uint_indexes() 366 indexes[i] = value; in extract_uint_indexes() [all …]
|
D | pixeltransfer.c | 106 * Map color indexes to float rgba values. 198 GLuint n, GLuint indexes[]) in _mesa_shift_and_offset_ci() argument 205 indexes[i] = (indexes[i] << shift) + offset; in _mesa_shift_and_offset_ci() 211 indexes[i] = (indexes[i] >> shift) + offset; in _mesa_shift_and_offset_ci() 216 indexes[i] = indexes[i] + offset; in _mesa_shift_and_offset_ci() 225 * of color indexes; 230 GLuint n, GLuint indexes[]) in _mesa_apply_ci_transfer_ops() argument 233 _mesa_shift_and_offset_ci(ctx, n, indexes); in _mesa_apply_ci_transfer_ops() 239 const GLuint j = indexes[i] & mask; in _mesa_apply_ci_transfer_ops() 240 indexes[i] = _mesa_lroundevenf(ctx->PixelMaps.ItoI.Map[j]); in _mesa_apply_ci_transfer_ops()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DictionaryData.java | 52 int[] indexes = new int[IX_COUNT]; in loadDictionaryFor() local 53 // TODO: read indexes[IX_STRING_TRIE_OFFSET] first, then read a variable-length indexes[] in loadDictionaryFor() 55 indexes[i] = bytes.getInt(); in loadDictionaryFor() 57 int offset = indexes[IX_STRING_TRIE_OFFSET]; in loadDictionaryFor() 63 int trieType = indexes[IX_TRIE_TYPE] & TRIE_TYPE_MASK; in loadDictionaryFor() 64 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() 67 int transform = indexes[IX_TRANSFORM]; in loadDictionaryFor()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DictionaryData.java | 53 int[] indexes = new int[IX_COUNT]; in loadDictionaryFor() local 54 // TODO: read indexes[IX_STRING_TRIE_OFFSET] first, then read a variable-length indexes[] in loadDictionaryFor() 56 indexes[i] = bytes.getInt(); in loadDictionaryFor() 58 int offset = indexes[IX_STRING_TRIE_OFFSET]; in loadDictionaryFor() 64 int trieType = indexes[IX_TRIE_TYPE] & TRIE_TYPE_MASK; in loadDictionaryFor() 65 int totalSize = indexes[IX_TOTAL_SIZE] - offset; in loadDictionaryFor() 68 int transform = indexes[IX_TRANSFORM]; in loadDictionaryFor()
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | example-bind.cpp | 207 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/ |
D | gencnvex.c | 59 …6_t stage3[0x10000<<UCNV_EXT_STAGE_2_LEFT_SHIFT]; /* 0x10000 because of 16-bit stage 2/3 indexes */ 119 int32_t indexes[UCNV_EXT_INDEXES_MIN_LENGTH]={ 0 }; in CnvExtWrite() local 145 /* fill indexes[] - offsets/indexes are in units of the target array */ in CnvExtWrite() 148 indexes[UCNV_EXT_INDEXES_LENGTH]=length=UCNV_EXT_INDEXES_MIN_LENGTH; in CnvExtWrite() 151 indexes[UCNV_EXT_TO_U_INDEX]=top; in CnvExtWrite() 152 indexes[UCNV_EXT_TO_U_LENGTH]=length=utm_countItems(extData->toUTable); in CnvExtWrite() 155 indexes[UCNV_EXT_TO_U_UCHARS_INDEX]=top; in CnvExtWrite() 156 indexes[UCNV_EXT_TO_U_UCHARS_LENGTH]=length=utm_countItems(extData->toUUChars); in CnvExtWrite() 159 indexes[UCNV_EXT_FROM_U_UCHARS_INDEX]=top; in CnvExtWrite() 170 indexes[UCNV_EXT_FROM_U_LENGTH]=length; in CnvExtWrite() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | UConverterDataReader.java | 52 * The extension data indexes have a separate field with the unicodeMask flags. 105 * -- SBCS: pure indexes 106 * uint16_t stage 2 indexes[?]; 108 * -- DBCS, MBCS, EBCDIC_STATEFUL, ...: roundtrip flags and indexes 109 * uint32_t stage 2 flags and indexes[?]; 125 * int32_t indexes[>=32]; ... 195 * int32_t indexes[>=32]; 197 * Array of indexes and lengths etc. The length of the array is at least 32. 198 * The actual length is stored in indexes[0] to be forward compatible. 200 * Each index to another array is the number of bytes from indexes[]. [all …]
|