Searched refs:booleanType (Results 1 - 20 of 20) sorted by relevance

/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DConstFold.java95 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));
160 ? syms.booleanType : syms.intType)
163 return syms.booleanType.constType(b2i((intValue(l) & intValue(r)) != 0));
166 ? syms.booleanType
[all...]
H A DTransTypes.java559 tree.cond = translate(tree.cond, syms.booleanType);
564 tree.cond = translate(tree.cond, syms.booleanType);
572 tree.cond = translate(tree.cond, syms.booleanType);
633 tree.cond = translate(tree.cond, syms.booleanType);
641 tree.cond = translate(tree.cond, syms.booleanType);
663 tree.cond = translate(tree.cond, syms.booleanType);
H A DOperators.java242 BOOLEAN(syms -> syms.booleanType),
451 return doLookup(syms.booleanType);
513 return doLookup(syms.booleanType, syms.booleanType);
H A DLambdaToMethod.java735 testExpr.setType(syms.booleanType);
740 MethodType eqmt = new MethodType(List.of(syms.objectType), syms.booleanType, List.nil(), syms.methodClass);
746 eqtest.setType(syms.booleanType);
748 compound.operator = operators.resolveBinary(compound, JCTree.Tag.AND, syms.booleanType, syms.booleanType);
749 compound.setType(syms.booleanType);
H A DLower.java1971 syms.booleanType,
2709 JCTree cond = tree.cond = translate(tree.cond, syms.booleanType);
2736 JCTree cond = tree.cond = translate(tree.cond, syms.booleanType);
2758 tree.cond = translate(tree.cond, syms.booleanType);
3362 tree.cond = translate(tree.cond, syms.booleanType);
3367 tree.cond = translate(tree.cond, syms.booleanType);
3375 tree.cond = translate(tree.cond, syms.booleanType);
H A DAttr.java1212 attribExpr(tree.cond, env, syms.booleanType);
1217 attribExpr(tree.cond, env, syms.booleanType);
1227 if (tree.cond != null) attribExpr(tree.cond, loopEnv, syms.booleanType);
1488 Type condtype = attribExpr(tree.cond, env, syms.booleanType);
1665 attribExpr(tree.cond, env, syms.booleanType);
1789 attribExpr(tree.cond, env, syms.booleanType);
3370 result = check(tree, syms.booleanType, KindSelector.VAL, resultInfo);
H A DAnnotate.java364 if (v.type == syms.booleanType && ((Integer) v.value) != 0) {
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DPrimitiveType.java42 static final PrimitiveType booleanType = new PrimitiveType("boolean"); field in class:PrimitiveType
H A DTypeMaker.java104 case BOOLEAN: return PrimitiveType.booleanType;
/openjdk10/langtools/test/tools/javac/tree/
H A DMakeLiteralTest.java57 test(Boolean.FALSE, BOOLEAN, syms.booleanType, Integer.valueOf(0));
58 test(Boolean.TRUE, BOOLEAN, syms.booleanType, Integer.valueOf(1));
/openjdk10/langtools/test/tools/javac/types/
H A DBoxingConversionTest.java184 predef.booleanType };
219 predef.booleanType
H A DPrimitiveConversionTest.java193 predef.booleanType };
242 predef.booleanType
H A DCastTest.java111 predef.booleanType };
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/
H A DSymtab.java101 public final JCPrimitiveType booleanType = new JCPrimitiveType(BOOLEAN, null); field in class:Symtab
430 initType(booleanType, "boolean", "Boolean");
464 scope.enter(booleanType.tsym);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/model/
H A DJavacTypes.java161 case BOOLEAN: return syms.booleanType;
/openjdk10/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/
H A DParser.java1061 entry.type (booleanType ());
1834 return booleanType ();
2026 private PrimitiveEntry booleanType () throws IOException, ParseException method in class:Parser
2039 } // booleanType
2264 return booleanType();
/openjdk10/langtools/test/jdk/javadoc/tool/sampleapi/lib/sampleapi/generator/
H A DPackageGenerator.java808 return syms.booleanType;
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java727 return syms.booleanType;
1604 if (c.type == syms.booleanType && ((Integer) c.value) != 0) {
1928 return new Attribute.Constant(syms.booleanType, readPool(nextChar()));
2277 if (c.type == syms.booleanType && ((Integer) c.value) != 0) {
H A DGen.java728 CondItem result = genExpr(_tree, syms.booleanType).mkCond();
2024 result = items.makeStackItem(syms.booleanType);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java856 setType(syms.booleanType.constType(v));

Completed in 302 milliseconds