Searched full:path (Results 1 – 13 of 13) sorted by relevance
| /zcbor-latest/scripts/ |
| D | update_version.py | 8 from pathlib import Path 12 p_root = Path(__file__).absolute().parents[1] 13 p_VERSION = Path(p_root, 'zcbor', 'VERSION') 14 p_RELEASE_NOTES = Path(p_root, 'RELEASE_NOTES.md') 15 p_MIGRATION_GUIDE = Path(p_root, 'MIGRATION_GUIDE.md') 16 p_common_h = Path(p_root, 'include', 'zcbor_common.h')
|
| D | regenerate_samples.py | 10 from pathlib import Path 15 p_root = Path(__file__).absolute().parents[1] 24 tmpdir = Path(mkdtemp()) 33 tmpdir = Path(mkdtemp())
|
| D | add_helptext.py | 10 from pathlib import Path 13 p_root = Path(__file__).absolute().parents[1] 14 p_README = Path(p_root, 'README.md')
|
| /zcbor-latest/tests/scripts/ |
| D | test_repo_files.py | 8 from pathlib import Path 23 p_root = Path(__file__).absolute().parents[2] 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 165 """Get all Markdown links in the file at <path> and check that they work.""" 169 text = path.read_text(encoding="utf-8") 173 relative_path = str(path.relative_to(p_root).parent) 184 link = path.name + m [all …]
|
| D | test_zcbor.py | 10 from pathlib import Path 34 p_root = Path(__file__).absolute().parents[2] 35 p_tests = Path(p_root, 'tests') 36 p_cases = Path(p_tests, 'cases') 37 p_manifest12 = Path(p_cases, 'manifest12.cddl') 38 p_manifest14 = Path(p_cases, 'manifest14.cddl') 39 p_manifest16 = Path(p_cases, 'manifest16.cddl') 40 p_manifest20 = Path(p_cases, 'manifest20.cddl') 41 p_test_vectors12 = tuple(Path(p_cases, f'manifest12_example{i}.cborhex') for i in range(6)) 42 p_test_vectors14 = tuple(Path(p_cases, f'manifest14_example{i}.cborhex') for i in range(6)) [all …]
|
| D | test_versions.py | 9 from pathlib import Path 14 p_script_dir = Path(__file__).absolute().parents[0]
|
| /zcbor-latest/zcbor/ |
| D | zcbor.py | 10 from os import path, linesep, makedirs 24 from pathlib import Path, PurePath, PurePosixPath 35 SCRIPT_PATH = Path(__file__).absolute().parent 36 PACKAGE_PATH = Path(__file__).absolute().parents[1] 1149 """"Path" to this element's variable.""" 1155 """"Path" to access this element's actual value variable.""" 1332 """Full "path" of the "present" variable for this element.""" 1340 """Full "path" of the "count" variable for this element.""" 1357 """Full "path" of the "choice" variable for this element.""" 2686 return path.basename(file_name).replace(".", "_").replace("-", "_").upper() + "__" [all …]
|
| /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 … 464 -c CDDL, --cddl CDDL Path to one or more input CDDL file(s). Passing 481 Path to output C file. If both --decode and --encode 484 specified, the path and name will be based on the 490 Path to output header file. If both --decode and 493 If not specified, the path and name will be based on 499 Path to output header file with typedefs (shared 500 between decode and encode). If not specified, the path [all …]
|
| D | __init__.py | 8 from pathlib import Path
|
| 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/.github/actions/prepare_and_run_tests/ |
| D | action.yaml | 39 export PATH="$HOME/.local/bin:$PATH"
|
| /zcbor-latest/.github/workflows/ |
| D | run-tests.yaml | 76 Rename-Item -Path zephyr-sdk-${env:ZEPHYR_SDK_VERSION} -NewName zephyr-sdk 239 path: tests/fuzz/build-afl/output/default/crashes/ 245 path: dist/*
|