Lines Matching defs:buf
46 static int pack_uint8(uint8_t val, struct buf_ctx *buf) in pack_uint8()
74 static int pack_uint16(uint16_t val, struct buf_ctx *buf) in pack_uint16()
102 static int pack_utf8_str(const struct mqtt_utf8 *str, struct buf_ctx *buf) in pack_utf8_str()
144 static int pack_variable_int(uint32_t value, struct buf_ctx *buf) in pack_variable_int()
197 struct buf_ctx *buf) in mqtt_encode_fixed_header()
240 static int zero_len_str_encode(struct buf_ctx *buf) in zero_len_str_encode()
256 static int pack_uint32(uint32_t val, struct buf_ctx *buf) in pack_uint32()
282 static int pack_bin_data(const struct mqtt_binstr *bin, struct buf_ctx *buf) in pack_bin_data()
317 static int encode_uint8_property(uint8_t prop, uint8_t value, struct buf_ctx *buf) in encode_uint8_property()
344 struct buf_ctx *buf) in encode_uint16_property()
370 struct buf_ctx *buf) in encode_uint32_property()
396 struct buf_ctx *buf) in encode_var_int_property()
422 struct buf_ctx *buf) in encode_string_property()
451 struct buf_ctx *buf) in encode_string_pair_property()
482 struct buf_ctx *buf) in encode_binary_property()
517 struct buf_ctx *buf) in encode_user_properties()
557 struct buf_ctx *buf) in connect_properties_encode()
640 struct buf_ctx *buf) in will_properties_encode()
700 struct buf_ctx *buf) in connect_properties_encode()
709 struct buf_ctx *buf) in will_properties_encode()
719 struct buf_ctx *buf) in connect_request_encode()
872 struct buf_ctx *buf) in publish_properties_encode()
931 struct buf_ctx *buf) in publish_properties_encode()
942 struct buf_ctx *buf) in publish_encode()
1003 struct buf_ctx *buf) in common_ack_properties_encode()
1042 struct buf_ctx *buf) in common_ack_properties_encode()
1054 struct buf_ctx *buf) in common_ack_encode()
1100 struct buf_ctx *buf) in publish_ack_encode()
1120 struct buf_ctx *buf) in publish_receive_encode()
1140 struct buf_ctx *buf) in publish_release_encode()
1160 struct buf_ctx *buf) in publish_complete_encode()
1178 static int empty_disconnect_encode(struct buf_ctx *buf) in empty_disconnect_encode()
1203 struct buf_ctx *buf) in disconnect_properties_encode()
1247 struct buf_ctx *buf) in disconnect_5_0_encode()
1285 struct buf_ctx *buf) in disconnect_5_0_encode()
1296 struct buf_ctx *buf) in disconnect_encode()
1314 struct buf_ctx *buf) in subscribe_properties_encode()
1342 struct buf_ctx *buf) in subscribe_properties_encode()
1353 struct buf_ctx *buf) in subscribe_encode()
1404 const struct mqtt_subscription_list *param, struct buf_ctx *buf) in unsubscribe_properties_encode()
1425 const struct mqtt_subscription_list *param, struct buf_ctx *buf) in unsubscribe_properties_encode()
1436 struct buf_ctx *buf) in unsubscribe_encode()
1469 int ping_request_encode(struct buf_ctx *buf) in ping_request_encode()
1494 struct buf_ctx *buf) in auth_properties_encode()
1536 static int empty_auth_encode(struct buf_ctx *buf) in empty_auth_encode()
1555 int auth_encode(const struct mqtt_auth_param *param, struct buf_ctx *buf) in auth_encode()