| /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) { 125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 145 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);
|
| /external/libvpx/libvpx/test/ |
| vp9_boolcoder_test.cc | 31 for (int method = 0; method <= 7; ++method) { // we generate various proba 38 (method == 0) ? 0 : (method == 1) ? 255 : 39 (method == 2) ? 128 : 40 (method == 3) ? rnd.Rand8() : 41 (method == 4) ? (parity ? 0 : 255) : 43 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 44 (method == 6) 83 << " method: " << method; local [all...] |
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
| vp9_boolcoder_test.cc | 32 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 << " method: " << method; local [all...] |
| /cts/tests/tests/text/src/android/text/method/cts/ |
| SingleLineTransformationMethodTest.java | 17 package android.text.method.cts; 21 import android.text.method.SingleLineTransformationMethod; 47 MySingleLineTranformationMethod method = new MySingleLineTranformationMethod(); local 48 TextMethodUtils.assertEquals(new char[] { ' ', '\uFEFF' }, method.getReplacement()); 49 TextMethodUtils.assertEquals(new char[] { '\n', '\r' }, method.getOriginal()); 53 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); local 54 CharSequence result = method.getTransformation("hello\nworld\r", null);
|
| KeyListenerCtsActivity.java | 17 package android.text.method.cts; 24 import android.text.method.BaseKeyListener; 25 import android.text.method.DateKeyListener; 26 import android.text.method.DateTimeKeyListener; 27 import android.text.method.DigitsKeyListener; 28 import android.text.method.MultiTapKeyListener; 29 import android.text.method.NumberKeyListener; 30 import android.text.method.QwertyKeyListener; 31 import android.text.method.TextKeyListener; 32 import android.text.method.TimeKeyListener [all...] |
| /external/hamcrest/library/src/org/hamcrest/ |
| TypeSafeMatcher.java | 3 import java.lang.reflect.Method; 27 for (Method method : c.getDeclaredMethods()) { 28 if (isMatchesSafelyMethod(method)) { 29 return method.getParameterTypes()[0]; 34 throw new Error("Cannot determine correct type for matchesSafely() method."); 37 private static boolean isMatchesSafelyMethod(Method method) { 38 return method.getName().equals("matchesSafely") 39 && method.getParameterTypes().length == [all...] |
| /external/junit/src/org/junit/internal/matchers/ |
| TypeSafeMatcher.java | 3 import java.lang.reflect.Method; 29 for (Method method : c.getDeclaredMethods()) { 30 if (isMatchesSafelyMethod(method)) { 31 return method.getParameterTypes()[0]; 36 throw new Error("Cannot determine correct type for matchesSafely() method."); 39 private static boolean isMatchesSafelyMethod(Method method) { 40 return method.getName().equals("matchesSafely") 41 && method.getParameterTypes().length == [all...] |
| /external/vogar/src/junit/framework/ |
| TestCase.java | 21 import java.lang.reflect.Method; 25 private static final Method runTest; 36 private Method method; field in class:TestCase 54 public final void setMethod(Method method) { 55 this.method = method; 56 this.name = method.getName(); 59 public final Method getMethod() [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...] |
| /external/boringssl/src/crypto/engine/ |
| engine.c | 47 /* set_method takes a pointer to a method and its given size and sets 49 * future to support making a copy of the method so that a stable ABI for 52 static int set_method(void **out_member, const void *method, size_t method_size, 54 const struct openssl_method_common_st *common = method; 59 *out_member = (void*) method; 63 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, 65 return set_method((void **)&engine->rsa_method, method, method_size, 73 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method, 75 return set_method((void **)&engine->ecdsa_method, method, method_size, 88 struct openssl_method_common_st *method = method_in local [all...] |
| /external/boringssl/src/ssl/ |
| s3_meth.c | 81 static const SSL_METHOD method = { local 85 return &method; 95 static const SSL_METHOD method = { local 99 return &method; 103 static const SSL_METHOD method = { local 107 return &method; 111 static const SSL_METHOD method = { local 115 return &method; 119 static const SSL_METHOD method = { local 123 return &method; [all...] |
| d1_meth.c | 81 static const SSL_METHOD method = { local 85 return &method; 91 static const SSL_METHOD method = { local 95 return &method; 99 static const SSL_METHOD method = { local 103 return &method;
|
| /external/opencv3/3rdparty/libjpeg/ |
| jddctmgr.c | 32 * The multiplier table contents are IDCT-method-dependent. To support 33 * application changes in IDCT method between scans, we can remake the 47 /* This array contains the IDCT method code that each multiplier table 95 int method = 0; local 106 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 110 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 114 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 118 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 122 method = JDCT_ISLOW; /* jidctint uses islow-style table */ 126 method = JDCT_ISLOW; /* jidctint uses islow-style table * [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/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);
|