/Zephyr-Core-3.6.0/tests/subsys/fs/multi-fs/src/ |
D | test_common_file.c | 36 int test_file_write(struct fs_file_t *filep, const char *test_str) in test_file_write() argument 51 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write() 54 brw = fs_write(filep, (char *)test_str, strlen(test_str)); in test_file_write() 61 if (brw < strlen(test_str)) { in test_file_write() 73 int test_file_read(struct fs_file_t *filep, const char *test_str) in test_file_read() argument 78 size_t sz = strlen(test_str); in test_file_read() 101 if (strcmp(test_str, read_buff)) { in test_file_read()
|
D | test_fat_file.c | 13 static const char *test_str = "Hello world FAT"; variable 25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_fat_write() 31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_fat_read()
|
D | test_littlefs_file.c | 13 static const char *test_str = "Hello world LITTLEFS"; variable 25 zassert_true(test_file_write(&test_file, test_str) == TC_PASS, in test_littlefs_write() 31 zassert_true(test_file_read(&test_file, test_str) == TC_PASS); in test_littlefs_read()
|
D | test_common.h | 16 int test_file_read(struct fs_file_t *filep, const char *test_str);
|
/Zephyr-Core-3.6.0/tests/lib/cbprintf_package/src/ |
D | main.c | 161 static const char *test_str = "test %d %s"; in ZTEST() local 166 len0 = cbprintf_package(NULL, 0, 0, test_str, 100, test_str1); in ZTEST() 174 test_str, 100, test_str1); in ZTEST() 179 test_str, 100, test_str1); in ZTEST() 193 test_str, 100, test_str1); in ZTEST() 197 test_str, 100, test_str1); in ZTEST() 202 test_str, 100, test_str1); in ZTEST() 207 test_str, 100, test_str1); in ZTEST() 212 test_str, 100, test_str1); in ZTEST() 228 zassert_equal(addr, test_str); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/posix/fs/src/ |
D | test_fs_file.c | 12 const char test_str[] = "hello world!"; variable 44 brw = write(file, (char *)test_str, strlen(test_str)); in test_file_write() 52 if (brw < strlen(test_str)) { in test_file_write() 68 size_t sz = strlen(test_str); in test_file_read() 88 if (strcmp(test_str, read_buff)) { in test_file_read() 117 if (strcmp(test_str + 2, read_buff)) { in test_file_read()
|
D | test_fs.h | 15 extern const char test_str[];
|
/Zephyr-Core-3.6.0/arch/posix/include/ |
D | posix_arch_internal.h | 18 static inline void pc_safe_call(int test, const char *test_str) in pc_safe_call() argument 23 test_str); in pc_safe_call()
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/ |
D | nsi_safe_call.h | 23 static inline void nsi_safe_call(int test, const char *test_str) in nsi_safe_call() argument 28 test_str); in nsi_safe_call()
|
/Zephyr-Core-3.6.0/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_file.c | 54 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write() 57 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in test_file_write() 64 if (brw < strlen(test_str)) { in test_file_write() 97 size_t sz = strlen(test_str); in test_file_read() 120 if (strcmp(test_str, read_buff)) { in test_file_read()
|
D | common.c | 13 const char test_str[] = "hello world!"; variable
|
D | test_fat_file_reentrant.c | 153 brw = fs_write(&filep2, (char *)test_str, strlen(test_str)); in tfile2_access() 160 if (brw < strlen(test_str)) { in tfile2_access()
|
D | test_fat.h | 37 extern const char test_str[];
|
/Zephyr-Core-3.6.0/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_file.c | 55 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write() 58 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in test_file_write() 65 if (brw < strlen(test_str)) { in test_file_write() 98 size_t sz = strlen(test_str); in test_file_read() 121 if (strcmp(test_str, read_buff)) { in test_file_read()
|
D | common.c | 10 const char test_str[] = "hello world!"; variable
|
D | test_fat.h | 24 extern const char test_str[];
|
/Zephyr-Core-3.6.0/tests/subsys/logging/log_api/src/ |
D | mock_frontend.c | 72 struct test_str { struct 79 struct test_str *s = ctx; in out() argument 124 struct test_str s = { .str = str }; in log_frontend_msg()
|
D | mock_backend.c | 112 struct test_str { struct 119 struct test_str *s = ctx; in out() argument 178 struct test_str s = { .str = str }; in process()
|
/Zephyr-Core-3.6.0/tests/subsys/fs/fs_api/src/ |
D | test_fs_dir_file.c | 92 static const char test_str[] = "hello world!"; variable 541 brw = fs_write(&err_filep, (char *)test_str, strlen(test_str)); in _test_file_write() 548 brw = fs_write(&err_filep, (char *)test_str, strlen(test_str)); in _test_file_write() 561 brw = fs_write(&filep, NULL, strlen(test_str)); in _test_file_write() 566 TC_PRINT("Data written:\"%s\"\n\n", test_str); in _test_file_write() 568 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in _test_file_write() 575 if (brw < strlen(test_str)) { in _test_file_write() 622 brw = fs_write(&filep, (char *)test_str, strlen(test_str)); in _test_file_sync() 623 if (brw < strlen(test_str)) { in _test_file_sync() 679 size_t sz = strlen(test_str); in test_file_read() [all …]
|
/Zephyr-Core-3.6.0/tests/unit/cbprintf/ |
D | main.c | 1193 static const char *test_str = "test %d %s"; in ZTEST() local 1199 test_str, 100, test_str1); in ZTEST() 1202 test_str, 100, test_str1); in ZTEST() 1213 test_str, 100, test_str1); in ZTEST() 1216 test_str, 100, test_str1); in ZTEST() 1230 zassert_equal(addr, test_str); in ZTEST() 1260 char test_str[] = "test %d %s"; in ZTEST() local 1270 snprintf(exp_str0, sizeof(exp_str0), test_str, 100, test_str1); in ZTEST() 1274 test_str, 100, test_str1); in ZTEST() 1281 test_str, 100, test_str1); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/subsys/logging/log_stress/src/ |
D | main.c | 128 char test_str[] = "test string"; in context_handler() local 129 LOG_INF("%u %s %s", i, "test", test_str); in context_handler()
|