Home
last modified time | relevance | path

Searched refs:brw (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-2.7.6/tests/posix/fs/src/
Dtest_fs_file.c30 ssize_t brw; in test_file_write() local
40 brw = write(file, (char *)test_str, strlen(test_str)); in test_file_write()
41 if (brw < 0) { in test_file_write()
42 TC_PRINT("Failed writing to file [%d]\n", (int)brw); in test_file_write()
47 if (brw < strlen(test_str)) { in test_file_write()
49 TC_PRINT("Number of bytes written: [%d]\n", (int)brw); in test_file_write()
59 ssize_t brw; in test_file_read() local
71 brw = read(file, read_buff, sz); in test_file_read()
72 if (brw < 0) { in test_file_read()
73 TC_PRINT("Failed reading file [%d]\n", (int)brw); in test_file_read()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/fs/multi-fs/src/
Dtest_common_file.c38 ssize_t brw; in test_file_write() local
54 brw = fs_write(filep, (char *)test_str, strlen(test_str)); in test_file_write()
55 if (brw < 0) { in test_file_write()
56 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
58 return brw; in test_file_write()
61 if (brw < strlen(test_str)) { in test_file_write()
63 TC_PRINT("Number of bytes written: [%zd]\n", brw); in test_file_write()
75 ssize_t brw; in test_file_read() local
90 brw = fs_read(filep, read_buff, sz); in test_file_read()
91 if (brw < 0) { in test_file_read()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c41 ssize_t brw; in test_file_write() local
57 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in test_file_write()
58 if (brw < 0) { in test_file_write()
59 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
61 return brw; in test_file_write()
64 if (brw < strlen(test_str)) { in test_file_write()
66 TC_PRINT("Number of bytes written: [%zd]\n", brw); in test_file_write()
94 ssize_t brw; in test_file_read() local
109 brw = fs_read(&filep, read_buff, sz); in test_file_read()
110 if (brw < 0) { in test_file_read()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_file.c42 ssize_t brw; in test_file_write() local
58 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in test_file_write()
59 if (brw < 0) { in test_file_write()
60 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
62 return brw; in test_file_write()
65 if (brw < strlen(test_str)) { in test_file_write()
67 TC_PRINT("Number of bytes written: [%zd]\n", brw); in test_file_write()
95 ssize_t brw; in test_file_read() local
110 brw = fs_read(&filep, read_buff, sz); in test_file_read()
111 if (brw < 0) { in test_file_read()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c512 ssize_t brw; in _test_file_write() local
519 brw = fs_write(&err_filep, (char *)test_str, strlen(test_str)); in _test_file_write()
520 if (brw >= 0) { in _test_file_write()
526 brw = fs_write(&err_filep, (char *)test_str, strlen(test_str)); in _test_file_write()
527 if (brw >= 0) { in _test_file_write()
539 brw = fs_write(&filep, NULL, strlen(test_str)); in _test_file_write()
540 if (brw >= 0) { in _test_file_write()
546 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in _test_file_write()
547 if (brw < 0) { in _test_file_write()
548 TC_PRINT("Failed writing to file [%zd]\n", brw); in _test_file_write()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/usb/mass/
DREADME.rst218 brw-rw---- 1 root disk 8, 48 Apr 25 08:10 /dev/sdd