Home
last modified time | relevance | path

Searched refs:pstr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_basic.c140 const char *pstr; in num_files() local
152 pstr = testfs_path_init(&path, mp, in num_files()
156 TC_PRINT("opening %s\n", pstr); in num_files()
157 rc = fs_open(file, pstr, FS_O_CREATE | FS_O_RDWR); in num_files()
158 zassert_equal(rc, 0, "open %s failed: %d", pstr, rc); in num_files()
161 zassert_equal(rc, TESTFS_BUFFER_SIZE, "write %s failed: %d", pstr, rc); in num_files()
170 pstr = testfs_path_init(&path, mp, in num_files()
174 TC_PRINT("Close and unlink %s\n", pstr); in num_files()
177 zassert_equal(rc, 0, "close %s failed: %d", pstr, rc); in num_files()
179 rc = fs_unlink(pstr); in num_files()
[all …]
/Zephyr-latest/tests/subsys/logging/log_custom_header/src/
Dlog_custom_header.c34 char *pstr = output; in backend_process() local
38 int slen = cbpprintf(cbprintf_callback, &pstr, p); in backend_process()
/Zephyr-latest/tests/subsys/logging/log_backend_init/src/
Dmain.c42 char *pstr = str; in backend_process() local
48 int slen = cbpprintf(cbprintf_callback, &pstr, p); in backend_process()
/Zephyr-latest/tests/lib/cbprintf_package/src/
Dmain.c113 char *pstr = (char *)str; in ZTEST() local
128 "test %s %s", str, (const char *)pstr); in ZTEST()
132 "test %s %s", str, pstr); in ZTEST()
136 rv = CBPRINTF_MUST_RUNTIME_PACKAGE(0, "test %s %s", str, (const char *)pstr); in ZTEST()