Searched refs:CPKT_BUF_WRITE (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_link_format.c | 73 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()
|
D | lwm2m_rw_plain_text.c | 92 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()
|
D | lwm2m_rw_opaque.c | 103 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, buflen); in put_opaque()
|
D | lwm2m_rw_json.c | 254 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()
|
D | lwm2m_rw_oma_tlv.c | 135 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()
|
D | lwm2m_rw_senml_json.c | 341 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()
|
D | lwm2m_message_handling.c | 302 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()
|
D | lwm2m_object.h | 145 #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/ |
D | main.c | 85 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()
|