| /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
| ReflectionUtils.java | 20 import java.lang.reflect.Method; 125 // Method 129 * @return all declared {@link Method}'s, including protected and private. 131 public static Map<String, Method> getMethods(Class<?> clazz) { 132 Map<String, Method> methods = Maps.newHashMap(); 135 for (Method method : c.getDeclaredMethods()) { 136 String signature = getMethodSignature(method); 138 method.setAccessible(true); 139 methods.put(signature, method); 226 Method method = getMethodBySignature(refClass, signature); local [all...] |
| /external/icu/icu4c/source/test/perf/perldriver/ |
| PerfFramework.pm | 158 # Measure a given test method with a give test pattern using the 161 # @param the method to run 177 # $a->[0]: method name, corresponds to $method 213 # Measure a given test method with a give test pattern using the 216 # @param the method to run 243 # @param the method to run 251 # ->[0]: The method name as reported 261 #my $cmd = "java -cp c:\\dev\\myicu4j\\classes $TESTCLASS $method $n $pat"; 275 my $method = '' [all...] |
| /external/junit/src/main/java/org/junit/experimental/theories/ |
| Theories.java | 5 import java.lang.reflect.Method; 24 * A Theory is a piece of functionality (a method) that is executed against several data inputs called data points. 25 * To make a test method a theory you mark it with <b>@Theory</b>. To create a data point you create a public 27 * method as many times as the number of data points declared, providing a different data point as 31 * A Theory differs from standard test method in that it captures some aspect of the intended behavior in possibly 100 Method[] methods = getTestClass().getJavaClass().getDeclaredMethods(); 102 for (Method method : methods) { 103 if (method.getAnnotation(DataPoint.class) == null && method.getAnnotation(DataPoints.class) == null) [all...] |
| /external/proguard/src/proguard/classfile/ |
| LibraryClass.java | 287 public Method findMethod(String name, String descriptor) 291 Method method = methods[index]; local 292 if (method != null && 293 (name == null || method.getName(this).equals(name)) && 294 (descriptor == null || method.getDescriptor(this).equals(descriptor))) 296 return method; 491 Method method = methods[index]; local 492 if (method != null 502 Method method = findMethod(name, descriptor); local [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
| LayoutParamsParserTest.java | 28 import java.lang.reflect.Method; 38 * Convention: method names that start with an underscore are actually local wrappers 143 Method method = AndroidTargetParser.class.getDeclaredMethod("getLayoutClasses"); //$NON-NLS-1$ local 144 method.setAccessible(true); 145 method.invoke(mParser); 151 Method method = LayoutParamsParser.class.getDeclaredMethod("addGroup", //$NON-NLS-1$ local 153 method.setAccessible(true); 154 return (ViewClassInfo) method.invoke(mParser, new ClassWrapper(groupClass)) 160 Method method = LayoutParamsParser.class.getDeclaredMethod("addLayoutParams", \/\/$NON-NLS-1\$ local 168 Method method = LayoutParamsParser.class.getDeclaredMethod("getLayoutParamsInfo", \/\/$NON-NLS-1\$ local 176 Method method = LayoutParamsParser.class.getDeclaredMethod("findLayoutParams", \/\/$NON-NLS-1\$ local [all...] |
| /external/webrtc/webrtc/common_video/libyuv/ |
| scaler_unittest.cc | 27 void ScaleSequence(ScaleMethod method, 116 // TODO(mikhal): Converge the test into one function that accepts the method. 125 ScaleMethod method = kScalePoint; local 128 ScaleSequence(method, 136 ScaleSequence(method, 148 ScaleSequence(method, 153 ScaleSequence(method, 158 ScaleSequence(method, 163 ScaleSequence(method, 169 ScaleSequence(method, 197 ScaleMethod method = kScaleBilinear; local 254 ScaleMethod method = kScaleBox; local [all...] |
| /external/proguard/src/proguard/classfile/editor/ |
| CodeAttributeComposer.java | 417 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 421 System.out.println("CodeAttributeComposer: putting results in ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 458 stackSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute); 459 variableSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute); 462 codeAttribute.attributesAccept(clazz, method, this); 465 //codeAttribute.exceptionsAccept(clazz, method, this); 473 instructionWriter.visitCodeAttribute(clazz, method, codeAttribute); 479 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
| ConstantPoolRemapper.java | 261 // Remap the constant pool references of the bootstrap method entries. 337 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 343 methodParametersAttribute.parametersAccept(clazz, method, this); 347 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 358 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 367 codeAttribute.instructionsAccept(clazz, method, this); 371 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute) [all...] |
| Utf8Shrinker.java | 201 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 206 methodParametersAttribute.parametersAccept(clazz, method, this); 210 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 216 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 221 codeAttribute.attributesAccept(clazz, method, this); 225 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
| ClassPool.java | 118 for (PoolMethod method: poolClassDef.getMethods()) { 119 String methodDescriptor = ReferenceUtil.getMethodDescriptor(method, true); 121 throw new ExceptionWithContext("Multiple definitions for method %s->%s", 124 methodPool.intern(method); 125 internCode(method); 126 internDebug(method); 127 annotationSetPool.intern(method.getAnnotations()); 129 for (MethodParameter parameter: method.getParameters()) { 137 private void internCode(@Nonnull Method method) { [all...] |
| /external/proguard/src/proguard/classfile/visitor/ |
| ClassPrinter.java | 237 println(visitorInfo(invokeDynamicConstant) + " InvokeDynamic [bootstrap method index = " + invokeDynamicConstant.u2bootstrapMethodAttributeIndex + "]:"); 328 "Method: " + 375 "Method: " + 448 " Enclosing method attribute:"); 495 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 498 " Method parameters attribute (count = " + methodParametersAttribute.u1parametersCount + ")"); 501 methodParametersAttribute.parametersAccept(clazz, method, this); 506 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute [all...] |
| /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
| ApiClass.java | 93 public void addMethod(ApiMethod method) { 94 mApiMethods.add(method); 110 /** Look for a matching method and if found and mark it as covered */ 134 for (ApiMethod method : mApiMethods) { 135 if (method.isCovered()) { 161 for (ApiMethod method : mApiMethods) { 162 boolean methodNameMatch = name.equals(method.getName()); 164 compareParameterTypes(method.getParameterTypes(), parameterTypes); 165 boolean returnTypeMatch = compareType(method.getReturnType(), returnType); 167 return method; [all...] |
| /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
| CheckedProviderMethod.java | 34 import java.lang.reflect.Method; 39 * A provider that invokes a method and returns its result. 47 private final Method method; field in class:CheckedProviderMethod 57 Method method, 69 this.method = method; 71 this.exposed = method.isAnnotationPresent(Exposed.class); 76 method.setAccessible(true) [all...] |
| /external/testng/src/main/java/org/testng/internal/ |
| MethodInheritance.java | 47 * @param before true if we are handling a before method (meaning, the methods 58 for (ITestNGMethod method : methods) { 59 Class< ? extends ITestNGMethod> methodClass = method.getRealClass(); 62 l.add(method); 68 l.add(method); 74 l.add(method); 116 for (ITestNGMethod method : methodsNamed) { 117 if (method.equals(m2)) { 125 for (ITestNGMethod method : methodsThatBelongToGroup) { 126 if (method.equals(m2)) [all...] |
| /external/guava/guava/src/com/google/common/reflect/ |
| Invokable.java | 30 import java.lang.reflect.Method; 39 * Wrapper around either a {@link Method} or a {@link Constructor}. 43 * <p>In addition to convenience methods, {@link TypeToken#method} and {@link 44 * TypeToken#constructor} will resolve the type parameters of the method or constructor in the 48 * Method getMethod = List.class.getMethod("get", int.class); 49 * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod); 53 * @param <T> the type that owns this method or constructor. 54 * @param <R> the return type of (or supertype thereof) the method or the declaring type of the 66 /** Returns {@link Invokable} of {@code method}. */ 67 public static Invokable<?, Object> from(Method method) 188 final Method method; field in class:Invokable.MethodInvokable [all...] |
| /external/emma/core/java12/com/vladium/logging/ |
| Logger.java | 39 * sense to scope a context to a single method invocation.<P> 46 * method name, the calling method is identified with all name components that 123 * A quick method to determine if logging is enabled at a given level. 124 * This method acquires no monitors and should be used when calling one of 136 * A convenience method equivalent to isLoggable(INFO). 144 * A convenience method equivalent to isLoggable(VERBOSE). 152 * A convenience method equivalent to isLoggable(TRACE1). 160 * A convenience method equivalent to isLoggable(TRACE2). 168 * A convenience method equivalent to isLoggable(TRACE3) [all...] |
| /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
| FactoryProvider.java | 42 import java.lang.reflect.Method; 58 * method's parameters are the arguments required to build the constructed type. 68 * parameters that match each of the factory method's parameters. Each factory-supplied parameter 104 * The types of the factory method's parameters must be distinct. To use multiple parameters of 106 * parameters. The names must be applied to the factory method's parameters: 128 * Returned factories use child injectors to create values. The values are eligible for method 136 * <p>Instead of matching factory method arguments to constructor parameters using their names, the 137 * <strong>parameters are matched by their order</strong>. The first factory method argument is 142 * method interception. They do receive post-construction member injection. 164 private final Map<Method, AssistedConstructor<?>> factoryMethodToConstructor [all...] |
| /art/runtime/jit/ |
| profiling_info.cc | 28 ProfilingInfo::ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries) 30 method_(method), 41 bool ProfilingInfo::Create(Thread* self, ArtMethod* method, bool retry_allocation) { 42 // Walk over the dex instructions of the method and keep track of 44 DCHECK(!method->IsNative()); 46 const DexFile::CodeItem& code_item = *method->GetCodeItem(); 76 return code_cache->AddProfilingInfo(self, method, entries, retry_allocation) != nullptr;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
| SensorCtsVerifierTestActivity.java | 25 import java.lang.reflect.Method; 57 for (Method testMethod : findTestMethods()) { 73 private List<Method> findTestMethods() { 74 ArrayList<Method> testMethods = new ArrayList<>(); 75 for (Method method : mTestClass.getDeclaredMethods()) { 76 if (Modifier.isPublic(method.getModifiers()) 77 && method.getParameterTypes().length == 0 78 && method.getName().startsWith("test") 79 && method.getReturnType().equals(String.class)) [all...] |
| /device/linaro/bootloader/arm-trusted-firmware/fdts/ |
| fvp-base-gicv2-psci.dts | 56 method = "smc"; 101 entry-method = "arm,psci"; 105 entry-method-param = <0x0010000>; 113 entry-method-param = <0x1010000>; 124 enable-method = "psci"; 132 enable-method = "psci"; 140 enable-method = "psci"; 148 enable-method = "psci"; 156 enable-method = "psci"; 164 enable-method = "psci" [all...] |
| fvp-base-gicv2legacy-psci.dts | 56 method = "smc"; 101 entry-method = "arm,psci"; 105 entry-method-param = <0x0010000>; 113 entry-method-param = <0x1010000>; 124 enable-method = "psci"; 132 enable-method = "psci"; 140 enable-method = "psci"; 148 enable-method = "psci"; 156 enable-method = "psci"; 164 enable-method = "psci" [all...] |
| fvp-base-gicv3-psci.dts | 56 method = "smc"; 99 entry-method = "arm,psci"; 103 entry-method-param = <0x0010000>; 111 entry-method-param = <0x1010000>; 122 enable-method = "psci"; 130 enable-method = "psci"; 138 enable-method = "psci"; 146 enable-method = "psci"; 154 enable-method = "psci"; 162 enable-method = "psci" [all...] |
| /external/boringssl/src/crypto/x509v3/ |
| v3_conf.c | 80 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, 123 const X509V3_EXT_METHOD *method; local 131 if (!(method = X509V3_EXT_get_nid(ext_nid))) { 136 if (method->v2i) { 149 ext_struc = method->v2i(method, ctx, nval); 154 } else if (method->s2i) { 155 if (!(ext_struc = method->s2i(method, ctx, value))) 157 } else if (method->r2i) 223 const X509V3_EXT_METHOD *method; local [all...] |
| /external/clang/test/SemaTemplate/ |
| instantiate-using-decl.cpp | 112 void method(); 116 using Base<Scalar>::method; 123 (void)method; 125 (void)&method; 127 method(); 129 (void)&Base<Scalar>::method;
|
| /external/guice/core/src/com/google/inject/internal/ |
| InterceptorStackCallback.java | 27 import java.lang.reflect.Method; 34 * Intercepts a method with a stack of interceptors. 45 final Method method; field in class:InterceptorStackCallback 47 public InterceptorStackCallback(Method method, 49 this.method = method; 53 public Object intercept(Object proxy, Method method, Object[] arguments [all...] |