Searched refs:read_buff (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/subsys/fs/multi-fs/src/ |
D | test_common_file.c | 77 char read_buff[80]; in test_file_read() local 90 brw = fs_read(filep, read_buff, sz); in test_file_read() 97 read_buff[brw] = 0; in test_file_read() 99 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 101 if (strcmp(test_str, read_buff)) { in test_file_read() 103 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_file.c | 96 char read_buff[80]; in test_file_read() local 109 brw = fs_read(&filep, read_buff, sz); in test_file_read() 116 read_buff[brw] = 0; in test_file_read() 118 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 120 if (strcmp(test_str, read_buff)) { in test_file_read() 122 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 135 char read_buff[80]; in test_file_truncate() local 212 brw = fs_read(&filep, read_buff, 5); in test_file_truncate() 221 if (read_buff[i]) { in test_file_truncate()
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fs_file.c | 67 char read_buff[80]; in test_file_read() local 78 brw = read(file, read_buff, sz); in test_file_read() 86 read_buff[brw] = 0; in test_file_read() 88 if (strcmp(test_str, read_buff)) { in test_file_read() 90 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 104 brw = read(file, read_buff, sizeof(read_buff)); in test_file_read() 115 read_buff[brw] = 0; in test_file_read() 117 if (strcmp(test_str + 2, read_buff)) { in test_file_read() 119 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_file.c | 97 char read_buff[80]; in test_file_read() local 110 brw = fs_read(&filep, read_buff, sz); in test_file_read() 117 read_buff[brw] = 0; in test_file_read() 119 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 121 if (strcmp(test_str, read_buff)) { in test_file_read() 123 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 136 char read_buff[80]; in test_file_truncate() local 248 brw = fs_read(&filep, read_buff, 5); in test_file_truncate() 257 if (read_buff[i]) { in test_file_truncate()
|
/Zephyr-latest/tests/subsys/fs/fs_api/src/ |
D | test_fs_dir_file.c | 678 char read_buff[80]; in test_file_read() local 685 brw = fs_read(&err_filep, read_buff, sz); in test_file_read() 690 brw = fs_read(&err_filep, read_buff, sz); in test_file_read() 697 brw = fs_read(&filep, read_buff, sz); in test_file_read() 700 read_buff[brw] = 0; in test_file_read() 701 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 703 zassert_str_equal(test_str, read_buff, in test_file_read() 737 char read_buff[80]; in _test_file_truncate() local 858 brw = fs_read(&filep, read_buff, 5); in _test_file_truncate() 867 if (read_buff[i]) { in _test_file_truncate()
|