/openjdk10/nashorn/samples/engine/ |
H A D | accessvar.js | 34 var ScriptEngineManager = Java.type("javax.script.ScriptEngineManager");
|
/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8129410.js | 31 var VarArgConstructor = Java.type("jdk.nashorn.test.models.VarArgConstructor");
|
/openjdk10/nashorn/test/script/nosecurity/ |
H A D | context-dependent-logging.js | 39 var NashornFactory = new (Java.type('jdk.nashorn.api.scripting.NashornScriptEngineFactory'))(), 51 var F = new (Java.type('jdk.nashorn.api.scripting.NashornScriptEngineFactory'))(),
|
/openjdk10/test/failure_handler/src/share/classes/jdk/test/failurehandler/value/ |
H A D | ValueParser.java | 27 Object parse(Class<?> type, String value, String delimiter); argument
|
H A D | DefaultParser.java | 37 public Object parse(Class<?> type, String value, String s) { argument 38 if (type.isArray()) { 39 return new ArrayParser(this).parse(type, value, s); 41 ValueParser parser = PARSERS.get(type); 44 + type.getName()); 47 return parser.parse(type, value, s); 53 public Object parse(Class<?> type, String value, String s) { 59 public Object parse(Class<?> type, String value, String s) { 65 public Object parse(Class<?> type, String value, String s) { 75 public Object parse(Class<?> type, Strin [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.java/src/org/graalvm/compiler/java/ |
H A D | BytecodeParserOptions.java | 37 @Option(help = "The trace level for the bytecode parser used when building a graph from bytecode", type = OptionType.Debug) 40 @Option(help = "Inlines trivial methods during bytecode parsing.", type = OptionType.Expert) 46 "the intrinsic does not support.", type = OptionType.Expert) 49 @Option(help = "Inlines intrinsic methods during bytecode parsing.", type = OptionType.Expert) 52 @Option(help = "Traces inlining performed during bytecode parsing.", type = OptionType.Debug) 55 @Option(help = "Traces use of plugins during bytecode parsing.", type = OptionType.Debug) 58 @Option(help = "Maximum depth when inlining during bytecode parsing.", type = OptionType.Debug) 61 @Option(help = "When creating info points hide the methods of the substitutions.", type = OptionType.Debug) 64 @Option(help = "Use intrinsics guarded by a virtual dispatch test at indirect call sites.", type = OptionType.Debug)
|
/openjdk10/hotspot/src/cpu/ppc/vm/ |
H A D | c1_LinearScan_ppc.hpp | 38 inline int LinearScan::num_physical_regs(BasicType type) { argument 43 inline bool LinearScan::requires_adjacent_regs(BasicType type) { argument 59 assert(cur->type() != T_FLOAT && cur->type() != T_DOUBLE, "cpu regs only"); 64 } else if (cur->type() == T_INT || cur->type() == T_LONG || cur->type() == T_OBJECT || 65 cur->type() == T_ADDRESS || cur->type() == T_METADATA) {
|
/openjdk10/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/utils/ |
H A D | TypeUtil.java | 34 * Utility functions for type system 41 * @param type a target type which result type could be implicitly cast to 44 public static Collection<Type> getImplicitlyCastable(Collection<Type> types, Type type) { argument 46 .filter(t -> t.canImplicitlyCastTo(type)) 54 * @param type a target type which result type could be explicitly cast to 57 public static Collection<Type> getExplicitlyCastable(Collection<Type> types, Type type) { argument 70 getMoreCapaciousThan(Collection<Type> types, BuiltInType type) argument 83 getLessCapaciousOrEqualThan(Collection<Type> types, BuiltInType type) argument [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/message/ |
H A D | RelatesToHeader.java | 44 protected String type; field in class:RelatesToHeader 47 public RelatesToHeader(QName name, String messageId, String type) { argument 49 this.type = type; 50 this.typeAttributeName = new QName(name.getNamespaceURI(), "type"); 55 this.typeAttributeName = new QName(name.getNamespaceURI(), "type"); 59 return type; 66 if (type != null) 67 w.writeAttribute("type", type); [all...] |
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/ |
H A D | ParameterImpl.java | 35 * This includes a parameter type and parameter name. 51 private final com.sun.javadoc.Type type; field in class:ParameterImpl 59 this.type = TypeMaker.getType(env, sym.type, false); 63 * Get the type of this parameter. 65 public com.sun.javadoc.Type type() { method in class:ParameterImpl 66 return type; 78 * Get type name of this parameter. 82 return (type instanceof ClassDoc || type instanceo [all...] |
/openjdk10/langtools/test/tools/javac/classfiles/attributes/LocalVariableTable/ |
H A D | LocalVariableTypeTableTest.java | 26 * @summary local variable type table attribute test. 68 @ExpectedLocals(name = "list", type = "TT;") 69 @ExpectedLocals(name = "p", type = "[TP;") 70 @ExpectedLocals(name = "k", type = "TK;") 71 @ExpectedLocals(name = "c1", type = "Ljava/util/Collection<-Ljava/lang/Integer;>;") 72 @ExpectedLocals(name = "c2", type = "Ljava/util/Collection<*>;") 73 @ExpectedLocals(name = "c3", type = "Ljava/util/Collection<+TE;>;") 80 @ExpectedLocals(name = "list", type = "TT;") 81 @ExpectedLocals(name = "p", type = "[TP;") 82 @ExpectedLocals(name = "k", type 189 public String type() { method in class:LocalVariableTypeTableTest.LocalVariableTypeTable.LocalVariableTypeTableEntry [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/types/basic/ |
H A D | BasicTypeDataBase.java | 38 It allows an external type database builder to add types to be 83 Type type = (Type) nameToTypeMap.get(cTypeName); 84 if (type == null && throwException) { 85 throw new RuntimeException("No type named \"" + cTypeName + "\" in database"); 87 return type; 98 throw new RuntimeException("No integer constant named \"" + constantName + "\" present in type database"); 112 throw new RuntimeException("No long constant named \"" + constantName + "\" present in type database"); 160 private Address vtblForType(Type type) { argument 161 Address vtblAddr = (Address)typeToVtbl.get(type); 163 vtblAddr = vtblAccess.getVtblForType(type); 171 addressTypeIsEqualToType(Address addr, Type type) argument 380 setJBooleanType(Type type) argument 386 setJByteType(Type type) argument 392 setJCharType(Type type) argument 398 setJDoubleType(Type type) argument 404 setJFloatType(Type type) argument 410 setJIntType(Type type) argument 416 setJLongType(Type type) argument 422 setJShortType(Type type) argument 429 addType(Type type) argument 440 removeType(Type type) argument [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/ |
H A D | Universe.java | 74 Type type = db.lookupType("Universe"); 76 collectedHeapField = type.getAddressField("_collectedHeap"); 83 mainThreadGroupField = type.getOopField("_main_thread_group"); 84 systemThreadGroupField = type.getOopField("_system_thread_group"); 86 boolArrayKlassField = type.getAddressField("_boolArrayKlassObj"); 87 byteArrayKlassField = type.getAddressField("_byteArrayKlassObj"); 88 charArrayKlassField = type.getAddressField("_charArrayKlassObj"); 89 intArrayKlassField = type.getAddressField("_intArrayKlassObj"); 90 shortArrayKlassField = type.getAddressField("_shortArrayKlassObj"); 91 longArrayKlassField = type 176 elementTypeShouldBeAligned(BasicType type) argument 182 fieldTypeShouldBeAligned(BasicType type) argument [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ |
H A D | PerfDataPrologue.java | 53 Type type = db.lookupType("PerfDataPrologue"); 54 magicField = type.getJIntField("magic"); 55 byteOrderField = type.getJByteField("byte_order"); 56 majorVersionField = type.getJByteField("major_version"); 57 minorVersionField = type.getJByteField("minor_version"); 58 accessibleField = type.getJByteField("accessible"); 59 usedField = type.getJIntField("used"); 60 overflowField = type.getJIntField("overflow"); 61 modTimeStampField = type.getJLongField("mod_time_stamp"); 62 entryOffsetField = type [all...] |
/openjdk10/hotspot/test/compiler/whitebox/ |
H A D | GetCodeHeapEntriesTest.java | 61 for (BlobType type : blobTypes) { 62 new GetCodeHeapEntriesTest(type).test(); 66 private final BlobType type; field in class:GetCodeHeapEntriesTest 67 private GetCodeHeapEntriesTest(BlobType type) { argument 68 this.type = type; 72 System.out.printf("type %s%n", type); 73 long addr = WHITE_BOX.allocateCodeBlob(SIZE, type.id); 75 CodeBlob[] blobs = CodeBlob.getCodeBlobs(type); [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/nio/charset/ |
H A D | CoderResult.java | 96 private final int type; field in class:CoderResult 99 private CoderResult(int type, int length) { argument 100 this.type = type; 110 String nm = names[type]; 120 return (type == CR_UNDERFLOW); 129 return (type == CR_OVERFLOW); 139 return (type >= CR_ERROR_MIN); 149 return (type == CR_MALFORMED); 160 return (type [all...] |
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ClassDeclaration.java | 43 * type information is available, but the class has 46 * been type-checked. 47 * CS_COMPILED - the class has been type checked, compiled, 59 Type type; field in class:ClassDeclaration 66 this.type = Type.tClass(name); 80 return type.getClassName(); 84 * Get the type of the class 87 return type; 234 return type.equals(((ClassDeclaration)obj).type); [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/ |
H A D | DebugOptions.java | 58 "An empty value enables all timers unconditionally.", type = OptionType.Debug) 61 "An empty value enables all counters unconditionally.", type = OptionType.Debug) 64 "An empty value enables all memory usage trackers unconditionally.", type = OptionType.Debug) 69 "An empty value enables all counters unconditionally.", type = OptionType.Debug) 73 "An empty value enables all memory use trackers unconditionally.", type = OptionType.Debug) 77 "An empty value enables all timers unconditionally.", type = OptionType.Debug) 81 "See the Dump option for the pattern syntax.", type = OptionType.Debug) 83 @Option(help = "file:doc-files/DumpHelp.txt", type = OptionType.Debug) 86 "See the Dump option for the pattern syntax.", type = OptionType.Debug) 90 @Option(help = "Only check MethodFilter against the root method in the context if true, otherwise check all methods", type [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/ |
H A D | ObjectStreamField.java | 52 * Create a named field with the specified type. 61 type = 'I'; 63 type = 'B'; 65 type = 'J'; 67 type = 'F'; 69 type = 'D'; 71 type = 'S'; 73 type = 'C'; 75 type = 'Z'; 78 type 257 private char type; // type first byte of the type signature field in class:ObjectStreamField [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/io/ |
H A D | ObjectStreamField.java | 61 * Create a named field with the specified type. 70 type = 'I'; 72 type = 'B'; 74 type = 'J'; 76 type = 'F'; 78 type = 'D'; 80 type = 'S'; 82 type = 'C'; 84 type = 'Z'; 87 type 259 private char type; // type first byte of the type signature field in class:ObjectStreamField [all...] |
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/ |
H A D | Item.java | 96 int type; field in class:Item 164 type = i.type; 180 this.type = ClassWriter.INT; 182 this.hashCode = 0x7FFFFFFF & (type + intVal); 192 this.type = ClassWriter.LONG; 194 this.hashCode = 0x7FFFFFFF & (type + (int) longVal); 204 this.type = ClassWriter.FLOAT; 206 this.hashCode = 0x7FFFFFFF & (type + (int) floatVal); 216 this.type 234 set(final int type, final String strVal1, final String strVal2, final String strVal3) argument [all...] |
/openjdk10/jdk/src/java.smartcardio/share/classes/javax/smartcardio/ |
H A D | TerminalFactory.java | 47 * <p>Each TerminalFactory has a <code>type</code> indicating how it 52 * <P>The following standard type names have been defined: 64 * TerminalFactory. Factories of this type cannot be obtained by calling the 99 // lookup up the user specified type, default to PC/SC 100 String type = AccessController.doPrivileged( 104 factory = TerminalFactory.getInstance(type, null); 111 type = "PC/SC"; 118 factory = TerminalFactory.getInstance(type, null, sun); 124 type = "None"; 128 defaultType = type; 171 private final String type; field in class:TerminalFactory 173 TerminalFactory(TerminalFactorySpi spi, Provider provider, String type) argument 250 getInstance(String type, Object params) argument 289 getInstance(String type, Object params, String provider) argument 321 getInstance(String type, Object params, Provider provider) argument [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/ |
H A D | Lookup.java | 59 /** Method handle to a getter that only throws type error */ 62 /** Method handle to a setter that only throws type error */ 66 public static final MethodType GET_OBJECT_TYPE = MH.type(Object.class, Object.class); 69 public static final MethodType SET_OBJECT_TYPE = MH.type(void.class, Object.class, Object.class); 72 public static final MethodType GET_PRIMITIVE_TYPE = MH.type(long.class, Object.class); 75 public static final MethodType SET_PRIMITIVE_TYPE = MH.type(void.class, Object.class, long.class); 100 * return type value. It will still be undefined cast to whatever 103 * @param type return value type 105 * @return undefined as return value type 107 emptyGetter(final Class<?> type) argument 189 filterReturnType(final MethodHandle mh, final Class<?> type) argument [all...] |
/openjdk10/hotspot/src/share/vm/memory/ |
H A D | allocation.hpp | 74 // where all objects are of the exact type specified. If subtypes are 78 // NEW_RESOURCE_ARRAY(type, size) 79 // NEW_RESOURCE_OBJ(type) 80 // NEW_C_HEAP_ARRAY(type, size) 81 // NEW_C_HEAP_OBJ(type, memflags) 82 // FREE_C_HEAP_ARRAY(type, old) 83 // FREE_C_HEAP_OBJ(objname, type, memflags) 117 // Memory type by sub systems. It occupies lower byte. 133 mtTest = 0x0D, // Test type for verifying NMT 140 // is not included as validate type) 261 type_name(Type type) argument [all...] |
/openjdk10/hotspot/src/share/vm/ci/ |
H A D | ciTypeArrayKlass.hpp | 47 static ciTypeArrayKlass* make_impl(BasicType type); 50 // The type of the array elements. 58 // Make an array klass corresponding to the specified primitive type. 59 static ciTypeArrayKlass* make(BasicType type);
|