Lines Matching defs:from

353 		out.Print("net buffer append cloned: buffer: %p, from: %p, "
714 panic("failed to read from buffer %p, offset: %lu, size: %lu",
733 panic("failed to read from source buffer %p, offset: %lu, size: %lu",
859 /*! Tries to allocate \a size bytes from the free space in the header.
992 TRACE(("%d: remove data node %p from header %p (located %p)\n",
1023 /*! Appends up to \a size bytes from the data of the \a from net_buffer to the
1027 append_data_from_buffer(net_buffer* to, const net_buffer* from, size_t size)
1029 net_buffer_private* source = (net_buffer_private*)from;
1032 if (size > from->size)
1171 storage; they are completely independent from each other.
1191 // copy the data from the source buffer
1334 split_buffer(net_buffer* from, uint32 offset)
1340 copy_metadata(buffer, from);
1342 ParanoiaChecker _(from);
1346 find_thread(NULL), from, buffer, offset));
1348 if (append_data_from_buffer(buffer, from, offset) == B_OK) {
1349 if (remove_header(from, offset) == B_OK) {
1350 CHECK_BUFFER(from);
1352 T(Split(from, offset, buffer));
1358 CHECK_BUFFER(from);
1524 // find first node to read from
1802 /*! Removes bytes from the beginning of the buffer.
1876 /*! Removes bytes from the end of the buffer.
1885 /*! Trims the buffer to the specified \a newSize by removing space from
1937 /*! Appends data coming from buffer \a source to the buffer \a buffer. It only
1959 // find data_node to start with from the source buffer
2025 /*! Moves all ancillary data from buffer \c from to the end of the list of
2027 transfers or copies ancillary data from one buffer to another.
2029 \param from The buffer from which to remove the ancillary data.
2037 net_buffer_private* from = (net_buffer_private*)_from;
2040 if (from == NULL || to == NULL)
2043 if (from->ancillary_data == NULL)
2048 to->ancillary_data = from->ancillary_data;
2049 from->ancillary_data = NULL;
2054 void* data = move_ancillary_data(from->ancillary_data,
2056 delete_ancillary_data_container(from->ancillary_data);
2057 from->ancillary_data = NULL;
2104 /*! Reads from the complete buffer with an eventually stored header.
2138 /*! Copies from the complete \a source buffer with an eventually stored header
2219 // find first node to read from