Searched refs:expect (Results 101 - 112 of 112) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java559 * @param expect the expected value
564 protected final boolean compareAndSetState(int expect, int update) { argument
566 return unsafe.compareAndSwapInt(this, stateOffset, expect, update);
2308 private final boolean compareAndSetTail(Node expect, Node update) { argument
2309 return unsafe.compareAndSwapObject(this, tailOffset, expect, update);
2316 int expect,
2319 expect, update);
2326 Node expect,
2328 return unsafe.compareAndSwapObject(node, nextOffset, expect, update);
2315 compareAndSetWaitStatus(Node node, int expect, int update) argument
2325 compareAndSetNext(Node node, Node expect, Node update) argument
/openjdk7/langtools/test/tools/javac/api/
H A DT6838467.java121 // If the directories or zip files match, we expect "n" matches in
125 // we obviously don't expect any of their contents to match either.
126 int expect = (f1.getAbsoluteFile().equals(f2.getAbsoluteFile()) ? paths.length : 0);
129 test(fm1, fm2, expect);
H A DTestClientCodeWrapper.java159 String expect = m.getName();
161 checkEqual("exception messaqe", expect, found);
213 <T> void checkEqual(String label, T expect, T found) { argument
214 if (!expect.equals(found))
215 error("Unexpected value for " + label + ": " + found + "; expected: " + expect);
/openjdk7/langtools/test/tools/javac/6889255/
H A DT6889255.java473 void checkEqual(String expect, String found) { argument
474 if (!expect.equals(found))
475 error("mismatch: expected:" + expect + " found:" + found);
/openjdk7/jdk/test/java/lang/invoke/
H A DAccessControlTest.java280 LookupCase expect = l1.in(c2);
281 if (!expect.equals(l2))
282 System.out.println("*** expect "+l1+" => "+expect+" but got "+l2);
283 assertEquals(expect, l2);
H A DInvokeGenericTest.java393 public void testWrongArgumentCount(List<Class<?>> expect, List<Class<?>> observe) throws Throwable { argument
395 if (expect.equals(observe))
397 MethodHandle target = callable(expect);
H A DRicochetTest.java255 Object expect = lister.asSpreader(int[].class, listargs.length).invokeExact(listargs);
256 //System.out.println(" expect="+expect);
263 assertEquals(expect, observe);
295 Object expect = lister.asSpreader(byte[].class, listargs.length).invokeExact(listargs);
296 //System.out.println(" expect="+expect);
303 assertEquals(expect, observe);
H A DMethodHandlesTest.java2452 System.out.println("expect failure at step "+i+" in "+Arrays.toString(step)+Arrays.toString(checkCast));
2681 String expect = String.format(fmt, fmtArgs);
2693 if (verbosity >= 3) System.out.println("expect="+expect);
2695 assertEquals(expect, actual);
2825 Object expect = Arrays.asList(st, eq, hc);
2826 if (verbosity >= 2) System.out.println("expect st/eq/hc = "+expect);
2829 assertEquals(expect, actual);
/openjdk7/langtools/test/tools/javap/classfile/6888367/
H A DT6888367.java187 void checkEqual(String expect, String found) { argument
188 if (!(expect == null ? found == null : expect.equals(found))) {
189 System.err.println("expected: " + expect);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dsignature.hpp55 void expect(char c);
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DOldMBeanServerTest.java279 void waitForCount(int expect) throws InterruptedException { argument
281 while (count < expect && System.currentTimeMillis() < deadline)
283 assert count == expect;
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A DREADME198 to call a function. You can expect that the red, green, and

Completed in 273 milliseconds

12345