Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dpbuf.c990 size_t offset_to = offset, offset_from = 0, len_calc; in pbuf_copy_partial_pbuf() local
1006 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()
/third_party/rust/crates/memoffset/src/
Doffset_of.rs58 unsafe { (field as *const u8).offset_from(base as *const u8) as usize }
/third_party/lwip/
D0023-refactor-event-and-checksum-offload-support.patch254 MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len);
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs46001 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 }