Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/subsys/tracing/
Dtracing_backend_posix.c13 static const char *file_name; variable
17 if (file_name == NULL) { in tracing_backend_posix_init()
18 file_name = "channel0_0"; in tracing_backend_posix_init()
21 out_stream = tracing_backend_posix_init_bottom(file_name); in tracing_backend_posix_init()
50 .dest = (void *)&file_name, in tracing_backend_posix_option()
Dtracing_backend_posix_bottom.c11 void *tracing_backend_posix_init_bottom(const char *file_name) in tracing_backend_posix_init_bottom() argument
15 f = fopen(file_name, "wb"); in tracing_backend_posix_init_bottom()
18 __func__, file_name); in tracing_backend_posix_init_bottom()
Dtracing_backend_posix_bottom.h20 void *tracing_backend_posix_init_bottom(const char *file_name);
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_hardwaremap.py112 file_name = "test-map.yaml"
113 path = os.path.join(ZEPHYR_BASE, file_name)
114 args = ['--outdir', out_path, '--generate-hardware-map', file_name]
164 file_name = "test-map.yaml"
165 path = os.path.join(ZEPHYR_BASE, file_name)
166 args = ['--outdir', out_path, '--generate-hardware-map', file_name]
245 file_name = "test-map.yaml"
246 path = os.path.join(ZEPHYR_BASE, file_name)
247 args = ['--outdir', out_path, '--generate-hardware-map', file_name]
Dtest_report.py140 def test_platform_reports(self, capfd, out_path, test_path, test_platforms, file_name): argument
154 for f_name in file_name:
189 def test_report_suffix(self, capfd, out_path, test_path, test_platforms, file_name): argument
203 for f_name in file_name:
218 def test_report_name(self, capfd, out_path, test_path, test_platforms, report_arg, file_name): argument
235 for f_name in file_name:
248 def test_report_dir(self, capfd, out_path, test_path, test_platforms, file_name, dir_name): argument
267 for f_name in file_name:
285 def test_outdir(self, capfd, test_path, test_platforms, file_name, dir_name): argument
304 for f_name in file_name:
[all …]
Dtest_coverage.py164 def test_coverage(self, capfd, test_path, test_platforms, out_path, file_name): argument
181 for f_name in file_name:
220 …def test_coverage_basedir(self, capfd, test_path, test_platforms, out_path, file_name, expected_co… argument
241 for f_name in file_name:
266 def test_coverage_format(self, capfd, out_path, cov_tool, file_name, cov_format): argument
285 for f_name in file_name:
/Zephyr-latest/scripts/
Dlist_shields.py47 file_name = maybe_overlay.name
48 if file_name.endswith('.overlay'):
49 shield_name = file_name[:-len('.overlay')]
Dgen_gcov_files.py34 file_name = line.split("<")[0][1:]
37 extracted_coverage_info.update({file_name: hex_dump})
/Zephyr-latest/modules/mbedtls/
Dcreate_psa_files.py108 def generate_output_file(content: str, file_name: str):
109 with open(file_name, "wt") as output_file:
112 def check_file(content: str, file_name: str):
114 with open(file_name) as input_file:
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dconftest.py29 file_name = build_dir / 'zephyr' / '.config'
32 with open(file_name) as fp:
Dsaleae_logic2.py45 file_name = Path(output_dir) / 'digital.csv'
46 all_data = np.loadtxt(file_name, delimiter=',', skiprows=1, usecols=0)
/Zephyr-latest/cmake/compiler/host-gcc/
Dtarget.cmake29 foreach(file_name include/stddef.h)
31 COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name}
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs.c28 int temp_open(struct fs_file_t *zfp, const char *file_name, fs_mode_t flags) in temp_open() argument
30 if (zfp == NULL || file_name == NULL) { in temp_open()
35 if (strcmp(zfp->filep, file_name) == 0) { in temp_open()
45 zfp->filep = (char *)file_name; in temp_open()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c352 char file_name[CONFIG_MCUMGR_GRP_FS_PATH_LEN + 1]; in fs_mgmt_file_upload() local
374 .filename = file_name, in fs_mgmt_file_upload()
385 if (!ok || off == ULLONG_MAX || name.len == 0 || name.len > (sizeof(file_name) - 1) || in fs_mgmt_file_upload()
390 memcpy(file_name, name.value, name.len); in fs_mgmt_file_upload()
391 file_name[name.len] = '\0'; in fs_mgmt_file_upload()
400 strcmp(file_name, fs_mgmt_ctxt.path)) { in fs_mgmt_file_upload()
424 rc = fs_open(&fs_mgmt_ctxt.file, file_name, FS_O_CREATE | FS_O_WRITE); in fs_mgmt_file_upload()
441 strcpy(fs_mgmt_ctxt.path, file_name); in fs_mgmt_file_upload()
453 rc = fs_mgmt_filelen(file_name, &existing_file_size); in fs_mgmt_file_upload()
461 rc = fs_mgmt_filelen(file_name, &fs_mgmt_ctxt.off); in fs_mgmt_file_upload()
[all …]
/Zephyr-latest/cmake/compiler/icx/
Dtarget.cmake23 foreach(file_name include/stddef.h)
25 COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name}
/Zephyr-latest/scripts/footprint/
Dcompare_footprint94 file_name = "tmp.csv"
97 file_name = RELEASE_DATA
99 file_name = "%s.csv" % commit
101 return os.path.join(cwd,'scripts', 'sanity_chk', file_name)
/Zephyr-latest/scripts/west_commands/
Dbindesc.py216 def get_image_data(self, file_name): argument
218 with open(file_name, 'rb') as bin_file:
222 return IntelHex(file_name).tobinstr()
225 with open(file_name, 'rb') as uf2_file:
229 with open(file_name, 'rb') as f:
/Zephyr-latest/cmake/compiler/armclang/
Dtarget.cmake51 foreach(file_name include/stddef.h)
53 COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name}
/Zephyr-latest/cmake/compiler/xcc/
Dtarget.cmake32 foreach(file_name include/stddef.h include-fixed/limits.h)
34 COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name}
/Zephyr-latest/subsys/settings/src/
Dsettings_file.c206 const char *file_name) in settings_file_create_or_replace() argument
210 if (fs_stat(file_name, &entry) == 0) { in settings_file_create_or_replace()
212 if (fs_unlink(file_name)) { in settings_file_create_or_replace()
220 return fs_open(zfp, file_name, FS_O_CREATE | FS_O_RDWR); in settings_file_create_or_replace()
/Zephyr-latest/subsys/fs/
Dfs.c133 int fs_open(struct fs_file_t *zfp, const char *file_name, fs_mode_t flags) in fs_open() argument
139 if ((file_name == NULL) || in fs_open()
140 (strlen(file_name) <= 1) || (file_name[0] != '/')) { in fs_open()
149 rc = fs_get_mnt_point(&mp, file_name, NULL); in fs_open()
178 rc = mp->fs->open(zfp, file_name, flags); in fs_open()
/Zephyr-latest/doc/_extensions/zephyr/
Dapi_overview.py106 file_name = Path(dir_name) / f"{compound.get_refid()}.xml"
107 groups.append(doxmlparser.compound.parse(file_name, True))
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dcoverage.py70 file_name = sp[0][1:]
77 if file_name in extracted_coverage_info:
78 extracted_coverage_info[file_name].append(hex_dump)
80 extracted_coverage_info[file_name] = [hex_dump]
/Zephyr-latest/cmake/compiler/clang/
Dtarget.cmake44 foreach(file_name include/stddef.h)
46 COMMAND ${CMAKE_C_COMPILER} --print-file-name=${file_name}
/Zephyr-latest/scripts/tests/twister/
Dtest_scl.py192 def mock_load(file_name, *args, **kwargs): argument
193 assert file_name == filename

12