/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); 41 item.setIndex(0); 43 this.list = Collections.singletonList(item);
|
H A D | AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 151 * Adds a field annotations item to this instance. 167 * Adds a method annotations item to this instance. 183 * Adds a parameter annotations item to this instance. 209 for (MethodAnnotationStruct item : methodAnnotations) { 210 if (item.getMethod().equals(method)) { 211 return item [all...] |
H A D | Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { argument 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 62 for (Item item : items) { 63 add(item); 133 Data(Item item, String name) argument 148 add(Item item) argument [all...] |
H A D | MixedItemSection.java | 38 * <b>Note:</b> It is invalid for an item in an instance of this class to 113 public int getAbsoluteItemOffset(Item item) { argument 114 OffsettedItem oi = (OffsettedItem) item; 162 * Adds an item to this instance. This will in turn tell the given item 164 * same item to more than one instance, nor to add the same items 167 * @param item {@code non-null;} the item to add 169 public void add(OffsettedItem item) { argument 173 if (item 193 intern(T item) argument 213 get(T item) argument [all...] |
H A D | FieldIdsSection.java | 129 FieldIdItem item = fieldIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | ProtoIdsSection.java | 121 ProtoIdItem item = protoIds.get(prototype); 123 if (item == null) { 127 return item.getIndex();
|
H A D | ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 62 * Construct an item for the annotations list. TODO: This 72 AnnotationSetItem item = new AnnotationSetItem(annotations); 73 arrayList.add(new AnnotationSetRefItem(item)); 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 138 sb.append(item.toHuman()); 145 * Gets the method this item is for.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); 41 item.setIndex(0); 43 this.list = Collections.singletonList(item);
|
H A D | AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 151 * Adds a field annotations item to this instance. 167 * Adds a method annotations item to this instance. 183 * Adds a parameter annotations item to this instance. 209 for (MethodAnnotationStruct item : methodAnnotations) { 210 if (item.getMethod().equals(method)) { 211 return item [all...] |
H A D | Statistics.java | 29 /** {@code non-null;} data about each type of item */ 40 * Adds the given item to the statistics. 42 * @param item {@code non-null;} the item to add 44 public void add(Item item) { argument 45 String typeName = item.typeName(); 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 62 for (Item item : items) { 63 add(item); 133 Data(Item item, String name) argument 148 add(Item item) argument [all...] |
H A D | MixedItemSection.java | 38 * <b>Note:</b> It is invalid for an item in an instance of this class to 113 public int getAbsoluteItemOffset(Item item) { argument 114 OffsettedItem oi = (OffsettedItem) item; 162 * Adds an item to this instance. This will in turn tell the given item 164 * same item to more than one instance, nor to add the same items 167 * @param item {@code non-null;} the item to add 169 public void add(OffsettedItem item) { argument 173 if (item 193 intern(T item) argument 213 get(T item) argument [all...] |
H A D | FieldIdsSection.java | 129 FieldIdItem item = fieldIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | MethodIdsSection.java | 129 MethodIdItem item = methodIds.get(ref); 131 if (item == null) { 135 return item.getIndex();
|
H A D | ProtoIdsSection.java | 121 ProtoIdItem item = protoIds.get(prototype); 123 if (item == null) { 127 return item.getIndex();
|
H A D | ParameterAnnotationStruct.java | 39 /** {@code non-null;} the associated annotations list, as an item */ 62 * Construct an item for the annotations list. TODO: This 72 AnnotationSetItem item = new AnnotationSetItem(annotations); 73 arrayList.add(new AnnotationSetRefItem(item)); 132 for (AnnotationSetRefItem item : annotationsItem.getItems()) { 138 sb.append(item.toHuman()); 145 * Gets the method this item is for.
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 365 ALOGE("Unknown map item type %04x", mapType); 372 * Helper for swapMap(), which indicates if an item type should appear 397 DexMapItem* item = pMap->list; local 408 CHECK_LIST_SIZE(item, count, sizeof(DexMapItem)); 411 SWAP_FIELD2(item->type); 412 SWAP_FIELD2(item->unused); 413 SWAP_FIELD4(item->size); 414 SWAP_OFFSET4(item->offset); 418 } else if (lastOffset >= item->offset) { 419 ALOGE("Out-of-order map item 548 DexStringId* item = (DexStringId*) ptr; local 558 const DexStringId* item = (const DexStringId*) ptr; local 581 DexTypeId* item = (DexTypeId*) ptr; local 591 const DexTypeId* item = (const DexTypeId*) ptr; local 615 DexProtoId* item = (DexProtoId*) ptr; local 672 const DexProtoId* item = (const DexProtoId*) ptr; local 765 DexFieldId* item = (DexFieldId*) ptr; local 777 const DexFieldId* item = (const DexFieldId*) ptr; local 837 DexMethodId* item = (DexMethodId*) ptr; local 849 const DexMethodId* item = (const DexMethodId*) ptr; local 903 DexClassDef* item = (DexClassDef*) ptr; local 969 const DexClassDef* item = (const DexClassDef*) ptr; local 1063 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1092 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1122 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local 1150 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local 1188 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local 1208 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local 1228 const DexParameterAnnotationsItem* item = local 1280 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local 1342 DexAnnotationSetRefItem* item; local 1363 const DexAnnotationSetRefItem* item = list->list; local 1381 u4* item; local 1400 annotationItemTypeIdx(const DexAnnotationItem* item) argument 1802 DexCode* item = (DexCode*) ptr; local 2515 const DexMapItem* item = pMap->list; local 2689 const DexMapItem* item = pMap->list; local [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | LocalVariableList.java | 84 Item item = descriptorList.get(i); 85 Item signatureItem = signatureList.itemToLocal(item); 88 item = item.withSignature(signature); 90 result.set(i, item); 107 * Gets the indicated item. 109 * @param n {@code >= 0;} which item 110 * @return {@code null-ok;} the indicated item 117 * Sets the item at the given index. 120 * @param item { 122 set(int n, Item item) argument 160 itemToLocal(Item item) argument [all...] |
H A D | LineNumberList.java | 69 * Gets the indicated item. 71 * @param n {@code >= 0;} which item 72 * @return {@code null-ok;} the indicated item 79 * Sets the item at the given index. 82 * @param item {@code non-null;} the item 84 public void set(int n, Item item) { argument 85 if (item == null) { 86 throw new NullPointerException("item == null"); 89 set0(n, item); [all...] |
/dalvik/vm/compiler/codegen/x86/ |
H A D | LowerJump.cpp | 108 LabelMap* item = NULL; local 110 item = (LabelMap*)malloc(sizeof(LabelMap)); 111 if(item == NULL) { 115 snprintf(item->label, LABEL_SIZE, "%s", label); 116 item->codePtr = stream; 117 item->nextItem = globalMap; 118 globalMap = item; 126 item = (LabelMap*)malloc(sizeof(LabelMap)); 127 if(item == NULL) { 131 snprintf(item 198 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 215 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 258 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 279 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 298 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 319 LabelMap* item = (LabelMap*)malloc(sizeof(LabelMap)); local 657 NCGWorklist* item = (NCGWorklist*)malloc(sizeof(NCGWorklist)); local 683 DataWorklist* item = (DataWorklist*)malloc(sizeof(DataWorklist)); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | LabeledList.java | 102 * Gets the index of the first item in the list with the given 106 * @return {@code >= -1;} the index of the so-labelled item, or {@code -1} 146 * @param item {@code null-ok;} the value to store 148 protected void set(int n, LabeledItem item) { argument 151 set0(n, item); 157 if (item != null) { 158 addLabelIndex(item.getLabel(), n);
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | LabeledList.java | 103 * Gets the index of the first item in the list with the given 107 * @return {@code >= -1;} the index of the so-labelled item, or {@code -1} 172 * @param item {@code null-ok;} the value to store 174 protected void set(int n, LabeledItem item) { argument 177 set0(n, item); 183 if (item != null) { 184 addLabelIndex(item.getLabel(), n);
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
H A D | LineNumberList.java | 69 * Gets the indicated item. 71 * @param n {@code >= 0;} which item 72 * @return {@code null-ok;} the indicated item 79 * Sets the item at the given index. 82 * @param item {@code non-null;} the item 84 public void set(int n, Item item) { argument 85 if (item == null) { 86 throw new NullPointerException("item == null"); 89 set0(n, item); [all...] |
/dalvik/vm/ |
H A D | Hash.cpp | 174 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, argument 182 assert(item != HASH_TOMBSTONE); 183 assert(item != NULL); 191 (*cmpFunc)(pEntry->data, item) == 0) 211 pEntry->data = item; 234 result = item; 248 * Does NOT invoke the "free" function on the item. 250 bool dvmHashTableRemove(HashTable* pHashTable, u4 itemHash, void* item) argument 261 if (pEntry->data == item) { 287 * Does NOT invoke the "free" function on the item 342 countProbes(HashTable* pHashTable, u4 itemHash, const void* item, HashCompareFunc cmpFunc) argument [all...] |
H A D | Hash.h | 25 /* compute the hash of an item with a specific type */ 26 typedef u4 (*HashCompute)(const void* item); 29 * Compare a hash entry with a "loose" item after their hash values match. 138 * If "item" is not found, and "doAdd" is false, NULL is returned. 139 * Otherwise, a pointer to the found or added item is returned. (You can 140 * tell the difference by seeing if return value == item.) 145 void* dvmHashTableLookup(HashTable* pHashTable, u4 itemHash, void* item, 149 * Remove an item from the hash table, given its "data" pointer. Does not 152 bool dvmHashTableRemove(HashTable* pHashTable, u4 hash, void* item); 217 typedef u4 (*HashCalcFunc)(const void* item); [all...] |