Searched refs:u40 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/ |
D | main.c | 30 static const uint64_t u40 = 0x0102030405; variable 151 zassert_equal(u40, net_buf_simple_pull_le40(&buf), in ZTEST() 159 zassert_equal(u40, net_buf_simple_pull_be40(&buf), in ZTEST() 165 net_buf_simple_add_le40(&buf, u40); in ZTEST() 173 net_buf_simple_add_be40(&buf, u40); in ZTEST() 369 zassert_equal(u40, net_buf_simple_remove_le40(&buf), "Invalid 40 bits byte order"); in ZTEST() 378 zassert_equal(u40, net_buf_simple_remove_be40(&buf), "Invalid 40 bits byte order"); in ZTEST() 385 net_buf_simple_push_le40(&buf, u40); in ZTEST() 395 net_buf_simple_push_be40(&buf, u40); in ZTEST()
|
/Zephyr-latest/lib/net_buf/ |
D | buf_simple.c | 266 uint64_t u40: 40; in net_buf_simple_remove_le40() member 273 return sys_le40_to_cpu(val.u40); in net_buf_simple_remove_le40() 279 uint64_t u40: 40; in net_buf_simple_remove_be40() member 286 return sys_be40_to_cpu(val.u40); in net_buf_simple_remove_be40() 548 uint64_t u40: 40; in net_buf_simple_pull_le40() member 554 return sys_le40_to_cpu(val.u40); in net_buf_simple_pull_le40() 560 uint64_t u40: 40; in net_buf_simple_pull_be40() member 566 return sys_be40_to_cpu(val.u40); in net_buf_simple_pull_be40()
|