Lines Matching defs:from
132 storage; they are completely independent from each other.
177 net_buffer_private *from = (net_buffer_private *)_from;
179 if (offset > from->size)
187 size_t remaining = from->size - offset;
194 memcpy(tailData, from->data + offset, remaining);
197 buffer->data = (uint8*)realloc(from->data, offset);
201 from->data = tailData;
202 from->size = remaining;
358 Removes bytes from the beginning of the buffer.
379 Removes bytes from the end of the buffer.
389 Trims the buffer to the specified \a newSize by removing space from
410 Appends data coming from buffer \a source to the buffer \a buffer. It only
481 Detaches ancillary data from the given buffer. The associated memory is
517 Moves all ancillary data from buffer \c from to the end of the list of
519 transfers or copies ancillary data from one buffer to another.
521 \param from The buffer from which to remove the ancillary data.
529 net_buffer_private *from = (net_buffer_private *)_from;
532 if (from == NULL || to == NULL)
535 ancillary_data *ancillaryData = from->ancillary_data.Head();
536 to->ancillary_data.MoveFrom(&from->ancillary_data);