Searched refs:descr_len (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_json.c | 274 size_t descr_len; in json_float_object_write() local 283 descr_len = ARRAY_SIZE(json_float_descr); in json_float_object_write() 290 o_len = json_calc_encoded_len(descr, descr_len, obj_payload); in json_float_object_write() 296 res = json_obj_encode_buf(descr, descr_len, obj_payload, in json_float_object_write() 314 size_t descr_len; in json_string_object_write() local 323 descr_len = ARRAY_SIZE(json_string_descr); in json_string_object_write() 329 o_len = json_calc_encoded_len(descr, descr_len, obj_payload); in json_string_object_write() 335 res = json_obj_encode_buf(descr, descr_len, obj_payload, in json_string_object_write() 353 size_t descr_len; in json_boolean_object_write() local 362 descr_len = ARRAY_SIZE(json_boolean_descr); in json_boolean_object_write() [all …]
|
D | lwm2m_rw_senml_json.c | 502 size_t descr_len; in json_float_object_write() local 513 descr_len = ARRAY_SIZE(senml_float_bn_t_descr); in json_float_object_write() 523 descr_len = ARRAY_SIZE(senml_float_bn_descr); in json_float_object_write() 534 descr_len = ARRAY_SIZE(senml_float_t_descr); in json_float_object_write() 543 descr_len = ARRAY_SIZE(senml_float_descr); in json_float_object_write() 552 o_len = json_calc_encoded_len(descr, descr_len, obj_payload); in json_float_object_write() 558 res = json_obj_encode_buf(descr, descr_len, obj_payload, in json_float_object_write() 576 size_t descr_len; in json_string_object_write() local 586 descr_len = ARRAY_SIZE(senml_string_bn_descr); in json_string_object_write() 594 descr_len = ARRAY_SIZE(senml_string_descr); in json_string_object_write() [all …]
|
/Zephyr-Core-3.5.0/lib/os/ |
D | json.c | 469 const struct json_obj_descr *descr, size_t descr_len, 665 size_t descr_len, void *val) in obj_parse() argument 677 for (i = 0; i < descr_len; i++) { in obj_parse() 707 if (i >= descr_len) { in obj_parse() 719 const struct json_obj_descr *descr, size_t descr_len, in json_obj_parse() argument 725 __ASSERT_NO_MSG(descr_len < (sizeof(ret) * CHAR_BIT - 1)); in json_obj_parse() 732 return obj_parse(&obj, descr, descr_len, val); in json_obj_parse() 759 size_t descr_len, void *val) in json_arr_separate_parse_object() argument 779 return obj_parse(json, descr, descr_len, val); in json_arr_separate_parse_object() 1044 int json_obj_encode(const struct json_obj_descr *descr, size_t descr_len, in json_obj_encode() argument [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/data/ |
D | json.h | 619 const struct json_obj_descr *descr, size_t descr_len, 690 size_t descr_len, void *val); 727 size_t descr_len, const void *val); 754 int json_obj_encode_buf(const struct json_obj_descr *descr, size_t descr_len, 785 int json_obj_encode(const struct json_obj_descr *descr, size_t descr_len,
|