Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/Zephyr-Core-3.4.0/
Dwest.yml4 # path to the project containing this file in the [manifest] section's
5 # "path" variable.
33 repo-path: babblesim-manifest
35 path: tools/bsim
40 repo-path: base.git
41 path: tools/bsim/components
47 repo-path: ext_2G4_libPhyComv1.git
48 path: tools/bsim/components/ext_2G4_libPhyComv1
54 repo-path: ext_2G4_phy_v1.git
55 path: tools/bsim/components/ext_2G4_phy_v1
[all …]
/Zephyr-Core-3.4.0/tests/subsys/fs/littlefs/src/
Dtest_util.c18 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 …]
Dtest_lfs_basic.c77 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 …]
/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/
Dlwm2m_registry.c64 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 …]
Dlwm2m_observation.c175 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 …]
Dlwm2m_observation.h11 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 …]
Dlwm2m_registry.h33 * @brief Get the engine object instance specified by @p msg->path. Usually only used in do_write
36 * @param[in] msg lwm2m message containing the path to the object instance.
60 * @brief Get the resource instance specified by @p path. Creates and allocates a new one
63 * @param[in] path Path to resource instance (i.e 100/100/100/1)
68 int lwm2m_engine_get_create_res_inst(const struct lwm2m_obj_path *path,
77 * @param[in] pathstr Path to resource (i.e 100/100/100/x, the fourth component is optional)
84 * @brief Gets the resource specified by @p path.
86 * @param[in] path Path to resource (i.e 100/100/100/x, the fourth component is optional)
90 int lwm2m_get_resource(const struct lwm2m_obj_path *path, struct lwm2m_engine_res **res);
93 * @brief Returns pointer to the object in the registry specified by @p path.
[all …]
Dlwm2m_shell.c25 #define LWM2M_HELP_SEND "LwM2M SEND operation\nsend [OPTION]... [PATH]...\n" \
27 #define LWM2M_HELP_EXEC "Execute a resource\nexec PATH [PARAM]\n"
28 #define LWM2M_HELP_READ "Read value from LwM2M resource\nread PATH [OPTIONS]\n" \
36 #define LWM2M_HELP_WRITE "Write into LwM2M resource\nwrite PATH [OPTIONS] VALUE\n" \
54 "cache PATH NUM\n" \
55 "PATH is LwM2M path\n" \
71 shell_error(sh, "no path(s)\n"); in cmd_send()
82 /* translate path -> path_obj */ in cmd_send()
108 struct lwm2m_obj_path path; in cmd_exec() local
109 int ret = lwm2m_string_to_path(pathstr, &path, '/'); /* translate path -> path_obj */ in cmd_exec()
[all …]
/Zephyr-Core-3.4.0/tests/net/lib/lwm2m/engine/src/
Dlwm2m_observation.c21 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.4.0/doc/hardware/pinctrl/images/
Dhw-dist-control.svg53 <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 …]
Dhw-cent-control.svg56 <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.4.0/doc/build/dts/
Dmacros.bnf26 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.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dplugin.py9 from pathlib import Path
39 metavar='PATH',
42 '--build-dir path as default.'
78 metavar='PATH',
97 metavar='PATH',
102 metavar='PATH',
103 help='Path to file which should be flashed.'
107 metavar='PATH'
111 metavar='PATH'
115 metavar='PATH'
[all …]
/Zephyr-Core-3.4.0/subsys/fs/
Dshell.c58 static void create_abs_path(const char *name, char *path, size_t len) in create_abs_path() argument
61 strncpy(path, name, len); in create_abs_path()
62 path[len - 1] = '\0'; in create_abs_path()
66 *path++ = '/'; in create_abs_path()
69 strncpy(path, name, len); in create_abs_path()
70 path[len - 1] = '\0'; in create_abs_path()
72 strncpy(path, cwd, len); in create_abs_path()
73 path[len - 1] = '\0'; in create_abs_path()
75 size_t plen = strlen(path); in create_abs_path()
78 path += plen; in create_abs_path()
[all …]
Dfs_impl.h19 * @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,
Dfuse_fs_access.c65 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()
181 sprintf(mount_path, "%s/", path); in fuse_fs_access_readdir()
[all …]
Dfs_impl.c11 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.4.0/scripts/pylib/pytest-twister-harness/tests/
Dconftest.py5 from pathlib import Path
13 def resources(request: pytest.FixtureRequest) -> Path:
14 """Return path to `data` folder"""
15 return Path(request.module.__file__).parent.joinpath('data')
19 def copy_example(pytester) -> Path:
20 """Copy example tests to temporary directory and return path the temp directory."""
21 resources_dir = Path(__file__).parent / 'data'
23 return pytester.path
/Zephyr-Core-3.4.0/scripts/west_commands/
Dbuild_helpers.py16 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.4.0/samples/subsys/fs/fat_fs/src/
Dmain.c33 static int lsdir(const char *path);
37 char path[MAX_PATH]; in create_some_entries() local
43 if (base >= (sizeof(path) - SOME_REQUIRED_LEN)) { in create_some_entries()
49 strncpy(path, base_path, sizeof(path)); in create_some_entries()
51 path[base++] = '/'; in create_some_entries()
52 path[base] = 0; in create_some_entries()
53 strcat(&path[base], SOME_FILE_NAME); in create_some_entries()
55 if (fs_open(&file, path, FS_O_CREATE) != 0) { in create_some_entries()
56 LOG_ERR("Failed to create file %s", path); in create_some_entries()
61 path[base] = 0; in create_some_entries()
[all …]
/Zephyr-Core-3.4.0/scripts/tests/twister/
Dtest_runner.py18 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")
113 os.path.join('zephyr', 'zephyr.hex'),
114 os.path.join('zephyr', 'zephyr.bin'),
115 os.path.join('zephyr', 'zephyr.elf'),
116 os.path.join('zephyr', 'zephyr.exe'),
125 platform_binaries_expected = [os.path.join('zephyr', bin) for bin in platform_binaries]
[all …]
/Zephyr-Core-3.4.0/scripts/dts/
Dgen_dts_cmake.py35 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.4.0/scripts/
Dget_maintainer.py16 ./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.4.0/modules/openthread/platform/
Dsettings.c43 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.4.0/include/zephyr/net/
Dlwm2m.h103 * @param[in] path LwM2M path
108 typedef void (*lwm2m_observe_cb_t)(enum lwm2m_observe_event event, struct lwm2m_obj_path *path,
664 * @param[in] pathstr LwM2M path string "obj/obj-inst/res"
682 * @param[in] path LwM2M path as a struct
688 const struct lwm2m_obj_path *path, uint32_t period_s);
701 * @param[in] pathstr LwM2M path string "obj/obj-inst/res"
719 * @param[in] path LwM2M path as a struct
725 const struct lwm2m_obj_path *path, uint32_t period_s);
736 * @param[in] pathstr LwM2M path string "obj/obj-inst"
750 * @param[in] path LwM2M path as a struct
[all …]

12345678910>>...35