HomeSort by relevance Sort by last modified time
    Searched refs:Bytecode (Results 1 - 25 of 37) sorted by null

1 2

  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/
test_bytecode.py 2 from yasm import Bytecode, Expression
  /external/javassist/src/main/javassist/compiler/
ProceedHandler.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.Bytecode;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError;
AccessorMaker.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
61 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)
    [all...]
Javac.java 2 * Javassist, a Java-bytecode translator toolkit.
27 import javassist.bytecode.Bytecode;
28 import javassist.bytecode.CodeAttribute;
29 import javassist.bytecode.LocalVariableAttribute;
30 import javassist.bytecode.BadBytecode;
31 import javassist.bytecode.Opcode;
39 private Bytecode bytecode; field in class:Javac
52 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0)
    [all...]
JvstCodeGen.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
44 public JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp) {
70 bytecode.addOpcode(ACONST_NULL);
83 compileParameterList(bytecode, paramTypeList, indexOfParam1());
89 bytecode.addLdc(Descriptor.ofMethod(returnType, paramTypeList));
90 bytecode.addInvokestatic("javassist/runtime/Desc", "getParams",
100 bytecode.addLdc(Descriptor.of(dollarType));
107 bytecode.addLdc(param0Type);
115 bytecode.addInvokestatic("javassist/runtime/Desc", method
    [all...]
  /external/javassist/src/main/javassist/
CtNewWrappedConstructor.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
37 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);
CtField.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
335 * @see javassist.bytecode.Descriptor
336 * @see javassist.bytecode.SignatureAttribute
410 * See {@link javassist.bytecode.AttributeInfo}.
427 * See {@link javassist.bytecode.AttributeInfo}.
813 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))
    [all...]
CtNewMethod.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
231 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)
    [all...]
CtNewWrappedMethod.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
44 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
    [all...]
CtMethod.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
285 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 {
CtNewConstructor.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
141 Bytecode code = new Bytecode(cp, 1, 1);
151 code.add(Bytecode.RETURN);
CtBehavior.java 2 * Javassist, a Java-bytecode translator toolkit.
18 import javassist.bytecode.*;
139 * the method will be rejected by the bytecode verifier.
315 * @see javassist.bytecode.Descriptor
316 * @see javassist.bytecode.SignatureAttribute
401 Bytecode b = jv.compileBody(this, src);
451 * See {@link javassist.bytecode.AttributeInfo}.
468 * See {@link javassist.bytecode.AttributeInfo}.
668 * Inserts bytecode at the beginning of the body.
671 * the bytecode is inserted befor
    [all...]
  /external/javassist/src/main/javassist/convert/
TransformBefore.java 2 * Javassist, a Java-bytecode translator toolkit.
21 import javassist.bytecode.*;
83 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/
AnalyzerTest.java 1 package test.javassist.bytecode.analysis;
10 import javassist.bytecode.AccessFlag;
11 import javassist.bytecode.BadBytecode;
12 import javassist.bytecode.Bytecode;
13 import javassist.bytecode.CodeIterator;
14 import javassist.bytecode.MethodInfo;
15 import javassist.bytecode.Opcode;
16 import javassist.bytecode.analysis.Analyzer;
17 import javassist.bytecode.analysis.Frame
    [all...]
ScannerTest.java 1 package test.javassist.bytecode.analysis;
10 import javassist.bytecode.AccessFlag;
11 import javassist.bytecode.Bytecode;
12 import javassist.bytecode.MethodInfo;
13 import javassist.bytecode.Opcode;
14 import javassist.bytecode.analysis.Subroutine;
15 import javassist.bytecode.analysis.SubroutineScanner;
111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9)
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
bytecode.pxi 1 # Python bindings for Yasm: Pyrex input file for bytecode.h
26 cdef class Bytecode:
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))
95 # Org bytecode
99 obj = Bytecode.__new__(cls, __pass_voidp(bc, Bytecode))
103 class Org(Bytecode)
    [all...]
value.pxi 52 elif isinstance(precbc, Bytecode):
53 return yasm_value_finalize(&self.value, (<Bytecode>precbc).bc)
symrec.pxi 79 return None #Bytecode(bc)
121 cdef class Bytecode
209 if not isinstance(precbc, Bytecode):
212 (<Bytecode>precbc).bc, in_table, line))
  /external/javassist/src/main/javassist/util/proxy/
ProxyFactory.java 2 * Javassist, a Java-bytecode translator toolkit.
29 import javassist.bytecode.*;
860 Bytecode code = new Bytecode(cp, 0, 0);
867 code.addOpcode(Bytecode.RETURN);
    [all...]
  /external/javassist/src/main/javassist/expr/
Cast.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
82 * Replaces the explicit cast operator with the bytecode derived from
114 Bytecode bytecode = jc.getBytecode(); local
115 storeStack(params, true, paramVar, bytecode);
118 bytecode.addConstZero(retType);
119 bytecode.addStore(retVar, retType); // initialize $_
122 bytecode.addLoad(retVar, retType);
124 replace0(pos, bytecode, 3)
    [all...]
Instanceof.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
85 * Replaces the instanceof operator with the bytecode derived from
120 Bytecode bytecode = jc.getBytecode(); local
121 storeStack(params, true, paramVar, bytecode);
124 bytecode.addConstZero(retType);
125 bytecode.addStore(retVar, retType); // initialize $_
128 bytecode.addLoad(retVar, retType);
130 replace0(pos, bytecode, 3)
    [all...]
Expr.java 2 * Javassist, a Java-bytecode translator toolkit.
25 import javassist.bytecode.AccessFlag;
26 import javassist.bytecode.BadBytecode;
27 import javassist.bytecode.Bytecode;
28 import javassist.bytecode.ClassFile;
29 import javassist.bytecode.CodeAttribute;
30 import javassist.bytecode.CodeIterator;
31 import javassist.bytecode.ConstPool;
32 import javassist.bytecode.ExceptionTable
    [all...]
NewExpr.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
100 * @see javassist.bytecode.Descriptor
154 * Replaces the <tt>new</tt> expression with the bytecode derived from
199 Bytecode bytecode = jc.getBytecode(); local
200 storeStack(params, true, paramVar, bytecode);
203 bytecode.addConstZero(newType);
204 bytecode.addStore(retVar, newType); // initialize $_
208 bytecode.addAload(retVar)
    [all...]
Handler.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
102 * Inserts bytecode at the beginning of the catch clause.
105 * @param src the source code representing the inserted bytecode.
114 Bytecode b = jv.getBytecode();
FieldAccess.java 2 * Javassist, a Java-bytecode translator toolkit.
19 import javassist.bytecode.*;
131 * @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool)
140 * Replaces the method call with the bytecode derived from
195 Bytecode bytecode = jc.getBytecode(); local
196 storeStack(params, isStatic(), paramVar, bytecode);
201 bytecode.addOpcode(ACONST_NULL);
202 bytecode.addAstore(retVar);
205 bytecode.addConstZero(retType)
    [all...]

Completed in 353 milliseconds

1 2