/dalvik/libdex/ |
D | DexSwapVerify.cpp | 397 DexMapItem* item = pMap->list; in swapMap() local 408 CHECK_LIST_SIZE(item, count, sizeof(DexMapItem)); in swapMap() 411 SWAP_FIELD2(item->type); in swapMap() 412 SWAP_FIELD2(item->unused); in swapMap() 413 SWAP_FIELD4(item->size); in swapMap() 414 SWAP_OFFSET4(item->offset); in swapMap() 418 } else if (lastOffset >= item->offset) { in swapMap() 420 lastOffset, item->offset); in swapMap() 424 if (item->offset >= state->pHeader->fileSize) { in swapMap() 426 item->offset, state->pHeader->fileSize); in swapMap() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | AnnotationsDirectoryItem.java | 209 for (MethodAnnotationStruct item : methodAnnotations) { in getMethodAnnotations() 210 if (item.getMethod().equals(method)) { in getMethodAnnotations() 211 return item.getAnnotations(); in getMethodAnnotations() 230 for (ParameterAnnotationStruct item : parameterAnnotations) { in getParameterAnnotations() 231 if (item.getMethod().equals(method)) { in getParameterAnnotations() 232 return item.getAnnotationsList(); in getParameterAnnotations() 248 for (FieldAnnotationStruct item : fieldAnnotations) { in addContents() 249 item.addContents(file); in addContents() 254 for (MethodAnnotationStruct item : methodAnnotations) { in addContents() 255 item.addContents(file); in addContents() [all …]
|
D | MixedItemSection.java | 113 public int getAbsoluteItemOffset(Item item) { in getAbsoluteItemOffset() argument 114 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset() 169 public void add(OffsettedItem item) { in add() argument 173 if (item.getAlignment() > getAlignment()) { in add() 182 items.add(item); in add() 193 public <T extends OffsettedItem> T intern(T item) { in intern() argument 196 OffsettedItem result = interns.get(item); in intern() 202 add(item); in intern() 203 interns.put(item, item); in intern() 204 return item; in intern() [all …]
|
D | Statistics.java | 44 public void add(Item item) { in add() argument 45 String typeName = item.typeName(); in add() 49 dataMap.put(typeName, new Data(item, typeName)); in add() 51 data.add(item); in add() 62 for (Item item : items) { in addAll() 63 add(item); in addAll() 133 public Data(Item item, String name) { in Data() argument 134 int size = item.writeSize(); in Data() 148 public void add(Item item) { in add() argument 149 int size = item.writeSize(); in add()
|
D | HeaderSection.java | 40 HeaderItem item = new HeaderItem(); in HeaderSection() local 41 item.setIndex(0); in HeaderSection() 43 this.list = Collections.singletonList(item); in HeaderSection()
|
D | ParameterAnnotationStruct.java | 72 AnnotationSetItem item = new AnnotationSetItem(annotations); in ParameterAnnotationStruct() local 73 arrayList.add(new AnnotationSetRefItem(item)); in ParameterAnnotationStruct() 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { in toHuman() 138 sb.append(item.toHuman()); in toHuman()
|
D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); in indexOf() local 131 if (item == null) { in indexOf() 135 return item.getIndex(); in indexOf()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | AnnotationsDirectoryItem.java | 209 for (MethodAnnotationStruct item : methodAnnotations) { in getMethodAnnotations() 210 if (item.getMethod().equals(method)) { in getMethodAnnotations() 211 return item.getAnnotations(); in getMethodAnnotations() 230 for (ParameterAnnotationStruct item : parameterAnnotations) { in getParameterAnnotations() 231 if (item.getMethod().equals(method)) { in getParameterAnnotations() 232 return item.getAnnotationsList(); in getParameterAnnotations() 248 for (FieldAnnotationStruct item : fieldAnnotations) { in addContents() 249 item.addContents(file); in addContents() 254 for (MethodAnnotationStruct item : methodAnnotations) { in addContents() 255 item.addContents(file); in addContents() [all …]
|
D | MixedItemSection.java | 113 public int getAbsoluteItemOffset(Item item) { in getAbsoluteItemOffset() argument 114 OffsettedItem oi = (OffsettedItem) item; in getAbsoluteItemOffset() 169 public void add(OffsettedItem item) { in add() argument 173 if (item.getAlignment() > getAlignment()) { in add() 182 items.add(item); in add() 193 public <T extends OffsettedItem> T intern(T item) { in intern() argument 196 OffsettedItem result = interns.get(item); in intern() 202 add(item); in intern() 203 interns.put(item, item); in intern() 204 return item; in intern() [all …]
|
D | Statistics.java | 44 public void add(Item item) { in add() argument 45 String typeName = item.typeName(); in add() 49 dataMap.put(typeName, new Data(item, typeName)); in add() 51 data.add(item); in add() 62 for (Item item : items) { in addAll() 63 add(item); in addAll() 133 public Data(Item item, String name) { in Data() argument 134 int size = item.writeSize(); in Data() 148 public void add(Item item) { in add() argument 149 int size = item.writeSize(); in add()
|
D | HeaderSection.java | 40 HeaderItem item = new HeaderItem(); in HeaderSection() local 41 item.setIndex(0); in HeaderSection() 43 this.list = Collections.singletonList(item); in HeaderSection()
|
D | ParameterAnnotationStruct.java | 72 AnnotationSetItem item = new AnnotationSetItem(annotations); in ParameterAnnotationStruct() local 73 arrayList.add(new AnnotationSetRefItem(item)); in ParameterAnnotationStruct() 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { in toHuman() 138 sb.append(item.toHuman()); in toHuman()
|
D | ProtoIdsSection.java | 121 ProtoIdItem item = protoIds.get(prototype); in indexOf() local 123 if (item == null) { in indexOf() 127 return item.getIndex(); in indexOf()
|
D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); in indexOf() local 131 if (item == null) { in indexOf() 135 return item.getIndex(); in indexOf()
|
/dalvik/vm/compiler/codegen/x86/ |
D | LowerJump.cpp | 108 LabelMap* item = NULL; in insertLabel() local 110 item = (LabelMap*)malloc(sizeof(LabelMap)); in insertLabel() 111 if(item == NULL) { in insertLabel() 115 snprintf(item->label, LABEL_SIZE, "%s", label); in insertLabel() 116 item->codePtr = stream; in insertLabel() 117 item->nextItem = globalMap; in insertLabel() 118 globalMap = item; in insertLabel() 126 item = (LabelMap*)malloc(sizeof(LabelMap)); in insertLabel() 127 if(item == NULL) { in insertLabel() 131 snprintf(item->label, LABEL_SIZE, "%s", label); in insertLabel() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | LocalVariableList.java | 84 Item item = descriptorList.get(i); in mergeDescriptorsAndSignatures() local 85 Item signatureItem = signatureList.itemToLocal(item); in mergeDescriptorsAndSignatures() 88 item = item.withSignature(signature); in mergeDescriptorsAndSignatures() 90 result.set(i, item); in mergeDescriptorsAndSignatures() 122 public void set(int n, Item item) { in set() argument 123 if (item == null) { in set() 127 set0(n, item); in set() 160 public Item itemToLocal(Item item) { in itemToLocal() argument 166 if ((one != null) && one.matchesAllButType(item)) { in itemToLocal()
|
D | ByteCatchList.java | 69 public void set(int n, Item item) { in set() argument 70 if (item == null) { in set() 74 set0(n, item); in set() 138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument 139 CstType type = item.getExceptionClass(); in typeNotFound()
|
D | LineNumberList.java | 84 public void set(int n, Item item) { in set() argument 85 if (item == null) { in set() 89 set0(n, item); in set()
|
/dalvik/dx/tests/034-dex-minimal/ |
D | expected.txt | 64 | header: 1 item; 112 bytes total 65 | 112 bytes/item 66 | map list: 1 item; 28 bytes total 67 | 28 bytes/item
|
/dalvik/vm/ |
D | Hash.cpp | 174 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, in dvmHashTableLookup() argument 182 assert(item != HASH_TOMBSTONE); in dvmHashTableLookup() 183 assert(item != NULL); in dvmHashTableLookup() 191 (*cmpFunc)(pEntry->data, item) == 0) in dvmHashTableLookup() 211 pEntry->data = item; in dvmHashTableLookup() 234 result = item; in dvmHashTableLookup() 250 bool dvmHashTableRemove(HashTable* pHashTable, u4 itemHash, void* item) in dvmHashTableRemove() argument 261 if (pEntry->data == item) { in dvmHashTableRemove() 342 static int countProbes(HashTable* pHashTable, u4 itemHash, const void* item, in countProbes() argument 350 assert(item != HASH_TOMBSTONE); in countProbes() [all …]
|
D | Hash.h | 26 typedef u4 (*HashCompute)(const void* item); 145 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, 152 bool dvmHashTableRemove(HashTable* pHashTable, u4 hash, void* item); 217 typedef u4 (*HashCalcFunc)(const void* item);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | LabeledList.java | 148 protected void set(int n, LabeledItem item) { in set() argument 151 set0(n, item); in set() 157 if (item != null) { in set() 158 addLabelIndex(item.getLabel(), n); in set()
|
/dalvik/dx/src/com/android/dx/util/ |
D | LabeledList.java | 174 protected void set(int n, LabeledItem item) { in set() argument 177 set0(n, item); in set() 183 if (item != null) { in set() 184 addLabelIndex(item.getLabel(), n); in set()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | ByteCatchList.java | 69 public void set(int n, Item item) { in set() argument 70 if (item == null) { in set() 74 set0(n, item); in set() 138 private static boolean typeNotFound(Item item, Item[] arr, int count) { in typeNotFound() argument 139 CstType type = item.getExceptionClass(); in typeNotFound()
|
D | LineNumberList.java | 84 public void set(int n, Item item) { in set() argument 85 if (item == null) { in set() 89 set0(n, item); in set()
|