Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/
Dlwm2m_rw_link_format.c73 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), init_string, in put_begin()
89 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &comma, sizeof(comma)); in put_corelink_separator()
109 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_version()
136 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_dimension()
175 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, used); in put_attribute()
308 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_ssid()
332 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_obj_corelink()
383 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_obj_inst_corelink()
454 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_res_corelink()
520 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_res_inst_corelink()
Dlwm2m_rw_plain_text.c92 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), pt_buffer, n); in plain_text_put_format()
141 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), pt_buffer, len); in plain_text_put_float()
154 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, buflen); in put_string()
Dlwm2m_rw_opaque.c103 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, buflen); in put_opaque()
Dlwm2m_rw_json.c254 len = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &separator, sizeof(separator)); in json_add_separator()
444 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), pt_buffer, len); in put_begin()
457 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), "]}", 2); in put_end()
Dlwm2m_rw_oma_tlv.c135 ret = buf_insert(CPKT_BUF_WRITE(out->out_cpkt), in oma_tlv_put_u8()
143 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &value, 1); in oma_tlv_put_u8()
208 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), in oma_tlv_put()
Dlwm2m_rw_senml_json.c341 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), "[", 1); in put_begin()
361 res = buf_append(CPKT_BUF_WRITE(out->out_cpkt), "]", 1); in put_end()
481 len = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &separator, sizeof(separator)); in json_add_separator()
911 if (buf_append(CPKT_BUF_WRITE(fd->out->out_cpkt), bytes, len) < 0) { in json_append_bytes_base64()
Dlwm2m_message_handling.c302 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), msg->body_encode_buffer.data, in build_msg_block_for_send()
337 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), in build_msg_block_for_send()
378 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), in build_msg_block_for_send()
405 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), msg->body_encode_buffer.data, in prepare_msg_for_send()
Dlwm2m_object.h145 #define CPKT_BUF_WRITE(cpkt) (cpkt)->data, &(cpkt)->offset, (cpkt)->max_len macro
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c85 ret = buf_append(CPKT_BUF_WRITE(msg->out.out_cpkt), fixture->dummy_msg, in ZTEST_F()
92 ret = buf_append(CPKT_BUF_WRITE(msg->out.out_cpkt), &one_byte, 1); in ZTEST_F()
118 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F()
192 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F()
249 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F()
325 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F()