Searched refs:constType (Results 1 - 9 of 9) sorted by relevance

/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DConstFold.java91 return syms.intType.constType(-intValue(od));
93 return syms.intType.constType(~intValue(od));
95 return syms.booleanType.constType(b2i(intValue(od) == 0));
97 return syms.booleanType.constType(b2i(intValue(od) == 0));
99 return syms.booleanType.constType(b2i(intValue(od) != 0));
101 return syms.booleanType.constType(b2i(intValue(od) < 0));
103 return syms.booleanType.constType(b2i(intValue(od) > 0));
105 return syms.booleanType.constType(b2i(intValue(od) <= 0));
107 return syms.booleanType.constType(b2i(intValue(od) >= 0));
110 return syms.longType.constType(Lon
[all...]
H A DLower.java559 return make.Literal(type.getTag(), value).setType(type.constType(value));
2899 tree.type = unboxedTarget.constType(tree.type.constValue());
3221 indexdef.init.type = indexdef.type = syms.intType.constType(0);
H A DAttr.java3842 owntype = owntype.constType(v.getConstValue());
4123 result = check(tree, litType(tree.typetag).constType(tree.value),
/openjdk10/langtools/test/tools/lib/types/
H A DTypeHarness.java320 return predef.byteType.constType(b);
324 return predef.shortType.constType(s);
328 return predef.intType.constType(i);
332 return predef.longType.constType(l);
336 return predef.floatType.constType(f);
340 return predef.doubleType.constType(d);
344 return predef.charType.constType(c + 0);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java830 setType(syms.stringType.constType(value));
833 setType(syms.intType.constType(value));
836 setType(syms.longType.constType(value));
839 setType(syms.byteType.constType(value));
843 setType(syms.charType.constType(v));
846 setType(syms.doubleType.constType(value));
849 setType(syms.floatType.constType(value));
852 setType(syms.shortType.constType(value));
856 setType(syms.booleanType.constType(v));
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/
H A DAbstractObjectStamp.java69 ResolvedJavaType constType = jc.isNull() ? null : meta.lookupJavaType(jc);
70 return copyWith(constType, jc.isNonNull(), jc.isNonNull(), jc.isNull());
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/
H A DType.java316 public Type constType(Object constValue) { method in class:Type
732 public Type constType(Object constValue) { method in class:Type.JCPrimitiveType
995 public Type constType(Object constValue) { method in class:Type.ClassType
2279 public Type constType(Object value) { method in class:Type.BottomType
2357 public Type constType(Object constValue) { return this; } method in class:Type.ErrorType
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaValidator.java3194 short constType;
3204 constType = currUse.fConstraintType;
3206 if (constType == XSConstants.VC_NONE) {
3207 constType = currDecl.getConstraintType();
3224 if (!isSpecified && constType != XSConstants.VC_NONE) {
/openjdk10/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/
H A DParser.java1032 constType (constEntry);
1044 private void constType (SymtabEntry entry) throws IOException, ParseException method in class:Parser
1099 } // constType

Completed in 183 milliseconds