Searched refs:expected (Results 26 - 50 of 1075) sorted by relevance

1234567891011>>

/external/clang/test/Sema/
H A Ddecl-invalid.c4 typedef union <anonymous> __mbstate_t; // expected-error {{declaration of anonymous union must be a definition}} expected-warning {{declaration does not declare anything}}
10 int r[x()]; // expected-error {{size of array has non-integer type 'void'}}
12 static y ?; // expected-error{{unknown type name 'y'}} \
13 expected-error{{expected identifier or '('}}
16 int; // expected-warning {{declaration does not declare anything}}
17 typedef int; // expected-warning {{declaration does not declare anything}}
18 const int; // expected-warning {{declaration does not declare anything}}
19 struct; // expected
[all...]
/external/compiler-rt/test/Unit/
H A Dabsvdi2_test.c27 di_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvdi2(0x%llX) = %lld, expected positive %lld\n",
32 a, x, expected);
33 return x != expected;
H A Dadddf3vfp_test.c25 double expected = a + b; local
26 if (actual != expected)
27 printf("error in test__adddf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Daddsf3vfp_test.c25 float expected = a + b; local
26 if (actual != expected)
27 printf("error in test__addsf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Dbswapdi2_test.c23 int test__bswapdi2(uint64_t a, uint64_t expected) argument
26 if (actual != expected)
27 printf("error in test__bswapsi2(0x%0llX) = 0x%0llX, expected 0x%0llX\n",
28 a, actual, expected);
29 return actual != expected;
H A Dbswapsi2_test.c23 int test__bswapsi2(uint32_t a, uint32_t expected) argument
26 if (actual != expected)
27 printf("error in test__bswapsi2(0x%0X) = 0x%0X, expected 0x%0X\n",
28 a, actual, expected);
29 return actual != expected;
H A Ddivdf3vfp_test.c25 double expected = a / b; local
26 if (actual != expected)
27 printf("error in test__divdf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Ddivsf3vfp_test.c25 float expected = a / b; local
26 if (actual != expected)
27 printf("error in test__divsf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Deqsf2vfp_test.c26 int expected = (a == b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __eqsf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dfixsfsivfp_test.c25 int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixsfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfloatsidfvfp_test.c25 double expected = a; local
26 if (actual != expected)
27 printf("error in test__ floatsidfvfp(%d) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfloatsisfvfp_test.c25 float expected = a; local
26 if (actual != expected)
27 printf("error in test__floatsisfvfp(%d) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfloatunssidfvfp_test.c25 double expected = a; local
26 if (actual != expected)
27 printf("error in test__floatunssidfvfp(%u) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfloatunssisfvfp_test.c25 float expected = a; local
26 if (actual != expected)
27 printf("error in test__floatunssisfvfp(%u) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dltdf2vfp_test.c26 int expected = (a < b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __ltdf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dmuldf3vfp_test.c25 double expected = a * b; local
26 if (actual != expected)
27 printf("error in test__muldf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Dmulsf3vfp_test.c25 float expected = a * b; local
26 if (actual != expected)
27 printf("error in test__mulsf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Dnedf2vfp_test.c26 int expected = (a != b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __nedf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dnesf2vfp_test.c26 int expected = (a != b) ? 1 : 0; local
27 if (actual != expected)
28 printf("error in __nesf2vfp(%f, %f) = %d, expected %d\n",
29 a, b, actual, expected);
30 return actual != expected;
H A Dsubdf3vfp_test.c25 double expected = a - b; local
26 if (actual != expected)
27 printf("error in test__subdf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
H A Dsubsf3vfp_test.c25 float expected = a - b; local
26 if (actual != expected)
27 printf("error in test__subsf3vfp(%f, %f) = %f, expected %f\n",
28 a, b, actual, expected);
29 return actual != expected;
/external/compiler-rt/test/Unit/ppc/
H A Dfloatditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
H A Dfloatunditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
/external/junit/src/org/junit/internal/
H A DExactComparisonCriteria.java7 protected void assertElementsEqual(Object expected, Object actual) { argument
8 Assert.assertEquals(expected, actual);
H A DInexactComparisonCriteria.java13 protected void assertElementsEqual(Object expected, Object actual) { argument
14 if (expected instanceof Double)
15 Assert.assertEquals((Double)expected, (Double)actual, fDelta);
17 Assert.assertEquals((Float)expected, (Float)actual, fDelta);

Completed in 148 milliseconds

1234567891011>>