Searched refs:path (Results 1 – 5 of 5) sorted by relevance
/zcbor-3.6.0/tests/scripts/ |
D | test_repo_files.py | 70 def cmake_build_run(self, path, build_path): argument 73 with open(path / 'README.md', 'r', encoding="utf-8") as f: 83 os.chdir(path) 160 def do_test_links(self, path): argument 165 text = path.read_text(encoding="utf-8") 167 relative_path = str(path.relative_to(p_root).parent) 175 m = m if not m.startswith("#") else path.name + m
|
/zcbor-3.6.0/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-3.6.0/ |
D | README.md | 167 …ion file(s)> -t <which CDDL type(s) to expose in the API> --output-cmake <path to place the genera… 168 …ype(s) to expose in the API> --oc <path to the generated C file> --oh <path to the generated heade… 197 When calling zcbor with the argument `--output-cmake <file path>`, a CMake file will be created at … 461 specified, the path and name will be based on the 470 If not specified, the path and name will be based on 477 between decode and encode). If not specified, the path 510 When #include'ing generated files, add this path
|
D | RELEASE_NOTES.md | 300 * Add the `--include-prefix` option for path prefix to generated h files. 352 * zcbor.py: Avoid #include-ing the full path of the type file.
|
/zcbor-3.6.0/zcbor/ |
D | zcbor.py | 10 from os import path, linesep, makedirs 2555 return path.basename(file_name).replace(".", "_").replace("-", "_").upper() + "__" 2769 Path("${CMAKE_CURRENT_LIST_DIR}") / path.relpath(Path(p), cmake_dir)) 2793 makedirs("./" + path.dirname(c_files[mode].name), exist_ok=True) 3058 def create_and_open(path, mode='w'): argument 3059 Path(path).absolute().parent.mkdir(parents=True, exist_ok=True) 3060 return Path(path).open(mode) 3128 _, in_file_ext = path.splitext(args.input) 3149 _, out_file_ext = path.splitext(args.output)
|