Home
last modified time | relevance | path

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

/dalvik/libdex/
DDexDataMap.c34 DexDataMap* map = NULL; in dexDataMapAlloc() local
44 map = 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/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.java247 o.regSpec = mapper.map(old); in mapSourceRegisters()
DConstCollector.java365 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/dx/src/com/android/dx/dex/file/
DDexFile.java60 private final MixedItemSection map; field in DexFile
121 map = new MixedItemSection("map", this, 4, SortType.NONE); in DexFile()
130 classData, map }; in DexFile()
283 return map; in getMap()
413 return map; in getLastDataSection()
510 if (one == map) { in toDex0()
516 MapItem.addMap(sections, map); in toDex0()
517 map.prepare(); in toDex0()
/dalvik/dexlist/
DDexList.c200 MemMapping map; in process() local
205 utfr = dexOpenAndMap(fileName, NULL, &map, true); in process()
217 pDexFile = dexFileParse(map.addr, map.length, kDexParseDefault); in process()
234 sysReleaseShmem(&map); in process()
/dalvik/vm/analysis/
DCodeVerify.h118 } map[1]; member
DCodeVerify.c391 int size = offsetof(UninitInstanceMap, map) + in dvmCreateUninitInstanceMap()
392 newInstanceCount * sizeof(uninitMap->map[0]); in dvmCreateUninitInstanceMap()
400 uninitMap->map[idx++].addr = kUninitThisArgAddr; in dvmCreateUninitInstanceMap()
410 uninitMap->map[idx++].addr = addr; in dvmCreateUninitInstanceMap()
447 if (uninitMap->map[idx].addr == addr) { in dvmSetUninitInstance()
448 if (uninitMap->map[idx].clazz != NULL && in dvmSetUninitInstance()
449 uninitMap->map[idx].clazz != clazz) in dvmSetUninitInstance()
452 addr, uninitMap->map[idx].clazz, clazz); in dvmSetUninitInstance()
455 uninitMap->map[idx].clazz = clazz; in dvmSetUninitInstance()
471 return uninitMap->map[idx].clazz; in dvmGetUninitInstance()
/dalvik/dexdump/
DDexDump.c1748 MemMapping map; in process() local
1755 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) in process()
1763 pDexFile = dexFileParse(map.addr, map.length, flags); in process()
1779 sysReleaseShmem(&map); in process()