Searched refs:Bytecode (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/
H A Dtest_bytecode.py2 from yasm import Bytecode, Expression namespace
/external/javassist/src/main/javassist/compiler/
H A DProceedHandler.java18 import javassist.bytecode.Bytecode;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError;
H A DAccessorMaker.java61 Bytecode code = new Bytecode(cp);
121 Bytecode code = new Bytecode(cp);
173 Bytecode code = new Bytecode(cp);
175 code.addGetstatic(Bytecode.THIS, fieldName, fieldType);
179 code.addGetfield(Bytecode.THIS, fieldName, fieldType);
224 Bytecode code = new Bytecode(c
[all...]
H A DJavac.java27 import javassist.bytecode.Bytecode;
39 private Bytecode bytecode;
52 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0),
58 * The produced bytecode is stored in the <code>Bytecode</code> object
64 public Javac(Bytecode b, CtClass thisClass) {
73 public Bytecode getBytecode() { return bytecode; }
190 public Bytecode compileBody(CtBehavior method, String src)
232 private static void makeDefaultBody(Bytecode b, CtClass type) {
439 public void doit(JvstCodeGen gen, Bytecode b, ASTList args)
483 public void doit(JvstCodeGen gen, Bytecode
[all...]
H A DJvstCodeGen.java44 public JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp) {
142 protected void atAssignParamList(CtClass[] params, Bytecode code)
604 public static int compileParameterList(Bytecode code,
617 code.addOpcode(Bytecode.DUP); // dup
623 code.addOpcode(Bytecode.DUP); // dup
636 code.addOpcode(Bytecode.AASTORE); // aastore
643 protected void compileUnwrapValue(CtClass type, Bytecode code)
/external/javassist/src/main/javassist/
H A DCtNewWrappedConstructor.java37 Bytecode code = makeBody(declaring, declaring.getClassFile2(),
48 protected static Bytecode makeBody(CtClass declaring, ClassFile classfile,
58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0);
89 code.add(Bytecode.RETURN);
H A DCtField.java813 abstract int compile(CtClass type, String name, Bytecode code,
819 Bytecode code, Javac drv) throws CannotCompileException;
829 int compile(CtClass type, String name, Bytecode code,
836 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type));
844 int compileIfStatic(CtClass type, String name, Bytecode code,
849 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type));
929 int compile(CtClass type, String name, Bytecode code,
937 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type));
973 int compileIfStatic(CtClass type, String name, Bytecode code,
994 int compile(CtClass type, String name, Bytecode cod
[all...]
H A DCtNewMethod.java231 Bytecode code = new Bytecode(cp, 2, 1);
236 code.addGetfield(Bytecode.THIS, fieldName, fieldType);
239 code.addGetstatic(Bytecode.THIS, fieldName, fieldType);
272 Bytecode code = new Bytecode(cp, 3, 3);
278 code.addPutfield(Bytecode.THIS, fieldName, fieldType);
282 code.addPutstatic(Bytecode.THIS, fieldName, fieldType);
342 Bytecode code = new Bytecode(c
[all...]
H A DCtNewWrappedMethod.java44 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body,
50 static Bytecode makeBody(CtClass clazz, ClassFile classfile,
58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0);
73 Bytecode code)
111 code.addInvokestatic(Bytecode.THIS, bodyname, desc);
113 code.addInvokespecial(Bytecode.THIS, bodyname, desc);
171 static int compileParameterList(Bytecode code,
179 private static void compileReturn(Bytecode code, CtClass type) {
193 code.addOpcode(Bytecode
[all...]
H A DCtMethod.java285 Bytecode code = CtNewWrappedMethod.makeBody(clazz,
341 int compile(Bytecode code) throws CannotCompileException {
380 int compile(Bytecode code) throws CannotCompileException {
401 int compile(Bytecode code) throws CannotCompileException {
422 int compile(Bytecode code) throws CannotCompileException {
H A DCtNewConstructor.java141 Bytecode code = new Bytecode(cp, 1, 1);
151 code.add(Bytecode.RETURN);
H A DCtBehavior.java401 Bytecode b = jv.compileBody(this, src);
706 Bytecode b = jv.getBytecode();
770 Bytecode b = new Bytecode(pool, 0, retAddr + 1);
826 private void insertAfterAdvice(Bytecode code, Javac jv, String src,
878 private int insertAfterHandler(boolean asFinally, Bytecode b,
930 Bytecode b = new Bytecode(methodInfo.getConstPool(),
1011 Bytecode b = new Bytecode(c
[all...]
/external/javassist/src/main/javassist/convert/
H A DTransformBefore.java83 Bytecode save = new Bytecode(cp, 0, 0);
84 Bytecode load = new Bytecode(cp, 0, 0);
96 private void makeCode2(Bytecode save, Bytecode load,
/external/javassist/src/test/test/javassist/bytecode/analysis/
H A DAnalyzerTest.java12 import javassist.bytecode.Bytecode;
142 private static void addJump(Bytecode code, int opcode, int pos) {
202 Bytecode code = new Bytecode(info.getConstPool(), 1, 2);
222 Bytecode code = new Bytecode(info.getConstPool(), 1, 2);
239 Bytecode code = new Bytecode(info.getConstPool(), 1, 2);
254 Bytecode code = new Bytecode(inf
[all...]
H A DScannerTest.java11 import javassist.bytecode.Bytecode;
111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9);
180 private static void addJump(Bytecode code, int opcode, int pos) {
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
H A Dbytecode.pxi26 cdef class Bytecode: class in inherits:
34 self.bc = <yasm_bytecode *>__get_voidp(bc, Bytecode)
77 # Keep Bytecode reference paired with bc using weak references.
91 bcobj = Bytecode(__pass_voidp(bc, Bytecode))
99 obj = Bytecode.__new__(cls, __pass_voidp(bc, Bytecode))
103 class Org(Bytecode):
H A Dvalue.pxi52 elif isinstance(precbc, Bytecode):
53 return yasm_value_finalize(&self.value, (<Bytecode>precbc).bc)
H A Dsymrec.pxi79 return None #Bytecode(bc)
121 cdef class Bytecode class in inherits:
209 if not isinstance(precbc, Bytecode):
212 (<Bytecode>precbc).bc, in_table, line))
/external/javassist/src/main/javassist/util/proxy/
H A DProxyFactory.java860 Bytecode code = new Bytecode(cp, 0, 0);
867 code.addOpcode(Bytecode.RETURN);
878 Bytecode code = new Bytecode(cp, 2, 2);
882 code.addOpcode(Bytecode.RETURN);
893 Bytecode code = new Bytecode(cp, 1, 1);
896 code.addOpcode(Bytecode.ARETURN);
1061 Bytecode cod
[all...]
/external/javassist/src/main/javassist/expr/
H A DCast.java114 Bytecode bytecode = jc.getBytecode();
144 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
H A DInstanceof.java120 Bytecode bytecode = jc.getBytecode();
148 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
H A DExpr.java27 import javassist.bytecode.Bytecode;
233 int regno, Bytecode bytecode) {
242 Bytecode bytecode) {
289 protected void replace0(int pos, Bytecode bytecode, int size)
H A DNewExpr.java199 Bytecode bytecode = jc.getBytecode();
229 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
H A DHandler.java114 Bytecode b = jv.getBytecode();
H A DFieldAccess.java195 Bytecode bytecode = jc.getBytecode();
236 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
284 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)

Completed in 503 milliseconds

12