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

12345678910

/openjdk7/langtools/test/tools/javac/StringsInSwitch/7181320/
H A DCondExprInCaseLabel.java33 final boolean cond = true;
35 case cond ? "hello" : "world":
H A DCondExprInCaseLabel1.java33 final boolean cond = true;
35 case cond ? (String)"hello" : "world":
H A DCondExprInCaseLabel2.java33 final boolean cond = true;
35 case cond ? "hello" : (String)"world":
/openjdk7/langtools/test/tools/javac/failover/
H A DFailOver11.java12 boolean cond; field in class:Test
16 { m(cond ? null : null); }
H A DFailOver10.java12 boolean cond; field in class:Test
/openjdk7/langtools/test/tools/javac/7023703/
H A DT7023703neg.java32 void testForLoop(boolean cond) { argument
35 for (;cond;) {
52 void testWhileLoop(boolean cond) { argument
55 while (cond) {
62 void testDoWhileLoop(boolean cond) { argument
68 } while (cond);
H A DT7023703pos.java40 void testForEachLoop(boolean cond, java.util.Collection<Integer> c) { argument
43 if (cond) {
/openjdk7/langtools/test/tools/javac/generics/
H A DConditional.java44 static boolean cond = String.class.getName().length() == 1; field in class:Conditional
46 Class c = cond ? A.class : B.class;
47 Class<?> d = cond ? A.class : B.class;
49 Class<? extends B> e = cond ? B.class : C.class;
53 I i = cond ? a : b;
54 J j = cond ? a : b;
59 return cond ? a : B.class;
64 return cond ? a : b;
72 cond ? Integer.class : Float.class;
75 cond
[all...]
/openjdk7/langtools/test/tools/javac/multicatch/
H A DPos08.java37 void m(boolean cond) { argument
39 if (cond)
H A DPos08eff_final.java37 void m(boolean cond) { argument
39 if (cond)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DAssert.java41 * assert cond;
43 public static void check(boolean cond) { argument
44 if (!cond)
66 * assert cond : value;
68 public static void check(boolean cond, int value) { argument
69 if (!cond)
74 * assert cond : value;
76 public static void check(boolean cond, long value) { argument
77 if (!cond)
82 * assert cond
84 check(boolean cond, Object value) argument
92 check(boolean cond, String msg) argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/inference/4954546/
H A DT4954546.java48 static void f(boolean cond, A a, B b) { argument
49 (cond?a:b).f();;
50 (cond?a:b).g();;
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DIfStatement.java41 Expression cond; field in class:IfStatement
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { argument
50 this.cond = cond;
63 cond.checkCondition(env, newctx, reach(env, vset), exp);
64 cond = convert(env, newctx, Type.tBoolean, cond);
101 cond = cond.inlineValue(env, ctx);
104 // branches of the if statement -- even if `cond' i
[all...]
H A DDoStatement.java42 Expression cond; field in class:DoStatement
47 public DoStatement(long where, Statement body, Expression cond) { argument
50 this.cond = cond;
66 cond.checkCondition(env, newctx, vset, exp);
67 cond = convert(env, newctx, Type.tBoolean, cond);
83 cond = cond.inlineValue(env, ctx);
92 s.cond
[all...]
H A DConditionalExpression.java41 Expression cond; field in class:ConditionalExpression
46 public ConditionalExpression(long where, Expression cond, Expression left, Expression right) { argument
48 this.cond = cond;
55 if (precedence() > cond.precedence()) {
56 UnaryExpression e = (UnaryExpression)cond;
57 cond = e.right;
68 ConditionVars cvars = cond.checkCondition(env, ctx, vset, exp);
71 cond = convert(env, ctx, Type.tBoolean, cond);
[all...]
H A DWhileStatement.java41 Expression cond; field in class:WhileStatement
47 public WhileStatement(long where, Expression cond, Statement body) { argument
49 this.cond = cond;
64 cond.checkCondition(env, newctx, reach(env, vset), exp);
65 cond = convert(env, newctx, Type.tBoolean, cond);
81 cond = cond.inlineValue(env, ctx);
92 return 1 + cond
[all...]
H A DForStatement.java42 Expression cond; field in class:ForStatement
49 public ForStatement(long where, Statement init, Expression cond, Expression inc, Statement body) { argument
52 this.cond = cond;
71 if (cond != null) {
72 cvars = cond.checkCondition(env, newctx, vset, exp);
73 cond = convert(env, newctx, Type.tBoolean, cond);
104 if (cond != null) {
105 cond
[all...]
/openjdk7/langtools/test/tools/javac/multicatch/7005371/
H A DSubTest.java32 void test(boolean cond, List<String> ls) { argument
34 if (cond)
/openjdk7/langtools/test/tools/javac/enum/7160084/
H A DT7160084a.java33 static void assertTrue(boolean cond) { argument
35 if (!cond) {
H A DT7160084b.java33 static void assertTrue(boolean cond) { argument
35 if (!cond) {
/openjdk7/hotspot/src/share/vm/adlc/
H A Dadlc.hpp84 #define assert(cond, msg) { if (!(cond)) { fprintf(stderr, "assert fails %s %d: %s\n", __FILE__, __LINE__, msg); abort(); }}
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_error.h56 #define HPROF_ASSERT(cond) \
57 (((int)(cond))?(void)0:error_assert(#cond, __FILE__, __LINE__))
59 #define HPROF_ASSERT(cond)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DElementSingleAdapter.java74 JConditional cond = block._if(acc.hasSetValue());
75 JVar $v = cond._then().decl(core.getRawType(), "v" + hashCode());// TODO: unique value control
76 acc.toRawValue(cond._then(),$v);
77 cond._then().assign($var,$v.invoke("getValue"));
78 cond._else().assign($var, JExpr._null());
/openjdk7/jdk/src/share/classes/java/awt/
H A DEventDispatchThread.java117 // cond is an instance of sun.lwawt.macosx.EventDispatchAccess
119 private Conditional _macosxGetConditional(final Object cond) { argument
125 return ((Boolean)evaluateMethod.invoke(cond, null)).booleanValue();
137 void pumpEvents(Conditional cond) { argument
138 pumpEvents(ANY_EVENT, cond);
141 void pumpEventsForHierarchy(Conditional cond, Component modalComponent) { argument
142 pumpEventsForHierarchy(ANY_EVENT, cond, modalComponent);
145 void pumpEvents(int id, Conditional cond) { argument
146 pumpEventsForHierarchy(id, cond, null);
149 void pumpEventsForHierarchy(int id, Conditional cond, Componen argument
153 pumpEventsForFilter(Conditional cond, EventFilter filter) argument
157 pumpEventsForFilter(int id, Conditional cond, EventFilter filter) argument
[all...]
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DTunnelProxy.java588 BValue cond = (BValue) conditions.get (condition);
589 if (cond == null) {
590 cond = new BValue();
591 conditions.put (condition, cond);
593 return cond;
606 BValue cond = getCond (condition);
607 synchronized (cond) {
608 if (cond.v) {
611 cond.v = true;
612 cond
[all...]

Completed in 2485 milliseconds

12345678910