/trusty/user/base/app/apploader/tests/cbor_test/ |
D | cbor_test.cpp | 99 size_t expected = val < 0 ? cppbor::headerSize(-1ll - val) in TEST() local 101 EXPECT_EQ(expected, cbor::encodedSizeOfInt(val)); in TEST() 151 cppbor::Map first, second, expected; in TEST() local 160 expected.add(key, key); in TEST() 163 expected.canonicalize(); in TEST() 170 EXPECT_TRUE(expected.isCanonical()); in TEST() 171 auto expectedEncoded = expected.encode(); in TEST() 176 cppbor::Map first, second, expected; in TEST() local 197 expected.add(key, key); in TEST() 199 expected.canonicalize(); in TEST() [all …]
|
/trusty/user/base/lib/storage/rust/src/ |
D | test.rs | 98 let expected = &[file_contents[10], file_contents[11], file_contents[12], 0, 0][..]; in read_at() localVariable 99 assert_eq!(expected, data, "Data buffer was not overwritten in expected way"); in read_at() 120 let expected = b"Hello, Trusty".as_slice(); in write_at() localVariable 121 assert_eq!(Ok(expected), result, "Incorrect bytes read"); in write_at() 129 let expected = b"Hello, Crusty".as_slice(); in write_at() localVariable 130 assert_eq!(Ok(expected), result); in write_at() 138 let expected = b"Hello, too long data".as_slice(); in write_at() localVariable 139 assert_eq!(Ok(expected), result); in write_at() 298 let expected = b"Hello, Trusty".as_slice(); in read_in_transaction() localVariable 299 assert_eq!(Ok(expected), result, "Incorrect bytes read"); in read_in_transaction()
|
/trusty/kernel/app/usercopytest/ |
D | iovectest.c | 96 const void* expected, in iovectest_readback() argument 128 ASSERT_EQ(0, memcmp(expected, buf, expected_len), LOCATION_MESSAGE); in iovectest_readback() 209 const char expected[] = "opqrstuvwxyz!\0abcdefghijklmn"; in TEST_F() local 210 iovectest_readback(_state, 11, countof(uiov), expected, 28); in TEST_F()
|
/trusty/user/base/host/boringssl/ |
D | rules.mk | 22 $(error Unsupported host architecture: $(HOST_ARCH), expected x86_64)
|
/trusty/user/base/lib/dlmalloc/test/ |
D | dlmalloc_test.c | 36 int expected) { in dlmalloc_srv_rpc_expect() argument 52 ASSERT_EQ(ERR_CHANNEL_CLOSED, expected); in dlmalloc_srv_rpc_expect()
|
/trusty/user/app/storage/test/storage-unittest-aidl/unittests/ |
D | mod.rs | 170 let expected = fnames.into_iter().collect::<HashSet<_>>(); in file_list() localVariable 171 let missing = expected.difference(&read_file_names).collect::<Vec<_>>(); in file_list() 172 let extra = read_file_names.difference(&expected).collect::<Vec<_>>(); in file_list()
|
/trusty/user/app/sample/spi/swspi-test/ |
D | swspi-test.c | 443 uint8_t expected[128]; in TEST_P() local 444 size_t sz = sizeof(expected); in TEST_P() 449 rand_buf(expected, sz, 0); in TEST_P() 465 EXPECT_EQ(memcmp(expected, rx, sz), 0); in TEST_P()
|
/trusty/user/base/lib/libc-trusty/test/ |
D | libc_test.c | 475 int8x16_t expected; in TEST_F() local 479 memset(&expected, 0x66, sizeof(int8x16_t)); in TEST_F() 482 ASSERT_EQ(0, memcmp(&expected, &result, sizeof(int8x16_t))); in TEST_F()
|
/trusty/user/app/sample/stats-test/ |
D | README.md | 6 The Consumer is expected to advertise itself to the relayer by sharing
|
/trusty/vendor/google/aosp/ |
D | pylintrc | 227 expected-line-ending-format=LF
|