Searched refs:offset_from (Results 1 – 4 of 4) sorted by relevance
990 size_t offset_to = offset, offset_from = 0, len_calc; in pbuf_copy_partial_pbuf() local1006 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy_partial_pbuf()1008 len_calc = p_from->len - offset_from; in pbuf_copy_partial_pbuf()1014 MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len); in pbuf_copy_partial_pbuf()1016 offset_from += len; in pbuf_copy_partial_pbuf()1019 LWIP_ASSERT("offset_from <= p_from->len", offset_from <= p_from->len); in pbuf_copy_partial_pbuf()1020 if (offset_from >= p_from->len) { in pbuf_copy_partial_pbuf()1022 offset_from = 0; in pbuf_copy_partial_pbuf()
58 unsafe { (field as *const u8).offset_from(base as *const u8) as usize }
254 MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len);
46001 unsafe { self.end.offset_from(self.ptr) as usize }46782 unsafe { ManuallyDrop::new(sink).dst.offset_from(dst_buf) as usize }50100 unsafe { self.dst.offset_from(self.inner) as usize }