Lines Matching refs:tmp

79 	uint64_t val = 0xf0e1d2c3b4a59687, tmp;  in ZTEST()  local
84 tmp = sys_get_be64(buf); in ZTEST()
86 zassert_equal(tmp, val, "sys_get_be64() failed"); in ZTEST()
102 uint8_t tmp[sizeof(uint64_t)]; in ZTEST() local
104 sys_put_be64(val, tmp); in ZTEST()
106 zassert_mem_equal(tmp, buf, sizeof(uint64_t), "sys_put_be64() failed"); in ZTEST()
118 uint64_t val = 0xf0e1d2c3b4, tmp; in ZTEST() local
121 tmp = sys_get_be40(buf); in ZTEST()
123 zassert_equal(tmp, val, "sys_get_be64() failed"); in ZTEST()
137 uint8_t tmp[sizeof(buf)]; in ZTEST() local
139 sys_put_be40(val, tmp); in ZTEST()
140 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_be40() failed"); in ZTEST()
152 uint64_t val = 0xf0e1d2c3b4a5, tmp; in ZTEST() local
157 tmp = sys_get_be48(buf); in ZTEST()
159 zassert_equal(tmp, val, "sys_get_be64() failed"); in ZTEST()
175 uint8_t tmp[sizeof(buf)]; in ZTEST() local
177 sys_put_be48(val, tmp); in ZTEST()
178 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_be48() failed"); in ZTEST()
190 uint32_t val = 0xf0e1d2c3, tmp; in ZTEST() local
195 tmp = sys_get_be32(buf); in ZTEST()
197 zassert_equal(tmp, val, "sys_get_be32() failed"); in ZTEST()
213 uint8_t tmp[sizeof(uint32_t)]; in ZTEST() local
215 sys_put_be32(val, tmp); in ZTEST()
217 zassert_mem_equal(tmp, buf, sizeof(uint32_t), "sys_put_be32() failed"); in ZTEST()
229 uint32_t val = 0xf0e1d2, tmp; in ZTEST() local
234 tmp = sys_get_be24(buf); in ZTEST()
236 zassert_equal(tmp, val, "sys_get_be24() failed"); in ZTEST()
252 uint8_t tmp[sizeof(buf)]; in ZTEST() local
254 sys_put_be24(val, tmp); in ZTEST()
256 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_be24() failed"); in ZTEST()
268 uint32_t val = 0xf0e1, tmp; in ZTEST() local
273 tmp = sys_get_be16(buf); in ZTEST()
275 zassert_equal(tmp, val, "sys_get_be16() failed"); in ZTEST()
291 uint8_t tmp[sizeof(uint16_t)]; in ZTEST() local
293 sys_put_be16(val, tmp); in ZTEST()
295 zassert_mem_equal(tmp, buf, sizeof(uint16_t), "sys_put_be16() failed"); in ZTEST()
307 uint32_t val = 0xf0e1, tmp; in ZTEST() local
312 tmp = sys_get_le16(buf); in ZTEST()
314 zassert_equal(tmp, val, "sys_get_le16() failed"); in ZTEST()
330 uint8_t tmp[sizeof(uint16_t)]; in ZTEST() local
332 sys_put_le16(val, tmp); in ZTEST()
334 zassert_mem_equal(tmp, buf, sizeof(uint16_t), "sys_put_le16() failed"); in ZTEST()
346 uint32_t val = 0xf0e1d2, tmp; in ZTEST() local
351 tmp = sys_get_le24(buf); in ZTEST()
353 zassert_equal(tmp, val, "sys_get_le24() failed"); in ZTEST()
369 uint8_t tmp[sizeof(uint32_t)]; in ZTEST() local
371 sys_put_le24(val, tmp); in ZTEST()
373 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_le24() failed"); in ZTEST()
385 uint32_t val = 0xf0e1d2c3, tmp; in ZTEST() local
390 tmp = sys_get_le32(buf); in ZTEST()
392 zassert_equal(tmp, val, "sys_get_le32() failed"); in ZTEST()
408 uint8_t tmp[sizeof(uint32_t)]; in ZTEST() local
410 sys_put_le32(val, tmp); in ZTEST()
412 zassert_mem_equal(tmp, buf, sizeof(uint32_t), "sys_put_le32() failed"); in ZTEST()
424 uint64_t val = 0xf0e1d2c3b4, tmp; in ZTEST() local
427 tmp = sys_get_le40(buf); in ZTEST()
429 zassert_equal(tmp, val, "sys_get_le40() failed"); in ZTEST()
443 uint8_t tmp[sizeof(uint64_t)]; in ZTEST() local
445 sys_put_le40(val, tmp); in ZTEST()
447 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_le40() failed"); in ZTEST()
459 uint64_t val = 0xf0e1d2c3b4a5, tmp; in ZTEST() local
464 tmp = sys_get_le48(buf); in ZTEST()
466 zassert_equal(tmp, val, "sys_get_le48() failed"); in ZTEST()
482 uint8_t tmp[sizeof(uint64_t)]; in ZTEST() local
484 sys_put_le48(val, tmp); in ZTEST()
486 zassert_mem_equal(tmp, buf, sizeof(buf), "sys_put_le48() failed"); in ZTEST()
498 uint64_t val = 0xf0e1d2c3b4a59687, tmp; in ZTEST() local
503 tmp = sys_get_le64(buf); in ZTEST()
505 zassert_equal(tmp, val, "sys_get_le64() failed"); in ZTEST()
521 uint8_t tmp[sizeof(uint64_t)]; in ZTEST() local
523 sys_put_le64(val, tmp); in ZTEST()
525 zassert_mem_equal(tmp, buf, sizeof(uint64_t), "sys_put_le64() failed"); in ZTEST()
538 uint8_t tmp[sizeof(uint16_t)] = sys_uint16_to_array(VAL); in ZTEST() local
545 zassert_mem_equal(tmp, buf, sizeof(uint16_t), "sys_uint16_to_array() failed"); in ZTEST()
559 uint8_t tmp[sizeof(uint32_t)] = sys_uint32_to_array(VAL); in ZTEST() local
566 zassert_mem_equal(tmp, buf, sizeof(uint32_t), "sys_uint32_to_array() failed"); in ZTEST()
580 uint8_t tmp[sizeof(uint64_t)] = sys_uint64_to_array(VAL); in ZTEST() local
587 zassert_mem_equal(tmp, buf, sizeof(uint64_t), "sys_uint64_to_array() failed"); in ZTEST()