/openjdk9/nashorn/test/script/basic/ |
H A D | NASHORN-421.js | 55 var methods = [ "concat", "join", "pop", "push", "reverse", variable 60 for (var m in methods) { 61 checkUndefined(methods[m]); 62 checkNull(methods[m]);
|
/openjdk9/jdk/src/java.base/share/native/libjava/ |
H A D | VM.c | 33 /* Only register the performance-critical methods */ 34 static JNINativeMethod methods[] = { variable 50 // Registers implementations of native methods described in methods[] 56 methods, sizeof(methods)/sizeof(methods[0]));
|
H A D | Object.c | 42 static JNINativeMethod methods[] = { variable 54 methods, sizeof(methods)/sizeof(methods[0]));
|
H A D | Thread.c | 43 static JNINativeMethod methods[] = { variable 70 (*env)->RegisterNatives(env, cls, methods, ARRAY_LENGTH(methods));
|
/openjdk9/jdk/test/java/lang/reflect/Method/ |
H A D | InheritedInterfaceMethods.java | 34 Method[] methods = InheritedInterfaceMethodsC.class.getMethods(); 35 for (int i = 0; i < methods.length; i++) { 36 if (methods[i].getName().equals("a")) {
|
/openjdk9/hotspot/test/compiler/testlibrary/rtm/ |
H A D | NestedAbortProvoker.java | 55 String methods[] = Arrays.copyOf(nestedProvokerMethods, 57 methods[methods.length - 1] = getMethodWithLockName(); 58 return methods;
|
/openjdk9/langtools/test/tools/javac/processing/model/util/filter/ |
H A D | ExpectedElementCounts.java | 34 int methods() default 0;
|
H A D | Foo1.java | 24 @ExpectedElementCounts(constructors=2, fields=5, methods=4, types=3)
|
/openjdk9/hotspot/test/compiler/compilercontrol/share/scenario/ |
H A D | DirectiveWriter.java | 47 * Emits match block with a given methods 49 * @param methods methods used for the match 52 public DirectiveWriter match(String... methods) { argument 58 writeMethods(methods); 63 * Emits match block with a given methods 69 String[] methods = new String[methodDescriptors.length]; 71 methods[i] = methodDescriptors[i].getString(); 73 match(methods); 78 * Emits inline block with a given methods t 85 inline(String... methods) argument 99 inline(List<String> methods) argument 105 writeMethods(String[] methods) argument [all...] |
/openjdk9/hotspot/test/compiler/jvmci/compilerToVM/ |
H A D | GetLocalVariableTableTest.java | 72 HashMap<Executable, Integer> methods = new HashMap<>(); 77 methods.put(aClass.getDeclaredMethod("main", String[].class), 81 methods.put(aClass.getMethod("dummyInstanceFunction"), 83 methods.put(aClass.getMethod("dummyEmptyInstanceFunction"), 85 methods.put(aClass.getMethod("dummyEmptyStaticFunction"), 87 methods.put(aClass.getMethod("dummyFunction"), 89 methods.put(aClass.getMethod("dummyAbstractFunction"), 93 methods.put(aClass.getMethod("dummyFunction"), EMPTY_STATIC_COUNT); 94 methods.put(aClass.getMethod("dummyDefaultFunction", int.class, 98 methods [all...] |
H A D | GetExceptionTableTest.java | 67 HashMap<Executable, Integer> methods = new HashMap<>(); 70 methods.put(aClass.getMethod("tryCatchDummy"), TRY_CATCH_COUNT); 71 methods.put(aClass.getMethod("tryCatchFinallyDummy"), 73 methods.put(aClass.getMethod("tryWithResourcesDummy"), 75 methods.put(aClass.getMethod("emptyFunction"), EMPTY_COUNT); 79 return methods;
|
/openjdk9/nashorn/samples/ |
H A D | defaults.js | 32 // print default methods of a Java class 40 for each (m in jclass.methods) {
|
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ |
H A D | MethodBuilder.java | 56 * The class whose methods are being documented. 61 * The visible methods for the given class. 71 * The methods being documented. 73 private List<ProgramElementDoc> methods; field in class:MethodBuilder 93 methods = 96 Collections.sort(methods, configuration.getMemberComparator()); 122 * Returns a list of methods that will be documented for the given class. 127 * @return a list of methods that will be documented. 134 * Returns the visible member map for the methods of this class. 136 * @return the visible member map for the methods o [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/beans/introspect/ |
H A D | ClassInfo.java | 59 private List<Method> methods; field in class:ClassInfo 68 if (this.methods == null) { 70 if (this.methods == null) { 71 this.methods = MethodInfo.get(this.type); 75 return this.methods;
|
/openjdk9/nashorn/test/src/jdk/nashorn/internal/test/framework/ |
H A D | TestReorderInterceptor.java | 41 public List<IMethodInstance> intercept(final List<IMethodInstance> methods, final ITestContext context) { argument 42 Collections.sort(methods, new Comparator<IMethodInstance>() { 56 return methods;
|
/openjdk9/langtools/test/tools/javac/ |
H A D | MethodParametersTest.java | 155 throw new Exception("Classfile Baz badly formed: wrong number of methods"); 176 if (baz.methods.length != 1) 177 throw new Exception("Classfile Baz badly formed: wrong number of methods"); 178 if (!baz.methods[0].getName(baz.constant_pool).equals("<init>")) 180 baz.methods[0].getName(baz.constant_pool)); 181 for (int i = 0; i < baz.methods[0].attributes.attrs.length; i++) { 182 if (baz.methods[0].attributes.attrs[i] instanceof 185 baz.methods[0].attributes.attrs[i]; 187 } else if (baz.methods[0].attributes.attrs[i] instanceof 189 cattr = (Code_attribute) baz.methods[ [all...] |
/openjdk9/jdk/test/java/beans/XMLDecoder/8028054/ |
H A D | TestMethodFinder.java | 34 * @summary Tests that cached methods have synchronized access 48 List<Method> methods = new ArrayList<>(); 50 Collections.addAll(methods, type.getMethods()); 52 Task.print("found " + methods.size() + " methods in " + classes.size() + " classes"); 56 tasks.add(new Task<Method>(methods) {
|
/openjdk9/jdk/test/java/security/KeyPairGenerator/ |
H A D | FinalizeHalf.java | 46 List<Consumer<Key>> methods = new ArrayList<>(); 47 methods.add((Key k) -> k.getEncoded()); 48 methods.add((Key k) -> k.toString()); 53 for (Consumer<Key> method : methods) {
|
/openjdk9/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/model/java/ |
H A D | JavaInterface.java | 82 return methods.iterator(); 86 for (int i=0; i<methods.size();i++) { 87 if (method.equals(((JavaMethod)methods.get(i)))) { 99 methods.add(method); 104 return methods; 109 methods = l; 164 private List methods = new ArrayList(); field in class:JavaInterface
|
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/beans/ |
H A D | ApplicableOverloadedMethods.java | 92 * Represents overloaded methods applicable to a specific call site signature. 95 private final List<SingleDynamicMethod> methods; field in class:ApplicableOverloadedMethods 101 * @param methods a list of all overloaded methods with the same name for a class. 106 ApplicableOverloadedMethods(final List<SingleDynamicMethod> methods, final MethodType callSiteType, argument 108 this.methods = new LinkedList<>(); 109 for(final SingleDynamicMethod m: methods) { 111 this.methods.add(m); 118 * Retrieves all the methods this object holds. 120 * @return list of all methods [all...] |
H A D | MaximallySpecific.java | 96 * Utility class that encapsulates the algorithm for choosing the maximally specific methods. 100 * Given a list of methods, returns a list of maximally specific methods. 102 * @param methods the list of methods 103 * @param varArgs whether to assume the methods are varargs 104 * @return the list of maximally specific methods. 106 static List<SingleDynamicMethod> getMaximallySpecificMethods(final List<SingleDynamicMethod> methods, final boolean varArgs) { argument 107 return getMaximallySpecificSingleDynamicMethods(methods, varArgs, null, null); 131 * Given a list of methods handle 139 getMaximallySpecificMethodHandles(final List<MethodHandle> methods, final boolean varArgs, final Class<?>[] argTypes, final LinkerServices ls) argument 153 getMaximallySpecificSingleDynamicMethods(final List<SingleDynamicMethod> methods, final boolean varArgs, final Class<?>[] argTypes, final LinkerServices ls) argument 167 getMaximallySpecificMethods(final List<T> methods, final boolean varArgs, final Class<?>[] argTypes, final LinkerServices ls, final MethodTypeGetter<T> methodTypeGetter) argument [all...] |
/openjdk9/jdk/test/javax/swing/ |
H A D | SwingTest.java | 38 * It uses reflection to invoke all public methods without parameters. 39 * All static methods are starting on the current thread. 40 * Other methods including constructor are starting on the EDT. 42 * The methods are sorted by name and invoked in that order. 44 * If no methods throw an exception the test is assumed to have passed. 58 private final Iterator<Method> methods; field in class:SwingTest 66 Set<Method> methods = new TreeSet<Method>(new Comparator<Method>() { 75 methods.add(method); 81 this.methods = methods [all...] |
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/ |
H A D | ClassFile.java | 98 methods = new Method[methods_count]; 100 methods[i] = new Method(cr); 108 Field[] fields, Method[] methods, Attributes attributes) { 118 this.methods = methods; 156 byteLength(methods) + 171 private int byteLength(Method[] methods) { argument 173 for (Method m: methods) 187 public final Method[] methods; field in class:ClassFile 105 ClassFile(int magic, int minor_version, int major_version, ConstantPool constant_pool, AccessFlags access_flags, int this_class, int super_class, int[] interfaces, Field[] fields, Method[] methods, Attributes attributes) argument
|
/openjdk9/langtools/test/tools/javac/lambda/lambdaExpression/ |
H A D | LambdaTest6.java | 28 * Test bridge methods for certain SAM conversions 68 Method[] methods = c1.getDeclaredMethods(); 70 for(Method m : methods) { 84 Method[] methods = c2.getDeclaredMethods(); 86 for(Method m : methods) { 101 Method[] methods = c3.getDeclaredMethods(); 103 for(Method m : methods) {
|
/openjdk9/langtools/test/tools/javac/lambda/methodReference/ |
H A D | BridgeMethod.java | 28 * Test bridge methods in certain SAM conversion 75 Method[] methods = c1.getDeclaredMethods(); 77 System.out.println("methods in SAM conversion of L:"); 78 for(Method m : methods) { 90 methods = c2.getDeclaredMethods(); 92 System.out.println("methods in SAM conversion of KM:"); 93 for(Method m : methods) { 106 methods = c3.getDeclaredMethods(); 108 System.out.println("methods in SAM conversion of N:"); 109 for(Method m : methods) { [all...] |