Home
last modified time | relevance | path

Searched refs:zcbor_tstr_put_lit (Results 1 – 6 of 6) sorted by relevance

/zcbor-latest/samples/pet/src/
Dmain.c63 r = r && zcbor_tstr_put_lit(encoding_state, "Danny"); in get_pet2()
64 r = r && zcbor_tstr_put_lit(encoding_state, "the"); in get_pet2()
65 r = r && zcbor_tstr_put_lit(encoding_state, "Dog"); in get_pet2()
/zcbor-latest/tests/encode/test2_simple/src/
Dmain.c80 res = res && zcbor_tstr_put_lit(state, "first"); in ZTEST()
82 res = res && zcbor_tstr_put_lit(state, "second"); in ZTEST()
/zcbor-latest/samples/hello_world/src/
Dmain.c22 success = zcbor_tstr_put_lit(encoding_state, "Hello World"); in main()
/zcbor-latest/tests/unit/test2_cpp/src/
Dmain.cpp46 zcbor_tstr_put_lit(state_e, "World"); in main()
/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c196 zassert_true(zcbor_tstr_put_lit(state_e, "Hello"), NULL); in ZTEST()
253 zassert_false(zcbor_tstr_put_lit(state_e, "World"), NULL); in ZTEST()
293 zassert_true(zcbor_tstr_put_lit(state_e, "World"), NULL); in ZTEST()
581 zassert_true(zcbor_tstr_put_lit(state_e, "Hello World"), NULL); // 12 B in ZTEST()
1194 zassert_true(zcbor_tstr_put_lit(state_e, "hello"), NULL); in ZTEST()
1196 zassert_true(zcbor_tstr_put_lit(state_e, "world"), NULL); in ZTEST()
1198 zassert_true(zcbor_tstr_put_lit(state_e, "foo"), NULL); in ZTEST()
1201 zassert_true(zcbor_tstr_put_lit(state_e, "bar"), NULL); in ZTEST()
1203 zassert_true(zcbor_tstr_put_lit(state_e, "hello"), NULL); in ZTEST()
1204 zassert_true(zcbor_tstr_put_lit(state_e, "world"), NULL); in ZTEST()
[all …]
/zcbor-latest/include/
Dzcbor_encode.h210 #define zcbor_tstr_put_lit(state, str) zcbor_tstr_encode_ptr(state, str, sizeof(str) - 1) macro