Searched refs:expected (Results 76 - 100 of 171) sorted by relevance

1234567

/frameworks/compile/libbcc/runtime/test/Unit/
H A Dclzti2_test.c25 int test__clzti2(ti_int a, si_int expected) argument
28 if (x != expected)
32 printf("error in __clzti2(0x%llX%.16llX) = %d, expected %d\n",
33 at.s.high, at.s.low, x, expected);
35 return x != expected;
H A Ddivti3_test.c23 int test__divti3(ti_int a, ti_int b, ti_int expected) argument
26 if (x != expected)
35 expectedt.all = expected;
37 "0x%llX%.16llX, expected 0x%llX%.16llX\n",
41 return x != expected;
H A Dfixdfti_test.c29 int test__fixdfti(double a, ti_int expected) argument
32 if (x != expected)
37 expectedt.all = expected;
38 printf("error in __fixdfti(%A) = 0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
41 return x != expected;
H A Dfixunsdfdi_test.c29 int test__fixunsdfdi(double a, du_int expected) argument
32 if (x != expected)
33 printf("error in __fixunsdfdi(%A) = %llX, expected %llX\n", a, x, expected);
34 return x != expected;
H A Dfixunsdfti_test.c31 int test__fixunsdfti(double a, tu_int expected) argument
34 if (x != expected)
39 expectedt.all = expected;
40 printf("error in __fixunsdfti(%A) = 0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
43 return x != expected;
H A Dfixunssfdi_test.c29 int test__fixunssfdi(float a, du_int expected) argument
32 if (x != expected)
33 printf("error in __fixunssfdi(%A) = %llX, expected %llX\n",
34 a, x, expected);
35 return x != expected;
H A Dfixunssfsi_test.c29 int test__fixunssfsi(float a, su_int expected) argument
32 if (x != expected)
33 printf("error in __fixunssfsi(%A) = %X, expected %X\n", a, x, expected);
34 return x != expected;
H A Dfixunstfdi_test.c29 int test__fixunstfdi(long double a, du_int expected) argument
32 if (x != expected)
33 printf("error in __fixunstfdi(%LA) = %llX, expected %llX\n",
34 a, x, expected);
35 return x != expected;
H A Dfixunsxfdi_test.c33 int test__fixunsxfdi(long double a, du_int expected) argument
36 if (x != expected)
37 printf("error in __fixunsxfdi(%LA) = %llX, expected %llX\n",
38 a, x, expected);
39 return x != expected;
H A Dfixxfdi_test.c30 int test__fixxfdi(long double a, di_int expected) argument
33 if (x != expected)
34 printf("error in __fixxfdi(%LA) = %llX, expected %llX\n",
35 a, x, expected);
36 return x != expected;
H A Dfloatdisf_test.c27 int test__floatdisf(di_int a, float expected) argument
30 if (x != expected)
31 printf("error in __floatdisf(%llX) = %a, expected %a\n",
32 a, x, expected);
33 return x != expected;
H A Dfloatundisf_test.c27 int test__floatundisf(du_int a, float expected) argument
30 if (x != expected)
31 printf("error in __floatundisf(%llX) = %a, expected %a\n",
32 a, x, expected);
33 return x != expected;
H A Dmodti3_test.c23 int test__modti3(ti_int a, ti_int b, ti_int expected) argument
26 if (x != expected)
35 expectedt.all = expected;
37 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
41 return x != expected;
H A Dmuldi3_test.c19 int test__muldi3(di_int a, di_int b, di_int expected) argument
22 if (x != expected)
23 printf("error in __muldi3: %lld * %lld = %lld, expected %lld\n",
24 a, b, __muldi3(a, b), expected);
25 return x != expected;
H A Dmulvsi3_test.c23 int test__mulvsi3(si_int a, si_int b, si_int expected) argument
26 if (x != expected)
27 printf("error in __mulvsi3: %d * %d = %d, expected %d\n",
28 a, b, x, expected);
29 return x != expected;
H A Dnegdi2_test.c21 int test__negdi2(di_int a, di_int expected) argument
24 if (x != expected)
25 printf("error in __negdi2: -0x%llX = 0x%llX, expected 0x%llX\n",
26 a, x, expected);
27 return x != expected;
H A Dpopcountti2_test.c35 si_int expected = naive_popcount(a); local
36 if (x != expected)
40 printf("error in __popcountti2(0x%.16llX%.16llX) = %d, expected %d\n",
41 at.s.high, at.s.low, x, expected);
43 return x != expected;
H A Dsubvti3_test.c29 ti_int expected = a - b; local
30 if (x != expected)
39 expectedt.all = expected;
41 "0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
45 return x != expected;
H A Daddvti3_test.c28 ti_int expected = a + b; local
29 if (x != expected)
38 expectedt.all = expected;
40 "0x%llX%.16llX, expected 0x%llX%.16llX\n",
44 return x != expected;
H A Dashrdi3_test.c23 int test__ashrdi3(di_int a, si_int b, di_int expected) argument
26 if (x != expected)
27 printf("error in __ashrdi3: %llX >> %d = %llX, expected %llX\n",
28 a, b, __ashrdi3(a, b), expected);
29 return x != expected;
H A Dcmpti2_test.c25 int test__cmpti2(ti_int a, ti_int b, si_int expected) argument
28 if (x != expected)
34 printf("error in __cmpti2(0x%llX%.16llX, 0x%llX%.16llX) = %d, expected %d\n",
35 at.s.high, at.s.low, bt.s.high, bt.s.low, x, expected);
37 return x != expected;
H A Dfixsfti_test.c29 int test__fixsfti(float a, ti_int expected) argument
32 if (x != expected)
37 expectedt.all = expected;
38 printf("error in __fixsfti(%A) = 0x%.16llX%.16llX, expected 0x%.16llX%.16llX\n",
41 return x != expected;
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewPopup.java34 // number of times to poll when checking expected UI state
43 /** Test that we can move the selection and it responds as expected */
90 // check for selection position as expected
117 // check for selection position as expected
150 // check for selection position as expected
225 boolean expected) throws InterruptedException {
227 if (textView.isPopupShowing() == expected) {
232 assertEquals(message, expected, textView.isPopupShowing());
235 private void waitAssertListSelection(AutoCompleteTextView textView, int expected) argument
237 waitAssertListSelection("getListSelection()", textView, expected);
224 waitAssertPopupShowState(String message, AutoCompleteTextView textView, boolean expected) argument
240 waitAssertListSelection(String message, AutoCompleteTextView textView, int expected) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DJsonReaderTest.java98 } catch (NullPointerException expected) {
105 } catch (IOException expected) {
109 } catch (IOException expected) {
116 } catch (IOException expected) {
227 } catch (NumberFormatException expected) {
234 } catch (NumberFormatException expected) {
321 } catch (NumberFormatException expected) {
327 } catch (NumberFormatException expected) {
381 } catch (IOException expected) {
392 } catch (IOException expected) {
[all...]
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp18 void expectEqual(int got, int expected, const char* desc) { argument
20 cout << "Got " << got << ", expected " << expected << "..."; local
21 cout << ( (got == expected) ? "PASSED" : "FAILED") << endl;
22 errno += ((got == expected) ? 0 : 1);

Completed in 205 milliseconds

1234567