• Home
  • Raw
  • Download

Lines Matching refs:used_size

750           size_t used_size = pdu->used_size;  in coap_option_check_critical()  local
761 if (used_size != pdu->used_size) { in coap_option_check_critical()
798 pdu->used_size + pdu->hdr_size); in coap_session_send_pdu()
1457 if (pdu->used_size + 1 > pdu->max_size) { in coap_send_internal()
1461 if (!coap_pdu_resize(pdu, pdu->used_size + 1)) { in coap_send_internal()
1465 data_len = pdu->used_size - (pdu->data - pdu->token); in coap_send_internal()
1477 if (pdu->used_size + len + 1 <= pdu->max_size) { in coap_send_internal()
1478 size_t old_size = pdu->used_size; in coap_send_internal()
1479 if (coap_pdu_resize(pdu, pdu->used_size + len + 1)) { in coap_send_internal()
1496 pdu->used_size += len + 1; in coap_send_internal()
1581 (size_t)bytes_written < pdu->used_size + pdu->hdr_size) { in coap_send_internal()
1767 assert(session->partial_write < q->pdu->used_size + q->pdu->hdr_size); in coap_write_session()
1770 q->pdu->used_size + q->pdu->hdr_size - session->partial_write); in coap_write_session()
1774 (size_t)bytes_written < q->pdu->used_size + q->pdu->hdr_size - session->partial_write) { in coap_write_session()
1882 size_t len = session->partial_pdu->used_size in coap_read_session()
1940 session->partial_pdu->used_size = size; in coap_read_session()
2537 if (response->used_size + len + 1 > response->max_size) { in hnd_get_wellknown()
2543 len, response->max_size - response->used_size - 1); in hnd_get_wellknown()
2544 len = response->max_size - response->used_size - 1; in hnd_get_wellknown()
2569 response->used_size = response->e_token_length; in hnd_get_wellknown()
2689 response->used_size = 0; in no_response()
3235 response->used_size = 0; in handle_request()