Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 12 of 12) sorted by relevance

/hardware/intel/img/libdrm/tests/
Dgem_readwrite.c76 uint8_t expected[OBJECT_SIZE]; in main() local
96 memset(&expected, 0, sizeof(expected)); in main()
97 assert(memcmp(expected, buf, sizeof(expected)) == 0); in main()
107 memset(expected + 1024, 0x01, 1024); in main()
112 assert(memcmp(buf, expected, sizeof(buf)) == 0); in main()
116 memset(expected + 4096, 0x02, 1024); in main()
121 assert(memcmp(buf, expected, sizeof(buf)) == 0); in main()
126 assert(memcmp(buf, expected + 512, 1024) == 0); in main()
Dgem_mmap.c78 uint8_t expected[OBJECT_SIZE]; in main() local
113 memset(expected, 0, sizeof(expected)); in main()
114 assert(memcmp(addr, expected, sizeof(expected)) == 0); in main()
119 memset(expected + 1024, 0x01, 1024); in main()
/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { in checkWritableBufferSize() argument
19 if (actual != expected) { in checkWritableBufferSize()
20 printf("Expected buffer size was %d; actual was %d\n", expected, actual); in checkWritableBufferSize()
26 bool checkSize(SensorEventQueue* queue, int expected) { in checkSize() argument
28 if (actual != expected) { in checkSize()
29 printf("Expected queue size was %d; actual was %d\n", expected, actual); in checkSize()
35 bool checkInt(char* msg, int expected, int actual) { in checkInt() argument
36 if (actual != expected) { in checkInt()
37 printf("%s; expected %d; actual was %d\n", msg, expected, actual); in checkInt()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dintrapred_test.cc97 int expected; in CheckDCPrediction() local
107 expected = (sum + (1 << (shift - 1))) >> shift; in CheckDCPrediction()
109 expected = 0x80; in CheckDCPrediction()
119 ASSERT_EQ(expected, data_ptr_[p][0]); in CheckDCPrediction()
155 const int expected = ClipByte(data_ptr_[p][x - stride_] in CheckTMPrediction() local
158 ASSERT_EQ(expected, data_ptr_[p][y * stride_ + x]); in CheckTMPrediction()
Dvariance_test.cc159 const unsigned int expected = block_size_ * 255 * 255 / 4; in OneQuarterTest() local
160 EXPECT_EQ(expected, var); in OneQuarterTest()
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp546 Unique_EVP_PKEY expected(EVP_PKCS82PKEY(expectedPkcs8.get())); in TEST_F() local
548 ASSERT_EQ(1, EVP_PKEY_cmp(expected.get(), actual.get())) in TEST_F()
582 Unique_EVP_PKEY expected(EVP_PKCS82PKEY(expectedPkcs8.get())); in TEST_F() local
584 ASSERT_EQ(1, EVP_PKEY_cmp(expected.get(), actual.get())) in TEST_F()
932 Unique_EVP_PKEY expected(d2i_PUBKEY((EVP_PKEY**) NULL, &tmp, in TEST_F() local
935 Unique_EC_KEY ecKey(EVP_PKEY_get1_EC_KEY(expected.get())); in TEST_F()
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp29 template <size_t actual, size_t expected> void check_member(void) { in check_member()
30 static_assert(actual == expected, ""); in check_member()
/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_device.c30 #error nouveau_drm.h does not match expected patchlevel, update libdrm.
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc2099 const std::string expected(type == TestPartResult::kFatalFailure ? in HasOneFailure() local
2104 msg << "Expected: " << expected << "\n" in HasOneFailure()
2114 return AssertionFailure() << "Expected: " << expected << "\n" in HasOneFailure()
2120 return AssertionFailure() << "Expected: " << expected << " containing \"" in HasOneFailure()
2600 BiggestInt expected, in CmpHelperEQ() argument
2602 if (expected == actual) { in CmpHelperEQ()
2608 FormatForComparisonFailureMessage(expected, actual), in CmpHelperEQ()
2609 FormatForComparisonFailureMessage(actual, expected), in CmpHelperEQ()
2650 const char* expected, in CmpHelperSTREQ()
2652 if (String::CStringEquals(expected, actual)) { in CmpHelperSTREQ()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h8068 #define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail) \
8075 gtest_ar_, text, #actual, #expected).c_str())
18853 const T1& expected,
18861 if (expected == actual) {
18871 FormatForComparisonFailureMessage(expected, actual),
18872 FormatForComparisonFailureMessage(actual, expected),
18881 BiggestInt expected,
18895 const T1& expected,
18897 return CmpHelperEQ(expected_expression, actual_expression, expected,
18909 BiggestInt expected,
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
DCHANGELOG102 (v0.9.0). This is not expected to have any impact. If you are
/hardware/intel/img/libdrm/
Daclocal.m41115 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
8293 # dependency, and given that the user is not expected to run this macro,