Home
last modified time | relevance | path

Searched refs:offset_to (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/core/
Dpbuf.c963 size_t offset_to = 0, offset_from = 0, len; in pbuf_copy() local
975 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy()
980 len = p_to->len - offset_to; in pbuf_copy()
982 MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len); in pbuf_copy()
983 offset_to += len; in pbuf_copy()
985 LWIP_ASSERT("offset_to <= p_to->len", offset_to <= p_to->len); in pbuf_copy()
992 if (offset_to == p_to->len) { in pbuf_copy()
994 offset_to = 0; in pbuf_copy()
1034 size_t offset_to = offset, offset_from = 0, len; in pbuf_copy_partial_pbuf() local
1049 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy_partial_pbuf()
[all …]