Lines Matching refs:u2
26 static dex::u2 Pack_Z_8(dex::u4 a) { in Pack_Z_8()
27 dex::u2 fa = (a & 0xff); in Pack_Z_8()
33 static dex::u2 Pack_8_8(dex::u4 a, dex::u4 b) { in Pack_8_8()
34 dex::u2 fa = (a & 0xff); in Pack_8_8()
36 dex::u2 fb = (b & 0xff); in Pack_8_8()
42 static dex::u2 Pack_4_4_8(dex::u4 a, dex::u4 b, dex::u4 c) { in Pack_4_4_8()
43 dex::u2 fa = (a & 0xf); in Pack_4_4_8()
45 dex::u2 fb = (b & 0xf); in Pack_4_4_8()
47 dex::u2 fc = (c & 0xff); in Pack_4_4_8()
53 static dex::u2 Pack_4_4_4_4(dex::u4 a, dex::u4 b, dex::u4 c, dex::u4 d) { in Pack_4_4_4_4()
54 dex::u2 fa = (a & 0xf); in Pack_4_4_4_4()
56 dex::u2 fb = (b & 0xf); in Pack_4_4_4_4()
58 dex::u2 fc = (c & 0xf); in Pack_4_4_4_4()
60 dex::u2 fd = (d & 0xf); in Pack_4_4_4_4()
66 static dex::u2 Pack_16(dex::u4 a) { in Pack_16()
67 dex::u2 fa = (a & 0xffff); in Pack_16()
143 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()
151 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()
159 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
160 bytecode_.Push<dex::u2>(Pack_16(vB)); in Visit()
168 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()
169 bytecode_.Push<dex::u2>(Pack_16(vA)); in Visit()
170 bytecode_.Push<dex::u2>(Pack_16(vB)); in Visit()
178 bytecode_.Push<dex::u2>(Pack_4_4_8(B, vA, opcode)); in Visit()
186 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
187 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
194 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
202 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
203 bytecode_.Push<dex::u2>(Pack_16(B & 0xffff)); in Visit()
204 bytecode_.Push<dex::u2>(Pack_16(B >> 16)); in Visit()
220 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()
221 bytecode_.Push<dex::u2>(Pack_16(A & 0xffff)); in Visit()
236 bytecode_.Push<dex::u2>(Pack_Z_8(opcode)); in Visit()
237 bytecode_.Push<dex::u2>(Pack_16(A & 0xffff)); in Visit()
238 bytecode_.Push<dex::u2>(Pack_16(A >> 16)); in Visit()
255 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
256 bytecode_.Push<dex::u2>(Pack_16(B & 0xffff)); in Visit()
274 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()
275 bytecode_.Push<dex::u2>(Pack_16(C & 0xffff)); in Visit()
291 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
292 bytecode_.Push<dex::u2>(Pack_16(B & 0xffff)); in Visit()
293 bytecode_.Push<dex::u2>(Pack_16(B >> 16)); in Visit()
302 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
303 bytecode_.Push<dex::u2>(Pack_8_8(vC, vB)); in Visit()
312 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
313 bytecode_.Push<dex::u2>(Pack_8_8(C, vB)); in Visit()
322 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()
323 bytecode_.Push<dex::u2>(Pack_16(C)); in Visit()
332 bytecode_.Push<dex::u2>(Pack_4_4_8(vB, vA, opcode)); in Visit()
333 bytecode_.Push<dex::u2>(Pack_16(C)); in Visit()
341 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
342 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
350 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
351 bytecode_.Push<dex::u2>(Pack_16(B & 0xffff)); in Visit()
352 bytecode_.Push<dex::u2>(Pack_16(B >> 16)); in Visit()
366 bytecode_.Push<dex::u2>(Pack_4_4_8(A, G, opcode)); in Visit()
367 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
368 bytecode_.Push<dex::u2>(Pack_4_4_4_4(F, E, D, C)); in Visit()
383 bytecode_.Push<dex::u2>(Pack_8_8(A, opcode)); in Visit()
384 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
385 bytecode_.Push<dex::u2>(Pack_16(C)); in Visit()
398 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
399 bytecode_.Push<dex::u2>(Pack_16((B >> 0) & 0xffff)); in Visit()
400 bytecode_.Push<dex::u2>(Pack_16((B >> 16) & 0xffff)); in Visit()
401 bytecode_.Push<dex::u2>(Pack_16((B >> 32) & 0xffff)); in Visit()
402 bytecode_.Push<dex::u2>(Pack_16((B >> 48) & 0xffff)); in Visit()
411 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
412 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
418 bytecode_.Push<dex::u2>(Pack_8_8(vA, opcode)); in Visit()
419 bytecode_.Push<dex::u2>(Pack_16(B)); in Visit()
447 bytecode_.Push<dex::u2>(dex::kPackedSwitchSignature); in Visit()
448 bytecode_.Push<dex::u2>(Pack_16(packed_switch->targets.size())); in Visit()
471 bytecode_.Push<dex::u2>(dex::kSparseSwitchSignature); in Visit()
472 bytecode_.Push<dex::u2>(Pack_16(sparse_switch->switch_cases.size())); in Visit()
499 bytecode_.Push<dex::u2>(dex::OP_NOP); in Visit()
528 dex::u2* const begin = bytecode_.ptr<dex::u2>(0); in FixupSwitchOffsets()
529 dex::u2* const end = begin + bytecode_.size() / 2; in FixupSwitchOffsets()
530 dex::u2* ptr = begin; in FixupSwitchOffsets()
591 dex::u2* instr = bytecode_.ptr<dex::u2>(fixup.offset * 2); in FixupLabels()
630 ir_code->instructions = slicer::ArrayView<const dex::u2>( in Encode()
631 bytecode_.ptr<dex::u2>(0), bytecode_.size() / 2); in Encode()