/Zephyr-Core-2.7.6/ |
D | west.yml | 4 # path to the project containing this file in the [manifest] section's 5 # "path" variable. 30 path: modules/lib/canopennode 33 path: modules/lib/civetweb 36 path: modules/hal/cmsis 41 path: tools/edtt 46 path: modules/fs/fatfs 51 path: modules/hal/altera 56 path: modules/hal/atmel 61 path: modules/hal/cypress [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/fs/littlefs/src/ |
D | test_util.c | 18 static struct testfs_path path; variable 25 testfs_path_init(&path, &mnt, TESTFS_PATH_END); in reset_path() 26 return &path; in reset_path() 31 zassert_equal(testfs_path_init(&path, NULL, TESTFS_PATH_END), in test_util_path_init_base() 32 path.path, in test_util_path_init_base() 34 zassert_equal(strcmp(path.path, "/"), 0, "bad root init path"); in test_util_path_init_base() 36 zassert_equal(testfs_path_init(&path, &mnt, TESTFS_PATH_END), in test_util_path_init_base() 37 path.path, in test_util_path_init_base() 39 zassert_equal(strcmp(path.path, mnt.mnt_point), 0, "bad mnt init path"); in test_util_path_init_base() 47 testfs_path_init(&path, &invalid, TESTFS_PATH_END); in test_util_path_init_base() [all …]
|
D | test_lfs_basic.c | 77 struct testfs_path path; in create_write_hello() local 84 testfs_path_init(&path, mp, in create_write_hello() 93 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 108 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 129 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 145 struct testfs_path path; in verify_hello() local 152 testfs_path_init(&path, mp, in verify_hello() 177 struct testfs_path path; in seek_within_hello() local 184 testfs_path_init(&path, mp, in seek_within_hello() 196 zassert_equal(fs_stat(path.path, &stat), in seek_within_hello() [all …]
|
D | testfs_util.c | 17 const char *endp = pp->path + sizeof(pp->path); in path_vextend() 25 char *sp = strrchr(pp->path, '/'); in path_vextend() 27 if (sp == pp->path) { in path_vextend() 45 return pp->path; in path_vextend() 55 pp->path[0] = '/'; in testfs_path_init() 56 pp->eos = pp->path + 1; in testfs_path_init() 61 if ((len + 1) >= sizeof(pp->path)) { in testfs_path_init() 62 len = sizeof(pp->path) - 1; in testfs_path_init() 64 strncpy(pp->path, mp->mnt_point, len); in testfs_path_init() 65 pp->eos = pp->path + len; in testfs_path_init() [all …]
|
/Zephyr-Core-2.7.6/subsys/fs/ |
D | shell.c | 54 static void create_abs_path(const char *name, char *path, size_t len) in create_abs_path() argument 57 strncpy(path, name, len); in create_abs_path() 58 path[len - 1] = '\0'; in create_abs_path() 62 *path++ = '/'; in create_abs_path() 65 strncpy(path, name, len); in create_abs_path() 66 path[len - 1] = '\0'; in create_abs_path() 68 strncpy(path, cwd, len); in create_abs_path() 69 path[len - 1] = '\0'; in create_abs_path() 71 size_t plen = strlen(path); in create_abs_path() 74 path += plen; in create_abs_path() [all …]
|
D | fuse_fs_access.c | 65 static bool is_mount_point(const char *path) in is_mount_point() argument 70 len = strlen(path); in is_mount_point() 75 memcpy(dir_path, path, len); in is_mount_point() 80 static int fuse_fs_access_getattr(const char *path, struct stat *stat) in fuse_fs_access_getattr() argument 97 if ((strcmp(path, "/") == 0) || is_mount_point(path)) { in fuse_fs_access_getattr() 98 if (strstr(path, "/.") != NULL) { in fuse_fs_access_getattr() 106 err = fs_stat(path, &entry); in fuse_fs_access_getattr() 163 static int fuse_fs_access_readdir(const char *path, void *buf, in fuse_fs_access_readdir() argument 175 if (strcmp(path, "/") == 0) { in fuse_fs_access_readdir() 181 if (is_mount_point(path)) { in fuse_fs_access_readdir() [all …]
|
D | fs_impl.h | 19 * @brief Strip the mount point prefix from a path. 21 * @param path an absolute path beginning with a mount point. 23 * @param mp a pointer to the mount point within which @p path is found 25 * @return the absolute path within the mount point. Behavior is 26 * undefined if @p path does not start with the mount point prefix. 28 const char *fs_impl_strip_prefix(const char *path,
|
D | fs_impl.c | 11 const char *fs_impl_strip_prefix(const char *path, in fs_impl_strip_prefix() argument 16 if ((path == NULL) || (mp == NULL)) { in fs_impl_strip_prefix() 17 return path; in fs_impl_strip_prefix() 20 path += mp->mountp_len; in fs_impl_strip_prefix() 21 return *path ? path : root; in fs_impl_strip_prefix()
|
/Zephyr-Core-2.7.6/scripts/ |
D | get_maintainer.py | 16 ./get_maintainer.py path --help 71 "path", 75 metavar="PATH", 77 help="Path to list areas for") 117 "path", 118 metavar="PATH", 120 help="Limit to files under PATH") 142 The path to the maintainers file 149 Path to the maintainers file to parse. If None, MAINTAINERS.yml in 153 self._toplevel = pathlib.Path(_git("rev-parse", "--show-toplevel")) [all …]
|
D | subfolder_list.py | 44 if not os.path.exists(create_links): 46 symbase = os.path.basename(directory) 47 symlink = create_links + os.path.sep + symbase 48 if not os.path.exists(symlink): 58 targetdirectory = os.path.join(root, subdir) 59 reldir = os.path.relpath(targetdirectory, directory) 60 linkname = symbase + '_' + reldir.replace(os.path.sep, '_') 61 symlink = create_links + os.path.sep + linkname 62 if not os.path.exists(symlink): 66 dirlist.append(os.path.join(root, subdir)) [all …]
|
D | parse_syscalls.py | 73 path = os.path.join(root, fn) 74 if (not (path.endswith(".h") or path.endswith(".c")) or 75 path.endswith(os.path.join(os.sep, 'toolchain', 79 with open(path, "r", encoding="utf-8") as fp: 96 def update_file_if_changed(path, new): argument 97 if os.path.exists(path): 98 with open(path, 'r') as fp: 102 with open(path, 'w') as fp: 105 with open(path, 'w') as fp:
|
/Zephyr-Core-2.7.6/cmake/bintools/arcmwdt/ |
D | target.cmake | 5 find_program(CMAKE_ELF2BIN ${CROSS_COMPILE}elf2bin PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 6 find_program(CMAKE_OBJDUMP ${CROSS_COMPILE}elfdumpac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 7 find_program(CMAKE_AS ${CROSS_COMPILE}ccac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 8 find_program(CMAKE_AR ${CROSS_COMPILE}arac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 9 find_program(CMAKE_RANLIB ${CROSS_COMPILE}arac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 10 find_program(CMAKE_READELF ${CROSS_COMPILE}elfdumpac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 11 find_program(CMAKE_NM ${CROSS_COMPILE}nmac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 12 find_program(CMAKE_STRIP ${CROSS_COMPILE}stripac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 13 find_program(CMAKE_SIZE ${CROSS_COMPILE}sizeac PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) 14 find_program(CMAKE_ELF2HEX ${CROSS_COMPILE}elf2hex PATH ${TOOLCHAIN_HOME} NO_DEFAULT_PATH) [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/openthread/platform/ |
D | settings.c | 40 char path[OT_SETTINGS_MAX_PATH_LEN]; in ot_setting_delete_cb() local 53 ret = snprintk(path, sizeof(path), "%s%s%s", ctx->subtree, in ot_setting_delete_cb() 55 __ASSERT(ret < sizeof(path), "Setting path buffer too small."); in ot_setting_delete_cb() 57 LOG_DBG("Removing: %s", log_strdup(path)); in ot_setting_delete_cb() 59 ret = settings_delete(path); in ot_setting_delete_cb() 61 LOG_ERR("Failed to remove setting %s, ret %d", log_strdup(path), in ot_setting_delete_cb() 94 __ASSERT(ret < sizeof(subtree), "Setting path buffer too small."); in ot_setting_delete_subtree() 122 static bool ot_setting_exists(const char *path) in ot_setting_exists() argument 126 (void)settings_load_subtree_direct(path, ot_setting_exists_cb, &exists); in ot_setting_exists() 211 char path[OT_SETTINGS_MAX_PATH_LEN]; in otPlatSettingsGet() local [all …]
|
/Zephyr-Core-2.7.6/doc/guides/dts/ |
D | macros.bnf | 25 node-macro =/ %s"DT_N" path-id %s"_EXISTS" 29 node-macro =/ %s"DT_N" path-id %s"_BUS" ["_" dt-name] 31 node-macro =/ %s"DT_N" path-id %s"_REG_NUM" 32 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT "_EXISTS" 33 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT 35 node-macro =/ %s"DT_N" path-id %s"_REG_NAME_" dt-name 38 node-macro =/ %s"DT_N" path-id %s"_IRQ_NUM" 39 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT "_EXISTS" 40 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT 42 node-macro =/ %s"DT_N" path-id %s"_IRQ_NAME_" dt-name [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/ |
D | lwm2m_engine.c | 76 struct lwm2m_obj_path path; member 355 if (obs->path.obj_id == obj_id && in lwm2m_notify_observer() 356 obs->path.obj_inst_id == obj_inst_id && in lwm2m_notify_observer() 357 (obs->path.level < 3 || in lwm2m_notify_observer() 358 obs->path.res_id == res_id)) { in lwm2m_notify_observer() 373 int lwm2m_notify_observer_path(struct lwm2m_obj_path *path) in lwm2m_notify_observer_path() argument 375 return lwm2m_notify_observer(path->obj_id, path->obj_inst_id, in lwm2m_notify_observer_path() 376 path->res_id); in lwm2m_notify_observer_path() 412 if (memcmp(&obs->path, &msg->path, sizeof(msg->path)) == 0) { in engine_add_observer() 418 msg->path.obj_id, msg->path.obj_inst_id, in engine_add_observer() [all …]
|
D | lwm2m_object.h | 147 /* path representing object instances */ 453 /** Incoming path */ 454 struct lwm2m_obj_path path; member 485 struct lwm2m_obj_path *path); 487 struct lwm2m_obj_path *path); 489 struct lwm2m_obj_path *path); 491 struct lwm2m_obj_path *path); 493 struct lwm2m_obj_path *path); 495 struct lwm2m_obj_path *path); 497 struct lwm2m_obj_path *path); [all …]
|
D | lwm2m_rw_link_format.c | 20 * TODO: to implement a way for clients to specify alternate path 21 * via Kconfig (LwM2M specification 8.2.2 Alternate Path) 52 struct lwm2m_obj_path *path) in put_begin() argument 58 ARG_UNUSED(path); in put_begin() 207 const struct lwm2m_obj_path *path, in put_corelink_ssid() argument 214 switch (path->obj_id) { in put_corelink_ssid() 219 path->obj_inst_id); in put_corelink_ssid() 237 path->obj_inst_id); in put_corelink_ssid() 251 ret = snprintk(buf, buflen, "1/%d/0", path->obj_inst_id); in put_corelink_ssid() 265 path->obj_id); in put_corelink_ssid() [all …]
|
D | lwm2m_rw_json.c | 101 /* path storage */ 256 struct lwm2m_obj_path *path) in put_begin() argument 260 if (path->level >= 2U) { in put_begin() 263 path->obj_id, path->obj_inst_id); in put_begin() 267 path->obj_id); in put_begin() 285 struct lwm2m_obj_path *path) in put_end() argument 296 struct lwm2m_obj_path *path) in put_begin_ri() argument 310 struct lwm2m_obj_path *path) in put_end_ri() argument 335 struct lwm2m_obj_path *path, in put_json_prefix() argument 352 sep, path->res_id, path->res_inst_id, in put_json_prefix() [all …]
|
/Zephyr-Core-2.7.6/scripts/dts/ |
D | gen_dts_cmake.py | 35 dt_prop(compat PATH "/soc" PROPERTY compatible INDEX 0) 47 sys.path.append(os.path.join(os.path.dirname(__file__), 'python-devicetree', 56 help="path to write the CMake property file") 58 help="path to read the pickled edtlib.EDT object from") 87 path = edt.chosen_nodes[node].path 88 cmake_props.append(f'"DT_CHOSEN|{node}" "{path}"') 91 cmake_props.append(f'"DT_NODE|{node.path}" TRUE') 94 cmake_props.append(f'"DT_NODELABEL|{label}" "{node.path}"') 108 # with a name like 'DT_PROP|<path>|<property>'. 109 cmake_prop = f'DT_PROP|{node.path}|{item}' [all …]
|
/Zephyr-Core-2.7.6/scripts/footprint/ |
D | size_report | 18 from pathlib import Path 230 filename = os.path.join(directory, file_entry.name) 232 path = Path(filename.decode()) 234 # Prepend output path to relative path 235 if not path.is_absolute(): 236 output = Path(args.output) 237 path = output.joinpath(path) 239 # Change path to relative to Zephyr base 241 path = path.resolve() 244 if '<built-in>' not in str(path): [all …]
|
/Zephyr-Core-2.7.6/cmake/ |
D | pristine.cmake | 7 usage: cmake -DBINARY_DIR=<build-path> -DSOURCE_DIR=<source-path> 11 -DBINARY_DIR=<build-path>: Absolute path to the build directory to pristine 12 -DSOURCE_DIR=<source-path>: Absolute path to the source directory used when 13 creating <build-path>
|
/Zephyr-Core-2.7.6/scripts/kconfig/ |
D | kconfigfunctions.py | 11 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts", "dts", 25 if EDT_PICKLE is not None and os.path.isfile(EDT_PICKLE): 49 This function takes a 'chosen' property and treats that property as a path 81 This function takes a /chosen node property and returns the path 89 return node.path if node else "" 97 The 'node' argument is a string which is either a path or an 100 If 'name' is 'dt_path_enabled', 'node' is an alias or a path. If 186 This function takes a 'chosen' property and treats that property as a path 207 This function takes a 'chosen' property and treats that property as a path 241 def _dt_node_reg_addr(kconf, path, index=0, unit=None): argument [all …]
|
/Zephyr-Core-2.7.6/scripts/west_commands/ |
D | build_helpers.py | 15 from pathlib import Path 39 kwargs['source_dir'] = os.path.relpath(source_dir, cwd) 41 # no meaningful relative path possible 54 parts = Path(fmt).parts 55 b = Path('.') 61 # if fmt is an absolute path, the first iteration will always 63 b = Path(str(b).format(**kwargs)) 105 return os.path.abspath(build_dir) 109 def is_zephyr_build(path): argument 110 '''Return true if and only if `path` appears to be a valid Zephyr [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/shell/fs/ |
D | README.rst | 23 search path and that a 32-bit version of libfuse is installed. For more 81 fs mount (littlefs|fat) <path> 86 List all files and directories in a given path 90 fs ls [path] 95 Change current working directory to given path 99 fs cd [path] 118 fs write <path> [-o <offset>] <hex number> ... 127 fs read <path> 136 fs trunc <path> 145 fs mkdir <path> [all …]
|
/Zephyr-Core-2.7.6/scripts/west_commands/runners/ |
D | stm32cubeprogrammer.py | 10 from pathlib import Path 36 cli: Optional[Path], argument 57 # add required library loader path to the environment (Linux only) 62 def _get_stm32cubeprogrammer_path() -> Path: 63 """Obtain path of the STM32CubeProgrammer CLI tool.""" 67 Path.home() 77 Path("STMicroelectronics") 83 x86_path = Path(os.environ["PROGRAMFILES(X86)"]) / cli 87 return Path(os.environ["PROGRAMFILES"]) / cli 91 Path("/Applications") [all …]
|