Home
last modified time | relevance | path

Searched defs:str (Results 1 – 4 of 4) sorted by relevance

/zcbor-3.7.0/include/
Dzcbor_decode.h221 #define zcbor_search_key_bstr_lit(state, str) zcbor_search_key_bstr_ptr(state, str, sizeof(str) - 1) argument
222 #define zcbor_search_key_tstr_lit(state, str) zcbor_search_key_tstr_ptr(state, str, sizeof(str) - 1) argument
223 #define zcbor_search_key_bstr_arr(state, str) zcbor_search_key_bstr_ptr(state, str, (sizeof(str))) argument
224 #define zcbor_search_key_tstr_arr(state, str) zcbor_search_key_tstr_ptr(state, str, (sizeof(str))) argument
369 #define zcbor_bstr_expect_lit(state, str) zcbor_bstr_expect_ptr(state, str, sizeof(str) - 1) argument
370 #define zcbor_tstr_expect_lit(state, str) zcbor_tstr_expect_ptr(state, str, sizeof(str) - 1) argument
371 #define zcbor_bstr_expect_arr(state, str) zcbor_bstr_expect_ptr(state, str, sizeof(str)) argument
372 #define zcbor_tstr_expect_arr(state, str) zcbor_tstr_expect_ptr(state, str, sizeof(str)) argument
Dzcbor_encode.h211 #define zcbor_bstr_put_lit(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str) - 1) argument
212 #define zcbor_tstr_put_lit(state, str) zcbor_tstr_encode_ptr(state, str, sizeof(str) - 1) argument
213 #define zcbor_bstr_put_arr(state, str) zcbor_bstr_encode_ptr(state, str, sizeof(str)) argument
214 #define zcbor_tstr_put_arr(state, str) zcbor_tstr_encode_ptr(state, str, sizeof(str)) argument
/zcbor-3.7.0/src/
Dzcbor_encode.c312 bool zcbor_bstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len)
320 bool zcbor_tstr_encode_ptr(zcbor_state_t *state, const char *str, size_t len)
328 bool zcbor_bstr_put_term(zcbor_state_t *state, char const *str, size_t maxlen)
334 bool zcbor_tstr_put_term(zcbor_state_t *state, char const *str, size_t maxlen)
Dzcbor_decode.c953 bool zcbor_search_key_bstr_term(zcbor_state_t *state, char const *str, size_t maxlen)
959 bool zcbor_search_key_tstr_term(zcbor_state_t *state, char const *str, size_t maxlen)