Home
last modified time | relevance | path

Searched refs:u2 (Results 1 – 25 of 85) 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 const u4 sizeOfItems = (u4) (sizeof(u4) + sizeof(u2)); in dexDataMapAlloc()
54 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc()
75 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { in dexDataMapAdd()
126 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify()
DDexFile.h66 typedef uint16_t u2; typedef
297 u2 type; /* type code (see kDexType* above) */
298 u2 unused;
329 u2 classIdx; /* index into typeIds list for defining class */
330 u2 typeIdx; /* index into typeIds for field type */
338 u2 classIdx; /* index into typeIds list for defining class */
339 u2 protoIdx; /* index into protoIds for method prototype */
392 u2 methodHandleType; /* type of method handle */
393 u2 reserved1; /* reserved for future use */
394 u2 fieldOrMethodIdx; /* index of associated field or method */
[all …]
DDexDebugInfo.h36 typedef void (*DexDebugNewLocalCb)(void *cnxt, u2 reg, u4 startAddress,
DInstrUtils.h157 size_t dexGetWidthFromInstruction(const u2* insns);
197 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/
DBlockDumper.java230 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(start)); in regularDump()
234 "block " + Hex.u2(bb.getLabel()) + ": " + in regularDump()
235 Hex.u2(start) + ".." + Hex.u2(end)); in regularDump()
251 parsed(bytes, end, 0, "next " + Hex.u2(succ)); in regularDump()
264 Hex.u2(one.getHandlerPc())); in regularDump()
274 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(end)); in regularDump()
302 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump()
307 sb.append(Hex.u2(label)); in ropDump()
314 sb.append(Hex.u2(preds.get(i))); in ropDump()
336 sb.append(Hex.u2(succ)); in ropDump()
DDotDumper.java133 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember()
144 System.out.println("\tn" + Hex.u2(label) + " -> returns;"); in endParsingMember()
146 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember()
147 + Hex.u2(successors.get(0)) + ";"); in endParsingMember()
149 System.out.print("\tn" + Hex.u2(label) + " -> {"); in endParsingMember()
154 System.out.print(" n" + Hex.u2(successor) + " "); in endParsingMember()
160 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember()
161 + Hex.u2(bb.getPrimarySuccessor()) in endParsingMember()
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()
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()
DByteBlockList.java59 + Hex.u2(label)); in labelToBlock()
/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()
DMethodHandleItem.java70 out.annotate(2, "kind: " + Hex.u2(methodHandle.getType())); in writeTo()
71 out.annotate(2, "reserved:" + Hex.u2(0)); in writeTo()
77 out.annotate(2, "reserved:" + Hex.u2(0)); in writeTo()
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/
DStdAttributeFactory.java231 "num_boostrap_methods: " + Hex.u2(numMethods)); in bootstrapMethods()
261 "max_stack: " + Hex.u2(maxStack)); in code()
263 "max_locals: " + Hex.u2(maxLocals)); in code()
294 Hex.u2(exceptionTableLength)); in code()
317 Hex.u2(startPc) + ".." + Hex.u2(endPc) + in code()
318 " -> " + Hex.u2(handlerPc) + " " + in code()
424 "number_of_exceptions: " + Hex.u2(count)); in exceptions()
453 "number_of_classes: " + Hex.u2(count)); in innerClasses()
509 "line_number_table_length: " + Hex.u2(count)); in lineNumberTable()
527 Hex.u2(startPc) + " " + lineNumber); in lineNumberTable()
[all …]
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()
/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/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/docs/
Dporting-proto.c.txt32 typedef uint16_t u2;
134 u2 int2char(s4 x) { return (u2) x; }
209 u1 unsignedAA(u2 x) { return x >> 8; }
210 s1 signedAA(u2 x) { return (s4)(x << 16) >> 24; }
211 s2 signedBB(u2 x) { return (s2) x; }
212 u1 unsignedA(u2 x) { return (x >> 8) & 0x0f; }
213 u1 unsignedB(u2 x) { return x >> 12; }

1234