/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 27 import java.lang.reflect.Method; 62 * This invocation handler only registers that a method was called, 67 public Object invoke(Object proxy, Method method, Object[] args) 69 called(asString(method)); 71 return getDefaultValue(method.getReturnType()); 82 * Returns string representation of a method. 84 * If the method takes no parameters, it returns the name (e.g. 85 * "isEmpty". If the method takes parameters, it returns the simple names 88 private String asString(Method method) [all...] |
/external/icu/icu4j/perf-tests/perldriver/ |
PerfFramework4j.pm | 179 # Measure a given test method with a give test pattern using the 182 # @param the method to run 198 # $a->[0]: method name, corresponds to $method 234 # Measure a given test method with a give test pattern using the 237 # @param the method to run 264 # @param the method to run 272 # ->[0]: The method name as reported 282 #my $cmd = "java -cp c:\\dev\\myicu4j\\classes $TESTCLASS $method $n $pat"; 296 my $method = '' [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/ |
LazyValue.java | 53 private final SmaliMethod method; field in class:LazyValue 59 public LazyValue(SmaliMethod method, Project project, int registerNumber, String type) { 60 this.method = method; 66 public static LazyValue create(@Nonnull SmaliMethod method, @Nonnull Project project, int registerNumber, 69 return new LazyByteValue(method, project, registerNumber, type); 71 return new LazyShortValue(method, project, registerNumber, type); 73 return new LazyLongValue(method, project, registerNumber, type); 75 return new LazyIntegerValue(method, project, registerNumber, type); 77 return new LazyFloatValue(method, project, registerNumber, type) [all...] |
/external/guice/core/src/com/google/inject/internal/ |
ProviderMethodsModule.java | 40 import java.lang.reflect.Method; 48 * binding annotations on the provider method to configure the binding. 130 Multimap<Signature, Method> methodsBySignature = HashMultimap.create(); 132 for (Method method : c.getDeclaredMethods()) { 138 if (((method.getModifiers() & (Modifier.PRIVATE | Modifier.STATIC)) == 0) 139 && !method.isBridge() && !method.isSynthetic()) { 140 methodsBySignature.put(new Signature(method), method); 152 Method method = provider.getMethod(); local [all...] |
SingleMethodInjector.java | 24 import java.lang.reflect.Method; 28 * Invokes an injectable method. 38 final Method method = (Method) injectionPoint.getMember(); local 39 methodInvoker = createMethodInvoker(method); 43 private MethodInvoker createMethodInvoker(final Method method) { 45 // We can't use FastMethod if the method is private. 46 int modifiers = method.getModifiers() [all...] |
ProviderMethod.java | 40 import java.lang.reflect.Method; 46 * A provider that invokes a method and returns its result. 57 * {@link net.sf.cglib.reflect.FastClass} to invoke the actual method, since it is significantly 58 * faster. However, this will fail if the method is {@code private} or {@code protected}, since 61 static <T> ProviderMethod<T> create(Key<T> key, Method method, Object instance, 65 int modifiers = method.getModifiers(); 72 method, 83 !Modifier.isPublic(method.getDeclaringClass().getModifiers())) { 84 method.setAccessible(true) 97 protected final Method method; field in class:ProviderMethod [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
LocalVariableExtractor.java | 24 * a method. 27 /** {@code non-null;} method being extracted from */ 28 private final RopMethod method; field in class:LocalVariableExtractor 30 /** {@code non-null;} block list for the method */ 40 * Extracts out all the local variable information from the given method. 42 * @param method {@code non-null;} the method to extract from 45 public static LocalVariableInfo extract(RopMethod method) { 46 LocalVariableExtractor lve = new LocalVariableExtractor(method); 51 * Constructs an instance. This method is private. Use {@link #extract} [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
LocalVariableExtractor.java | 24 * a method. 27 /** {@code non-null;} method being extracted from */ 28 private final RopMethod method; field in class:LocalVariableExtractor 30 /** {@code non-null;} block list for the method */ 40 * Extracts out all the local variable information from the given method. 42 * @param method {@code non-null;} the method to extract from 45 public static LocalVariableInfo extract(RopMethod method) { 46 LocalVariableExtractor lve = new LocalVariableExtractor(method); 51 * Constructs an instance. This method is private. Use {@link #extract} [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
RequestWrapper.java | 70 private String method; field in class:RequestWrapper 84 this.method = ((HttpUriRequest) request).getMethod(); 94 this.method = requestLine.getMethod(); 107 return this.method; 110 public void setMethod(final String method) { 111 if (method == null) { 112 throw new IllegalArgumentException("Method name may not be null"); 114 this.method = method; 139 String method = getMethod() local [all...] |
/external/autotest/client/site_tests/network_ShillInitScripts/ |
mock_flimflam.py | 16 MethodCall = collections.namedtuple("MethodCall", ["method", "argument"]) 20 object are called whenever a DBus RPC method is invoked. """ 26 @dbus.service.method('org.chromium.flimflam.Manager', 38 @dbus.service.method('org.chromium.flimflam.Manager', 49 @dbus.service.method('org.chromium.flimflam.Manager', 61 @dbus.service.method('org.chromium.flimflam.Manager', 74 @dbus.service.method('org.chromium.flimflam.Manager', 85 @dbus.service.method('org.chromium.flimflam.Manager', 92 def add_method_call(self, method, arg): 93 """ Note that a method call was made [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
LocalVariableExtractor.java | 24 * a method. 27 /** {@code non-null;} method being extracted from */ 28 private final RopMethod method; field in class:LocalVariableExtractor 30 /** {@code non-null;} block list for the method */ 40 * Extracts out all the local variable information from the given method. 42 * @param method {@code non-null;} the method to extract from 45 public static LocalVariableInfo extract(RopMethod method) { 46 LocalVariableExtractor lve = new LocalVariableExtractor(method); 51 * Constructs an instance. This method is private. Use {@link #extract} [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_matchTemplate.cpp | 27 int method = get<2>(GetParam()); local 39 TEST_CYCLE() matchTemplate(img, tmpl, result, method); 42 method == TM_CCORR_NORMED || 43 method == TM_SQDIFF_NORMED || 44 method == TM_CCOEFF_NORMED; 61 int method = get<2>(GetParam()); local 73 TEST_CYCLE() matchTemplate(img, tmpl, result, method); 76 method == TM_CCORR_NORMED || 77 method == TM_SQDIFF_NORMED || 78 method == TM_CCOEFF_NORMED [all...] |
/external/proguard/src/proguard/classfile/attribute/visitor/ |
MultiAttributeVisitor.java | 187 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 191 attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 196 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 200 attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute); 205 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute) 209 attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute); 223 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
StoringInvocationUnit.java | 112 generalizeMethodParameterValue((Method)referencedMember, 121 Method method, 126 generalizeMethodReturnValue(method, value); 171 private static void generalizeMethodParameterValue(Method method, int parameterIndex, Value value) 173 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 181 public static Value getMethodParameterValue(Method method, int parameterIndex) 183 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); [all...] |
/external/proguard/src/proguard/optimize/info/ |
ExceptionInstructionChecker.java | 45 * Returns whether the specified method may throw exceptions. 48 Method method, 52 method, 63 Method method, 79 method, 99 Method method, 106 method, [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 29 method=('isCallable'|'sequenceIncludes' 42 method = self._check_method(node, results) 43 if method is not None: 44 return method(node, results) 77 method = results["method"][0] 78 method.value = name 79 method.changed() 88 method = getattr(self, "_" + results["method"][0].value.encode("ascii") [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 29 method=('isCallable'|'sequenceIncludes' 42 method = self._check_method(node, results) 43 if method is not None: 44 return method(node, results) 77 method = results["method"][0] 78 method.value = name 79 method.changed() 88 method = getattr(self, "_" + results["method"][0].value.encode("ascii") [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 29 method=('isCallable'|'sequenceIncludes' 42 method = self._check_method(node, results) 43 if method is not None: 44 return method(node, results) 77 method = results["method"][0] 78 method.value = name 79 method.changed() 88 method = getattr(self, "_" + results["method"][0].value.encode("ascii") [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 29 method=('isCallable'|'sequenceIncludes' 42 method = self._check_method(node, results) 43 if method is not None: 44 return method(node, results) 77 method = results["method"][0] 78 method.value = name 79 method.changed() 88 method = getattr(self, "_" + results["method"][0].value.encode("ascii") [all...] |
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
JDiffClassDescriptionTest.java | 152 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 154 clz.addMethod(method); 156 assertEquals(method.toSignatureString(), "public static void staticMethod()"); 161 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 163 clz.addMethod(method); 165 assertEquals(method.toSignatureString(), "public synchronized void syncMethod()"); 170 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 172 clz.addMethod(method); 174 assertEquals(method.toSignatureString(), "boolean packageProtectedMethod()"); 179 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod local 188 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 197 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 208 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 343 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 356 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 367 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 378 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 419 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 435 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 450 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 466 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
ConcreteMethod.java | 25 import com.android.dx.cf.iface.Method; 34 * Container for all the giblets that make up a concrete Java bytecode method. 35 * It implements {@link Method}, so it provides all the original access 37 * stuff extracted from the method's {@code Code} attribute. 39 public final class ConcreteMethod implements Method { 40 /** {@code non-null;} method being wrapped */ 41 private final Method method; field in class:ConcreteMethod 50 * whether the class that this method is part of is defined with 67 * @param method {@code non-null;} the method to be based o [all...] |
/art/runtime/ |
oat_quick_method_header.cc | 37 uint32_t OatQuickMethodHeader::ToDexPc(ArtMethod* method, 50 DCHECK(method->IsNative()); 58 << " current entry_point=" << method->GetEntryPointFromQuickCompiledCode() 59 << ") in " << PrettyMethod(method); 64 uintptr_t OatQuickMethodHeader::ToNativeQuickPc(ArtMethod* method, 69 DCHECK(!method->IsNative()); 88 << " in " << PrettyMethod(method);
|
/external/mockito/src/org/mockito/internal/invocation/ |
SerializableMethod.java | 8 import java.lang.reflect.Method;
24 public SerializableMethod(Method method) {
25 declaringClass = method.getDeclaringClass();
26 methodName = method.getName();
27 parameterTypes = method.getParameterTypes();
28 returnType = method.getReturnType();
29 exceptionTypes = method.getExceptionTypes();
30 isVarArgs = method.isVarArgs();
53 public Method getJavaMethod() { [all...] |
/external/opencv3/modules/imgproc/test/ocl/ |
test_match_template.cpp | 62 int method; local 73 method = GET_PARAM(2); 103 method == TM_CCORR_NORMED || 104 method == TM_SQDIFF_NORMED || 105 method == TM_CCOEFF_NORMED; 120 OCL_OFF(cv::matchTemplate(image_roi, templ_roi, result_roi, method)); 121 OCL_ON(cv::matchTemplate(uimage_roi, utempl_roi, uresult_roi, method));
|
/external/skia/tools/skiaserve/ |
skiaserve.cpp | 51 int invoke(Request* request, MHD_Connection* connection, const char* url, const char* method, 54 if (fHandlers[i]->canHandle(method, url)) { 55 return fHandlers[i]->handle(request, connection, url, method, upload_data, 69 const char* url, const char* method, const char* version, 72 SkDebugf("New %s request for %s using version %s\n", method, url, version); 75 int result = kUrlManager.invoke(request, connection, url, method, upload_data, 78 fprintf(stderr, "Invalid method and / or url: %s %s\n", method, url);
|