/cts/tools/signature-tools/src/signature/compare/model/subst/ |
ClassProjection.java | 101 Set<IMethod> methods = null; field in class:ClassProjection 104 if (methods == null) { 107 methods = Collections.emptySet(); 109 methods = new HashSet<IMethod>(); 111 methods.add(new MethodProjection(m, substitutions)); 113 methods = Collections.unmodifiableSet(methods); 116 return methods;
|
/cts/tools/signature-tools/test/signature/converter/ |
ConvertVisibilityTest.java | 52 Set<IMethod> methods = c.getMethods();
local 53 assertEquals(1, methods.size());
70 Set<IMethod> methods = c.getMethods();
local 71 assertEquals(2, methods.size());
88 Set<IMethod> methods = c.getMethods();
local 89 assertEquals(3, methods.size());
106 Set<IMethod> methods = c.getMethods();
local 107 assertEquals(4, methods.size());
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
AllowEventsList.java | 66 * Gets an Iterator of all the methods of the AllowEventsHeader. Returns an empty 68 * Iterator if no methods are defined in this AllowEvents Header. 72 * @return Iterator of String objects each identifing the methods of 89 * Sets the methods supported defined by this AllowEventsHeader. 93 * @param methods - the Iterator of Strings defining the methods supported 99 * unexpectedly while parsing the Strings defining the methods supported. 103 public void setMethods(List<String> methods) throws ParseException { 104 ListIterator<String> it = methods.listIterator();
|
AllowList.java | 66 * Gets an Iterator of all the methods of the AllowHeader. Returns an empty 68 * Iterator if no methods are defined in this Allow Header. 72 * @return Iterator of String objects each identifing the methods of 91 * Sets the methods supported defined by this AllowHeader. 95 * @param methods - the Iterator of Strings defining the methods supported 101 * unexpectedly while parsing the Strings defining the methods supported. 105 public void setMethods(List<String> methods) throws ParseException { 106 ListIterator<String> it = methods.listIterator();
|
/external/proguard/examples/ |
midlets.pro | 19 # Allow methods with the same signature, except for the return type, 48 native <methods>;
|
/packages/inputmethods/LatinIME/native/jni/ |
jni_common.cpp | 63 int registerNativeMethods(JNIEnv* env, const char* className, JNINativeMethod* methods, 70 if (env->RegisterNatives(clazz, methods, numMethods) < 0) {
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
IClassDefVisitor.java | 24 Object visit (IMethodCollection methods, Object ctx);
|
/external/quake/quake/src/QW/client/ |
main.cpp | 60 static JNINativeMethod methods[] = { variable 68 * Register several native methods for one class. 90 * Register native methods for all classes we know about. 95 methods, sizeof(methods) / sizeof(methods[0]))) {
|
/external/webkit/Source/WebCore/bridge/jni/v8/ |
JavaClassJobjectV8.cpp | 57 // Get the methods 58 jarray methods = static_cast<jarray>(callJNIMethod<jobject>(aClass, "getMethods", "()[Ljava/lang/reflect/Method;")); local 59 int numMethods = env->GetArrayLength(methods); 61 jobject aJMethod = env->GetObjectArrayElement(static_cast<jobjectArray>(methods), i); 72 env->DeleteLocalRef(methods);
|
/external/apache-http/src/org/apache/http/impl/ |
DefaultHttpRequestFactory.java | 73 private static boolean isOneOf(final String[] methods, final String method) { 74 for (int i = 0; i < methods.length; i++) { 75 if (methods[i].equalsIgnoreCase(method)) {
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationImpl.java | 190 Method[] methods = annotationType.getDeclaredMethods(); local 191 for (int i = 0; i < methods.length; ++ i) { 192 String name = methods[i].getName(); 200 value = mv.getValue(classLoader, pool, methods[i]); 202 value = getDefault(name, methods[i]); 250 Method[] methods = annotationType.getDeclaredMethods(); 251 for (int i = 0; i < methods.length; ++ i) { 252 String name = methods[i].getName(); 260 value = mv.getValue(classLoader, pool, methods[i]); 262 value = getDefault(name, methods[i]) [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexClassImpl.java | 52 private List<DexMethod> methods; field in class:DexClassImpl 226 EncodedMethod[] methods = new EncodedMethod[size]; local 227 for (int i = 0; i < methods.length; i++) { 228 methods[i] = new EncodedMethod(); 229 methods[i].method_idx_diff = buffer.readUleb128(); 230 methods[i].access_flags = buffer.readUleb128(); 231 methods[i].code_off = buffer.readUleb128(); 233 return methods; 277 if (methods == null) { 278 methods = new ArrayList<DexMethod>() [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
RuntimeSupport.java | 42 * Finds two methods specified by the parameters and stores them 45 * @throws RuntimeException if the methods are not found. 50 String desc, java.lang.reflect.Method[] methods) 52 synchronized (methods) { 53 if (methods[index] == null) { 54 methods[index + 1] = thisMethod == null ? null 56 methods[index] = findSuperMethod(self, superMethod, desc); 126 Method[] methods = SecurityActions.getDeclaredMethods(clazz); local 127 int n = methods.length; 129 if (methods[i].getName().equals(name [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
ClassItem.java | 52 final MethodDescriptor [] methods = m_cls.getMethods (); local 55 for (int m = 0, mLimit = methods.length; m < mLimit; ++ m) 57 final int mFirstLine = methods [m].getFirstLine (); 112 // info is available; instead, lines from all methods belonging 120 for (Iterator methods = getChildren (); methods.hasNext (); ) 122 final MethodItem method = (MethodItem) methods.next ();
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpClient4.java | 28 import org.apache.http.client.methods.HttpDelete; 29 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 30 import org.apache.http.client.methods.HttpGet; 31 import org.apache.http.client.methods.HttpPost; 32 import org.apache.http.client.methods.HttpPut; 33 import org.apache.http.client.methods.HttpRequestBase; 42 * Utility methods for an OAuth client based on the <a
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MethodOverridesTest.java | 98 Method[] methods = Sub.class.getMethods(); local 100 for (Method method : methods) { 115 Method[] methods = PublicSub.class.getMethods(); local 117 for (Method method : methods) { 166 private Set<String> signatures(Method[] methods) { 168 for (Method method : methods) {
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
ErrorFinder.java | 42 CtMethod[] methods = clazz.getDeclaredMethods(); local 43 for (int i = 0; i < methods.length; i++) 44 analyzeMethod(clazz, methods[i]);
|
/external/apache-http/src/org/apache/http/client/methods/ |
AbortableHttpRequest.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/AbortableHttpRequest.java $ 32 package org.apache.http.client.methods;
|
/external/quake/quake/src/WinQuake/ |
masterMain.cpp | 74 static JNINativeMethod methods[] = { variable 84 * Register several native methods for one class. 106 * Register native methods for all classes we know about. 111 methods, sizeof(methods) / sizeof(methods[0]))) {
|
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaClassJSC.cpp | 74 // Get the methods 75 if (jarray methods = (jarray)callJNIMethod<jobject>(aClass, "getMethods", "()[Ljava/lang/reflect/Method;")) { 76 int numMethods = env->GetArrayLength(methods); 78 jobject aJMethod = env->GetObjectArrayElement((jobjectArray)methods, i); 93 env->DeleteLocalRef(methods);
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
MethodTest.java | 509 assertEquals("Methods with same name did not return same hashCode.", 522 Method[] methods = null; local 547 // Test same method. but this time pull it from the list of methods 549 methods = cl.getDeclaredMethods(); 552 for (i = 0; i < methods.length; i++) 553 if (methods[i].getName().equals("parmTest")) { 554 mth = methods[i]; 555 i = methods.length + 1; 557 if (i < methods.length) { 707 Method methods[] = cl.getMethods() local [all...] |
/external/javassist/src/main/javassist/tools/reflect/ |
ClassMetaobject.java | 43 * The base-level methods controlled by a metaobject 52 private Method[] methods; field in class:ClassMetaobject 82 methods = null; 94 methods = null; 223 * Is invoked when <code>static</code> methods of the base-level 246 * Returns an array of the methods defined on the given reflective 250 if (methods != null) 251 return methods; 277 methods = new Method[max]; 280 methods[index[i] - 1] = allmethods[i] [all...] |
/dalvik/vm/native/ |
dalvik_system_VMStack.cpp | 61 * Create an array of classes for the methods on the stack, skipping the 62 * first two and all reflection methods. If "stopAtPrivileged" is set, 78 UniquePtr<const Method*[]> methods(new const Method*[depth]); 79 dvmFillStackTraceArray(fp, methods.get(), depth); 85 const Method* meth = methods[i]; 116 if (dvmIsReflectionMethod(methods[i])) { 119 Object* klass = (Object *)methods[i]->clazz;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
AsmGenerator.java | 49 /** The set of methods to stub out. */ 51 /** All classes to output as-is, except if they have native methods. */ 65 /** A map { FQCN => set { method names } } of methods to rewrite as delegates. 82 // Create the map/set of methods to change to delegates 91 Set<String> methods = mDelegateMethods.get(className); local 92 if (methods == null) { 93 methods = new HashSet<String>(); 94 mDelegateMethods.put(className, methods); 96 methods.add(methodName); 100 Set<String> methods = mDelegateMethods.get(className) local [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 611 u16 methods = 0; local 614 /* Default to enabling methods based on build configuration */ 615 methods |= WPS_CONFIG_DISPLAY | WPS_CONFIG_KEYPAD; 617 methods |= WPS_CONFIG_VIRT_DISPLAY; 620 methods |= WPS_CONFIG_USBA; 623 methods |= WPS_CONFIG_NFC_INTERFACE; 627 methods |= WPS_CONFIG_USBA; 629 methods |= WPS_CONFIG_ETHERNET; 631 methods |= WPS_CONFIG_LABEL; 633 methods |= WPS_CONFIG_DISPLAY [all...] |