/external/r8/src/test/examplesAndroidO/invokecustom/ |
D | TestGenerator.java | 67 MethodVisitor mv = cv.visitMethod( in generateMethodMain() local 69 mv.visitMethodInsn( in generateMethodMain() 71 mv.visitMethodInsn( in generateMethodMain() 73 mv.visitMethodInsn( in generateMethodMain() 75 mv.visitMethodInsn( in generateMethodMain() 77 mv.visitMethodInsn( in generateMethodMain() 79 mv.visitMethodInsn( in generateMethodMain() 81 mv.visitMethodInsn( in generateMethodMain() 83 mv.visitMethodInsn( in generateMethodMain() 85 mv.visitMethodInsn( in generateMethodMain() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
D | ClassProbesAdapterTest.java | 119 final MockMethodVisitor mv = new MockMethodVisitor(); in testVisitWithFrames() local 124 return mv; in testVisitWithFrames() 130 assertTrue(mv.frame); in testVisitWithFrames() 135 final MockMethodVisitor mv = new MockMethodVisitor(); in testVisitWithoutFrames() local 140 return mv; in testVisitWithoutFrames() 146 assertFalse(mv.frame); in testVisitWithoutFrames() 150 MethodVisitor mv = cv.visitMethod(0, "foo", "()V", null, null); in writeMethod() local 151 mv.visitCode(); in writeMethod() 152 mv.visitInsn(Opcodes.RETURN); in writeMethod() 153 mv.visitMaxs(0, 1); in writeMethod() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | findnearmv.h | 34 static INLINE void vp8_clamp_mv2(int_mv *mv, const MACROBLOCKD *xd) { in vp8_clamp_mv2() argument 35 if (mv->as_mv.col < (xd->mb_to_left_edge - LEFT_TOP_MARGIN)) { in vp8_clamp_mv2() 36 mv->as_mv.col = xd->mb_to_left_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2() 37 } else if (mv->as_mv.col > xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN) { in vp8_clamp_mv2() 38 mv->as_mv.col = xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2() 41 if (mv->as_mv.row < (xd->mb_to_top_edge - LEFT_TOP_MARGIN)) { in vp8_clamp_mv2() 42 mv->as_mv.row = xd->mb_to_top_edge - LEFT_TOP_MARGIN; in vp8_clamp_mv2() 43 } else if (mv->as_mv.row > xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN) { in vp8_clamp_mv2() 44 mv->as_mv.row = xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN; in vp8_clamp_mv2() 48 static INLINE void vp8_clamp_mv(int_mv *mv, int mb_to_left_edge, in vp8_clamp_mv() argument [all …]
|
D | reconinter.c | 64 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in vp8_build_inter_predictors_b() 65 (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b() 67 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) { in vp8_build_inter_predictors_b() 68 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, in vp8_build_inter_predictors_b() 86 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors4b() 87 (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors4b() 89 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) { in build_inter_predictors4b() 90 x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, in build_inter_predictors4b() 91 d->bmi.mv.as_mv.row & 7, dst, dst_stride); in build_inter_predictors4b() 101 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors2b() [all …]
|
D | findnearmv.c | 30 int_mv *mv = near_mvs; in vp8_find_near_mvs() local 35 mv[0].as_int = mv[1].as_int = mv[2].as_int = 0; in vp8_find_near_mvs() 40 if (above->mbmi.mv.as_int) { in vp8_find_near_mvs() 41 (++mv)->as_int = above->mbmi.mv.as_int; in vp8_find_near_mvs() 42 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, in vp8_find_near_mvs() 52 if (left->mbmi.mv.as_int) { in vp8_find_near_mvs() 55 this_mv.as_int = left->mbmi.mv.as_int; in vp8_find_near_mvs() 59 if (this_mv.as_int != mv->as_int) { in vp8_find_near_mvs() 60 (++mv)->as_int = this_mv.as_int; in vp8_find_near_mvs() 72 if (aboveleft->mbmi.mv.as_int) { in vp8_find_near_mvs() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
D | InterfaceFieldProbeArrayStrategy.java | 53 public int storeInstance(final MethodVisitor mv, final boolean clinit, in storeInstance() argument 57 className, probeCount, mv); in storeInstance() 61 mv.visitInsn(Opcodes.DUP); in storeInstance() 66 mv.visitFieldInsn(Opcodes.PUTSTATIC, className, in storeInstance() 71 mv.visitVarInsn(Opcodes.ASTORE, variable); in storeInstance() 76 mv.visitMethodInsn(Opcodes.INVOKESTATIC, className, in storeInstance() 79 mv.visitVarInsn(Opcodes.ASTORE, variable); in storeInstance() 99 final MethodVisitor mv = cv.visitMethod(InstrSupport.INITMETHOD_ACC, in createInitMethod() local 102 mv.visitCode(); in createInitMethod() 105 mv.visitFieldInsn(Opcodes.GETSTATIC, className, in createInitMethod() [all …]
|
D | ClassFieldProbeArrayStrategy.java | 51 public int storeInstance(final MethodVisitor mv, final boolean clinit, in storeInstance() argument 53 mv.visitMethodInsn(Opcodes.INVOKESTATIC, className, in storeInstance() 56 mv.visitVarInsn(Opcodes.ASTORE, variable); in storeInstance() 71 final MethodVisitor mv = cv.visitMethod(InstrSupport.INITMETHOD_ACC, in createInitMethod() local 74 mv.visitCode(); in createInitMethod() 77 mv.visitFieldInsn(Opcodes.GETSTATIC, className, in createInitMethod() 79 mv.visitInsn(Opcodes.DUP); in createInitMethod() 86 mv.visitJumpInsn(Opcodes.IFNONNULL, alreadyInitialized); in createInitMethod() 90 mv.visitInsn(Opcodes.POP); in createInitMethod() 91 final int size = genInitializeDataField(mv, probeCount); in createInitMethod() [all …]
|
D | DuplicateFrameEliminator.java | 28 public DuplicateFrameEliminator(final MethodVisitor mv) { in DuplicateFrameEliminator() argument 29 super(InstrSupport.ASM_API_VERSION, mv); in DuplicateFrameEliminator() 38 mv.visitFrame(type, nLocal, local, nStack, stack); in visitFrame() 45 mv.visitInsn(opcode); in visitInsn() 51 mv.visitIntInsn(opcode, operand); in visitIntInsn() 57 mv.visitVarInsn(opcode, var); in visitVarInsn() 63 mv.visitTypeInsn(opcode, type); in visitTypeInsn() 70 mv.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn() 77 mv.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn() 84 mv.visitInvokeDynamicInsn(name, desc, bsm, bsmArgs); in visitInvokeDynamicInsn() [all …]
|
D | ProbeInserter.java | 56 ProbeInserter(final int access, final String name, final String desc, final MethodVisitor mv, in ProbeInserter() argument 58 super(InstrSupport.ASM_API_VERSION, mv); in ProbeInserter() 73 mv.visitVarInsn(Opcodes.ALOAD, variable); in insertProbe() 77 InstrSupport.push(mv, id); in insertProbe() 82 mv.visitInsn(Opcodes.ICONST_1); in insertProbe() 88 mv.visitInsn(Opcodes.BASTORE); in insertProbe() 93 accessorStackSize = arrayStrategy.storeInstance(mv, clinit, variable); in visitCode() 94 mv.visitCode(); in visitCode() 99 mv.visitVarInsn(opcode, map(var)); in visitVarInsn() 104 mv.visitIincInsn(map(var), increment); in visitIincInsn() [all …]
|
D | MethodInstrumenter.java | 37 public MethodInstrumenter(final MethodVisitor mv, in MethodInstrumenter() argument 39 super(mv); in MethodInstrumenter() 53 mv.visitInsn(opcode); in visitInsnWithProbe() 61 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe() 64 mv.visitJumpInsn(getInverted(opcode), intermediate); in visitJumpInsnWithProbe() 66 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe() 67 mv.visitLabel(intermediate); in visitJumpInsnWithProbe() 68 frame.accept(mv); in visitJumpInsnWithProbe() 118 mv.visitTableSwitchInsn(min, max, newDflt, newLabels); in visitTableSwitchInsnWithProbes() 132 mv.visitLookupSwitchInsn(newDflt, keys, newLabels); in visitLookupSwitchInsnWithProbes() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
D | RuntimeData.java | 182 final String classname, final int probecount, final MethodVisitor mv) { in generateArgumentArray() argument 183 mv.visitInsn(Opcodes.ICONST_3); in generateArgumentArray() 184 mv.visitTypeInsn(Opcodes.ANEWARRAY, "java/lang/Object"); in generateArgumentArray() 187 mv.visitInsn(Opcodes.DUP); in generateArgumentArray() 188 mv.visitInsn(Opcodes.ICONST_0); in generateArgumentArray() 189 mv.visitLdcInsn(Long.valueOf(classid)); in generateArgumentArray() 190 mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/lang/Long", "valueOf", in generateArgumentArray() 192 mv.visitInsn(Opcodes.AASTORE); in generateArgumentArray() 195 mv.visitInsn(Opcodes.DUP); in generateArgumentArray() 196 mv.visitInsn(Opcodes.ICONST_1); in generateArgumentArray() [all …]
|
D | URLStreamHandlerRuntime.java | 68 final int probecount, final MethodVisitor mv) { in generateDataAccessor() argument 81 RuntimeData.generateArgumentArray(classid, classname, probecount, mv); in generateDataAccessor() 82 mv.visitInsn(Opcodes.DUP); in generateDataAccessor() 87 mv.visitTypeInsn(Opcodes.NEW, "java/net/URL"); in generateDataAccessor() 88 mv.visitInsn(Opcodes.DUP); in generateDataAccessor() 89 mv.visitLdcInsn(protocol); in generateDataAccessor() 90 mv.visitInsn(Opcodes.ACONST_NULL); in generateDataAccessor() 91 mv.visitLdcInsn(""); in generateDataAccessor() 92 mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/net/URL", "<init>", in generateDataAccessor() 100 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/net/URL", in generateDataAccessor() [all …]
|
D | LoggerRuntime.java | 62 final int probecount, final MethodVisitor mv) { in generateDataAccessor() argument 79 RuntimeData.generateArgumentArray(classid, classname, probecount, mv); in generateDataAccessor() 83 mv.visitInsn(Opcodes.DUP); in generateDataAccessor() 90 mv.visitLdcInsn(CHANNEL); in generateDataAccessor() 91 mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/util/logging/Logger", in generateDataAccessor() 99 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor() 105 mv.visitFieldInsn(Opcodes.GETSTATIC, "java/util/logging/Level", "INFO", in generateDataAccessor() 113 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor() 120 mv.visitLdcInsn(key); in generateDataAccessor() 128 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | RuntimeDataTest.java | 120 MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>", in testGenerateArgumentArray() local 122 mv.visitCode(); in testGenerateArgumentArray() 123 mv.visitVarInsn(Opcodes.ALOAD, 0); in testGenerateArgumentArray() 124 mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/lang/Object", "<init>", in testGenerateArgumentArray() 126 mv.visitInsn(Opcodes.RETURN); in testGenerateArgumentArray() 127 mv.visitMaxs(1, 1); in testGenerateArgumentArray() 128 mv.visitEnd(); in testGenerateArgumentArray() 131 mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "call", in testGenerateArgumentArray() 133 mv.visitCode(); in testGenerateArgumentArray() 134 RuntimeData.generateArgumentArray(1000, "Sample", 15, mv); in testGenerateArgumentArray() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_mvref_common.h | 216 static INLINE void clamp_mv_ref(MV *mv, const MACROBLOCKD *xd) { in clamp_mv_ref() argument 217 clamp_mv(mv, xd->mb_to_left_edge - MV_BORDER, in clamp_mv_ref() 230 : candidate->mv[which_mv]; in get_sub_block_mv() 237 int_mv mv = mi->mv[ref]; in scale_mv() local 239 mv.as_mv.row *= -1; in scale_mv() 240 mv.as_mv.col *= -1; in scale_mv() 242 return mv; in scale_mv() 248 #define ADD_MV_REF_LIST(mv, refmv_count, mv_ref_list, Done) \ argument 251 if ((mv).as_int != (mv_ref_list)[0].as_int) { \ 252 (mv_ref_list)[(refmv_count)] = (mv); \ [all …]
|
D | vp9_mv.h | 22 typedef struct mv { struct 37 static INLINE int is_zero_mv(const MV *mv) { in is_zero_mv() argument 38 return *((const uint32_t *)mv) == 0; in is_zero_mv() 45 static INLINE void clamp_mv(MV *mv, int min_col, int max_col, int min_row, in clamp_mv() argument 47 mv->col = clamp(mv->col, min_col, max_col); in clamp_mv() 48 mv->row = clamp(mv->row, min_row, max_row); in clamp_mv()
|
D | vp9_mvref_common.c | 66 ADD_MV_REF_LIST(candidate_mi->mv[0], refmv_count, mv_ref_list, Done); in find_mv_refs_idx() 68 ADD_MV_REF_LIST(candidate_mi->mv[1], refmv_count, mv_ref_list, Done); in find_mv_refs_idx() 75 ADD_MV_REF_LIST(prev_frame_mvs->mv[0], refmv_count, mv_ref_list, Done); in find_mv_refs_idx() 77 ADD_MV_REF_LIST(prev_frame_mvs->mv[1], refmv_count, mv_ref_list, Done); in find_mv_refs_idx() 102 int_mv mv = prev_frame_mvs->mv[0]; in find_mv_refs_idx() local 105 mv.as_mv.row *= -1; in find_mv_refs_idx() 106 mv.as_mv.col *= -1; in find_mv_refs_idx() 108 ADD_MV_REF_LIST(mv, refmv_count, mv_ref_list, Done); in find_mv_refs_idx() 113 prev_frame_mvs->mv[1].as_int != prev_frame_mvs->mv[0].as_int) { in find_mv_refs_idx() 114 int_mv mv = prev_frame_mvs->mv[1]; in find_mv_refs_idx() local [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | ResizeInstructionsTest.java | 66 final MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "m", "()V", in test() local 68 mv.visitCode(); in test() 69 addCauseOfResizeInstructions(mv); in test() 70 addCauseOfGetCommonSuperClass(mv); in test() 71 mv.visitMaxs(1, 1); in test() 72 mv.visitEnd(); in test() 94 private static void addCauseOfGetCommonSuperClass(final MethodVisitor mv) { in addCauseOfGetCommonSuperClass() argument 95 mv.visitVarInsn(Opcodes.ALOAD, 0); in addCauseOfGetCommonSuperClass() 96 mv.visitVarInsn(Opcodes.ASTORE, 1); in addCauseOfGetCommonSuperClass() 98 mv.visitLabel(label); in addCauseOfGetCommonSuperClass() [all …]
|
/external/autotest/site_utils/suite_scheduler/ |
D | manifest_versions_unittest.py | 70 self.mv = manifest_versions.ManifestVersions() 75 self.mox.StubOutWithMock(self.mv, '_Clone') 77 self.mv._Clone() 79 self.mv.Initialize() 84 self.mox.StubOutWithMock(self.mv, '_Clone') 86 for i in range(0, self.mv._CLONE_MAX_RETRIES): 87 self.mv._Clone().AndRaise( 90 time.sleep(self.mv._CLONE_RETRY_SECONDS) 91 self.mv._Clone() 93 self.mv.Initialize() [all …]
|
D | build_event_unittest.py | 27 self.mv = self.mox.CreateMock(manifest_versions.ManifestVersions) 64 self.mv.GetCheckpoint().AndReturn(head) 65 self.mv.ManifestsSinceRev(head, board).AndReturn(branch_manifests) 78 return build_event.NewBuild(self.mv, False) 83 self.mv.GetCheckpoint().AndReturn(initial_hash) 100 event = build_event.NewBuild.CreateFromConfig(config, self.mv) 123 self.mv.GetCheckpoint().AndReturn(initial_hash) 124 self.mv.AnyManifestsSinceRev(initial_hash).AndReturn(False) 125 self.mv.GetCheckpoint().AndReturn(expected_hash) 126 self.mv.AnyManifestsSinceRev(expected_hash).AndReturn(True) [all …]
|
/external/libhevc/decoder/ |
D | ihevcd_mv_merge.c | 100 ps_mv_1 = &ps_pu_1->mv; in ihevcd_compare_pu_t() 101 ps_mv_2 = &ps_pu_2->mv; in ihevcd_compare_pu_t() 233 as_mv_col[0] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 234 au4_ref_idx_col[0] = ps_col_pu->mv.i1_l1_ref_idx; in ihevcd_collocated_mvp() 237 as_mv_col[1] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 238 au4_ref_idx_col[1] = ps_col_pu->mv.i1_l1_ref_idx; in ihevcd_collocated_mvp() 245 as_mv_col[0] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 246 au4_ref_idx_col[0] = ps_col_pu->mv.i1_l0_ref_idx; in ihevcd_collocated_mvp() 249 as_mv_col[1] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 250 au4_ref_idx_col[1] = ps_col_pu->mv.i1_l0_ref_idx; in ihevcd_collocated_mvp() [all …]
|
D | ihevcd_inter_pred.c | 233 …ps_pic_buf_l0 = (pic_buf_t *)((ps_slice_hdr->as_ref_pic_list0[ps_pu->mv.i1_l0_ref_idx].pv_pic_buf)… in ihevcd_inter_pred_ctb() 238 luma_weight_l0 = ps_slice_hdr->s_wt_ofst.i2_luma_weight_l0[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 239 … chroma_weight_l0_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cb[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 240 … chroma_weight_l0_cr = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cr[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 242 luma_offset_l0 = ps_slice_hdr->s_wt_ofst.i2_luma_offset_l0[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 243 … chroma_offset_l0_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_offset_l0_cb[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 244 … chroma_offset_l0_cr = ps_slice_hdr->s_wt_ofst.i2_chroma_offset_l0_cr[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 250 …ps_pic_buf_l1 = (pic_buf_t *)((ps_slice_hdr->as_ref_pic_list1[ps_pu->mv.i1_l1_ref_idx].pv_pic_buf)… in ihevcd_inter_pred_ctb() 254 luma_weight_l1 = ps_slice_hdr->s_wt_ofst.i2_luma_weight_l1[ps_pu->mv.i1_l1_ref_idx]; in ihevcd_inter_pred_ctb() 255 … chroma_weight_l1_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l1_cb[ps_pu->mv.i1_l1_ref_idx]; in ihevcd_inter_pred_ctb() [all …]
|
/external/libvpx/libvpx/vp8/decoder/ |
D | decodemv.c | 91 static void read_mv(vp8_reader *r, MV *mv, const MV_CONTEXT *mvc) { in read_mv() argument 92 mv->row = (short)(read_mvcomponent(r, mvc) * 2); in read_mv() 93 mv->col = (short)(read_mvcomponent(r, ++mvc) * 2); in read_mv() 221 leftmv.as_int = left_mb->mbmi.mv.as_int; in decode_split_mv() 223 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int; in decode_split_mv() 226 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int; in decode_split_mv() 232 abovemv.as_int = above_mb->mbmi.mv.as_int; in decode_split_mv() 234 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int; in decode_split_mv() 237 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int; in decode_split_mv() 273 mi->bmi[*fill_offset].mv.as_int = blockmv.as_int; in decode_split_mv() [all …]
|
D | error_concealment.c | 164 new_row = row - bmi->mv.as_mv.row; in vp8_calculate_overlaps() 165 new_col = col - bmi->mv.as_mv.col; in vp8_calculate_overlaps() 220 bmi->mv.as_int = 0; in estimate_mv() 223 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col; in estimate_mv() 224 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row; in estimate_mv() 229 bmi->mv.as_mv.col = col_acc / overlap_sum; in estimate_mv() 230 bmi->mv.as_mv.row = row_acc / overlap_sum; in estimate_mv() 232 bmi->mv.as_mv.col = 0; in estimate_mv() 233 bmi->mv.as_mv.row = 0; in estimate_mv() 245 MV *const filtered_mv = &(mi->mbmi.mv.as_mv); in estimate_mb_mvs() [all …]
|
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/ |
D | BootstrapMethodReferenceTest.java | 66 final MethodVisitor mv = cw.visitMethod( in test() local 69 mv.visitCode(); in test() 70 addCauseOfResizeInstructions(mv); in test() 76 mv.visitInvokeDynamicInsn("invoke", "()I", handle); in test() 77 mv.visitInsn(Opcodes.IRETURN); in test() 78 mv.visitMaxs(1, 0); in test() 79 mv.visitEnd(); in test() 103 private static void addCauseOfResizeInstructions(final MethodVisitor mv) { in addCauseOfResizeInstructions() argument 104 mv.visitInsn(Opcodes.ICONST_0); in addCauseOfResizeInstructions() 105 mv.visitInsn(Opcodes.ICONST_1); in addCauseOfResizeInstructions() [all …]
|