HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 76 - 100 of 8284) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
46 markBackwardBranch(method, branchInstruction.branchOffset);
50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
52 markBackwardBranch(method, switchInstruction.defaultOffset);
56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]);
64 * Marks the given method if the given branch offset is negative
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
BlockingService.java 51 Message callBlockingMethod(Descriptors.MethodDescriptor method,
58 Message getRequestPrototype(Descriptors.MethodDescriptor method);
63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
Service.java 55 * <p>Call a method of the service specified by MethodDescriptor. This is
61 * <li>{@code method.getService() == getDescriptorForType()}
63 * {@code getRequestPrototype(method)}.
73 * <li>{@code done} will be called when the method is complete. This may be
78 * {@code getResponsePrototype(method)}.
84 void callMethod(Descriptors.MethodDescriptor method,
92 * gets the default instances of this type for a given method. You can then
99 * MethodDescriptor method =
102 * stub.getRequestPrototype(method).newBuilderForType()
104 * service.callMethod(method, request, callback)
    [all...]
  /external/skia/tools/skiaserve/urlhandlers/
QuitHandler.cpp 16 bool QuitHandler::canHandle(const char* method, const char* url) {
18 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) &&
23 const char* url, const char* method,
RootHandler.cpp 16 bool RootHandler::canHandle(const char* method, const char* url) {
17 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) &&
22 const char* url, const char* method,
  /frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
ProgressBarBindingAdapter.java 22 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:indeterminateTint", method = "setIndeterminateTintList"),
23 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:progressTint", method = "setProgressTintList"),
24 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:secondaryProgressTint", method = "setSecondaryProgressTintList"),
  /cts/tests/tests/text/src/android/text/method/cts/
ReplacementTransformationMethodTest.java 17 package android.text.method.cts;
26 import android.text.method.ReplacementTransformationMethod;
62 MyReplacementTransformationMethod method = local
64 CharSequence result = method.getTransformation("010101", null);
67 mEditText.setTransformationMethod(method);
74 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local
78 method.getTransformation(null, null);
79 fail("The method should check whether the char sequence is null.");
84 assertEquals("", method.getTransformation("", null).toString());
90 ReplacementTransformationMethod method local
110 ReplacementTransformationMethod method = local
122 ReplacementTransformationMethod method = local
129 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local
    [all...]
KeyListenerCtsActivity.java 17 package android.text.method.cts;
23 import android.text.method.BaseKeyListener;
24 import android.text.method.DateKeyListener;
25 import android.text.method.DateTimeKeyListener;
26 import android.text.method.DigitsKeyListener;
27 import android.text.method.MultiTapKeyListener;
28 import android.text.method.NumberKeyListener;
29 import android.text.method.QwertyKeyListener;
30 import android.text.method.TextKeyListener;
31 import android.text.method.TimeKeyListener
    [all...]
  /external/junit-params/src/main/java/junitparams/
JUnitParamsRunner.java 25 * <code>&#064;Parameters</code> annotation on each test method which requires
33 * method that returns parameter values</a><br>
54 * sets of test method argument values as an array of Strings, where each string
75 * <h4 id="b">b. Parameterising tests via a method that returns parameter values
79 * that's why for normal cases you have a method that gives you a collection of
84 * &#064;Parameters(method = "cartoonCharacters")
96 * Where <code>$(...)</code> is a static method defined in
101 * <code>method</code> can take more than one method name - you can pass as many
106 * &#064;Parameters(method = "menCharactes, womenCharacters"
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
MethodAnnotationStruct.java 26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
MethodAnnotationStruct.java 26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/invocation/
SerializableMethod.java 10 import java.lang.reflect.Method;
26 private volatile transient Method method; field in class:SerializableMethod
28 public SerializableMethod(Method method) {
29 this.method = method;
30 declaringClass = method.getDeclaringClass();
31 methodName = method.getName();
32 parameterTypes = method.getParameterTypes()
    [all...]
TypeSafeMatching.java 7 import java.lang.reflect.Method;
47 Method[] methods = argumentMatcher.getClass().getMethods();
49 for (Method method : methods) {
50 if (isMatchesMethod(method)) {
51 return method.getParameterTypes()[0];
54 throw new NoSuchMethodError("Method 'matches(T)' not found in ArgumentMatcher: " + argumentMatcher + " !\r\n Please file a bug with this stack trace at: https://github.com/mockito/mockito/issues/new ");
58 * Returns <code>true</code> if the given method is
61 private static boolean isMatchesMethod(Method method) {
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
WildcardTypeTest.java 20 import java.lang.reflect.Method;
55 * @param method the declaring method
57 private void checkBoundedTypeParameter(Method method) {
58 TypeVariable<Method> typeParameter = getTypeParameter(method);
60 assertEquals(method, typeParameter.getGenericDeclaration());
68 private void checkLowerBoundedParameter(Method method) {
129 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
135 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
142 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
149 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
    [all...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttEnclosingMethod.java 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
34 private final CstNat method; field in class:AttEnclosingMethod
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
41 * method, if any
43 public AttEnclosingMethod(CstType type, CstNat method) {
51 this.method = method;
69 * Gets the name-and-type of the innermost enclosing method, if
73 * method, if any
76 return method;
    [all...]
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
PushPromise.java 22 private final String method; field in class:PushPromise
27 public PushPromise(String method, String path, Headers headers, MockResponse response) {
28 this.method = method;
35 return method;
  /external/testng/src/main/java/org/testng/junit/
JUnitTestMethod.java 3 import java.lang.reflect.Method;
14 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) {
15 this(owner, method.getName(), method, instance);
18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) {
19 super(methodName, method, null, instance);
  /art/test/121-modifiers/smali/
NonInf.smali 41 .method public constructor <init>()V
85 .end method
87 .method private privateMethod()I
95 .end method
97 .method public static staticMethod()I
105 .end method
109 .method public abstract abstractMethod()I
110 .end method
112 .method public final finalMethod()I
120 .end method
    [all...]
  /external/libvpx/libvpx/test/
vp9_boolcoder_test.cc 31 for (int method = 0; method <= 7; ++method) { // we generate various proba
39 (method == 0) ? 0 : (method == 1) ? 255 :
40 (method == 2) ? 128 :
41 (method == 3) ? rnd.Rand8() :
42 (method == 4) ? (parity ? 0 : 255) :
44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
45 (method == 6)
84 << " bit_method: " << bit_method << " method: " << method; local
    [all...]
  /external/junit/src/main/java/org/junit/internal/matchers/
TypeSafeMatcher.java 3 import java.lang.reflect.Method;
32 for (Method method : MethodSorter.getDeclaredMethods(c)) {
33 if (isMatchesSafelyMethod(method)) {
34 return method.getParameterTypes()[0];
39 throw new Error("Cannot determine correct type for matchesSafely() method.");
42 private static boolean isMatchesSafelyMethod(Method method) {
43 return method.getName().equals("matchesSafely")
44 && method.getParameterTypes().length ==
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolMethod.java 37 import org.jf.dexlib2.iface.Method;
47 class PoolMethod extends BaseMethodReference implements Method {
48 @Nonnull private final Method method; field in class:PoolMethod
52 public static final Function<Method, PoolMethod> TRANSFORM = new Function<Method, PoolMethod>() {
53 @Override public PoolMethod apply(Method method) {
54 return new PoolMethod(method);
58 PoolMethod(@Nonnull Method method)
    [all...]
  /external/proguard/src/proguard/classfile/attribute/preverification/visitor/
VerificationTypeVisitor.java 36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType);
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType);
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType);
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType);
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType)
    [all...]
  /external/testng/src/test/java/test/mannotation/
MAnnotation2SampleTest.java 11 import java.lang.reflect.Method;
27 Method method = MTest3.class.getMethod("groups1", new Class[0]); local
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]); local
35 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
46 Method method = MTest3.class.getMethod("dependsOnGroups1", new Class[0]) local
53 Method method = MTest3.class.getMethod("dependsOnGroups2", new Class[0]); local
66 Method method = MTest3.class.getMethod("dependsOnMethods1", new Class[0]); local
73 Method method = MTest3.class.getMethod("dependsOnMethods2", new Class[0]); local
86 Method method = MTest3.class.getMethod("beforeSuite", new Class[0]); local
97 Method method = MTest3.class.getMethod("enabled1", new Class[0]); local
103 Method method = MTest3.class.getMethod("enabled2", new Class[0]); local
    [all...]
  /art/runtime/openjdkjvmti/
ti_method.h 47 static jvmtiError GetArgumentsSize(jvmtiEnv* env, jmethodID method, jint* size_ptr);
49 static jvmtiError GetMaxLocals(jvmtiEnv* env, jmethodID method, jint* max_ptr);
52 jmethodID method,
58 jmethodID method,
62 jmethodID method,
67 jmethodID method,
71 jmethodID method,
75 static jvmtiError IsMethodNative(jvmtiEnv* env, jmethodID method, jboolean* is_native_ptr);
76 static jvmtiError IsMethodObsolete(jvmtiEnv* env, jmethodID method, jboolean* is_obsolete_ptr);
77 static jvmtiError IsMethodSynthetic(jvmtiEnv* env, jmethodID method, jboolean* is_synthetic_ptr)
    [all...]
  /external/boringssl/src/crypto/engine/
engine.c 49 /* 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,
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,
67 return set_method((void **)&engine->rsa_method, method, method_size,
75 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method,
77 return set_method((void **)&engine->ecdsa_method, method, method_size,
90 struct openssl_method_common_st *method = method_in local
    [all...]

Completed in 578 milliseconds

1 2 34 5 6 7 8 91011>>