Searched refs:read (Results 1 – 9 of 9) sorted by relevance
/zcbor-3.5.0-3.4.0/zcbor/ |
D | __init__.py | 19 __version__ = f.read()
|
D | zcbor.py | 1655 if f.read(1) != b'': 3021 cddl_contents = linesep.join((c.read() for c in args.cddl)) 3107 cddl_contents = linesep.join((c.read() for c in args.cddl)) 3117 cbor_str = cddl.from_yaml(f.read(), yaml_compat=args.yaml_compatibility) 3120 cbor_str = cddl.from_json(f.read(), yaml_compat=args.yaml_compatibility) 3123 cbor_str = bytes.fromhex(f.read().replace("\n", "")) 3127 cbor_str = f.read()
|
/zcbor-3.5.0-3.4.0/tests/fuzz/ |
D | main_entry.c | 23 ssize_t size = read(0, tmp_buffer, AFL_MAX_SIZE); in afl_read()
|
/zcbor-3.5.0-3.4.0/ |
D | add_helptext.py | 46 readme_contents = f.read()
|
D | setup.py | 41 return f.readline().strip() if title_only else absolute_links(f.read())
|
D | README.md | 32 - Create a read-only representation via named tuples (with names taken from the CDDL schema). 105 The zcbor.py script can directly read CBOR, YAML, or JSON data and validate it against a CDDL descr…
|
/zcbor-3.5.0-3.4.0/tests/unit/test1_unit_tests/src/ |
D | main.c | 101 size_t read; in ZTEST() local 117 zassert_false(zcbor_size_decode(&state_d, &read), NULL); // Negative number not supported. in ZTEST() 127 zassert_true(zcbor_size_decode(&state_d, &read), NULL); in ZTEST() 128 zassert_equal(read, UINT32_MAX, NULL); in ZTEST() 132 zassert_true(zcbor_size_decode(&state_d, &read), NULL); in ZTEST() 133 zassert_equal(read, UINT64_MAX, NULL); in ZTEST() 138 zassert_false(zcbor_size_decode(&state_d, &read), NULL); in ZTEST()
|
/zcbor-3.5.0-3.4.0/tests/scripts/ |
D | test_repo_files.py | 74 contents = f.read()
|
D | test_zcbor.py | 586 self.assertEqual(sub(r"\W+", "", f.read()), sub(r"\W+", "", stdout4.decode("utf-8"))) 632 cddl_res = zcbor.DataTranslator.from_cddl(f.read(), 16)
|