Searched refs:read_buff (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-2.7.6/tests/posix/fs/src/ |
D | test_fs_file.c | 61 char read_buff[80]; in test_file_read() local 71 brw = read(file, read_buff, sz); in test_file_read() 78 read_buff[brw] = 0; in test_file_read() 80 if (strcmp(test_str, read_buff)) { in test_file_read() 82 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 95 brw = read(file, read_buff, sizeof(read_buff)); in test_file_read() 105 read_buff[brw] = 0; in test_file_read() 107 if (strcmp(test_str + 2, read_buff)) { in test_file_read() 109 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read()
|
/Zephyr-Core-2.7.6/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-Core-2.7.6/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-Core-2.7.6/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-Core-2.7.6/tests/subsys/fs/fs_api/src/ |
D | test_fs_dir_file.c | 656 char read_buff[80]; in test_file_read() local 663 brw = fs_read(&err_filep, read_buff, sz); in test_file_read() 668 brw = fs_read(&err_filep, read_buff, sz); in test_file_read() 675 brw = fs_read(&filep, read_buff, sz); in test_file_read() 678 read_buff[brw] = 0; in test_file_read() 679 TC_PRINT("Data read:\"%s\"\n\n", read_buff); in test_file_read() 681 zassert_true(strcmp(test_str, read_buff) == 0, in test_file_read() 715 char read_buff[80]; in _test_file_truncate() local 836 brw = fs_read(&filep, read_buff, 5); in _test_file_truncate() 845 if (read_buff[i]) { in _test_file_truncate()
|
/Zephyr-Core-2.7.6/drivers/flash/ |
D | flash_esp32.c | 314 uint8_t *read_buff = (temp_buff) ? temp_buff : buffer; in flash_esp32_read() local 317 rc = read_data(dev, read_buff, address, read_len); in flash_esp32_read()
|