Home
last modified time | relevance | path

Searched refs:MethodType (Results 1 – 25 of 85) sorted by relevance

1234

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamicSupport.java10 import static java.lang.invoke.MethodType.methodType;
18 import java.lang.invoke.MethodType;
49 public static CallSite bootstrapInit(MethodHandles.Lookup caller, String name, MethodType type) { in bootstrapInit()
58 public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type, in bootstrap()
68 public static CallSite bootstrapStatic(MethodHandles.Lookup caller, String name, MethodType type, in bootstrapStatic()
79 MethodType type, String callee) throws IllegalAccessException { in bootstrapIntrinsic()
91 …private static MethodHandle getMethodHandle(String className, String methodName, MethodType type) { in getMethodHandle()
146 MethodType type = site.type(); in bindWithFallback()
160 MethodType type = EXCEPTION_HANDLER.type().changeReturnType(mh.type().returnType()); in cleanStackTraces()
DRoboCallSite.java3 import java.lang.invoke.MethodType;
9 public RoboCallSite(MethodType type, Class<?> caller) { in RoboCallSite()
DMethodCallSite.java6 import java.lang.invoke.MethodType;
13 public MethodCallSite(MethodType type, Class<?> caller, String name, MethodHandle original, in MethodCallSite()
DClassHandler.java4 import java.lang.invoke.MethodType;
15 MethodHandle findShadowMethod(Class<?> theClass, String name, MethodType type, in findShadowMethod()
DInterceptor.java4 import java.lang.invoke.MethodType;
22 …abstract public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMeth… in getMethodHandle()
DShadowWrangler.java7 import static java.lang.invoke.MethodType.methodType;
11 import java.lang.invoke.MethodType;
142 @Override public MethodHandle findShadowMethod(Class<?> caller, String name, MethodType type, in findShadowMethod()
148 MethodType actualType = isStatic ? type : type.dropParameterTypes(0, 1); in findShadowMethod()
227 Class<?>[] genericTypes = MethodType.genericMethodType(types.length).parameterArray(); in findShadowMethod()
400 MethodType setterType = mh.type().changeReturnType(void.class); in getShadowCreator()
DRobolectricInternals.java4 import java.lang.invoke.MethodType;
38 MethodType type, boolean isStatic) throws IllegalAccessException { in findShadowMethod()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAndroidInterceptors.java5 import static java.lang.invoke.MethodType.methodType;
11 import java.lang.invoke.MethodType;
61 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti… in getMethodHandle()
92 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
125 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
156 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
193 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
224 …public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodExcepti…
248 …@Override public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMet…
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
DBootstrapMethodReferenceTest.java19 import java.lang.invoke.MethodType;
71 final MethodType methodType = MethodType.methodType(CallSite.class, in test()
72 MethodHandles.Lookup.class, String.class, MethodType.class); in test()
116 final String name, final MethodType type) throws Exception { in bootstrap()
118 "callTarget", MethodType.methodType(int.class))); in bootstrap()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DMethodType.java20 public class MethodType { class
26 public static MethodType fromMethodUsage(MethodUsage methodUsage) { in fromMethodUsage()
27 …return new MethodType(methodUsage.getDeclaration().getTypeParameters(), methodUsage.getParamTypes(… in fromMethodUsage()
31 …public MethodType(List<ResolvedTypeParameterDeclaration> typeParameters, List<ResolvedType> formal… in MethodType() method in MethodType
/external/skqp/tools/bookmaker/
DselfCheck.cpp94 if (Definition::MethodType::kConstructor != csChild->fMethodType && in checkConstructorsSummary()
95 Definition::MethodType::kDestructor != csChild->fMethodType) { in checkConstructorsSummary()
155 if (Definition::MethodType::kConstructor == csChild->fMethodType) { in checkMethodSummary()
158 if (Definition::MethodType::kDestructor == csChild->fMethodType) { in checkMethodSummary()
161 if (Definition::MethodType::kOperator == csChild->fMethodType) { in checkMethodSummary()
193 if (Definition::MethodType::kOperator != csChild->fMethodType) { in checkOperatorsSummary()
232 if (Definition::MethodType::kConstructor == csChild->fMethodType) { in checkRelatedFunctions()
235 if (Definition::MethodType::kDestructor == csChild->fMethodType) { in checkRelatedFunctions()
238 if (Definition::MethodType::kOperator == csChild->fMethodType) { in checkRelatedFunctions()
Ddefinition.cpp247 fMethodType = Definition::MethodType::kOperator; in parseOperator()
411 fMethodType = Definition::MethodType::kNone; in setCanonicalFiddle()
418 fMethodType = Definition::MethodType::kDestructor; in setCanonicalFiddle()
436 fMethodType = Definition::MethodType::kConstructor; in setCanonicalFiddle()
450 fMethodType = Definition::MethodType::kConstructor; in setCanonicalFiddle()
728 if (MethodType::kNone == fMethodType && name.length() > 2 && in checkMethod()
1075 if (MethodType::kNone != fMethodType && MethodType::kOperator != fMethodType && !expectReturn) { in methodHasReturn()
1079 case MethodType::kNone: in methodHasReturn()
1080 case MethodType::kOperator: in methodHasReturn()
1083 case MethodType::kConstructor: in methodHasReturn()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h141 typedef void (Class::*MethodType)(); typedef
143 MethodClosure0(Class* object, MethodType method, bool self_deleting) in MethodClosure0()
155 MethodType method_;
185 typedef void (Class::*MethodType)(Arg1 arg1); typedef
187 MethodClosure1(Class* object, MethodType method, bool self_deleting, in MethodClosure1()
201 MethodType method_;
233 typedef void (Class::*MethodType)(Arg1 arg1, Arg2 arg2); typedef
235 MethodClosure2(Class* object, MethodType method, bool self_deleting, in MethodClosure2()
249 MethodType method_;
353 typedef R (T::*MethodType)(P1, P2, P3, P4, P5, A1, A2); typedef
[all …]
/external/python/cpython3/Lib/idlelib/
Dcalltips.py143 elif isinstance(ob_call, types.MethodType):
147 if isinstance(fob, (types.FunctionType, types.MethodType)):
149 if (isinstance(ob, (type, types.MethodType)) or
150 isinstance(ob_call, types.MethodType)):
156 if isinstance(ob_call, types.MethodType):
/external/skia/tools/bookmaker/
DselfCheck.cpp82 || Definition::MethodType::kConstructor == csChild->fMethodType in checkMethod()
83 || Definition::MethodType::kDestructor == csChild->fMethodType in checkMethod()
84 || Definition::MethodType::kOperator == csChild->fMethodType in checkMethod()
Ddefinition.cpp247 fMethodType = Definition::MethodType::kOperator; in parseOperator()
411 fMethodType = Definition::MethodType::kNone; in setCanonicalFiddle()
418 fMethodType = Definition::MethodType::kDestructor; in setCanonicalFiddle()
436 fMethodType = Definition::MethodType::kConstructor; in setCanonicalFiddle()
450 fMethodType = Definition::MethodType::kConstructor; in setCanonicalFiddle()
729 if (MethodType::kNone == fMethodType && name.length() > 2 && in checkMethod()
1097 if (MethodType::kNone != fMethodType && MethodType::kOperator != fMethodType && !expectReturn) { in methodHasReturn()
1101 case MethodType::kNone: in methodHasReturn()
1102 case MethodType::kOperator: in methodHasReturn()
1105 case MethodType::kConstructor: in methodHasReturn()
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_meta_path.py4 from types import MethodType
74 setattr(importer, self.finder_name, MethodType(wrapped_call, importer))
92 setattr(importer, self.finder_name, MethodType(wrapped_call, importer))
Dtest_caching.py4 from types import MethodType
59 mock.load_module = MethodType(load_module, mock)
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DExpressionCompatibleWithType.java123 MethodType targetFunctionType = TypeHelper.getFunctionType(TFirst); in reduce()
312 private MethodType replaceTypeVariablesWithInferenceVariables(MethodType methodType) { in replaceTypeVariablesWithInferenceVariables()
320 …return new MethodType(methodType.getTypeParameters(), newFormalArgumentTypes, newReturnType, metho… in replaceTypeVariablesWithInferenceVariables()
/external/python/cpython2/Lib/idlelib/
DCallTips.py166 elif type(ob) == types.MethodType:
172 elif type(ob_call) == types.MethodType:
202 if isinstance(ob_call, types.MethodType):
/external/python/cpython2/Lib/
DBastion.py34 from types import MethodType
121 if type(attribute) == MethodType:
/external/devlib/devlib/platform/
Dgem5.py226 target.capture_screen = types.MethodType(_overwritten_capture_screen, target)
228 target.reset = types.MethodType(_overwritten_reset, target)
230 target.reboot = types.MethodType(_overwritten_reboot, target)
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java27 import java.lang.invoke.MethodType;
406 args.add(MethodType.fromMethodDescriptorString(desc, targetLoader)); in visitInvokeDynamicInsn()
641 return MethodType.fromMethodDescriptorString(type.getDescriptor(), targetLoader); in toJvmMetatype()
659 MethodType signature = in toMethodHandle()
660 MethodType.fromMethodDescriptorString( in toMethodHandle()
/external/python/cpython2/Doc/c-api/
Dmethod.rst15 .. index:: single: MethodType (in module types)
18 is exposed to Python programs as ``types.MethodType``.
/external/python/cpython3/Lib/test/
Dtest_pyclbr.py6 from types import FunctionType, MethodType, BuiltinFunctionType
66 if isinstance(obj, MethodType):

1234