Home
last modified time | relevance | path

Searched refs:map (Results 1 – 19 of 19) sorted by relevance

/dalvik/libdex/
DDexDataMap.cpp34 DexDataMap* map = NULL; in dexDataMapAlloc() local
44 map = (DexDataMap*) malloc(size); in dexDataMapAlloc()
46 if (map == NULL) { in dexDataMapAlloc()
50 map->count = 0; in dexDataMapAlloc()
51 map->max = maxCount; in dexDataMapAlloc()
52 map->offsets = (u4*) (map + 1); in dexDataMapAlloc()
53 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc()
55 return map; in dexDataMapAlloc()
61 void dexDataMapFree(DexDataMap* map) { in dexDataMapFree() argument
67 free(map); in dexDataMapFree()
[all …]
DDexDataMap.h41 void dexDataMapFree(DexDataMap* map);
47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type);
53 int dexDataMapGet(DexDataMap* map, u4 offset);
60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type);
65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify0Ok() argument
70 return dexDataMapVerify(map, offset, type); in dexDataMapVerify0Ok()
/dalvik/dx/src/com/android/dx/io/instructions/
DAddressMap.java28 private final HashMap<Integer,Integer> map; field in AddressMap
34 map = new HashMap<Integer,Integer>(); in AddressMap()
42 Integer value = map.get(keyAddress); in get()
50 map.put(keyAddress, valueAddress); in put()
/dalvik/dx/tests/034-dex-minimal/
Dexpected.txt49 |map:
50 |[70] map list
52 |[74] header_item map
57 |[80] map_list map
66 | map list: 1 item; 28 bytes total
/dalvik/dx/src/com/android/dx/ssa/
DRegisterMapper.java41 public abstract RegisterSpec map(RegisterSpec registerSpec); in map() method in RegisterMapper
48 public final RegisterSpecList map(RegisterSpecList sources) { in map() method in RegisterMapper
53 newSources.set(i, map(sources.get(i))); in map()
DBasicRegisterMapper.java51 public RegisterSpec map(RegisterSpec registerSpec) { in map() method in BasicRegisterMapper
DSsaInsn.java155 result = mapper.map(result); in mapRegisters()
DMoveParamCombiner.java115 public RegisterSpec map(RegisterSpec registerSpec) { in run()
DNormalSsaInsn.java43 RegisterSpecList newSources = mapper.map(oldSources); in mapSourceRegisters()
DPhiInsn.java268 o.regSpec = mapper.map(old); in mapSourceRegisters()
DConstCollector.java380 public RegisterSpec map(RegisterSpec registerSpec) { in updateConstUses()
DSsaRenamer.java339 public RegisterSpec map(RegisterSpec registerSpec) { in map() method in SsaRenamer.BlockRenamer.RenamingMapper
DEscapeAnalysis.java672 public RegisterSpec map(RegisterSpec registerSpec) { in movePropagate()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDexFile.java59 private final MixedItemSection map; field in DexFile
120 map = new MixedItemSection("map", this, 4, SortType.NONE); in DexFile()
129 classData, map }; in DexFile()
282 return map; in getMap()
412 return map; in getLastDataSection()
509 if (one == map) { in toDex0()
515 MapItem.addMap(sections, map); in toDex0()
516 map.prepare(); in toDex0()
/dalvik/dx/src/com/android/dx/dex/file/
DDexFile.java64 private final MixedItemSection map; field in DexFile
127 map = new MixedItemSection("map", this, 4, SortType.NONE); in DexFile()
136 classData, map }; in DexFile()
303 return map; in getMap()
433 return map; in getLastDataSection()
528 if (one == map) { in toDex0()
534 MapItem.addMap(sections, map); in toDex0()
535 map.prepare(); in toDex0()
/dalvik/dexlist/
DDexList.cpp203 MemMapping map; in process() local
208 utfr = dexOpenAndMap(fileName, NULL, &map, true); in process()
220 pDexFile = dexFileParse((u1*)map.addr, map.length, kDexParseDefault); in process()
237 sysReleaseShmem(&map); in process()
/dalvik/vm/analysis/
DCodeVerify.h153 } map[1]; member
DCodeVerify.cpp443 int size = offsetof(UninitInstanceMap, map) + in dvmCreateUninitInstanceMap()
444 newInstanceCount * sizeof(uninitMap->map[0]); in dvmCreateUninitInstanceMap()
452 uninitMap->map[idx++].addr = kUninitThisArgAddr; in dvmCreateUninitInstanceMap()
463 uninitMap->map[idx++].addr = addr; in dvmCreateUninitInstanceMap()
504 if (uninitMap->map[idx].addr == addr) { in setUninitInstance()
505 if (uninitMap->map[idx].clazz != NULL && in setUninitInstance()
506 uninitMap->map[idx].clazz != clazz) in setUninitInstance()
509 addr, uninitMap->map[idx].clazz, clazz); in setUninitInstance()
512 uninitMap->map[idx].clazz = clazz; in setUninitInstance()
529 return uninitMap->map[idx].clazz; in getUninitInstance()
/dalvik/dexdump/
DDexDump.cpp1767 MemMapping map; in process() local
1774 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) { in process()
1783 pDexFile = dexFileParse((u1*)map.addr, map.length, flags); in process()
1799 sysReleaseShmem(&map); in process()