Lines Matching refs:const_buffer
39 class const_buffer;
43 const void* buffer_cast_helper(const const_buffer&);
45 std::size_t buffer_size_helper(const const_buffer&);
166 class const_buffer class
170 const_buffer() in const_buffer() function in asio::const_buffer
177 const_buffer(const void* data, std::size_t size) in const_buffer() function in asio::const_buffer
184 const_buffer(const mutable_buffer& b) in const_buffer() function in asio::const_buffer
193 const const_buffer& b);
195 const const_buffer& b);
204 inline const void* buffer_cast_helper(const const_buffer& b) in buffer_cast_helper()
209 inline std::size_t buffer_size_helper(const const_buffer& b) in buffer_size_helper()
219 : public const_buffer
223 typedef const_buffer value_type;
226 typedef const const_buffer* const_iterator;
230 : const_buffer(data, size) in const_buffers_1()
235 explicit const_buffers_1(const const_buffer& b) in const_buffers_1()
236 : const_buffer(b) in const_buffers_1()
300 inline std::size_t buffer_size(const const_buffer& b) in buffer_size()
362 inline PointerToPodType buffer_cast(const const_buffer& b) in buffer_cast()
401 inline const_buffer operator+(const const_buffer& b, std::size_t start) in operator +()
404 return const_buffer(); in operator +()
407 return const_buffer(new_data, new_size in operator +()
415 inline const_buffer operator+(std::size_t start, const const_buffer& b) in operator +()
418 return const_buffer(); in operator +()
421 return const_buffer(new_data, new_size in operator +()
618 inline const_buffers_1 buffer(const const_buffer& b) in buffer()
630 inline const_buffers_1 buffer(const const_buffer& b, in buffer()
634 const_buffer(buffer_cast<const void*>(b), in buffer()
656 return const_buffers_1(const_buffer(data, size_in_bytes)); in buffer()
699 return const_buffers_1(const_buffer(data, N * sizeof(PodType))); in buffer()
714 const_buffer(data, in buffer()
748 typedef const_buffer buffer_type;
830 const_buffer(data.data(), data.size() * sizeof(PodType))); in buffer()
845 const_buffer(data.data(), in buffer()
863 const_buffer(data.data(), data.size() * sizeof(PodType))); in buffer()
878 const_buffer(data.data(), in buffer()
926 const_buffer(data.data(), data.size() * sizeof(PodType))); in buffer()
941 const_buffer(data.data(), in buffer()
957 const_buffer(data.data(), data.size() * sizeof(PodType))); in buffer()
972 const_buffer(data.data(), in buffer()
1032 const_buffer(data.size() ? &data[0] : 0, data.size() * sizeof(PodType) in buffer()
1051 const_buffer(data.size() ? &data[0] : 0, in buffer()
1068 return const_buffers_1(const_buffer(data.data(), data.size() * sizeof(Elem) in buffer()
1088 const_buffer(data.data(), in buffer()
1144 const const_buffer& source) in buffer_copy()
1176 return buffer_copy(target, static_cast<const const_buffer&>(source)); in buffer_copy()
1202 return buffer_copy(target, const_buffer(source)); in buffer_copy()
1228 return buffer_copy(target, const_buffer(source)); in buffer_copy()
1262 const_buffer source_buffer(*source_iter); in buffer_copy()
1291 const const_buffer& source) in buffer_copy()
1319 static_cast<const const_buffer&>(source)); in buffer_copy()
1346 const_buffer(source)); in buffer_copy()
1373 const_buffer(source)); in buffer_copy()
1423 const const_buffer& source) in buffer_copy()
1430 for (const_buffer source_buffer(source); in buffer_copy()
1465 return buffer_copy(target, static_cast<const const_buffer&>(source)); in buffer_copy()
1492 return buffer_copy(target, const_buffer(source)); in buffer_copy()
1519 return buffer_copy(target, const_buffer(source)); in buffer_copy()
1560 const_buffer source_buffer = in buffer_copy()
1561 const_buffer(*source_iter) + source_buffer_offset; in buffer_copy()
1610 const const_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
1759 const const_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
1910 const const_buffer& source, std::size_t max_bytes_to_copy) in buffer_copy()
2054 const_buffer source_buffer = in buffer_copy()
2055 const_buffer(*source_iter) + source_buffer_offset; in buffer_copy()