Home
last modified time | relevance | path

Searched refs:CodeEmitter (Results 1 – 25 of 49) sorted by relevance

12

/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DEmitUtils.java78 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, sig, null); in factory_method()
88 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, CSTRUCT_NULL, null); in null_constructor()
102 public static void process_array(CodeEmitter e, Type type, ProcessArrayCallback callback) { in process_array()
134 public static void process_arrays(CodeEmitter e, Type type, ProcessArrayCallback callback) { in process_arrays()
164 …public static void string_switch(CodeEmitter e, String[] strings, int switchStyle, ObjectSwitchCal… in string_switch()
188 private static void string_switch_trie(final CodeEmitter e, in string_switch_trie()
215 private static void stringSwitchHelper(final CodeEmitter e, in stringSwitchHelper()
256 private static void string_switch_hash(final CodeEmitter e, in string_switch_hash()
307 public static void load_class_this(CodeEmitter e) { in load_class_this()
311 public static void load_class(CodeEmitter e, Type type) { in load_class()
[all …]
DClassEmitter.java32 private CodeEmitter staticInit;
33 private CodeEmitter staticHook;
89 public CodeEmitter getStaticHook() { in getStaticHook()
136 public CodeEmitter begin_method(int access, Signature sig, Type[] exceptions) { in begin_method()
156 staticInit = new CodeEmitter(this, wrapped, access, sig, exceptions); in begin_method()
165 return new CodeEmitter(this, v, access, sig, exceptions) { in begin_method()
171 return new CodeEmitter(this, v, access, sig, exceptions); in begin_method()
175 public CodeEmitter begin_static() {
DBlock.java22 private CodeEmitter e;
26 public Block(CodeEmitter e) { in Block()
31 public CodeEmitter getCodeEmitter() { in getCodeEmitter()
DKeyFactory.java88 public void customize(CodeEmitter e, Type type) {
96 public void customize(CodeEmitter e, Type type) {
183 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, in generateClass()
DCustomizer.java21 void customize(CodeEmitter e, Type type); in customize()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DAddInitTransformer.java23 import org.mockito.cglib.core.CodeEmitter;
47 public CodeEmitter begin_method(int access, Signature sig, Type[] exceptions) { in begin_method()
48 final CodeEmitter emitter = super.begin_method(access, sig, exceptions); in begin_method()
50 return new CodeEmitter(emitter) { in begin_method()
DFieldProviderTransformer.java103 CodeEmitter e = getStaticHook(); in initFieldProvider()
121 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_GET_NAMES, null); in getNames()
128 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_GET_TYPES, null); in getTypes()
135 final CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_SET_BY_INDEX, null); in setByIndex()
154 final CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_GET_BY_INDEX, null); in getByIndex()
174 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, PROVIDER_GET, null); in getField()
192 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, PROVIDER_SET, null); in setField()
DUndeclaredThrowableTransformer.java44 public CodeEmitter begin_method(int access, final Signature sig, final Type[] exceptions) { in begin_method()
45 CodeEmitter e = super.begin_method(access, sig, exceptions); in begin_method()
49 return new CodeEmitter(e) { in begin_method()
DAddDelegateTransformer.java74 public CodeEmitter begin_method(int access, Signature sig, Type[] exceptions) { in begin_method()
75 final CodeEmitter e = super.begin_method(access, sig, exceptions); in begin_method()
77 return new CodeEmitter(e) { in begin_method()
109 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, sig, exceptions); in addDelegate()
DInterceptFieldTransformer.java56 CodeEmitter e; in begin_class()
87 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, in addReadMethod()
115 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, in addWriteMethod()
145 public CodeEmitter begin_method(int access, Signature sig, Type[] exceptions) { in begin_method()
146 return new CodeEmitter(super.begin_method(access, sig, exceptions)) { in begin_method()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DCallbackGenerator.java25 void generateStatic(CodeEmitter e, Context context, List methods) throws Exception; in generateStatic()
30 CodeEmitter beginMethod(ClassEmitter ce, MethodInfo method); in beginMethod()
33 void emitCallback(CodeEmitter ce, int index); in emitCallback()
DEnhancer.java703 CodeEmitter e = EmitUtils.begin_method(ce, constructor, Constants.ACC_PUBLIC); in emitConstructors()
732 final CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, GET_CALLBACK, null); in emitGetCallback()
752 final CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, SET_CALLBACK, null); in emitSetCallback()
771 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, SET_CALLBACKS, null); in emitSetCallbacks()
785 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, GET_CALLBACKS, null); in emitGetCallbacks()
803 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, null); in emitNewInstanceCallbacks()
809 private void emitCommonNewInstance(CodeEmitter e) { in emitCommonNewInstance()
820 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, SINGLE_NEW_INSTANCE, null); in emitNewInstanceCallback()
842 final CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, MULTIARG_NEW_INSTANCE, null); in emitNewInstanceMultiarg()
899 CodeEmitter se = ce.getStaticHook(); in emitMethods()
[all …]
DLazyLoaderGenerator.java41 CodeEmitter e = context.beginMethod(ce, method); in generate()
59 CodeEmitter e = ce.begin_method(Constants.ACC_PRIVATE | in generate()
88 public void generateStatic(CodeEmitter e, Context context, List methods) { } in generateStatic()
DNoOpGenerator.java33 CodeEmitter e = EmitUtils.begin_method(ce, method); in generate()
43 public void generateStatic(CodeEmitter e, Context context, List methods) { } in generateStatic()
DFixedValueGenerator.java33 CodeEmitter e = context.beginMethod(ce, method); in generate()
42 public void generateStatic(CodeEmitter e, Context context, List methods) { } in generateStatic()
DDispatcherGenerator.java48 CodeEmitter e = context.beginMethod(ce, method); in generate()
65 public void generateStatic(CodeEmitter e, Context context, List methods) { } in generateStatic()
DMethodInterceptorGenerator.java98 CodeEmitter e; in generate()
137 private static void superHelper(CodeEmitter e, MethodInfo method) in superHelper()
148 public void generateStatic(CodeEmitter e, Context context, List methods) throws Exception { in generateStatic()
219 final CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC | Constants.ACC_STATIC, in generateFindProxy()
DInvocationHandlerGenerator.java43 CodeEmitter e = context.beginMethod(ce, method); in generate()
58 public void generateStatic(CodeEmitter e, Context context, List methods) { in generateStatic()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastClassEmitter.java60 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_CLASS, null); in FastClassEmitter()
114 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, SIGNATURE_GET_INDEX, null); in emitIndexBySignature()
128 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, METHOD_GET_INDEX, null); in emitIndexByClassArray()
148 private void signatureSwitchHelper(final CodeEmitter e, final List signatures) { in signatureSwitchHelper()
166 …private static void invokeSwitchHelper(final CodeEmitter e, List members, final int arg, final Typ… in invokeSwitchHelper()
198 private CodeEmitter e;
201 public GetIndexCallback(CodeEmitter e, List methods) { in GetIndexCallback()
DMulticastDelegate.java113 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, null); in generateClass()
133 final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC); in emitProxy()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target.cpp141 CodeEmitter::CodeEmitter(const Target *target) : targ(target) in CodeEmitter() function in nv50_ir::CodeEmitter
146 CodeEmitter::setCodeLocation(void *ptr, uint32_t size) in setCodeLocation()
154 CodeEmitter::printBinary() const in printBinary()
172 CodeEmitter::prepareEmission(Program *prog) in prepareEmission()
201 CodeEmitter::prepareEmission(Function *func) in prepareEmission()
213 CodeEmitter::prepareEmission(BasicBlock *bb) in prepareEmission()
323 CodeEmitter *emit = target->getCodeEmitter(progType); in emitBinary()
363 CodeEmitter::addReloc(RelocEntry::Type ty, int w, uint32_t data, uint32_t m, in addReloc()
Dnv50_ir_target.h61 class CodeEmitter
64 CodeEmitter(const Target *);
128 virtual CodeEmitter *getCodeEmitter(Program::Type) = 0;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
DBeanMapEmitter.java93 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT, null); in generateConstructor()
102 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, BEAN_MAP_GET, null); in generateGet()
124 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, BEAN_MAP_PUT, null); in generatePut()
160 CodeEmitter e = begin_static(); in generateKeySet()
178 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, GET_PROPERTY_TYPE, null); in generateGetPropertyType()
DBulkBeanEmitter.java59 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, GET_PROPERTY_VALUES, null); in generateGet()
83 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, SET_PROPERTY_VALUES, null); in generateSet()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DParallelSorterEmitter.java50 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT_ARRAY, null); in generateConstructor()
71 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, SWAP, null); in generateSwap()

12