Searched refs:ptype (Results 1 - 25 of 25) sorted by relevance

/openjdk7/hotspot/src/share/vm/ci/
H A DciMethodType.hpp70 oop ptype = java_lang_invoke_MethodType::ptype(get_oop(), index);
71 return class_to_citype(ptype);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/field/
H A DUnboxedField.java53 private final JPrimitiveType ptype; field in class:UnboxedField
61 ptype = (JPrimitiveType) implType;
62 assert ptype!=null;
79 JMethod $get = writer.declareMethod( ptype, getGetterMethod() );
93 JVar $value = writer.addParameter( ptype, "value" );
106 return ptype;
H A DConstField.java64 JPrimitiveType ptype = implType.boxify().getPrimitiveType();
72 ptype!=null?ptype:implType, prop.getName(true), defaultValue );
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DUnaryOpExpr.java66 final MethodType ptype = lookupPrimop(stable, "u-",
70 if (ptype != null) {
71 final Type arg1 = (Type) ptype.argsType().elementAt(0);
75 return _type = ptype.resultType();
H A DBinOpExpr.java84 final MethodType ptype = lookupPrimop(stable, Ops[_op],
87 if (ptype != null) {
88 final Type arg1 = (Type) ptype.argsType().elementAt(0);
92 final Type arg2 = (Type) ptype.argsType().elementAt(1);
96 return _type = ptype.resultType();
H A DExpression.java203 final MethodType ptype = (MethodType) primop.elementAt(i);
205 if (ptype.argsCount() != ctype.argsCount()) {
211 result = ptype; // default method
215 final int distance = ctype.distanceTo(ptype);
218 result = ptype;
H A DRelationalExpr.java184 MethodType ptype = lookupPrimop(stable, Operators.getOpNames(_op),
187 if (ptype != null) {
188 Type arg1 = (Type) ptype.argsType().elementAt(0);
192 Type arg2 = (Type) ptype.argsType().elementAt(1);
196 return _type = ptype.resultType();
H A DAbsoluteLocationPath.java77 final Type ptype = _path.typeCheck(stable);
78 if (ptype instanceof NodeType) { // promote to node-set
H A DFilteredAbsoluteLocationPath.java76 final Type ptype = _path.typeCheck(stable);
77 if (ptype instanceof NodeType) { // promote to node-set
H A DFilterExpr.java102 Type ptype = _primary.typeCheck(stable);
105 if (ptype instanceof NodeSetType == false) {
106 if (ptype instanceof ReferenceType) {
H A DFilterParentPath.java98 final Type ptype = _path.typeCheck(stable);
99 if (!(ptype instanceof NodeSetType)) {
H A DFunctionCall.java417 final MethodType ptype =
420 if (ptype != null) {
422 final Type argType = (Type) ptype.argsType().elementAt(i);
433 _chosenMethodType = ptype;
434 return _type = ptype.resultType();
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodType.java87 private static final long serialVersionUID = 292L; // {rtype, {ptype...}}
147 private static int checkPtype(Class<?> ptype) { argument
148 ptype.getClass(); //NPE
149 if (ptype == void.class)
151 if (ptype == double.class || ptype == long.class) return 1;
157 for (Class<?> ptype : ptypes) {
158 slots += checkPtype(ptype);
678 for (Class<?> ptype : ptypes)
679 hashCode = 31*hashCode + ptype
[all...]
H A DInvokerBytecodeGenerator.java441 * @param ptype type of value present on stack
444 private void emitImplicitConversion(char ptype, Class<?> pclass) { argument
445 switch (ptype) {
462 emitPrimCast(ptype, Wrapper.basicTypeChar(pclass));
474 throw new InternalError("bad implicit conversion: tc="+ptype+": "+pclass);
754 char ptype = name.function.parameterType(paramIndex);
760 } else if ((arg == null || arg instanceof String) && ptype == 'L') {
763 if (Wrapper.isWrapperType(arg.getClass()) && ptype != 'L') {
912 for (Class<?> ptype : type.parameterList())
913 buf.append(Wrapper.forBasicType(ptype)
[all...]
H A DMethodHandle.java1195 Class<?> ptype;
1199 (ptype = type.parameterType(0)).isPrimitive())
1201 x = ptype.cast(x); // throw CCE if needed
H A DMethodHandles.java1722 Class<?> ptype = oldType.parameterType(pos+i);
1723 if (ptype.isPrimitive()) {
1725 Wrapper w = Wrapper.forPrimitiveType(ptype);
1732 value = w.convert(value, ptype);
1736 value = ptype.cast(value); // throw CCE if needed
H A DLambdaForm.java1175 Class<?> ptype = arg == null ? Object.class : arg.getClass();
1178 ptypes[i] = dstType.parameterType(i).isPrimitive() ? ptype : Object.class;
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DVerifyAccess.java204 Class<?> ptype = (n < 0 ? type.returnType() : type.parameterType(n));
205 if (!isTypeVisible(ptype, refc))
H A DWrapper.java53 private Wrapper(Class<?> wtype, Class<?> ptype, char tchar, Object zero, Object emptyArray, int format) { argument
55 this.primitiveType = ptype;
61 this.primitiveSimpleName = ptype.getSimpleName();
/openjdk7/jdk/test/java/lang/invoke/
H A DInvokeGenericTest.java445 for (Class<?> ptype : types) {
446 argcTypes.add(prevType.insertParameterTypes(argc, ptype));
H A DRicochetTest.java483 Class<?> ptype = t.parameterType(0);
484 if (ptype == long.class || ptype == Long.class) {
/openjdk7/hotspot/src/share/vm/runtime/
H A Dreflection.cpp987 BasicType ptype = basic_type_mirror_to_basic_type(type_mirror, CHECK_NULL); local
989 if (ptype != atype) {
990 widen(&value, atype, ptype, CHECK_NULL);
992 switch (ptype) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DParser.java3489 * @param ptype parent type entry.
3491 SymtabEntry searchParentInheritanceScope(String name, SymtabEntry ptype) { argument
3493 String cname = ptype.fullName();
3495 while ((ptype != null) && !(cname.equals ("")) &&
3496 !(ptype instanceof InterfaceEntry)) {
3502 ptype = (SymtabEntry) symbolTable.get(cname);
3506 if ((ptype == null) || !(ptype instanceof InterfaceEntry)) {
3511 String fullName = ptype.fullName () + '/' + name;
3518 return searchLocalInheritanceScope(name, ptype);
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DjavaClasses.hpp1042 static oop ptype(oop mt, int index);
H A DjavaClasses.cpp2585 if (ptype(mt1, i) != ptype(mt2, i))
2601 oop java_lang_invoke_MethodType::ptype(oop mt, int idx) { function in class:java_lang_invoke_MethodType

Completed in 190 milliseconds