Home
last modified time | relevance | path

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

/lk-master/lib/unittest/include/lib/
A Dunittest.h191 const AUTO_TYPE_VAR(expected) _e = expected; \
342 #define EXPECT_EQ(expected, actual, ...) UTCHECK_EQ(expected, actual, false, __VA_ARGS__) argument
343 #define EXPECT_NE(expected, actual, ...) UTCHECK_NE(expected, actual, false, __VA_ARGS__) argument
344 #define EXPECT_LE(expected, actual, ...) UTCHECK_LE(expected, actual, false, __VA_ARGS__) argument
345 #define EXPECT_LT(expected, actual, ...) UTCHECK_LT(expected, actual, false, __VA_ARGS__) argument
362 #define ASSERT_EQ(expected, actual, ...) UTCHECK_EQ(expected, actual, true, __VA_ARGS__) argument
363 #define ASSERT_NE(expected, actual, ...) UTCHECK_NE(expected, actual, true, __VA_ARGS__) argument
364 #define ASSERT_LE(expected, actual, ...) UTCHECK_LE(expected, actual, true, __VA_ARGS__) argument
365 #define ASSERT_LT(expected, actual, ...) UTCHECK_LT(expected, actual, true, __VA_ARGS__) argument
366 #define ASSERT_GE(expected, actual, ...) UTCHECK_GE(expected, actual, true, __VA_ARGS__) argument
[all …]
/lk-master/external/platform/nrfx/soc/
A Dnrfx_atomic.c307 uint32_t expected = *p_data; in nrfx_atomic_u32_fetch_sub_hs() local
310 if (expected >= value) in nrfx_atomic_u32_fetch_sub_hs()
312 new_val = expected - value; in nrfx_atomic_u32_fetch_sub_hs()
316 new_val = expected; in nrfx_atomic_u32_fetch_sub_hs()
318 } while (!__atomic_compare_exchange(p_data, &expected, &new_val, in nrfx_atomic_u32_fetch_sub_hs()
320 return expected; in nrfx_atomic_u32_fetch_sub_hs()
339 uint32_t expected = *p_data; in nrfx_atomic_u32_sub_hs() local
342 if (expected >= value) in nrfx_atomic_u32_sub_hs()
344 new_val = expected - value; in nrfx_atomic_u32_sub_hs()
348 new_val = expected; in nrfx_atomic_u32_sub_hs()
[all …]
/lk-master/lib/unittest/
A Dunittest.c45 bool expect_bytes_eq(const uint8_t *expected, const uint8_t *actual, size_t len, in expect_bytes_eq() argument
47 if (memcmp(expected, actual, len)) { in expect_bytes_eq()
49 hexdump8(expected, len); in expect_bytes_eq()
/lk-master/lib/bio/
A Ddebug.c483 uint8_t *expected = test_buffer; in memory_mapped_test() local
486 if (*actual != *expected) { in memory_mapped_test()
488 "Aborting.\n", i, *expected, *actual); in memory_mapped_test()
491 expected++; in memory_mapped_test()
/lk-master/lib/heap/cmpctmalloc/
A Dcmpctmalloc.c425 unsigned expected = (ROUNDUP(i, 8) >> 3) - 1; in cmpct_test_buckets() local
426 ASSERT(bucket == expected); in cmpct_test_buckets()
447 unsigned expected = bucket_base + ROUNDUP(i, j) / j; in cmpct_test_buckets() local
448 ASSERT(bucket == expected); in cmpct_test_buckets()
/lk-master/external/platform/lpc15xx/lpcopen/periph_crc/example/
A Dreadme.dox38 * occasionally introduce CRC errors into the expected data. The board LED

Completed in 15 milliseconds