Home
last modified time | relevance | path

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

/zcbor-3.6.0/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-3.6.0/tests/encode/test2_simple/src/
Dmain.c96 res = res && zcbor_tstr_put_lit(state, "first"); in ZTEST()
98 res = res && zcbor_tstr_put_lit(state, "second"); in ZTEST()
/zcbor-3.6.0/samples/hello_world/src/
Dmain.c22 success = zcbor_tstr_put_lit(encoding_state, "Hello World"); in main()
/zcbor-3.6.0/tests/unit/test2_cpp/src/
Dmain.cpp46 zcbor_tstr_put_lit(state_e, "World"); in main()
/zcbor-3.6.0/tests/unit/test1_unit_tests/src/
Dmain.c194 zassert_true(zcbor_tstr_put_lit(state_e, "Hello"), NULL); in ZTEST()
251 zassert_false(zcbor_tstr_put_lit(state_e, "World"), NULL); in ZTEST()
291 zassert_true(zcbor_tstr_put_lit(state_e, "World"), NULL); in ZTEST()
579 zassert_true(zcbor_tstr_put_lit(state_e, "Hello World"), NULL); // 12 B in ZTEST()
1174 zassert_true(zcbor_tstr_put_lit(state_e, "hello"), NULL); in ZTEST()
1176 zassert_true(zcbor_tstr_put_lit(state_e, "world"), NULL); in ZTEST()
1178 zassert_true(zcbor_tstr_put_lit(state_e, "foo"), NULL); in ZTEST()
1181 zassert_true(zcbor_tstr_put_lit(state_e, "bar"), NULL); in ZTEST()
1183 zassert_true(zcbor_tstr_put_lit(state_e, "hello"), NULL); in ZTEST()
1184 zassert_true(zcbor_tstr_put_lit(state_e, "world"), NULL); in ZTEST()
[all …]
/zcbor-3.6.0/include/
Dzcbor_encode.h212 #define zcbor_tstr_put_lit(state, str) zcbor_tstr_encode_ptr(state, str, sizeof(str) - 1) macro