Searched refs:method (Results 51 - 75 of 1980) sorted by relevance

1234567891011>>

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DPoolMethod.java48 @Nonnull private final Method method; field in class:PoolMethod
53 @Override public PoolMethod apply(Method method) {
54 return new PoolMethod(method);
58 PoolMethod(@Nonnull Method method) { argument
59 this.method = method;
63 return method.getDefiningClass();
67 return method.getName();
71 return method.getParameterTypes();
75 return method
[all...]
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/
H A DVerificationTypeVisitor.java36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType); argument
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType); argument
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType); argument
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType); argument
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType); argument
41 public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType); argument
42 public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType nullType); argument
43 public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType); argument
44 public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThisType uninitializedThisType); argument
46 public void visitStackIntegerType( Clazz clazz, Method method, CodeAttribut argument
47 visitStackFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
48 visitStackLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
49 visitStackDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
50 visitStackTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
51 visitStackObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
52 visitStackNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
53 visitStackUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
54 visitStackUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
56 visitVariablesIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument
57 visitVariablesFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
58 visitVariablesLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
59 visitVariablesDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
60 visitVariablesTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
61 visitVariablesObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
62 visitVariablesNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
63 visitVariablesUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
64 visitVariablesUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
[all...]
/external/testng/src/test/java/test/mannotation/
H A DMAnnotation2SampleTest.java27 Method method = MTest3.class.getMethod("groups1", new Class[0]);
28 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
29 Assert.assertEqualsNoOrder(new String[] { "method-test3", "child-class-test3", "base-class" },
34 Method method = MTest3.class.getMethod("groups2", new Class[0]);
35 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
46 Method method = MTest3.class.getMethod("dependsOnGroups1", new Class[0]);
47 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
53 Method method = MTest3.class.getMethod("dependsOnGroups2", new Class[0]);
54 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
66 Method method
[all...]
/external/boringssl/src/crypto/engine/
H A Dengine.c49 /* set_method takes a pointer to a method and its given size and sets
51 * future to support making a copy of the method so that a stable ABI for
54 static int set_method(void **out_member, const void *method, size_t method_size, argument
56 const struct openssl_method_common_st *common = method;
61 *out_member = (void*) method;
65 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, argument
67 return set_method((void **)&engine->rsa_method, method, method_size,
75 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method, argument
77 return set_method((void **)&engine->ecdsa_method, method, method_size,
90 struct openssl_method_common_st *method local
[all...]
/external/mockito/src/test/java/org/mockito/internal/invocation/
H A DSerializableMethodTest.java20 private MockitoMethod method; field in class:SerializableMethodTest
28 method = new SerializableMethod(toStringMethod);
34 new ObjectOutputStream(serialized).writeObject(method);
39 assertArrayEquals(toStringMethod.getExceptionTypes(), method.getExceptionTypes());
44 assertEquals(toStringMethod.getName(), method.getName());
49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs());
54 assertArrayEquals(toStringMethod.getParameterTypes(), method.getParameterTypes());
59 assertEquals(toStringMethod.getReturnType(), method.getReturnType());
64 assertTrue(new SerializableMethod(toStringMethod).equals(method));
70 assertFalse(new SerializableMethod(testBaseToStringMethod).equals(method));
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicRequestLine.java39 * It contains the method, URI, and HTTP version of the request.
58 private final String method; field in class:BasicRequestLine
61 public BasicRequestLine(final String method, argument
65 if (method == null) {
77 this.method = method;
83 return this.method;
/external/doclava/src/com/google/doclava/
H A DAuxSource.java22 public TagInfo[] methodAuxTags(MethodInfo method); argument
23 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment); argument
24 public TagInfo[] returnAuxTags(MethodInfo method); argument
39 public TagInfo[] methodAuxTags(MethodInfo method) { argument
44 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment) { argument
49 public TagInfo[] returnAuxTags(MethodInfo method) { argument
/external/proguard/src/proguard/classfile/attribute/preverification/
H A DDoubleType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DFloatType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DIntegerType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackIntegerType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DLongType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackLongType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DNullType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackNullType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DTopType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackTopType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DUninitializedThisType.java42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
50 verificationTypeVisitor.visitStackUninitializedThisType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DInstructionVisitor.java36 public void visitSimpleInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction); argument
37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction); argument
38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction); argument
39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction); argument
40 public void visitTableSwitchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction); argument
41 public void visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction); argument
/external/proguard/src/proguard/optimize/info/
H A DCatchExceptionMarker.java42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) argument
46 markCatchException(method);
53 private static void markCatchException(Method method) argument
55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
63 public static boolean catchesExceptions(Method method) argument
65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
H A DNoSideEffectMethodMarker.java66 private static void markNoSideEffects(Method method) argument
68 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
75 MethodLinker.lastMember(method).setVisitorInfo(KEPT_BUT_NO_SIDE_EFFECTS);
80 public static boolean hasNoSideEffects(Method method) argument
82 if (MethodLinker.lastVisitorAccepter(method).getVisitorInfo() == KEPT_BUT_NO_SIDE_EFFECTS)
87 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDeprecatedFieldTest.java62 Method method = deprecatedFields.getMethod(name);
64 isDeprecated(method));
67 Method method = deprecatedFieldsBuilder.getMethod(name);
69 isDeprecated(method));
72 Method method = deprecatedFieldsBuilder.getMethod(name, int.class);
74 isDeprecated(method));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
H A DHttpRedirect.java47 private String method; field in class:HttpRedirect
49 public HttpRedirect(final String method, final URI uri) { argument
51 if (method.equalsIgnoreCase(HttpHead.METHOD_NAME)) {
52 this.method = HttpHead.METHOD_NAME;
54 this.method = HttpGet.METHOD_NAME;
61 return this.method;
/external/testng/src/main/java/org/testng/junit/
H A DJUnit4TestMethod.java24 String method = desc.getMethodName();
25 // remove [index] from method name in case of parameterized test
26 int idx = method.indexOf('[');
28 method = method.substring(0, idx);
31 return c.getMethod(method);
34 "Method '" + method + "' not found in class '" + c.getName() + "': " + t.getMessage());
/external/testng/src/test/java/test/listeners/
H A DMyInvokedMethodListener.java17 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { argument
18 increments(beforeInvocation, method);
22 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { argument
23 increments(afterInvocation, method);
26 private static void increments(Map<String, Integer> map, IInvokedMethod method) { argument
27 String stringValue = method.getTestMethod().getMethodName();
/external/proguard/src/proguard/optimize/peephole/
H A DUnreachableCodeRemover.java79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) argument
83 // method.getName(clazz).equals("abc");
86 // Catch any unexpected exceptions from the actual visiting method.
90 visitCodeAttribute0(clazz, method, codeAttribute);
96 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]");
104 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute) argument
108 System.out.println("UnreachableCodeRemover: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz));
111 reachableCodeMarker.visitCodeAttribute(clazz, method, codeAttribut
123 visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
[all...]
/external/skia/tools/skiaserve/urlhandlers/
H A DDownloadHandler.cpp16 bool DownloadHandler::canHandle(const char* method, const char* url) { argument
17 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) &&
22 const char* url, const char* method,
21 handle(Request* request, MHD_Connection* connection, const char* url, const char* method, const char* upload_data, size_t* upload_data_size) argument
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
H A DMethodRewriter.java57 @Nonnull protected Method method; field in class:MethodRewriter.RewrittenMethod
59 public RewrittenMethod(@Nonnull Method method) { argument
60 this.method = method;
64 return rewriters.getMethodReferenceRewriter().rewrite(method).getDefiningClass();
68 return rewriters.getMethodReferenceRewriter().rewrite(method).getName();
72 return rewriters.getMethodReferenceRewriter().rewrite(method).getParameterTypes();
77 // parameter names and annotations. If a method rewrite involves changing parameters, it needs
80 return RewriterUtils.rewriteList(rewriters.getMethodParameterRewriter(), method.getParameters());
84 return rewriters.getMethodReferenceRewriter().rewrite(method)
[all...]
/external/boringssl/include/openssl/
H A Dengine.h30 * Methods are reference counted but |ENGINE|s are not. When creating a method,
38 /* ENGINE_new returns an empty ENGINE that uses the default method for all
49 * Method accessors take a method pointer and the size of the structure. The
50 * size allows for ABI compatibility in the case that the method structure is
57 const RSA_METHOD *method,
62 const ECDSA_METHOD *method,
67 /* Generic method functions.
69 * These functions take a void* type but actually operate on all method
72 /* METHOD_ref increments the reference count of |method|. This is a no-op for
74 void METHOD_ref(void *method);
[all...]

Completed in 1718 milliseconds

1234567891011>>