Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 46) sorted by relevance

12

/dalvik/vm/compiler/
DUtility.cpp136 GrowableListIterator *iterator) in dvmGrowableListIteratorInit() argument
138 iterator->list = gList; in dvmGrowableListIteratorInit()
139 iterator->idx = 0; in dvmGrowableListIteratorInit()
140 iterator->size = gList->numUsed; in dvmGrowableListIteratorInit()
143 intptr_t dvmGrowableListIteratorNext(GrowableListIterator *iterator) in dvmGrowableListIteratorNext() argument
145 assert(iterator->size == iterator->list->numUsed); in dvmGrowableListIteratorNext()
146 if (iterator->idx == iterator->size) return 0; in dvmGrowableListIteratorNext()
147 return iterator->list->elemList[iterator->idx++]; in dvmGrowableListIteratorNext()
179 GrowableListIterator iterator; in dvmCompilerDumpCompilationUnit() local
181 dvmGrowableListIteratorInit(&cUnit->blockList, &iterator); in dvmCompilerDumpCompilationUnit()
[all …]
DSSATransformation.cpp35 GrowableListIterator iterator; in recordDFSPreOrder() local
37 &iterator); in recordDFSPreOrder()
40 (SuccessorBlockInfo *) dvmGrowableListIteratorNext(&iterator); in recordDFSPreOrder()
76 BitVectorIterator iterator; in fillDefBlockMatrix() local
78 dvmBitVectorIteratorInit(bb->dataFlowInfo->defV, &iterator); in fillDefBlockMatrix()
80 int idx = dvmBitVectorIteratorNext(&iterator); in fillDefBlockMatrix()
173 GrowableListIterator iterator; in computeDominanceFrontier() local
175 &iterator); in computeDominanceFrontier()
178 (SuccessorBlockInfo *) dvmGrowableListIteratorNext(&iterator); in computeDominanceFrontier()
398 GrowableListIterator iterator; in computeBlockLiveIns() local
[all …]
DRalloc.cpp70 GrowableListIterator iterator; in dvmCompilerLocalRegAlloc() local
72 dvmGrowableListIteratorInit(&cUnit->blockList, &iterator); in dvmCompilerLocalRegAlloc()
75 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); in dvmCompilerLocalRegAlloc()
DCompilerUtility.h62 GrowableListIterator *iterator);
63 intptr_t dvmGrowableListIteratorNext(GrowableListIterator *iterator);
DFrontend.cpp559 GrowableListIterator iterator; in splitBlock() local
562 &iterator); in splitBlock()
565 (SuccessorBlockInfo *) dvmGrowableListIteratorNext(&iterator); in splitBlock()
726 GrowableListIterator iterator; in dvmDumpCFG() local
728 &iterator); in dvmDumpCFG()
730 (SuccessorBlockInfo *) dvmGrowableListIteratorNext(&iterator); in dvmDumpCFG()
738 (SuccessorBlockInfo *) dvmGrowableListIteratorNext(&iterator); in dvmDumpCFG()
758 &iterator); in dvmDumpCFG()
764 dvmGrowableListIteratorNext(&iterator); in dvmDumpCFG()
813 GrowableListIterator iterator; in verifyPredInfo() local
[all …]
/dalvik/vm/
DBitVector.cpp281 void dvmBitVectorIteratorInit(BitVector* pBits, BitVectorIterator* iterator) in dvmBitVectorIteratorInit() argument
283 iterator->pBits = pBits; in dvmBitVectorIteratorInit()
284 iterator->bitSize = pBits->storageSize * sizeof(u4) * 8; in dvmBitVectorIteratorInit()
285 iterator->idx = 0; in dvmBitVectorIteratorInit()
289 int dvmBitVectorIteratorNext(BitVectorIterator* iterator) in dvmBitVectorIteratorNext() argument
291 const BitVector* pBits = iterator->pBits; in dvmBitVectorIteratorNext()
292 u4 bitIndex = iterator->idx; in dvmBitVectorIteratorNext()
294 assert(iterator->bitSize == pBits->storageSize * sizeof(u4) * 8); in dvmBitVectorIteratorNext()
295 if (bitIndex >= iterator->bitSize) return -1; in dvmBitVectorIteratorNext()
297 for (; bitIndex < iterator->bitSize; bitIndex++) { in dvmBitVectorIteratorNext()
[all …]
DIndirectRefTable.h243 typedef iref_iterator iterator; typedef
338 iterator begin() { in begin()
339 return iterator(table_, 0, capacity()); in begin()
342 iterator end() { in end()
343 return iterator(table_, capacity(), capacity()); in end()
DBitVector.h98 void dvmBitVectorIteratorInit(BitVector* pBits, BitVectorIterator* iterator);
101 int dvmBitVectorIteratorNext(BitVectorIterator* iterator);
/dalvik/libdex/
DDexProto.cpp179 DexParameterIterator iterator; in dexProtoGetParameterDescriptors() local
182 dexParameterIteratorInit(&iterator, pProto); in dexProtoGetParameterDescriptors()
185 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexProtoGetParameterDescriptors()
193 dexParameterIteratorInit(&iterator, pProto); in dexProtoGetParameterDescriptors()
199 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexProtoGetParameterDescriptors()
383 DexParameterIterator iterator; in protoCompareToParameterDescriptors() local
384 dexParameterIteratorInit(&iterator, proto); in protoCompareToParameterDescriptors()
393 const char* protoDesc = dexParameterIteratorNextDescriptor(&iterator); in protoCompareToParameterDescriptors()
DDexDebugInfo.cpp176 DexParameterIterator iterator; in dexDecodeDebugInfo0() local
177 dexParameterIteratorInit(&iterator, &proto); in dexDecodeDebugInfo0()
180 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexDecodeDebugInfo0()
/dalvik/dx/src/com/android/dx/util/
DIntSet.java66 IntIterator iterator(); in iterator() method
DListIntSet.java95 IntIterator iter = other.iterator(); in merge()
108 public IntIterator iterator() { in iterator() method in ListIntSet
DBitIntSet.java87 IntIterator iter = other.iterator(); in merge()
100 public IntIterator iterator() { in iterator() method in BitIntSet
/dalvik/dexgen/src/com/android/dexgen/util/
DIntSet.java66 IntIterator iterator(); in iterator() method
DListIntSet.java95 IntIterator iter = other.iterator(); in merge()
108 public IntIterator iterator() { in iterator() method in ListIntSet
DBitIntSet.java87 IntIterator iter = other.iterator(); in merge()
100 public IntIterator iterator() { in iterator() method in BitIntSet
/dalvik/vm/reflect/
DReflect.h240 void dvmEncodedArrayIteratorInitialize(EncodedArrayIterator* iterator,
246 bool dvmEncodedArrayIteratorHasNext(const EncodedArrayIterator* iterator);
260 bool dvmEncodedArrayIteratorGetNext(EncodedArrayIterator* iterator,
DAnnotation.cpp2217 void dvmEncodedArrayIteratorInitialize(EncodedArrayIterator* iterator, in dvmEncodedArrayIteratorInitialize() argument
2219 iterator->encodedArray = encodedArray; in dvmEncodedArrayIteratorInitialize()
2220 iterator->cursor = encodedArray->array; in dvmEncodedArrayIteratorInitialize()
2221 iterator->size = readUleb128(&iterator->cursor); in dvmEncodedArrayIteratorInitialize()
2222 iterator->elementsLeft = iterator->size; in dvmEncodedArrayIteratorInitialize()
2223 iterator->clazz = clazz; in dvmEncodedArrayIteratorInitialize()
2229 bool dvmEncodedArrayIteratorHasNext(const EncodedArrayIterator* iterator) { in dvmEncodedArrayIteratorHasNext() argument
2230 return (iterator->elementsLeft != 0); in dvmEncodedArrayIteratorHasNext()
2245 bool dvmEncodedArrayIteratorGetNext(EncodedArrayIterator* iterator, in dvmEncodedArrayIteratorGetNext() argument
2249 if (iterator->elementsLeft == 0) { in dvmEncodedArrayIteratorGetNext()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DAnnotations.java110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo()
111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo()
DAnnotation.java112 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo()
113 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo()
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotations.java110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo()
111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo()
DAnnotation.java104 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo()
105 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo()
/dalvik/dx/src/com/android/dx/dex/file/
DUniformItemSection.java54 return sz * items.iterator().next().writeSize(); in writeSize()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DUniformItemSection.java54 return sz * items.iterator().next().writeSize(); in writeSize()
/dalvik/dx/junit-tests/com/android/dx/util/
DListIntSetTest.java53 IntIterator iter = set.iterator(); in test_iterator()
75 IntIterator iter = set.iterator(); in test_empty()

12