Searched refs:buf_append (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_link_format.c | 77 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), init_string, in put_begin() 93 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), &comma, sizeof(comma)); in put_corelink_separator() 113 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_version() 140 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_dimension() 179 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, used); in put_attribute() 312 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), buf, len); in put_corelink_ssid() 336 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_obj_corelink() 387 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_obj_inst_corelink() 458 ret = buf_append(CPKT_BUF_WRITE(out->out_cpkt), obj_buf, len); in put_res_corelink() 524 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 | buf_util.h | 19 static inline int buf_append(uint8_t *dst, uint16_t *dst_len, uint16_t dst_size, in buf_append() function
|
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_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_rw_oma_tlv.c | 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_message_handling.c | 306 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), msg->body_encode_buffer.data, in build_msg_block_for_send() 341 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), in build_msg_block_for_send() 383 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), in build_msg_block_for_send() 410 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), msg->body_encode_buffer.data, in prepare_msg_for_send()
|
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/ |
D | main.c | 86 ret = buf_append(CPKT_BUF_WRITE(msg->out.out_cpkt), fixture->dummy_msg, in ZTEST_F() 93 ret = buf_append(CPKT_BUF_WRITE(msg->out.out_cpkt), &one_byte, 1); in ZTEST_F() 119 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F() 193 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F() 250 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F() 326 ret = buf_append(CPKT_BUF_WRITE(&msg->cpkt), fixture->dummy_msg, in ZTEST_F()
|