/Zephyr-Core-3.5.0/ |
D | west.yml | 4 # path to the project containing this file in the [manifest] section's 5 # "path" variable. 34 path: modules/lib/acpica 36 repo-path: babblesim-manifest 38 path: tools/bsim 43 repo-path: base.git 44 path: tools/bsim/components 50 repo-path: ext_2G4_libPhyComv1.git 51 path: tools/bsim/components/ext_2G4_libPhyComv1 57 repo-path: ext_2G4_phy_v1.git [all …]
|
/Zephyr-Core-3.5.0/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 ZTEST() 32 path.path, in ZTEST() 34 zassert_equal(strcmp(path.path, "/"), 0, "bad root init path"); in ZTEST() 36 zassert_equal(testfs_path_init(&path, &mnt, TESTFS_PATH_END), in ZTEST() 37 path.path, in ZTEST() 39 zassert_equal(strcmp(path.path, mnt.mnt_point), 0, "bad mnt init path"); in ZTEST() 47 testfs_path_init(&path, &invalid, TESTFS_PATH_END); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_registry.c | 64 const struct lwm2m_obj_path *path, const void *value, 123 struct lwm2m_engine_obj *lwm2m_engine_get_obj(const struct lwm2m_obj_path *path) in lwm2m_engine_get_obj() argument 125 if (path->level < LWM2M_PATH_LEVEL_OBJECT) { in lwm2m_engine_get_obj() 129 return get_engine_obj(path->obj_id); in lwm2m_engine_get_obj() 284 int lwm2m_create_object_inst(const struct lwm2m_obj_path *path) in lwm2m_create_object_inst() argument 289 if (path->level != LWM2M_PATH_LEVEL_OBJECT_INST) { in lwm2m_create_object_inst() 290 LOG_ERR("path must have 2 parts"); in lwm2m_create_object_inst() 294 ret = lwm2m_create_obj_inst(path->obj_id, path->obj_inst_id, &obj_inst); in lwm2m_create_object_inst() 306 struct lwm2m_obj_path path; in lwm2m_engine_create_obj_inst() local 309 LOG_DBG("path:%s", pathstr); in lwm2m_engine_create_obj_inst() [all …]
|
D | lwm2m_observation.c | 175 static bool lwm2m_notify_observer_list(sys_slist_t *path_list, const struct lwm2m_obj_path *path) in lwm2m_notify_observer_list() argument 180 if (lwm2m_observer_path_compare(&o_p->path, path)) { in lwm2m_notify_observer_list() 190 struct lwm2m_obj_path path; in lwm2m_notify_observer() local 192 path.level = LWM2M_PATH_LEVEL_RESOURCE; in lwm2m_notify_observer() 193 path.obj_id = obj_id; in lwm2m_notify_observer() 194 path.obj_inst_id = obj_inst_id; in lwm2m_notify_observer() 195 path.res_id = res_id; in lwm2m_notify_observer() 197 return lwm2m_notify_observer_path(&path); in lwm2m_notify_observer() 200 static int engine_observe_get_attributes(const struct lwm2m_obj_path *path, in engine_observe_get_attributes() argument 215 obj = get_engine_obj(path->obj_id); in engine_observe_get_attributes() [all …]
|
D | lwm2m_observation.h | 11 int lwm2m_notify_observer_path(const struct lwm2m_obj_path *path); 17 sys_slist_t path_list; /* List of Observation path */ 55 /* path object list */ 58 struct lwm2m_obj_path path; member 60 /* Initialize path list */ 65 * Add new path to the list while maintaining hierarchical sort order 67 * @param lwm2m_path_list sorted path list 69 * @param path path to be added 73 const struct lwm2m_obj_path *path); 75 int lwm2m_get_path_reference_ptr(struct lwm2m_engine_obj *obj, const struct lwm2m_obj_path *path, [all …]
|
D | lwm2m_shell.c | 26 #define LWM2M_HELP_EXEC "exec PATH [PARAM]\nExecute a resource\n" 27 #define LWM2M_HELP_READ "read PATH [OPTIONS]\nRead value from LwM2M resource\n" \ 35 #define LWM2M_HELP_WRITE "write PATH [OPTIONS] VALUE\nWrite into LwM2M resource\n" \ 42 #define LWM2M_HELP_CREATE "create PATH\nCreate object instance\n" 53 #define LWM2M_HELP_CACHE "cache PATH NUM\nEnable data cache for resource\n" \ 54 "PATH is LwM2M path\n" \ 70 shell_error(sh, "no path(s)\n"); in cmd_send() 81 /* translate path -> path_obj */ in cmd_send() 107 struct lwm2m_obj_path path; in cmd_exec() local 108 int ret = lwm2m_string_to_path(pathstr, &path, '/'); /* translate path -> path_obj */ in cmd_exec() [all …]
|
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/engine/src/ |
D | lwm2m_observation.c | 21 static bool lwm2m_path_object_equal_upto(struct lwm2m_obj_path *path, in lwm2m_path_object_equal_upto() argument 25 if (level >= LWM2M_PATH_LEVEL_OBJECT && path->obj_id != compare_path->obj_id) { in lwm2m_path_object_equal_upto() 30 path->obj_inst_id != compare_path->obj_inst_id) { in lwm2m_path_object_equal_upto() 34 if (level >= LWM2M_PATH_LEVEL_RESOURCE && path->res_id != compare_path->res_id) { in lwm2m_path_object_equal_upto() 39 path->res_inst_id != compare_path->res_inst_id) { in lwm2m_path_object_equal_upto() 63 if (entry->path.level > prev->path.level) { in assert_path_list_order() 67 if (prev->path.level >= LWM2M_PATH_LEVEL_OBJECT) { in assert_path_list_order() 68 is_after = entry->path.obj_id >= prev->path.obj_id; in assert_path_list_order() 70 if (is_after && prev->path.level >= LWM2M_PATH_LEVEL_OBJECT_INST && in assert_path_list_order() 71 entry->path.obj_id == prev->path.obj_id) { in assert_path_list_order() [all …]
|
/Zephyr-Core-3.5.0/doc/hardware/pinctrl/images/ |
D | hw-dist-control.svg | 53 <path d="M 580,1141 L 1163,571 580,0 -4,571 580,1141 Z"/> 56 <path d="M 8,1128 L 1137,1128 1137,0 8,0 8,1128 Z"/> 59 <path d="M 174,0 L 602,739 174,1481 1456,739 174,0 Z M 1358,739 L 309,1346 659,739 1358,739 Z"/> 62 …<path d="M 2015,739 L 1276,0 717,0 1260,543 174,543 174,936 1260,936 717,1481 1274,1481 2015,739 Z… 65 …<path d="M 0,-2 C -7,14 -16,27 -25,37 L 356,567 C 262,823 215,952 215,954 215,979 228,992 255,992 … 68 …<path d="M 285,-33 C 182,-33 111,30 74,156 52,228 41,333 41,471 41,549 55,616 82,672 116,743 169,7… 71 …<path d="M 813,0 C 632,0 489,54 383,161 276,268 223,411 223,592 223,773 276,916 383,1023 489,1130 … 74 …<path d="M 346,457 C 273,457 209,483 155,535 101,586 74,649 74,723 74,796 101,859 155,911 209,963 … 77 <path d="M -4,459 L 1135,459 1135,606 -4,606 -4,459 Z"/> 80 …<path d="M 173,740 C 173,903 231,1043 346,1159 462,1274 601,1332 765,1332 928,1332 1067,1274 1183,… [all …]
|
D | hw-cent-control.svg | 56 <path d="M 580,1141 L 1163,571 580,0 -4,571 580,1141 Z"/> 59 <path d="M 8,1128 L 1137,1128 1137,0 8,0 8,1128 Z"/> 62 <path d="M 174,0 L 602,739 174,1481 1456,739 174,0 Z M 1358,739 L 309,1346 659,739 1358,739 Z"/> 65 …<path d="M 2015,739 L 1276,0 717,0 1260,543 174,543 174,936 1260,936 717,1481 1274,1481 2015,739 Z… 68 …<path d="M 0,-2 C -7,14 -16,27 -25,37 L 356,567 C 262,823 215,952 215,954 215,979 228,992 255,992 … 71 …<path d="M 285,-33 C 182,-33 111,30 74,156 52,228 41,333 41,471 41,549 55,616 82,672 116,743 169,7… 74 …<path d="M 813,0 C 632,0 489,54 383,161 276,268 223,411 223,592 223,773 276,916 383,1023 489,1130 … 77 …<path d="M 346,457 C 273,457 209,483 155,535 101,586 74,649 74,723 74,796 101,859 155,911 209,963 … 80 <path d="M -4,459 L 1135,459 1135,606 -4,606 -4,459 Z"/> 83 …<path d="M 173,740 C 173,903 231,1043 346,1159 462,1274 601,1332 765,1332 928,1332 1067,1274 1183,… [all …]
|
/Zephyr-Core-3.5.0/doc/build/dts/ |
D | macros.bnf | 26 node-macro =/ %s"DT_N" path-id %s"_EXISTS" 30 node-macro =/ %s"DT_N" path-id %s"_BUS" ["_" dt-name] 32 node-macro =/ %s"DT_N" path-id %s"_REG_NUM" 33 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT "_EXISTS" 34 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT 36 node-macro =/ %s"DT_N" path-id %s"_REG_NAME_" dt-name 39 node-macro =/ %s"DT_N" path-id %s"_IRQ_NUM" 40 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT "_EXISTS" 41 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT 43 node-macro =/ %s"DT_N" path-id %s"_IRQ_NAME_" dt-name [all …]
|
/Zephyr-Core-3.5.0/subsys/fs/ |
D | shell.c | 87 static void create_abs_path(const char *name, char *path, size_t len) in create_abs_path() argument 90 strncpy(path, name, len); in create_abs_path() 91 path[len - 1] = '\0'; in create_abs_path() 95 *path++ = '/'; in create_abs_path() 98 strncpy(path, name, len); in create_abs_path() 99 path[len - 1] = '\0'; in create_abs_path() 101 strncpy(path, cwd, len); in create_abs_path() 102 path[len - 1] = '\0'; in create_abs_path() 104 size_t plen = strlen(path); in create_abs_path() 107 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 69 sprintf(dir_path, "%s", path); in is_mount_point() 73 static int fuse_fs_access_getattr(const char *path, struct stat *stat) in fuse_fs_access_getattr() argument 90 if ((strcmp(path, "/") == 0) || is_mount_point(path)) { in fuse_fs_access_getattr() 91 if (strstr(path, "/.") != NULL) { in fuse_fs_access_getattr() 99 err = fs_stat(path, &entry); in fuse_fs_access_getattr() 156 static int fuse_fs_access_readdir(const char *path, void *buf, in fuse_fs_access_readdir() argument 168 if (strcmp(path, "/") == 0) { in fuse_fs_access_readdir() 174 if (is_mount_point(path)) { in fuse_fs_access_readdir() 180 size_t len = strlen(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-3.5.0/submanifests/ |
D | optional.yaml | 8 path: modules/lib/chre 14 path: modules/lib/lz4 20 path: modules/lib/nanopb 26 path: modules/tee/tf-m/psa-arch-tests 32 path: modules/audio/sof 38 path: modules/tee/tf-m/tf-m-tests 44 path: optional/modules/lib/tflite-micro 45 repo-path: tflite-micro 50 path: optional/modules/lib/thrift 56 path: modules/lib/zscilib
|
/Zephyr-Core-3.5.0/tests/subsys/fs/common/ |
D | test_fs_basic.c | 24 struct testfs_path path; in create_write_hello() local 31 testfs_path_init(&path, mp, in create_write_hello() 40 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 55 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 76 zassert_equal(fs_stat(path.path, &stat), in create_write_hello() 92 struct testfs_path path; in verify_hello() local 99 testfs_path_init(&path, mp, in verify_hello() 124 struct testfs_path path; in seek_within_hello() local 131 testfs_path_init(&path, mp, in seek_within_hello() 143 zassert_equal(fs_stat(path.path, &stat), in seek_within_hello() [all …]
|
/Zephyr-Core-3.5.0/scripts/west_commands/ |
D | build_helpers.py | 16 from pathlib import Path 23 script_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 24 sys.path.insert(0, os.path.join(script_dir, "pylib/build_helpers/")) 46 kwargs['source_dir'] = os.path.relpath(source_dir, cwd) 48 # no meaningful relative path possible 61 parts = Path(fmt).parts 62 b = Path('.') 68 # if fmt is an absolute path, the first iteration will always 70 b = Path(str(b).format(**kwargs)) 112 return os.path.abspath(build_dir) [all …]
|
/Zephyr-Core-3.5.0/scripts/tests/twister/ |
D | test_runner.py | 18 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 64 build_dir_zephyr_path = os.path.join(project_builder.instance.build_dir, 'zephyr') 66 runners_file_path = os.path.join(build_dir_zephyr_path, 'runners.yaml') 70 'hex_file': os.path.join(build_dir_zephyr_path, 'zephyr.elf'), 80 @mock.patch("os.path.exists") 114 os.path.join('zephyr', 'zephyr.hex'), 115 os.path.join('zephyr', 'zephyr.bin'), 116 os.path.join('zephyr', 'zephyr.elf'), 117 os.path.join('zephyr', 'zephyr.exe'), 126 platform_binaries_expected = [os.path.join('zephyr', bin) for bin in platform_binaries] [all …]
|
/Zephyr-Core-3.5.0/scripts/dts/ |
D | gen_dts_cmake.py | 35 dt_prop(compat PATH "/soc" PROPERTY compatible INDEX 0) 48 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree', 57 help="path to write the CMake property file") 59 help="path to read the pickled edtlib.EDT object from") 89 path = chosen_nodes[node].path 90 cmake_props.append(f'"DT_CHOSEN|{node}" "{path}"') 95 path = node.path 97 cmake_props.append(f'"DT_ALIAS|{alias}" "{path}"') 101 cmake_props.append(f'"DT_NODE|{node.path}" TRUE') 104 cmake_props.append(f'"DT_NODELABEL|{label}" "{node.path}"') [all …]
|
/Zephyr-Core-3.5.0/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") 167 The path to the maintainers file 174 Path to the maintainers file to parse. If None, MAINTAINERS.yml in 178 self._toplevel = pathlib.Path(_git("rev-parse", "--show-toplevel")) [all …]
|
/Zephyr-Core-3.5.0/samples/subsys/fs/fs_sample/src/ |
D | main.c | 58 static int lsdir(const char *path); 62 char path[MAX_PATH]; in create_some_entries() local 68 if (base >= (sizeof(path) - SOME_REQUIRED_LEN)) { in create_some_entries() 74 strncpy(path, base_path, sizeof(path)); in create_some_entries() 76 path[base++] = '/'; in create_some_entries() 77 path[base] = 0; in create_some_entries() 78 strcat(&path[base], SOME_FILE_NAME); in create_some_entries() 80 if (fs_open(&file, path, FS_O_CREATE) != 0) { in create_some_entries() 81 LOG_ERR("Failed to create file %s", path); in create_some_entries() 86 path[base] = 0; in create_some_entries() [all …]
|
/Zephyr-Core-3.5.0/modules/openthread/platform/ |
D | settings.c | 43 char path[OT_SETTINGS_MAX_PATH_LEN]; in ot_setting_delete_cb() local 60 ret = snprintk(path, sizeof(path), "%s%s%s", ctx->subtree, in ot_setting_delete_cb() 62 __ASSERT(ret < sizeof(path), "Setting path buffer too small."); in ot_setting_delete_cb() 64 LOG_DBG("Removing: %s", path); in ot_setting_delete_cb() 66 ret = settings_delete(path); in ot_setting_delete_cb() 68 LOG_ERR("Failed to remove setting %s, ret %d", path, in ot_setting_delete_cb() 103 __ASSERT(ret < sizeof(subtree), "Setting path buffer too small."); in ot_setting_delete_subtree() 132 static bool ot_setting_exists(const char *path) in ot_setting_exists() argument 136 (void)settings_load_subtree_direct(path, ot_setting_exists_cb, &exists); in ot_setting_exists() 224 char path[OT_SETTINGS_MAX_PATH_LEN]; in otPlatSettingsGet() local [all …]
|
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/ |
D | twister_harness_config.py | 9 from pathlib import Path 19 build_dir: Path 30 pre_script: Path | None = None 31 post_script: Path | None = None 32 post_flash_script: Path | None = None 73 def _cast_to_path(path: str | None) -> Path | None: 74 if path is None: 76 return Path(path)
|
D | plugin.py | 44 metavar='PATH', 90 metavar='PATH', 95 metavar='PATH', 100 metavar='PATH', 121 if not os.path.isdir(config.option.build_dir): 135 def _normalize_path(path: str | None) -> str: 136 if path is not None: 137 path = os.path.expanduser(os.path.expandvars(path)) 138 path = os.path.normpath(os.path.abspath(path)) 139 return path
|
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/ |
D | coverage.py | 100 with open(os.path.join(outdir, "coverage.log"), "a") as coveragelog: 104 … "html": "HTML report generated: {}".format(os.path.join(outdir, "coverage", "index.html")), 105 … "lcov": "LCOV report generated: {}".format(os.path.join(outdir, "coverage.info")), 106 … "xml": "XML report generated: {}".format(os.path.join(outdir, "coverage", "coverage.xml")), 107 … "csv": "CSV report generated: {}".format(os.path.join(outdir, "coverage", "coverage.csv")), 108 … "txt": "TXT report generated: {}".format(os.path.join(outdir, "coverage", "coverage.txt")), 109 …"coveralls": "Coveralls report generated: {}".format(os.path.join(outdir, "coverage", "coverage.co… 110 …"sonarqube": "Sonarqube report generated: {}".format(os.path.join(outdir, "coverage", "coverage.so… 130 coveragefile = os.path.join(outdir, "coverage.info") 131 ztestfile = os.path.join(outdir, "ztest.info") [all …]
|