Home
last modified time | relevance | path

Searched refs:u2 (Results 1 – 25 of 82) sorted by relevance

1234

/dalvik/libdex/
DDexDataMap.h30 u2* types; /* corresponding array of item types */
47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type);
60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type);
65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify0Ok()
DDexDataMap.cpp39 if (!safe_mul(&size, maxCount, sizeof(u4) + sizeof(u2)) || in dexDataMapAlloc()
53 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc()
74 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { in dexDataMapAdd()
125 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify()
DDexFile.h66 typedef uint16_t u2; typedef
283 u2 type; /* type code (see kDexType* above) */
284 u2 unused;
315 u2 classIdx; /* index into typeIds list for defining class */
316 u2 typeIdx; /* index into typeIds for field type */
324 u2 classIdx; /* index into typeIds list for defining class */
325 u2 protoIdx; /* index into protoIds for method prototype */
356 u2 typeIdx; /* index into typeIds */
375 u2 registersSize;
376 u2 insSize;
[all …]
DDexDebugInfo.h36 typedef void (*DexDebugNewLocalCb)(void *cnxt, u2 reg, u4 startAddress,
DInstrUtils.h153 size_t dexGetWidthFromInstruction(const u2* insns);
193 void dexDecodeInstruction(const u2* insns, DecodedInstruction* pDec);
DDexCatch.h114 int dexFindCatchHandlerOffset0(u2 triesSize, const DexTry* pTries,
122 u2 triesSize = pCode->triesSize; in dexFindCatchHandler()
/dalvik/dx/src/com/android/dx/io/instructions/
DShortArrayCodeOutput.java69 public void write(short u0, short u1, short u2) { in write() argument
72 write(u2); in write()
76 public void write(short u0, short u1, short u2, short u3) { in write() argument
79 write(u2); in write()
84 public void write(short u0, short u1, short u2, short u3, short u4) { in write() argument
87 write(u2); in write()
DCodeOutput.java36 public void write(short u0, short u1, short u2); in write() argument
41 public void write(short u0, short u1, short u2, short u3); in write() argument
46 public void write(short u0, short u1, short u2, short u3, short u4); in write() argument
/dalvik/dx/src/com/android/dx/command/dump/
DDotDumper.java130 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember()
141 System.out.println("\tn" + Hex.u2(label) + " -> returns;"); in endParsingMember()
143 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember()
144 + Hex.u2(successors.get(0)) + ";"); in endParsingMember()
146 System.out.print("\tn" + Hex.u2(label) + " -> {"); in endParsingMember()
151 System.out.print(" n" + Hex.u2(successor) + " "); in endParsingMember()
157 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember()
158 + Hex.u2(bb.getPrimarySuccessor()) in endParsingMember()
DBlockDumper.java229 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(start)); in regularDump()
233 "block " + Hex.u2(bb.getLabel()) + ": " + in regularDump()
234 Hex.u2(start) + ".." + Hex.u2(end)); in regularDump()
250 parsed(bytes, end, 0, "next " + Hex.u2(succ)); in regularDump()
263 Hex.u2(one.getHandlerPc())); in regularDump()
273 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(end)); in regularDump()
301 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
306 sb.append(Hex.u2(label)); in ropDump()
313 sb.append(Hex.u2(preds.get(i))); in ropDump()
335 sb.append(Hex.u2(succ)); in ropDump()
DSsaDumper.java119 sb.append(Hex.u2( in endParsingMember()
130 .append(Hex.u2(block.getRopLabel())).append('\n'); in endParsingMember()
137 sb.append(Hex.u2(ssaMeth.blockIndexToRopLabel(i))); in endParsingMember()
161 sb.append(Hex.u2(succLabelList.get(i))); in endParsingMember()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteBlock.java96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString()
97 Hex.u2(end) + '}'; in toString()
/dalvik/dx/src/com/android/dx/cf/code/
DByteBlock.java96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString()
97 Hex.u2(end) + '}'; in toString()
DByteBlockList.java59 + Hex.u2(label)); in labelToBlock()
DOneLocalsArray.java62 ex.addContext("locals[" + Hex.u2(i) + "]: " + s); in annotate()
73 sb.append("locals[" + Hex.u2(i) + "]: " + s + "\n"); in toHuman()
243 throw new SimException("local " + Hex.u2(idx) + ": " + msg); in throwSimException()
/dalvik/dx/src/com/android/dx/dex/file/
DCodeItem.java160 out.println("regs: " + Hex.u2(getRegistersSize()) + in debugPrint()
161 "; ins: " + Hex.u2(getInsSize()) + "; outs: " + in debugPrint()
162 Hex.u2(getOutsSize())); in debugPrint()
236 out.annotate(2, " registers_size: " + Hex.u2(regSz)); in writeTo0()
237 out.annotate(2, " ins_size: " + Hex.u2(insSz)); in writeTo0()
238 out.annotate(2, " outs_size: " + Hex.u2(outsSz)); in writeTo0()
239 out.annotate(2, " tries_size: " + Hex.u2(triesSz)); in writeTo0()
DMemberIdItem.java71 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
73 Hex.u2(typoidIdx))); in writeTo()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DCodeItem.java169 out.println("regs: " + Hex.u2(getRegistersSize()) + in debugPrint()
170 "; ins: " + Hex.u2(getInsSize()) + "; outs: " + in debugPrint()
171 Hex.u2(getOutsSize())); in debugPrint()
245 out.annotate(2, " registers_size: " + Hex.u2(regSz)); in writeTo0()
246 out.annotate(2, " ins_size: " + Hex.u2(insSz)); in writeTo0()
247 out.annotate(2, " outs_size: " + Hex.u2(outsSz)); in writeTo0()
248 out.annotate(2, " tries_size: " + Hex.u2(triesSz)); in writeTo0()
DMemberIdItem.java73 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
75 Hex.u2(typoidIdx))); in writeTo()
/dalvik/dx/src/com/android/dx/cf/direct/
DCodeObserver.java77 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx); in visitLocal()
134 valueStr += Hex.u2(value); in visitConstant()
145 String targetStr = (length <= 3) ? Hex.u2(target) : Hex.u4(target); in visitBranch()
166 sb.append(Hex.u2(cases.getTarget(i))); in visitSwitch()
171 sb.append(Hex.u2(cases.getDefaultTarget())); in visitSwitch()
214 return Hex.u2(offset) + ": " + name; in header()
DStdAttributeFactory.java225 "max_stack: " + Hex.u2(maxStack)); in code()
227 "max_locals: " + Hex.u2(maxLocals)); in code()
258 Hex.u2(exceptionTableLength)); in code()
281 Hex.u2(startPc) + ".." + Hex.u2(endPc) + in code()
282 " -> " + Hex.u2(handlerPc) + " " + in code()
388 "number_of_exceptions: " + Hex.u2(count)); in exceptions()
417 "number_of_classes: " + Hex.u2(count)); in innerClasses()
473 "line_number_table_length: " + Hex.u2(count)); in lineNumberTable()
491 Hex.u2(startPc) + " " + lineNumber); in lineNumberTable()
514 "local_variable_table_length: " + Hex.u2(count)); in localVariableTable()
[all …]
/dalvik/dx/src/com/android/dx/util/
DHex.java84 public static String u2(int v) { in u2() method in Hex
104 return u2(v); in u2or4()
277 case 4: astr = Hex.u2(outOffset); break; in dump()
/dalvik/dexgen/src/com/android/dexgen/util/
DHex.java84 public static String u2(int v) { in u2() method in Hex
104 return u2(v); in u2or4()
277 case 4: astr = Hex.u2(outOffset); break; in dump()
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java136 "constant_pool_count: " + Hex.u2(offsets.length)); in parse()
170 ? Hex.u2(i) + ": utf8{\"" + cst.toHuman() + "\"}" in parse()
171 : Hex.u2(i) + ": " + cst.toString(); in parse()
233 ex.addContext("...while preparsing cst " + Hex.u2(i) + " at offset " + Hex.u4(at)); in determineOffsets()
343 ex.addContext("...while parsing cst " + Hex.u2(idx) + in parse0()
348 pe.addContext("...while parsing cst " + Hex.u2(idx) + in parse0()
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstChar.java72 return "char{0x" + Hex.u2(value) + " / " + value + '}'; in toString()

1234