Home
last modified time | relevance | path

Searched refs:random_data (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/subsys/canbus/isotp/implementation/src/
Dmain.c59 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in send_sf()
75 ret = memcmp(random_data, buf->data, buf->len); in get_sf_net()
93 ret = memcmp(random_data, data_buf, DATA_SIZE_SF); in get_sf()
244 send_test_data(can_dev, random_data, sizeof(random_data)); in ZTEST()
245 receive_test_data_net(&recv_ctx, random_data, sizeof(random_data), 0); in ZTEST()
261 send_test_data(can_dev, random_data, data_size); in ZTEST()
262 receive_test_data(&recv_ctx, random_data, data_size, 0); in ZTEST()
282 send_test_data(can_dev, random_data, send_len); in ZTEST()
283 data_ptr = random_data; in ZTEST()
313 send_test_data(can_dev, random_data, send_len); in ZTEST()
[all …]
Drandom_data.h7 static const uint8_t random_data[] = { variable
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c195 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in send_sf()
209 ret = check_data(data_buf, random_data, data_size); in get_sf()
401 prepare_sf_frame(&des_frame, random_data); in ZTEST()
419 prepare_sf_frame(&single_frame, random_data); in ZTEST()
454 prepare_sf_ext_frame(&des_frame, random_data); in ZTEST()
460 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF_EXT, in ZTEST()
475 prepare_sf_ext_frame(&single_frame, random_data); in ZTEST()
510 prepare_sf_frame(&des_frame, random_data); in ZTEST()
517 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in ZTEST()
532 prepare_sf_frame(&single_frame, random_data); in ZTEST()
[all …]
Drandom_data.h7 static const uint8_t random_data[] = { variable
/Zephyr-latest/subsys/fs/
Dshell.c555 uint8_t random_data[CONFIG_FILE_SYSTEM_SHELL_BUFFER_SIZE]; in cmd_read_test() local
605 err = fs_read(&file, random_data, sizeof(random_data)); in cmd_read_test()
615 if (err < sizeof(random_data)) { in cmd_read_test()
648 uint8_t random_data[CONFIG_FILE_SYSTEM_SHELL_BUFFER_SIZE]; in cmd_erase_write_test() local
676 while (i < sizeof(random_data)) { in cmd_erase_write_test()
677 random_data[i] = (uint8_t)(i % 255); in cmd_erase_write_test()
719 if (write_size > sizeof(random_data)) { in cmd_erase_write_test()
720 write_size = sizeof(random_data); in cmd_erase_write_test()
723 err = fs_write(&file, random_data, write_size); in cmd_erase_write_test()