Searched refs:map (Results 1 - 20 of 20) sorted by relevance

/dalvik/libdex/
H A DDexDataMap.cpp18 * Verification-time map of data section items
34 DexDataMap* map = NULL; local
44 map = (DexDataMap*) malloc(size);
46 if (map == NULL) {
50 map->count = 0;
51 map->max = maxCount;
52 map->offsets = (u4*) (map + 1);
53 map->types = (u2*) (map
61 dexDataMapFree(DexDataMap* map) argument
74 dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) argument
94 dexDataMapGet(DexDataMap* map, u4 offset) argument
125 dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) argument
[all...]
H A DDexDataMap.h18 * Verification-time map of data section items
27 u4 count; /* number of items currently in the map */
41 void dexDataMapFree(DexDataMap* map);
44 * Add a new element to the map. The offset must be greater than the
47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type);
53 int dexDataMapGet(DexDataMap* map, u4 offset);
56 * Verify that there is an entry in the map, mapping the given offset to
60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type);
65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { argument
70 return dexDataMapVerify(map, offse
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DAddressMap.java26 /** underlying map. TODO: This might be too inefficient. */
27 private final HashMap<Integer,Integer> map; field in class:AddressMap
33 map = new HashMap<Integer,Integer>();
41 Integer value = map.get(keyAddress);
49 map.put(keyAddress, valueAddress);
/dalvik/dx/src/com/android/dx/ssa/
H A DRegisterMapper.java40 public abstract RegisterSpec map(RegisterSpec registerSpec); method in class:RegisterMapper
47 public final RegisterSpecList map(RegisterSpecList sources) { method in class:RegisterMapper
52 newSources.set(i, map(sources.get(i)));
H A DBasicRegisterMapper.java50 public RegisterSpec map(RegisterSpec registerSpec) { method in class:BasicRegisterMapper
H A DMoveParamCombiner.java113 public RegisterSpec map(RegisterSpec registerSpec) {
H A DSsaInsn.java159 result = mapper.map(result);
H A DNormalSsaInsn.java48 RegisterSpecList newSources = mapper.map(oldSources);
H A DPhiInsn.java272 o.regSpec = mapper.map(old);
H A DConstCollector.java380 public RegisterSpec map(RegisterSpec registerSpec) {
H A DSsaRenamer.java85 /** map of SSA register number to debug (local var names) or null of n/a */
338 public RegisterSpec map(RegisterSpec registerSpec) { method in class:SsaRenamer.BlockRenamer.RenamingMapper
566 // Just map as above.
H A DEscapeAnalysis.java488 // Create a map for the new registers that will be created
671 public RegisterSpec map(RegisterSpec registerSpec) {
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDexFile.java55 * {@code non-null;} map section. The map needs to be in a section by itself
59 private final MixedItemSection map; field in class:DexFile
120 map = new MixedItemSection("map", this, 4, SortType.NONE);
129 classData, map };
274 * Gets the map section.
279 * @return {@code non-null;} the map section
282 return map;
412 return map;
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DDexFile.java58 * {@code non-null;} map section. The map needs to be in a section by itself
62 private final MixedItemSection map; field in class:DexFile
125 map = new MixedItemSection("map", this, 4, SortType.NONE);
134 classData, map };
293 * Gets the map section.
298 * @return {@code non-null;} the map section
301 return map;
431 return map;
[all...]
/dalvik/dexlist/
H A DDexList.cpp203 MemMapping map; local
208 utfr = dexOpenAndMap(fileName, NULL, &map, true);
220 pDexFile = dexFileParse((u1*)map.addr, map.length, kDexParseDefault);
237 sysReleaseShmem(&map);
/dalvik/vm/analysis/
H A DCodeVerify.h153 } map[1]; member in struct:UninitInstanceMap
159 * Various bits of data used by the verifier and register map generator.
186 * Uninitialized instance map, used for tracking the movement of
194 * instruction. For register map generation, we're only interested
H A DCodeVerify.cpp410 * Create a new uninitialized instance map.
412 * The map is allocated and populated with address entries. The addresses
436 * Allocate the header and map as a single unit.
443 int size = offsetof(UninitInstanceMap, map) +
444 newInstanceCount * sizeof(uninitMap->map[0]);
452 uninitMap->map[idx++].addr = kUninitThisArgAddr;
463 uninitMap->map[idx++].addr = addr;
474 * Free the map.
484 * Returns the map slot index, or -1 if the address isn't listed in the map
[all...]
/dalvik/vm/native/
H A Ddalvik_system_VMRuntime.cpp30 #include <map>
251 typedef std::map<std::string, StringObject*> StringTable;
460 // We use a std::map to avoid heap allocating StringObjects to lookup in gDvm.literalStrings
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java161 * {@code null-ok;} map of resources to include in the output, or
448 * specified classes, and populate the resources map if required.
800 * array into the resources map, and then process the entire
801 * resources map in a uniform manner.
1084 Map<String, List<String>> map = new HashMap<String, List<String>>(); field in class:Main.BestEffortMainDexListFilter
1090 List<String> fullPath = map.get(simple);
1093 map.put(simple, fullPath);
1104 List<String> fullPaths = map.get(simple);
/dalvik/dexdump/
H A DDexDump.cpp1540 * Dump a map in the "differential" format.
1578 * Dump register map contents of the current method.
1580 * "*pData" should point to the start of the register map data. Advances
1581 * "*pData" to the start of the next map.
1600 /* no map */
1601 printf(" (no map)\n");
1645 * Dump the contents of the register map area.
1781 MemMapping map; local
1788 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) {
1797 pDexFile = dexFileParse((u1*)map
[all...]

Completed in 283 milliseconds