/Zephyr-Core-3.4.0/tests/subsys/fs/multi-fs/src/ |
D | test_common_file.c | 12 int test_file_open(struct fs_file_t *filep, const char *file_path) in test_file_open() argument 18 if (check_file_dir_exists(file_path)) { in test_file_open() 19 TC_PRINT("Opening existing file %s\n", file_path); in test_file_open() 21 TC_PRINT("Creating new file %s\n", file_path); in test_file_open() 25 res = fs_open(filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_file_open() 31 TC_PRINT("Opened file %s\n", file_path); in test_file_open() 128 int test_file_delete(const char *file_path) in test_file_delete() argument 136 res = fs_unlink(file_path); in test_file_delete() 143 if (check_file_dir_exists(file_path)) { in test_file_delete() 144 TC_PRINT("Failed deleting %s\n", file_path); in test_file_delete() [all …]
|
D | test_common_dir.c | 24 char file_path[PATH_MAX] = { 0 }; in test_mkdir() local 27 res = sprintf(file_path, "%s/%s", dir_path, file); in test_mkdir() 28 __ASSERT_NO_MSG(res < sizeof(file_path)); in test_mkdir() 47 res = fs_open(&filep, file_path, FS_O_CREATE | FS_O_RDWR); in test_mkdir() 53 TC_PRINT("Testing write to file %s\n", file_path); in test_mkdir() 133 char file_path[PATH_MAX] = { 0 }; in test_rmdir() local 143 sprintf(file_path, "%s/%s", dir_path, entry.name); in test_rmdir() 144 __ASSERT_NO_MSG(res < sizeof(file_path)); in test_rmdir() 145 TC_PRINT("Removing %s\n", file_path); in test_rmdir() 147 res = fs_unlink(file_path); in test_rmdir()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_dir.c | 106 char file_path[80 + MAX_FILE_NAME]; in test_rmdir() local 133 sprintf(file_path, "%s/%s", TEST_DIR, entry.name); in test_rmdir() 134 TC_PRINT("Removing %s\n", file_path); in test_rmdir() 136 res = fs_unlink(file_path); in test_rmdir()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_dir.c | 111 char file_path[80]; in test_rmdir() local 138 sprintf(file_path, "%s/%s", dir, entry.name); in test_rmdir() 139 TC_PRINT("Removing %s\n", file_path); in test_rmdir() 141 res = fs_unlink(file_path); in test_rmdir()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 29 char *file_path; member 57 TC_PRINT("# %d: OPEN %s with flags %x\n", line, ts->file_path, flags); in ZOPEN() 58 ZEQ(fs_open(&ts->file, ts->file_path, flags), expected); in ZOPEN() 64 TC_PRINT("# %d: CLOSE %s\n", line, ts->file_path); in ZCLOSE() 71 TC_PRINT("# %d: WRITE %s\n", line, ts->file_path); in ZWRITE() 78 TC_PRINT("# %d: READ %s\n", line, ts->file_path); in ZREAD() 87 TC_PRINT("# %d: UNLINK %s\n", line, ts->file_path); in ZUNLINK() 88 ret = fs_unlink(ts->file_path); in ZUNLINK()
|
/Zephyr-Core-3.4.0/scripts/build/ |
D | check_init_priorities.py | 109 def __init__(self, file_path): argument 110 self.file_path = file_path 111 self._elf = ELFFile(open(file_path, "rb"))
|
/Zephyr-Core-3.4.0/subsys/settings/src/ |
D | settings_file.c | 538 static int mkdir_for_file(const char *file_path) in mkdir_for_file() argument 543 for (size_t i = 0; file_path[i] != '\0'; i++) { in mkdir_for_file() 544 if (i > 0 && file_path[i] == '/') { in mkdir_for_file() 553 dir_path[i] = file_path[i]; in mkdir_for_file()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/modem/ |
D | hl7800.h | 397 int32_t mdm_hl7800_update_fw(char *file_path);
|
/Zephyr-Core-3.4.0/scripts/pylib/twister/twisterlib/ |
D | runner.py | 858 for file_path in files_to_sanitize: 859 file_path = os.path.join(self.instance.build_dir, file_path) 860 if not os.path.exists(file_path): 863 with open(file_path, "rt") as file: 870 with open(file_path, "wt") as file:
|
/Zephyr-Core-3.4.0/drivers/modem/ |
D | hl7800.c | 6121 int32_t mdm_hl7800_update_fw(char *file_path) in mdm_hl7800_update_fw() argument 6128 ret = fs_stat(file_path, &file_info); in mdm_hl7800_update_fw() 6132 LOG_ERR("Failed to get file [%s] info: %d", file_path, ret); in mdm_hl7800_update_fw() 6136 ret = fs_open(&ictx.fw_update_file, file_path, FS_O_READ); in mdm_hl7800_update_fw() 6138 LOG_ERR("%s open err: %d", file_path, ret); in mdm_hl7800_update_fw()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/controller/hci/ |
D | hci.c | 5007 const char *file_path, argument 5013 if (file_path) { 5015 while (file_path[file_name_len] != '\0') { 5016 if (file_path[file_name_len] == '/') { 5021 file_path += pos; 5058 net_buf_add_mem(buf, file_path, file_name_len);
|