Lines Matching refs:total_len
517 u16_t total_len = 1 + r_length; in mqtt_output_check_space() local
523 total_len++; in mqtt_output_check_space()
527 return (total_len <= mqtt_ringbuf_free(rb)); in mqtt_output_check_space()
1102 size_t total_len; in mqtt_publish() local
1114 total_len = 2 + topic_len + payload_length; in mqtt_publish()
1117 total_len += 2; in mqtt_publish()
1124 LWIP_ERROR("mqtt_publish: total length overflow", (total_len <= 0xFFFF), return ERR_ARG); in mqtt_publish()
1125 remaining_length = (u16_t)total_len; in mqtt_publish()
1175 size_t total_len; in mqtt_sub_unsub() local
1189 total_len = topic_len + 2 + 2 + (sub != 0); in mqtt_sub_unsub()
1190 LWIP_ERROR("mqtt_sub_unsub: total length overflow", (total_len <= 0xFFFF), return ERR_ARG); in mqtt_sub_unsub()
1191 remaining_length = (u16_t)total_len; in mqtt_sub_unsub()