Searched refs:descr_len (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/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-latest/lib/utils/ |
D | json.c | 527 const struct json_obj_descr *descr, size_t descr_len, 742 size_t descr_len, void *val) in obj_parse() argument 754 for (i = 0; i < descr_len; i++) { in obj_parse() 784 if (i >= descr_len) { in obj_parse() 796 const struct json_obj_descr *descr, size_t descr_len, in json_obj_parse() argument 802 __ASSERT_NO_MSG(descr_len < (sizeof(ret) * CHAR_BIT - 1)); in json_obj_parse() 809 return obj_parse(&obj, descr, descr_len, val); in json_obj_parse() 836 size_t descr_len, void *val) in json_arr_separate_parse_object() argument 856 return obj_parse(json, descr, descr_len, val); in json_arr_separate_parse_object() 1168 int json_obj_encode(const struct json_obj_descr *descr, size_t descr_len, in json_obj_encode() argument [all …]
|
/Zephyr-latest/include/zephyr/data/ |
D | json.h | 602 const struct json_obj_descr *descr, size_t descr_len, 673 size_t descr_len, void *val); 710 size_t descr_len, const void *val); 737 int json_obj_encode_buf(const struct json_obj_descr *descr, size_t descr_len, 768 int json_obj_encode(const struct json_obj_descr *descr, size_t descr_len,
|
/Zephyr-latest/tests/benchmarks/wait_queues/src/ |
D | main.c | 182 int descr_len = strlen(str); in compute_and_report_stats() local 187 sdescr_len = (descr_len + sdescr_len < 50) ? 50 - descr_len : sdescr_len; in compute_and_report_stats()
|
/Zephyr-latest/tests/benchmarks/sched_queues/src/ |
D | main.c | 193 int descr_len = strlen(str); in compute_and_report_stats() local 198 sdescr_len = (descr_len + sdescr_len < 50) ? 50 - descr_len : sdescr_len; in compute_and_report_stats()
|