Searched refs:path (Results 1 – 5 of 5) sorted by relevance
| /zcbor-latest/tests/scripts/ |
| D | test_repo_files.py | 72 def cmake_build_run(self, path, build_path): argument 75 with open(path / 'README.md', 'r', encoding="utf-8") as f: 85 os.chdir(path) 164 def do_test_links(self, path, allow_local=True): argument 169 text = path.read_text(encoding="utf-8") 173 relative_path = str(path.relative_to(p_root).parent) 184 link = path.name + m
|
| /zcbor-latest/tests/unit/test3_float16/ |
| D | floats.py | 16 with open(os.path.join(sys.argv[1], "fp_bytes_decode.bin"), 'wb') as f: 28 with open(os.path.join(sys.argv[1], "fp_bytes_encode.bin"), 'wb') as f:
|
| /zcbor-latest/ |
| D | README.md | 172 …ion file(s)> -t <which CDDL type(s) to expose in the API> --output-cmake <path to place the genera… 173 …ype(s) to expose in the API> --oc <path to the generated C file> --oh <path to the generated heade… 202 When calling zcbor with the argument `--output-cmake <file path>`, a CMake file will be created at … 484 specified, the path and name will be based on the 493 If not specified, the path and name will be based on 500 between decode and encode). If not specified, the path 533 When #include'ing generated files, add this path 544 path to a file. If interpreted as a path to an
|
| D | RELEASE_NOTES.md | 26 * Allow --file-header to accept a path to a file with header contents 377 * Add the `--include-prefix` option for path prefix to generated h files. 429 * zcbor.py: Avoid #include-ing the full path of the type file.
|
| /zcbor-latest/zcbor/ |
| D | zcbor.py | 10 from os import path, linesep, makedirs 2686 return path.basename(file_name).replace(".", "_").replace("-", "_").upper() + "__" 2935 Path("${CMAKE_CURRENT_LIST_DIR}") / path.relpath(Path(p), cmake_dir)) 2963 makedirs(path.dirname(Path(c_files[mode].name).absolute()), exist_ok=True) 3232 def create_and_open(path): argument 3233 Path(path).absolute().parent.mkdir(parents=True, exist_ok=True) 3234 return Path(path).open('w', encoding='utf-8') 3303 _, in_file_ext = path.splitext(args.input) 3324 _, out_file_ext = path.splitext(args.output)
|