/external/mockito/src/test/java/org/mockito/internal/invocation/ |
SerializableMethodTest.java | 13 import java.lang.reflect.Method; 20 private MockitoMethod method; field in class:SerializableMethodTest 21 private Method toStringMethod; 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()) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicRequestLine.java | 39 * 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, 65 if (method == null) { 67 ("Method must not be null."); 77 this.method = method; 83 return this.method;
|
/external/doclava/src/com/google/doclava/ |
AuxSource.java | 22 public TagInfo[] methodAuxTags(MethodInfo method); 23 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment); 24 public TagInfo[] returnAuxTags(MethodInfo method); 39 public TagInfo[] methodAuxTags(MethodInfo method) { 44 public TagInfo[] paramAuxTags(MethodInfo method, ParameterInfo param, String comment) { 49 public TagInfo[] returnAuxTags(MethodInfo method) {
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
IntegerType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
LongType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
NullType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
TopType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedThisType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 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) 56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
InstructionVisitor.java | 36 public void visitSimpleInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction); 37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction); 38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction); 39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction); 40 public void visitTableSwitchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) [all...] |
/external/proguard/src/proguard/optimize/info/ |
CatchExceptionMarker.java | 42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 46 markCatchException(method); 53 private static void markCatchException(Method method) 55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 63 public static boolean catchesExceptions(Method method) 65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
NoSideEffectMethodMarker.java | 66 private static void markNoSideEffects(Method method) 68 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 75 MethodLinker.lastMember(method).setVisitorInfo(KEPT_BUT_NO_SIDE_EFFECTS); 80 public static boolean hasNoSideEffects(Method method) 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/ |
DeprecatedFieldTest.java | 38 import java.lang.reflect.Method; 62 Method method = deprecatedFields.getMethod(name); local 63 assertTrue("Method " + name + " should be deprecated", 64 isDeprecated(method)); 67 Method method = deprecatedFieldsBuilder.getMethod(name); local 68 assertTrue("Method " + name + " should be deprecated", 69 isDeprecated(method)); 72 Method method = deprecatedFieldsBuilder.getMethod(name, int.class) local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
HttpRedirect.java | 47 private String method; field in class:HttpRedirect 49 public HttpRedirect(final String method, final URI uri) { 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/ |
JUnit4TestMethod.java | 3 import java.lang.reflect.Method; 22 private static Method getMethod(Description desc) { 24 String method = desc.getMethodName(); local 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()) [all...] |
/external/testng/src/test/java/test/listeners/ |
MyInvokedMethodListener.java | 17 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { 18 increments(beforeInvocation, method); 22 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { 23 increments(afterInvocation, method); 26 private static void increments(Map<String, Integer> map, IInvokedMethod method) { 27 String stringValue = method.getTestMethod().getMethodName();
|
/libcore/ojluni/src/main/java/sun/net/ |
ProgressEvent.java | 41 // method associated with URL 42 private String method; field in class:ProgressEvent 53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) { 56 this.method = method; 72 * Return method associated with URL. 76 return method; 110 return getClass().getName() + "[url=" + url + ", method=" + method + ", state=" + state
|
/art/test/954-invoke-polymorphic-verifier/smali/ |
BetterFakeSignaturePolymorphic.smali | 21 .method public constructor <init>()V 31 .end method 33 .method public static getMethodHandle()Ljava/lang/invoke/MethodHandle; 37 .end method 39 .method public static getMain()LMain; 43 .end method
|
FakeSignaturePolymorphic.smali | 21 .method public constructor <init>()V 31 .end method 33 .method public static getMethodHandle()Ljava/lang/invoke/MethodHandle; 37 .end method 39 .method public static getMain()LMain; 43 .end method
|
/external/proguard/src/proguard/optimize/peephole/ |
UnreachableCodeRemover.java | 79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 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 [all...] |
/external/skia/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 16 bool DownloadHandler::canHandle(const char* method, const char* url) { 17 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) && 22 const char* url, const char* method,
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
MethodRewriter.java | 36 import org.jf.dexlib2.iface.Method; 45 public class MethodRewriter implements Rewriter<Method> { 52 @Nonnull @Override public Method rewrite(@Nonnull Method value) { 56 protected class RewrittenMethod extends BaseMethodReference implements Method { 57 @Nonnull protected Method method; field in class:MethodRewriter.RewrittenMethod 59 public RewrittenMethod(@Nonnull Method method) { 60 this.method = method [all...] |
/art/runtime/entrypoints/jni/ |
jni_entrypoints.cc | 27 // Used by the JNI dlsym stub to find the native method to invoke if none is registered. 38 ArtMethod* method = self->GetCurrentMethod(nullptr); local 39 DCHECK(method != nullptr); 41 // Lookup symbol address for method, on failure we'll return null with an exception set, 42 // otherwise we return the address of the method we found. 43 void* native_code = soa.Vm()->FindCodeForNativeMethod(method); 49 return method->RegisterNative(native_code, false);
|
/art/test/504-regression-baseline-entry/smali/ |
Test.smali | 20 .method public static SingleGotoStart()I 30 .end method
|