Home
last modified time | relevance | path

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

/Zephyr-latest/lib/utils/
Djson.c530 const struct json_obj_descr *elem_descr,
653 const struct json_obj_descr *elem_descr, in arr_parse() argument
657 size_t *elements = (size_t *)((char *)value + elem_descr->offset); in arr_parse()
663 if (elem_descr->type == JSON_TOK_ARRAY_START) { in arr_parse()
664 elem_descr = elem_descr->array.element_descr; in arr_parse()
668 elem_size = get_elem_size(elem_descr); in arr_parse()
685 if (elem_descr->type == JSON_TOK_ARRAY_START) { in arr_parse()
689 if (decode_value(obj, elem_descr, &tok, field, value) < 0) { in arr_parse()
960 static int arr_encode(const struct json_obj_descr *elem_descr, in arr_encode() argument
971 size_t n_elem = *(size_t *)((char *)val + elem_descr->offset); in arr_encode()
[all …]