Home
last modified time | relevance | path

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

/trusty/user/base/app/apploader/tests/cbor_test/
Dcbor_test.cpp99 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/
Dtest.rs98 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/
Diovectest.c96 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/
Drules.mk22 $(error Unsupported host architecture: $(HOST_ARCH), expected x86_64)
/trusty/user/base/lib/dlmalloc/test/
Ddlmalloc_test.c36 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/
Dmod.rs170 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/
Dswspi-test.c443 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/
Dlibc_test.c475 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/
DREADME.md6 The Consumer is expected to advertise itself to the relayer by sharing
/trusty/vendor/google/aosp/
Dpylintrc227 expected-line-ending-format=LF