Home
last modified time | relevance | path

Searched refs:read (Results 1 – 9 of 9) sorted by relevance

/zcbor-3.5.0-3.4.0/zcbor/
D__init__.py19 __version__ = f.read()
Dzcbor.py1655 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/
Dmain_entry.c23 ssize_t size = read(0, tmp_buffer, AFL_MAX_SIZE); in afl_read()
/zcbor-3.5.0-3.4.0/
Dadd_helptext.py46 readme_contents = f.read()
Dsetup.py41 return f.readline().strip() if title_only else absolute_links(f.read())
DREADME.md32 - 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/
Dmain.c101 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/
Dtest_repo_files.py74 contents = f.read()
Dtest_zcbor.py586 self.assertEqual(sub(r"\W+", "", f.read()), sub(r"\W+", "", stdout4.decode("utf-8")))
632 cddl_res = zcbor.DataTranslator.from_cddl(f.read(), 16)