Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 5 of 5) sorted by relevance

/art/test/2034-spaces-in-SimpleName/src_gen/
DSpacesInSimpleName.java42 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS); in main() local
44 cw.visit(Opcodes.V1_8, Opcodes.ACC_PUBLIC, "Main", in main()
47 MethodVisitor mvMain = cw.visitMethod(Opcodes.ACC_PUBLIC + Opcodes.ACC_STATIC, in main()
59 MethodVisitor mvSpaces = cw.visitMethod(Opcodes.ACC_PUBLIC + Opcodes.ACC_STATIC, in main()
66 cw.visitEnd(); in main()
68 byte[] b = cw.toByteArray(); in main()
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/
DTestGenerator.java72 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES); in generateTestCode() local
74 new ClassVisitor(Opcodes.ASM6, cw) { in generateTestCode()
78 cw, "getDexBase64", Base64.getEncoder().encodeToString(transDex)); in generateTestCode()
80 cw, "getClassBase64", Base64.getEncoder().encodeToString(transClass)); in generateTestCode()
84 out.write(cw.toByteArray()); in generateTestCode()
144 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES); in generateInvoker() local
146 new ClassVisitor(Opcodes.ASM6, cw) { in generateInvoker()
149 generateRunTest(cw, toCall); in generateInvoker()
153 output.write(cw.toByteArray()); in generateInvoker()
/art/test/121-modifiers/src-java/
DAsm.java95 ClassWriter cw = new ClassWriter(0); in modify() local
96 classNode.accept(cw); in modify()
97 byte[] b = cw.toByteArray(); in modify()
/art/test/952-invoke-custom/util-src/transformer/
DIndyTransformer.java189 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
192 cr.accept(new BootstrapBuilder(Opcodes.ASM6, cw, callsiteMap), 0);
195 os.write(cw.toByteArray());
/art/test/979-const-method-handle/util-src/transformer/
DConstantTransformer.java213 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
218 Opcodes.ASM6, cw, constantMethodHandles, constantMethodTypes);
222 os.write(cw.toByteArray());