Lines Matching refs:mutable_buffer
38 class mutable_buffer;
42 void* buffer_cast_helper(const mutable_buffer&);
44 std::size_t buffer_size_helper(const mutable_buffer&);
67 class mutable_buffer class
71 mutable_buffer() in mutable_buffer() function in asio::mutable_buffer
78 mutable_buffer(void* data, std::size_t size) in mutable_buffer() function in asio::mutable_buffer
87 const mutable_buffer& b);
89 const mutable_buffer& b);
98 inline void* buffer_cast_helper(const mutable_buffer& b) in buffer_cast_helper()
103 inline std::size_t buffer_size_helper(const mutable_buffer& b) in buffer_size_helper()
113 : public mutable_buffer
117 typedef mutable_buffer value_type;
120 typedef const mutable_buffer* const_iterator;
124 : mutable_buffer(data, size) in mutable_buffers_1()
129 explicit mutable_buffers_1(const mutable_buffer& b) in mutable_buffers_1()
130 : mutable_buffer(b) in mutable_buffers_1()
184 const_buffer(const mutable_buffer& b) in const_buffer()
259 typedef mutable_buffer value_type;
262 typedef const mutable_buffer* const_iterator;
277 mutable_buffer buf_;
288 inline std::size_t buffer_size(const mutable_buffer& b) in buffer_size()
355 inline PointerToPodType buffer_cast(const mutable_buffer& b) in buffer_cast()
373 inline mutable_buffer operator+(const mutable_buffer& b, std::size_t start) in operator +()
376 return mutable_buffer(); in operator +()
379 return mutable_buffer(new_data, new_size in operator +()
387 inline mutable_buffer operator+(std::size_t start, const mutable_buffer& b) in operator +()
390 return mutable_buffer(); in operator +()
393 return mutable_buffer(new_data, new_size in operator +()
592 inline mutable_buffers_1 buffer(const mutable_buffer& b) in buffer()
604 inline mutable_buffers_1 buffer(const mutable_buffer& b, in buffer()
608 mutable_buffer(buffer_cast<void*>(b), in buffer()
646 return mutable_buffers_1(mutable_buffer(data, size_in_bytes)); in buffer()
669 return mutable_buffers_1(mutable_buffer(data, N * sizeof(PodType))); in buffer()
684 mutable_buffer(data, in buffer()
741 typedef mutable_buffer buffer_type;
799 mutable_buffer(data.c_array(), data.size() * sizeof(PodType))); in buffer()
814 mutable_buffer(data.c_array(), in buffer()
895 mutable_buffer(data.data(), data.size() * sizeof(PodType))); in buffer()
910 mutable_buffer(data.data(), in buffer()
992 mutable_buffer(data.size() ? &data[0] : 0, data.size() * sizeof(PodType) in buffer()
1011 mutable_buffer(data.size() ? &data[0] : 0, in buffer()
1143 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1173 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1199 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1200 const mutable_buffer& source) in buffer_copy()
1225 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1251 std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1259 for (mutable_buffer target_buffer(target); in buffer_copy()
1293 return buffer_copy(static_cast<const mutable_buffer&>(target), source); in buffer_copy()
1318 return buffer_copy(static_cast<const mutable_buffer&>(target), in buffer_copy()
1343 const mutable_buffer& source) in buffer_copy()
1345 return buffer_copy(static_cast<const mutable_buffer&>(target), in buffer_copy()
1372 return buffer_copy(static_cast<const mutable_buffer&>(target), in buffer_copy()
1399 return buffer_copy(static_cast<const mutable_buffer&>(target), source); in buffer_copy()
1433 mutable_buffer target_buffer(*target_iter); in buffer_copy()
1490 const mutable_buffer& source) in buffer_copy()
1557 mutable_buffer target_buffer = in buffer_copy()
1558 mutable_buffer(*target_iter) + target_buffer_offset; in buffer_copy()
1609 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1638 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1668 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1669 const mutable_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
1698 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1729 inline std::size_t buffer_copy(const mutable_buffer& target, in buffer_copy()
1818 const mutable_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
1973 const mutable_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
2051 mutable_buffer target_buffer = in buffer_copy()
2052 mutable_buffer(*target_iter) + target_buffer_offset; in buffer_copy()