HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 451 - 475 of 680) sorted by null

<<11121314151617181920>>

  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]
  /dalvik/dx/src/com/android/dx/command/findusages/
FindUsages.java 43 private ClassData.Method currentMethod;
94 out.println(location() + ": method reference " + dex.methodIds().get(methodId)
135 for (ClassData.Method method : classData.allMethods()) {
136 currentMethod = method;
137 int methodIndex = method.getMethodIndex();
139 out.println(location() + " method declared " + dex.methodIds().get(methodIndex));
141 if (method.getCodeOffset() != 0) {
142 codeReader.visitAll(dex.readCode(method).getInstructions());
177 for (MethodId method : dex.methodIds())
    [all...]
  /dalvik/dx/tests/115-merge/com/android/dx/merge/
DexMergeTest.java 28 import java.lang.reflect.Method;
69 tryCatchFinally.getDeclaredMethod("method").invoke(null);
105 Method method = annotated.getMethod("method", String.class, String.class); local
116 assertEquals("@testdata.Annotated$Marker(a=on method, b=[], "
118 method.getAnnotation(marker).toString());
124 method.getParameterAnnotations()[1][0].toString());
  /dalvik/tests/044-proxy/src/
WrappedThrow.java 20 import java.lang.reflect.Method;
188 public Object invoke(Object proxy, Method method, Object[] args)
195 if (method.getDeclaringClass() == java.lang.Object.class) {
196 //System.out.println("!!! object " + method.getName());
197 if (method.getName().equals("toString"))
199 else if (method.getName().equals("hashCode"))
201 else if (method.getName().equals("equals"))
207 System.out.println("Invoke " + method);
216 if (method.getName().equals("throwFunky")
    [all...]
  /dalvik/vm/
InlineNative.h 27 Method* dvmFindInlinableMethod(const char* classDescriptor,
44 * to support other method call forms, e.g. /range. We can also just
120 * Return method & populate the table on first use.
122 extern "C" Method* dvmResolveInlineNative(int opIndex);
Thread.h 54 THREAD_NATIVE = 7, /* off in a JNI native method */
202 const Method* methodToCall;
219 const Method* traceMethod; // Starting method of current trace
286 /* base time for per-thread CPU timing (used by method profiling) */
  /dalvik/vm/alloc/
Alloc.cpp 77 Method *method = dvmFindDirectMethodByDescriptor(klass, "start", "()V"); local
78 if (method == NULL) {
84 dvmCallMethod(self, method, NULL, &unusedResult);
96 Method* init;
Visit.cpp 80 * Visits all stack slots except those belonging to native method
92 Method *method; local
94 method = (Method *)saveArea->method;
95 if (method != NULL && !dvmIsNativeMethod(method)) {
96 const RegisterMap* pMap = dvmGetExpandedRegisterMap(method);
100 int addr = saveArea->xtra.currentPc - method->insns
    [all...]
  /dalvik/vm/analysis/
RegisterMap.cpp 47 static void computeMapStats(RegisterMap* pMap, const Method* method);
50 const Method* meth);
180 * Generate the register map for a method that has just been verified
199 if (vdata->method->registersSize >= 2048) {
201 vdata->method->registersSize);
204 regWidth = (vdata->method->registersSize + 7) / 8;
209 * the method has a section at the end without GC points (e.g. array
211 * detecting it requires scanning the entire method, so we don't bother.
225 * since we don't count method entry as a GC point
    [all...]
  /dalvik/vm/mterp/x86-atom/
OP_INVOKE_DIRECT.S 19 * Code: Call a non-static direct method. Provides an "isrange" variable and
25 * Description: invoke-direct is used to invoke a non-static direct method;
26 * an instance method that is non-overridable, for example,
27 * either a private instance method or a constructor.
49 FETCH 1, %eax # %eax<- method index
52 movl (%ecx, %eax, 4), %ecx # %ecx<- resolved method to call
64 jne common_invokeMethod${routine} # invoke method common code
75 movl $$METHOD_DIRECT, -8(%esp) # push parameter method type
76 movl offGlue_method(%edx), %edx # %edx<- glue->method
79 movl offMethod_clazz(%edx), %edx # %edx<- glue->method->claz
    [all...]
OP_INVOKE_SUPER.S 19 * Code: Call super method.
24 * method (as opposed to the one with the same method_id in the
51 FETCH 1, %edx # %edx<- method index
54 movl (%ecx, %edx, 4), %ecx # %ecx<- resolved base method
61 movl offGlue_method(%eax), %eax # %eax<- glue->method
62 movl offMethod_clazz(%eax), %eax # %eax<- glue->method->clazz
69 * %ecx = resolved base method
70 * %eax = method->clazz
74 movl offClassObject_super(%eax), %edx # %edx<- glue->method->clazz->super
78 jnc .L${opcode}_nsm # handle method not presen
    [all...]
OP_INVOKE_VIRTUAL.S 19 * Code: Call a virtual method. Provides an "isrange" variable and
25 * Description: invoke-virtual is used to invoke a normal virtual method;
26 * a method that is not static or final, and is not a constructor.
49 FETCH 1, %ecx # %ecx<- method index
57 movl (%eax, %ecx, 4), %eax # %eax<- resolved base method
64 movl offGlue_method(%eax), %eax # %eax<- glue->method
65 movl $$METHOD_VIRTUAL, -8(%esp) # push parameter method type
66 movl %ecx, -12(%esp) # push paramter method index
67 movl offMethod_clazz(%eax), %eax # %eax<- glue->method->clazz
72 # return: Method*
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/xslt/
EnvironmentCheck.java 27 import java.lang.reflect.Method;
198 * <p>Worker method called from various places.</p>
723 * Cheap-o method to determine the product version of a .jar.
798 Method method = clazz.getMethod(JAXP11_METHOD, noArgs); local
809 // method, so we (probably) have JAXP 1.0.1
900 Method method = clazz.getMethod(XALAN2_2_VERSION_METHOD, noArgs); local
901 Object returnValue = method.invoke(null, new Object[0]);
999 Method method = clazz.getMethod(ANT_VERSION_METHOD, noArgs) local
1039 Method method = clazz.getMethod(DOM_LEVEL2_METHOD, twoStringArgs); local
1120 Method method = clazz.getMethod(SAX_VERSION2BETA_METHODNF, attributesArg); local
1138 Method method = clazz.getMethod(SAX_VERSION2_METHOD, oneStringArg); local
1157 Method method = clazz.getMethod(SAX_VERSION1_METHOD, oneStringArg); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/
DTMException.java 25 import java.lang.reflect.Method;
45 * Method getLocator retrieves an instance of a SourceLocator
55 * Method setLocator sets an instance of a SourceLocator
69 * This method retrieves an exception that this exception wraps.
94 * <p>This method can be called at most once. It is generally called from
98 * {@link #DTMException(String,Throwable)}, this method cannot be called
102 * {@link #getCause()} method). (A <tt>null</tt> value is
111 * {@link #DTMException(String,Throwable)}, or this method has already
332 // The printStackTrace method of the Throwable class in jdk 1.4
358 Method meth
    [all...]
  /external/easymock/src/org/easymock/internal/
MocksBehavior.java 19 import java.lang.reflect.Method;
130 errorMessage.append("\n Unexpected method call ").append(
236 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) {
237 getLegacyMatcherProvider().setMatcher(method, matcher);
  /external/javassist/src/main/javassist/tools/rmi/
AppletServer.java 24 import java.lang.reflect.Method;
98 * This method produces the bytecode of the proxy class used
100 * the proxy class and call a method on the exported object.
249 public Method[] methods;
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
JavaSourceWriter.java 23 import java.lang.reflect.Method;
133 * Start a method. The signature is based on that of an existing method.
135 public void startMethod(Method method, String... paramNames) {
140 if (paramNames.length != method.getParameterTypes().length) {
142 + "number of parameter names for method signature " + method);
148 int modifiers = method.getModifiers();
163 out.append(method.getReturnType().getSimpleName()).append(' ').append(method.getName()).append
    [all...]
  /external/junit/src/junit/runner/
BaseTestRunner.java 13 import java.lang.reflect.Method;
59 // calling of the deprecated save method to enable compiling under 1.1.7
92 * a template method, subclasses override runFailed(), clearStatus().
112 Method suiteMethod= null;
121 runFailed("Suite() method must be static");
126 test= (Test)suiteMethod.invoke(null, (Object[])new Class[0]); // static method
330 "java.lang.reflect.Method.invoke("
  /external/proguard/src/proguard/shrink/
AnnotationUsageMarker.java 93 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute)
97 parameterAnnotationsAttribute.annotationsAccept(clazz, method, this);
110 public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute)
337 * Returns whether the annotation method has been marked as being used.
341 // Check if the referenced method is being used.
ClassShrinker.java 155 // but its enclosing method is not. Then remove the reference to
156 // the enclosing method.
170 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
191 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute)
203 parameterAnnotationsAttribute.annotationsAccept(clazz, method, this);
  /external/webkit/Source/WebKit2/PluginProcess/mac/
PluginProcessShim.mm 140 Method runModalForWindowMethod = class_getInstanceMethod(objc_getClass("NSApplication"), @selector(runModalForWindow:));
  /frameworks/base/core/java/com/android/internal/os/
RuntimeInit.java 31 import java.lang.reflect.Method;
179 * Invokes a static "main(argv[]) method on class "className".
198 Method m;
212 "Main method is not public and static on " + className);
217 * by invoking the exception's run() method. This arrangement
275 * which calls {@link WrapperInit#main} which then calls this method.
321 * Returns 1 if the computer is on. If the computer isn't on, the value returned by this method is undefined.
326 * Turns the computer on if the computer is off. If the computer is on, the behavior of this method is undefined.
  /frameworks/base/core/tests/coretests/src/android/widget/
TextViewWordLimitsTest.java 28 import java.lang.reflect.Method;
38 Method mGetWordLimits, mSelectCurrentWord;
67 * Uses a private method and internal data representation.
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 18 import java.lang.reflect.Method;
168 Method method = File.class.getMethod("toURI", (Class<?>) null); local
169 Object uri = method.invoke(tempFile, (Class<?>) null);
275 * This method is called when a mutation is reported for a document that
  /libcore/luni/src/test/java/libcore/java/lang/
OldClassTest.java 28 import java.lang.reflect.Method;
314 // AndroidOnly: Class.forName method throws ClassNotFoundException on Android.
384 Method clazz = ExtendTestClass.class.getEnclosingMethod();
389 assertEquals("getEnclosingMethod returns incorrect method.",
402 assertEquals("getEnclosingConstructor method returns incorrect class.",
407 "class declared in method.",
411 "class declared in method.",
702 Method m = ExtendTestClass1.class.getMethod("getCount", new Class[0]);
703 assertEquals("Returned incorrect method", 0, ((Integer) (m.invoke(new ExtendTestClass1())))
708 fail("Failed to throw exception accessing to init method");
    [all...]

Completed in 1274 milliseconds

<<11121314151617181920>>