Searched refs:actual (Results 51 - 75 of 106) sorted by relevance

12345

/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DDrawImageBilinear.java146 int actual = bi.getRGB(x, y);
147 if ((actual != 0xfffe0000) && (actual != 0xffff0000)) {
150 " actual=0x"+
151 Integer.toHexString(actual) +
H A DSimplePrimQuality.java258 int actual = capture.getRGB(x, y);
260 if (actual != expected) {
267 System.out.println("Writing actual image to: "+
274 " actual="+
275 Integer.toHexString(actual) +
/openjdk7/jdk/test/sun/net/idn/
H A DPunycodeTest.java263 public static void checkResult(String actual, String expected) { argument
264 if (!actual.equals(expected)) {
265 System.out.printf("\n%15s: %s\n", "FAILED", actual);
269 System.out.printf("%15s: %s\n", "SUCCEEDED", actual);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxWatchService.java346 int actual = len;
350 while (actual > 0) {
351 long last = event + OFFSETOF_NAME + actual - 1;
354 actual--;
356 if (actual > 0) {
357 byte[] buf = new byte[actual];
359 buf, Unsafe.ARRAY_BYTE_BASE_OFFSET, actual);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DTypedAnnotationWriter.java207 private void checkType(Class<?> actual, Class<?> expected) { argument
208 if(expected==actual || expected.isAssignableFrom(actual))
211 if( expected==JCodeModel.boxToPrimitive.get(actual) )
214 throw new IllegalArgumentException("Expected "+expected+" but found "+actual);
/openjdk7/hotspot/src/share/vm/utilities/
H A DquickSort.cpp79 bool QuickSort::compare_arrays(int* actual, int* expected, int length) { argument
81 if (actual[i] != expected[i]) {
82 print_array("Sorted array ", actual, length);
/openjdk7/jdk/test/demo/zipfs/
H A DBasic.java61 String actual = fs.getPath("/foo").toUri().toString();
62 if (!actual.equals(expected)) {
63 throw new RuntimeException("toUri returned '" + actual +
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4498236.java183 String actual = object.toString();
184 if (!actual.equals(object.getClass().getName() + expected)) {
185 throw new Error(actual);
H A DTest4935607.java126 Object actual = fd.getValue("transient"); // NON-NLS: the attribute name
127 if ((actual == null) ? (expected != null) : !actual.equals(expected))
128 throw new Error("expected " + expected + " value, but actual value is " + actual);
/openjdk7/jdk/test/java/lang/invoke/
H A DCallSiteTest.java73 private static void assertEquals(int expected, int actual) { argument
74 if (expected != actual)
75 throw new AssertionError("expected: " + expected + ", actual: " + actual);
/openjdk7/jdk/test/java/nio/file/attribute/AclFileAttributeView/
H A DBasic.java108 static void assertEquals(List<AclEntry> actual, List<AclEntry> expected) { argument
109 if (!actual.equals(expected)) {
110 System.err.format("Actual: %s\n", actual);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/GenSSLConfigs/
H A DTraffic.java226 byte actual [] = new byte [n];
228 readFully (actual);
240 if (actual [i] != expected [i])
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DShortWrite.java99 long actual = result.get();
100 if (actual != expected)
/openjdk7/jdk/test/com/sun/jdi/
H A DPopSynchronousTest.java132 String actual() throws Exception { method in class:PopSynchronousTest
139 if (!actual().equals(expected)) {
141 " got: " + actual());
194 println("Current value: " + actual());
/openjdk7/jdk/test/java/nio/file/Files/
H A DBytesAndLines.java200 List<String> actual = readAllLines(tmpfile, US_ASCII);
201 assertTrue(actual.equals(lines), "Unexpected lines");
209 actual = readAllLines(tmpfile, US_ASCII);
210 assertTrue(actual.equals(expected), "Unexpected lines");
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6524757.java114 private static void validate(Object[] expected, Object[] actual) { argument
116 if (count != actual.length) {
117 throw new Error("different size: " + count + " <> " + actual.length);
120 if (!expected[i].equals(actual[i])) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DXMLSerializer.java594 // and the actual type name differs.
628 JaxBeanInfo actual = expected;
631 if((asExpected) && (actual.lookForLifecycleMethods())) {
632 fireBeforeMarshalEvents(actual, child);
637 actual = grammar.getBeanInfo(child,true);
638 if (actual.lookForLifecycleMethods()) {
639 fireBeforeMarshalEvents(actual, child);
647 if(actual==expected)
650 actualTypeName = actual.getTypeName(child);
657 actual
[all...]
/openjdk7/jdk/test/javax/management/Introspector/
H A DFeatureOrderTest.java261 private static void checkEqual(Object expected, Object actual, String what) { argument
262 if (expected.equals(actual))
267 System.out.println(" actual: " + actual);
/openjdk7/jdk/test/sun/nio/cs/
H A DNIOJISAutoDetectTest.java270 String actual = charOutput.toString();
279 check(actual.equals(expected),
280 String.format("actual=%s expected=%s", actual, expected));
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java390 String actual = annos.get(0).toString();
391 checkEqual("package annotations", actual, expect);
446 private void checkEqual(String label, String actual, String expect) { argument
447 if (!actual.equals(expect)) {
448 error("Unexpected value for " + label + "; actual=" + actual + ", expected=" + expect);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DInfer.java395 Type actual = actuals.head.baseType();
397 if (actual.tag == FORALL)
398 actual = instantiateArg((ForAll)actual, formal, tvars, warn);
401 ? types.isConvertible(actual, undetFormal, warn)
402 : types.isSubtypeUnchecked(actual, undetFormal, warn);
421 Type actual = actuals.head.baseType();
423 if (actual.tag == FORALL)
424 actual = instantiateArg((ForAll)actual, elemTyp
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DGenerateOopMap.java1535 void checkType (CellTypeState expected, CellTypeState actual) { argument
1536 if (!expected.equalKind(actual)) {
1538 actual.toChar() + " expected: " +
1546 CellTypeState actual = pop();
1547 checkType(expected, actual);
1551 setVar(loc_no++, actual);
1620 CellTypeState actual = pop();
1622 System.err.println(" - popping " + actual.toChar() + ", expecting " + out.toChar());
1624 checkType(out, actual);
1652 CellTypeState[] actual
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp1624 void GenerateOopMap::check_type(CellTypeState expected, CellTypeState actual) { argument
1625 if (!expected.equal_kind(actual)) {
1626 verify_error("wrong type on stack (found: %c expected: %c)", actual.to_char(), expected.to_char());
1633 CellTypeState actual = pop(); local
1634 check_type(expected, actual);
1636 set_var(loc_no++, actual);
1679 CellTypeState actual[5]; local
1680 assert(poplen < 5, "this must be less than length of actual vector");
1683 for(int i = 0; i < poplen; i++) actual[i] = pop();
1690 push(actual[id
1761 CellTypeState actual = pop(); local
1767 CellTypeState actual = pop(); local
1796 CellTypeState actual = pop(); local
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/
H A DJavaMethodImpl.java319 TypeReference actual = ce.getDetailType();
320 if (actual.tagName.equals(detailType.tagName) && actual.type==detailType.type) {
/openjdk7/jdk/test/java/nio/file/attribute/PosixFileAttributeView/
H A DBasic.java71 * Check that the actual permissions of a file match or make it more
75 Set<PosixFilePermission> actual)
77 for (PosixFilePermission perm: actual) {
80 PosixFilePermissions.toString(actual) + ", requested: " +
74 checkSecure(Set<PosixFilePermission> requested, Set<PosixFilePermission> actual) argument

Completed in 1317 milliseconds

12345