Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 28) sorted by relevance

12

/zcbor-3.7.0/tests/encode/test3_corner_cases/src/
Dmain.c41 uint8_t output[100]; in ZTEST() local
52 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
53 sizeof(output), &numbers, &out_len), NULL); in ZTEST()
56 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
57 sizeof(output), &numbers, &out_len), NULL); in ZTEST()
60 zassert_equal(ZCBOR_SUCCESS, cbor_encode_Numbers(output, in ZTEST()
61 sizeof(output), &numbers, &out_len), NULL); in ZTEST()
63 zassert_mem_equal(exp_payload_numbers1, output, sizeof(exp_payload_numbers1), NULL); in ZTEST()
66 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
67 sizeof(output), &numbers, &out_len), NULL); in ZTEST()
[all …]
/zcbor-3.7.0/tests/fuzz/
DCMakeLists.txt24 --output-cmake ${PROJECT_BINARY_DIR}/pet.cmake
36 --output ${PROJECT_BINARY_DIR}/fuzz_input/input0.cbor
37 --output-as cbor
49 --output-cmake ${PROJECT_BINARY_DIR}/manifest12.cmake
62 --output ${PROJECT_BINARY_DIR}/fuzz_input/input${n}.cbor
63 --output-as cbor
76 --output-cmake ${PROJECT_BINARY_DIR}/everything.cmake
89 --output ${PROJECT_BINARY_DIR}/fuzz_input/input${n}.cbor
90 --output-as cbor
Dtest-afl.sh22 afl-fuzz -i build-afl/fuzz_input -o build-afl/output -V $1 -- ./build-afl/fuzz_target
23 exit $(find build-afl/output/default/crashes/ -type f -printf x | wc -c)
/zcbor-3.7.0/tests/decode/test5_corner_cases/src/
Dmain.c1059 struct Range output; in ZTEST() local
1062 &output, NULL), NULL); in ZTEST()
1063 zassert_false(output.optMinus5to5_present, NULL); in ZTEST()
1064 zassert_false(output.optStr3to6_present, NULL); in ZTEST()
1065 zassert_false(output.optMinus9toMinus6excl_present, NULL); in ZTEST()
1066 zassert_equal(1, output.multi8_count, NULL); in ZTEST()
1067 zassert_equal(1, output.multiHello_count, NULL); in ZTEST()
1068 zassert_equal(1, output.multi0to10_count, NULL); in ZTEST()
1069 zassert_equal(0, output.multi0to10[0], NULL); in ZTEST()
1072 &output, NULL), NULL); in ZTEST()
[all …]
/zcbor-3.7.0/scripts/
Dadd_helptext.py31 output = pattern variable
36 output += f"""
47 new_readme_contents = sub(pattern + r'.*', output, readme_contents, flags=S)
/zcbor-3.7.0/tests/encode/test1_suit/src/
Dmain.c229 static uint8_t output[2000]; variable
256 res = cbor_encode_SUIT_Command_Sequence(output, in test_command_sequence()
257 sizeof(output), in test_command_sequence()
262 output, in test_command_sequence()
439 res = cbor_encode_SUIT_Outer_Wrapper(output, in test_manifest()
440 sizeof(output), &outerwrapper1, &out_len); in test_manifest()
443 zassert_mem_equal(input, output, len, NULL); in test_manifest()
/zcbor-3.7.0/tests/encode/test2_simple/src/
Dmain.c56 uint8_t output[25]; in ZTEST() local
60 zassert_equal(ZCBOR_SUCCESS, cbor_encode_Pet(output, sizeof(output), &pet, &out_len), NULL); in ZTEST()
65 zassert_mem_equal(exp_output, output, sizeof(exp_output), NULL); in ZTEST()
/zcbor-3.7.0/samples/pet/
DREADME.md14 …ee representations. Changing [pet1.yml](pet1.yml) will change the printed output for the first pet.
15 To change the output for the second and third, change the code in [src/main.c](src/main.c).
31 ### Expected output:
/zcbor-3.7.0/tests/decode/test1_suit_old_formats/
DCMakeLists.txt19 --output-cmake ${PROJECT_BINARY_DIR}/manifest-moran3.cmake
31 --output-cmake ${PROJECT_BINARY_DIR}/manifest-moran4.cmake
/zcbor-3.7.0/tests/decode/test5_corner_cases/
DCMakeLists.txt21 --output-c ${PROJECT_BINARY_DIR}/src/corner_cases.c
22 --output-h ${PROJECT_BINARY_DIR}/include/corner_cases.h
/zcbor-3.7.0/tests/scripts/
Dtest_repo_files.py91 output, _ = self.popen_test(c)
92 output_run += output.decode('utf-8')
97 output = self.cmake_build_run(p_hello_world_sample, p_hello_world_build)
101 output = self.cmake_build_run(p_pet_sample, p_pet_build)
/zcbor-3.7.0/
DREADME.md108 It can also output the data to a C file formatted as a byte array.
121 …c <CDDL description file> -t <which CDDL type to expect> -i <input data file> -o <output data file>
128 …c <CDDL description file> -t <which CDDL type to expect> -i <input data file> -o <output data file>
167 …CDDL description file(s)> -t <which CDDL type(s) to expose in the API> --output-cmake <path to pla…
183 …- A CMake file that creates a library with the generated code and the C library (if `--output-cmak…
197 When calling zcbor with the argument `--output-cmake <file path>`, a CMake file will be created at …
416 [--default-max-qty DEFAULT_MAX_QTY] [--output-c OUTPUT_C]
417 [--output-h OUTPUT_H] [--output-h-types OUTPUT_H_TYPES]
418 [--copy-sources] [--output-cmake OUTPUT_CMAKE] -t
425 The output from this script is a C file and a header file. The header file
[all …]
/zcbor-3.7.0/tests/unit/test1_unit_tests/src/
Dmain.c400 struct zcbor_string output; in ZTEST() local
408 zassert_true(zcbor_bstr_decode(state_d2, &output), NULL); in ZTEST()
410 zassert_false(zcbor_bstr_decode(state_d, &output), NULL); in ZTEST()
430 output.value = spliced; in ZTEST()
431 output.len = sizeof(spliced); in ZTEST()
434 zassert_true(zcbor_splice_string_fragments(output_frags, 2, spliced, &output.len), NULL); in ZTEST()
436 zassert_equal(10, output.len, NULL); in ZTEST()
437 zassert_mem_equal(output.value, "HelloWorld", 10, NULL); in ZTEST()
453 struct zcbor_string output; in ZTEST() local
468 zassert_true(zcbor_bstr_decode(state_d2, &output), NULL); in ZTEST()
[all …]
/zcbor-3.7.0/tests/encode/test1_suit/
DCMakeLists.txt17 --output-cmake ${PROJECT_BINARY_DIR}/manifest3.cmake
/zcbor-3.7.0/tests/encode/test2_simple/
DCMakeLists.txt17 --output-cmake ${PROJECT_BINARY_DIR}/pet.cmake
/zcbor-3.7.0/tests/decode/test7_suit9_simple/
DCMakeLists.txt18 --output-cmake ${PROJECT_BINARY_DIR}/manifest9_simple.cmake
/zcbor-3.7.0/tests/decode/test8_suit12/
DCMakeLists.txt17 --output-cmake ${PROJECT_BINARY_DIR}/manifest12.cmake
/zcbor-3.7.0/samples/hello_world/
DREADME.md22 ### Expected output:
/zcbor-3.7.0/tests/unit/test2_cpp/
DCMakeLists.txt25 --output-cmake ${PROJECT_BINARY_DIR}/pet.cmake
/zcbor-3.7.0/tests/encode/test3_corner_cases/
DCMakeLists.txt18 --output-cmake ${PROJECT_BINARY_DIR}/corner_cases.cmake
/zcbor-3.7.0/tests/decode/test2_suit/
DCMakeLists.txt19 --output-cmake ${PROJECT_BINARY_DIR}/manifest2.cmake
/zcbor-3.7.0/tests/encode/test4_senml/
DCMakeLists.txt19 --output-cmake ${PROJECT_BINARY_DIR}/senml.cmake
/zcbor-3.7.0/tests/decode/test3_simple/
DCMakeLists.txt20 --output-cmake ${PROJECT_BINARY_DIR}/pet.cmake
/zcbor-3.7.0/tests/decode/test9_manifest14/
DCMakeLists.txt24 --output-cmake ${PROJECT_BINARY_DIR}/${MANIFEST}.cmake
/zcbor-3.7.0/tests/unit/test3_float16/
DCMakeLists.txt21 return() # Because the output volume is too large

12