Home
last modified time | relevance | path

Searched refs:map (Results 1 – 21 of 21) 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.java27 private final HashMap<Integer,Integer> map; field in AddressMap
33 map = new HashMap<Integer,Integer>(); in AddressMap()
41 Integer value = map.get(keyAddress); in get()
49 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()
67 public final RegisterSpecSet map(RegisterSpecSet sources) { in map() method in RegisterMapper
74 newSources.put(map(registerSpec)); in map()
DBasicRegisterMapper.java50 public RegisterSpec map(RegisterSpec registerSpec) { in map() method in BasicRegisterMapper
DMoveParamCombiner.java113 public RegisterSpec map(RegisterSpec registerSpec) { in run()
DSsaInsn.java159 result = mapper.map(result); in mapRegisters()
DNormalSsaInsn.java48 RegisterSpecList newSources = mapper.map(oldSources); in mapSourceRegisters()
DPhiInsn.java272 o.regSpec = mapper.map(old); in mapSourceRegisters()
DConstCollector.java380 public RegisterSpec map(RegisterSpec registerSpec) { in updateConstUses()
DSsaRenamer.java338 public RegisterSpec map(RegisterSpec registerSpec) { in map() method in SsaRenamer.BlockRenamer.RenamingMapper
DEscapeAnalysis.java671 public RegisterSpec map(RegisterSpec registerSpec) { in movePropagate()
/dalvik/dx/src/com/android/dx/dex/file/
DDexFile.java62 private final MixedItemSection map; field in DexFile
125 map = new MixedItemSection("map", this, 4, SortType.NONE); in DexFile()
134 classData, map }; in DexFile()
301 return map; in getMap()
431 return map; in getLastDataSection()
526 if (one == map) { in toDex0()
532 MapItem.addMap(sections, map); in toDex0()
533 map.prepare(); in toDex0()
/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/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/dx/src/com/android/dx/dex/code/
DLocalStart.java103 return new LocalStart(getPosition(), mapper.map(local)); in withMapper()
DLocalSnapshot.java101 return new LocalSnapshot(getPosition(), mapper.map(locals)); in withMapper()
DDalvInsn.java393 return withRegisters(mapper.map(getRegisters())); in withMapper()
/dalvik/dexdump/
DDexDump.cpp1781 MemMapping map; in process() local
1788 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) { in process()
1797 pDexFile = dexFileParse((u1*)map.addr, map.length, flags); in process()
1813 sysReleaseShmem(&map); in process()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java1131 Map<String, List<String>> map = new HashMap<String, List<String>>(); field in Main.BestEffortMainDexListFilter
1137 List<String> fullPath = map.get(simple); in BestEffortMainDexListFilter()
1140 map.put(simple, fullPath); in BestEffortMainDexListFilter()
1151 List<String> fullPaths = map.get(simple); in accept()