/openjdk7/langtools/test/tools/javac/6402516/ |
H A D | CheckIsAccessible.java | 45 chk.check("TestIsAccessible.java", "A.java"); 49 protected boolean check(Scope s, String ref) { method in class:CheckIsAccessible
|
/openjdk7/langtools/test/tools/javac/6917288/ |
H A D | GraphicalInstallerTest.java | 49 check(classes, 82 void check(File dir, String... paths) { method in class:GraphicalInstallerTest
|
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | ModifyCorePoolSize.java | 58 check(pool.awaitTermination(1L, TimeUnit.DAYS)); 67 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ModifyCorePoolSize
|
/openjdk7/jdk/test/java/util/Deque/ |
H A D | ChorusLine.java | 71 check(deq.isEmpty()); 72 check(deq.size() == 0); 73 check(! deq.iterator().hasNext()); 74 check(! deq.descendingIterator().hasNext()); 173 check(! it.hasNext()); 187 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:ChorusLine
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/ |
H A D | DefaultParticleBinder.java | 126 /** Used to check name collision. */ 139 // check that value and turn around. 140 check(p); 170 check(outerParticle); 203 private void check( XSParticle p ) { method in class:DefaultParticleBinder.Checker 205 collisionInfo = cchecker.check(p); 236 CollisionInfo check( XSParticle p ) { method in class:DefaultParticleBinder.Checker.NameCollisionChecker 239 // // we only check particles with element declarations. 250 if(!check( p, jp )) { 251 // problem was found. no need to check furthe 272 private boolean check( XSParticle p1, XSParticle p2 ) { method in class:DefaultParticleBinder.Checker.NameCollisionChecker [all...] |
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Bind.java | 82 check(channel.getAllLocalAddresses().isEmpty(), 90 check(!channel.getAllLocalAddresses().isEmpty(), 177 check(boundAddress(channel, addr), "trying to remove address that is not bound"); 180 check(!boundAddress(channel, addr), "address was not removed"); 185 check(boundAddress(channel, addr), "address is not bound"); 337 void check(boolean cond) {if (cond) pass(); else fail();} method in class:Bind 338 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);} method in class:Bind
|
/openjdk7/langtools/test/tools/javac/processing/model/util/elements/doccomments/ |
H A D | TestDocComments.java | 136 // ----- Annotation processor: scan for elements and check doc comments ---- 168 // call check(Element e) to verify the doc comment on that element 177 // For a few rounds, generate new source files, so that we can check whether 217 void check(Element e) { method in class:TestDocComments 277 check(e); 282 check(e); 287 check(e); 295 check(trees.getElement(getCurrentPath())); 300 check(trees.getElement(getCurrentPath())); 305 check(tree [all...] |
/openjdk7/langtools/test/tools/javac/treeannotests/ |
H A D | TestProcessor.java | 40 * Test processor used to check test programs using the @Test, @DA, and @TA 74 new TestScanner(file).check(tree, count); 146 void check(JCTree tree, int expectCount) { method in class:TestProcessor.TestScanner 157 check(tree.mods.annotations, "DA", tree); 164 check(tree.mods.annotations, "DA", tree); 171 check(tree.mods.annotations, "DA", tree); 177 check(tree.annotations, "TA", tree); 188 void check(List<? extends JCAnnotation> annos, String name, JCTree tree) { method in class:TestProcessor.TestScanner 219 /** The number of annotations that have been found. @see #check */
|
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | TreePosTest.java | 86 * Utility and test program to check validity of tree positions for tree nodes. 335 if (check(encl, self)) { 343 check("start == NOPOS", encl, self, self.start == NOPOS); 344 check("end == NOPOS", encl, self, self.end == NOPOS); 347 check("start != NOPOS", encl, self, self.start != NOPOS); 348 check("pos != NOPOS", encl, self, self.pos != NOPOS); 349 check("end != NOPOS", encl, self, self.end != NOPOS); 360 check("encl.start <= start", encl, self, encl.start <= self.start); 361 check("start <= pos", encl, self, self.start <= self.pos); 366 check("enc 405 boolean check(Info encl, Info self) { method in class:TreePosTest.PosTester 414 void check(String label, Info encl, Info self, boolean ok) { method in class:TreePosTest.PosTester 546 addEntry(JavaFileObject file, String check, Info encl, Info self) argument 748 Entry(JavaFileObject file, String check, Info encl, Info self) argument 761 final String check; field in class:TreePosTest.Viewer.Entry [all...] |
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecodes.hpp | 362 static void check (Code code) { assert(is_defined(code), err_msg("illegal code: %d", (int)code)); } function in class:Bytecodes 395 static const char* name (Code code) { check(code); return _name [code]; } 396 static BasicType result_type (Code code) { check(code); return _result_type [code]; } 397 static int depth (Code code) { check(code); return _depth [code]; } 399 // Calling check(code) in length functions would throw an unwanted assert. 400 static int length_for (Code code) { /*no check*/ return _lengths [code] & 0xF; } 401 static int wide_length_for(Code code) { /*no check*/ return _lengths [code] >> 4; } 402 static bool can_trap (Code code) { check(code); return has_all_flags(code, _bc_can_trap, false); } 403 static Code java_code (Code code) { check(code); return _java_code [code]; } 404 static bool can_rewrite (Code code) { check(cod [all...] |
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | ArrayRangeTest.java | 267 void check(Sample samp, int[] expectArray) { method in class:ArrayRangeTest 268 String desc = samp.name + " - check - " + arr(expectArray); 374 check(full, new int[] {55, 100, 200, 300, 66}); 387 check(full, new int[] {40, 41, 42, 300, 66}); 392 check(full, new int[] {50, 51, 52, 53, 54}); 400 check(full, new int[] {80, 51, 30, 31, 32}); 405 check(full, new int[] {93, 94, 95, 31, 81}); 410 check(full, new int[] {82, 94, 95, 60, 61}); 419 check(full, new int[] {82, 84, 95, 21, 22}); 488 check(ful [all...] |
H A D | SimulResumerTest.java | 152 void check(ThreadReference thr) { method in class:SimulResumerTest 249 check(debuggeeThread1); 250 check(debuggeeThread2);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | LaunchTool.java | 109 final JCheckBox check; field in class:LaunchTool.BooleanArgRep 113 check = new JCheckBox(barg.label()); 114 check.setSelected(barg.booleanValue()); 115 panel.add(check); 122 .stringValueOf(check.getModel().isSelected());
|
/openjdk7/jdk/test/java/util/BitSet/ |
H A D | ImportExport.java | 38 check(Arrays.equals(x, y)); 42 check(Arrays.equals(x, y)); 58 check(s.isEmpty()); 92 check(expected[expected.length-1] != 0); 145 void check(boolean cond) {if (cond) pass(); else fail();} method in class:ImportExport
|
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/ |
H A D | GCRetention.java | 119 check(q.add(Boolean.TRUE)); 125 check(q.isEmpty()); 129 check(q.add(Boolean.TRUE)); 134 check(q.isEmpty()); 148 void check(boolean cond) {if (cond) pass(); else fail();} method in class:GCRetention
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | FixedLengthInputStream.java | 118 check(count == expected, "Expected: " + expected + ", received " 135 void check(boolean cond) {if (cond) pass(); else fail();} method in class:FixedLengthInputStream 136 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);} method in class:FixedLengthInputStream
|
/openjdk7/jdk/test/tools/jar/ |
H A D | JarBackSlash.java | 86 check(pipedInput.available() > 0); 109 check(pipedInput.available() > 0); 127 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:JarBackSlash
|
/openjdk7/langtools/test/tools/javac/6304921/ |
H A D | TestLog.java | 84 check(log.nerrors, 4, "errors"); 85 check(log.nwarnings, 4, "warnings"); 88 private static void check(int found, int expected, String name) { method in class:TestLog
|
/openjdk7/langtools/test/tools/javac/6508981/ |
H A D | TestInferBinaryName.java | 131 check(cn, implClassName); 132 check(bn, testClassName); 163 void check(String found, String expect) { method in class:TestInferBinaryName
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_png.c | 37 png_uint_32 check; local 40 check = stream->read(stream, data, length); 41 if (check != length)
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | IfStatement.java | 58 Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) { method in class:IfStatement 68 // check on the child anyway.' 89 vsTrue = ifTrue.check(env, newctx, vsTrue, exp); 91 vsFalse = ifFalse.check(env, newctx, vsFalse, exp);
|
/openjdk7/jdk/test/java/util/AbstractMap/ |
H A D | SimpleEntries.java | 50 check(! e.equals(new SimpleEntry<String,Long>(k,v2))); 51 check(! e.equals(null)); 88 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:SimpleEntries
|
/openjdk7/jdk/test/java/util/Collection/ |
H A D | IteratorAtEnd.java | 104 check(! list.get(0).equals(x)); 116 check(! list.get(list.size()-1).equals(x)); 127 static void check(boolean cond) {if (cond) pass(); else fail();} method in class:IteratorAtEnd
|
/openjdk7/jdk/test/java/util/concurrent/FutureTask/ |
H A D | DoneTimedGetLoops.java | 113 check(future.get(0L, TimeUnit.HOURS) == Boolean.TRUE); 125 check(t.getCause() == throwable); 153 void check(boolean cond) {if (cond) pass(); else fail();} method in class:DoneTimedGetLoops
|
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/ |
H A D | DelayOverflow.java | 121 check(runLatch.await(10L, TimeUnit.SECONDS)); 145 check(runLatch.await(10L, TimeUnit.SECONDS)); 159 void check(boolean cond) {if (cond) pass(); else fail();} method in class:DelayOverflow
|