/third_party/boost/boost/iostreams/ |
D | copy.hpp | 54 std::streamsize copy_impl( Source& src, Sink& snk, in copy_impl() argument 55 std::streamsize /* buffer_size */, in copy_impl() 63 std::streamsize total = in copy_impl() 64 static_cast<std::streamsize>( in copy_impl() 73 std::streamsize copy_impl( Source& src, Sink& snk, in copy_impl() argument 74 std::streamsize /* buffer_size */, in copy_impl() 81 std::streamsize size, total; in copy_impl() 82 for ( total = 0, size = static_cast<std::streamsize>(p.second - p.first); in copy_impl() 85 std::streamsize amt = in copy_impl() 94 std::streamsize copy_impl( Source& src, Sink& snk, in copy_impl() [all …]
|
D | write.hpp | 47 inline std::streamsize write in write() 48 (T& t, const typename char_type_of<T>::type* s, std::streamsize n) in write() 52 inline std::streamsize 54 std::streamsize n ) in write() 87 static std::streamsize write in write() 88 (T& t, const typename char_type_of<T>::type* s, std::streamsize n) in write() 103 static std::streamsize write in write() 104 (T& t, const typename char_type_of<T>::type* s, std::streamsize n) in write() 115 static std::streamsize 116 write(T& t, const typename char_type_of<T>::type* s, std::streamsize n) in write() [all …]
|
D | read.hpp | 46 inline std::streamsize 47 read(T& t, typename char_type_of<T>::type* s, std::streamsize n) in read() 51 std::streamsize 52 read(T& t, Source& src, typename char_type_of<T>::type* s, std::streamsize n) in read() 64 inline std::streamsize check_eof(std::streamsize n) { return n != 0 ? n : -1; } in check_eof() 112 static std::streamsize 113 read(T& t, typename char_type_of<T>::type* s, std::streamsize n) in read() 142 static std::streamsize 143 read(T& t, typename char_type_of<T>::type* s, std::streamsize n) in read() 145 std::streamsize amt; in read() [all …]
|
D | tee.hpp | 63 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 65 std::streamsize result = iostreams::read(src, s, n); in read() 67 std::streamsize result2 = iostreams::write(this->component(), s, result); in read() 75 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 77 std::streamsize result = iostreams::write(snk, s, n); in write() 78 std::streamsize result2 = iostreams::write(this->component(), s, result); in write() 149 std::streamsize read(char_type* s, std::streamsize n) in read() 156 std::streamsize result1 = iostreams::read(dev_, s, n); in read() 158 std::streamsize result2 = iostreams::write(sink_, s, result1); in read() 165 std::streamsize write(const char_type* s, std::streamsize n) in write() [all …]
|
D | code_converter.hpp | 73 static Ch* copy(Ch* tgt, const Ch* src, std::streamsize n) in copy() 80 static Tgt* copy(Tgt* tgt, const Src*, std::streamsize) { return tgt; } in copy() 84 Tgt* strncpy_if_same(Tgt* tgt, const Src* src, std::streamsize n) in strncpy_if_same() 157 void open(const T& dev, std::streamsize buffer_size) in open() 163 std::streamsize max_length = cvt_.get().max_length(); in open() 226 #define BOOST_IOSTREAMS_CONVERTER_PARAMS() , std::streamsize buffer_size = -1 279 std::streamsize read(char_type*, std::streamsize); 280 std::streamsize write(const char_type*, std::streamsize); 306 std::streamsize code_converter<Device, Codevt, Alloc>::read in read() 307 (char_type* s, std::streamsize n) in read() [all …]
|
D | checked_operations.hpp | 49 inline std::streamsize 50 read_if(T& t, typename char_type_of<T>::type* s, std::streamsize n) in read_if() 64 inline std::streamsize write_if in write_if() 65 (T& t, const typename char_type_of<T>::type* s, std::streamsize n) in write_if() 92 static std::streamsize 93 read(T& t, typename char_type_of<T>::type* s, std::streamsize n) in read() 102 static std::streamsize 103 write(T&, const typename char_type_of<T>::type*, std::streamsize) in write() 116 static std::streamsize 117 read(T&, typename char_type_of<T>::type*, std::streamsize) in read() [all …]
|
D | combine.hpp | 66 std::streamsize read(char_type* s, std::streamsize n); 67 std::streamsize write(const char_type* s, std::streamsize n); 107 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 111 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 208 inline std::streamsize 209 combined_device<Source, Sink>::read(char_type* s, std::streamsize n) in read() 213 inline std::streamsize 214 combined_device<Source, Sink>::write(const char_type* s, std::streamsize n) in write()
|
/third_party/boost/boost/iostreams/detail/adapter/ |
D | range_adapter.hpp | 65 std::streamsize read(char_type* s, std::streamsize n); 66 std::streamsize write(const char_type* s, std::streamsize n); 83 inline std::streamsize range_adapter<Mode, Range>::read in read() 84 (char_type* s, std::streamsize n) in read() 88 inline std::streamsize range_adapter<Mode, Range>::write in write() 89 (const char_type* s, std::streamsize n) in write() 106 static std::streamsize read in read() 107 (Iter& cur, Iter& last, Ch* s,std::streamsize n) in read() 109 std::streamsize rem = n; // No. of chars remaining. in read() 115 static std::streamsize write in write() [all …]
|
D | concept_adapter.hpp | 73 std::streamsize read(char_type* s, std::streamsize n) in read() 77 std::streamsize read(char_type* s, std::streamsize n, Source* src) in read() 80 std::streamsize write(const char_type* s, std::streamsize n) in write() 84 std::streamsize write(const char_type* s, std::streamsize n, Sink* snk) in write() 118 std::streamsize optimal_buffer_size() const in optimal_buffer_size() 169 static std::streamsize 171 std::streamsize n ) in read() 175 static std::streamsize 177 std::streamsize ) in write() 185 static std::streamsize [all …]
|
D | mode_adapter.hpp | 48 std::streamsize read(char_type* s, std::streamsize n); 49 std::streamsize write(const char_type* s, std::streamsize n); 59 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 63 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 93 std::streamsize mode_adapter<Mode, T>::read in read() 94 (char_type* s, std::streamsize n) in read() 98 std::streamsize mode_adapter<Mode, T>::write in write() 99 (const char_type* s, std::streamsize n) in write()
|
D | non_blocking_adapter.hpp | 27 std::streamsize read(char_type* s, std::streamsize n) in read() 29 std::streamsize result = 0; in read() 31 std::streamsize amt = iostreams::read(device_, s + result, n - result); in read() 38 std::streamsize write(const char_type* s, std::streamsize n) in write() 40 std::streamsize result = 0; in write() 42 std::streamsize amt = in write()
|
/third_party/boost/libs/iostreams/example/ |
D | container_device.hpp | 34 std::streamsize read(char_type* s, std::streamsize n) in read() 37 std::streamsize amt = in read() 38 static_cast<std::streamsize>(container_.size() - pos_); in read() 39 std::streamsize result = (min)(n, amt); in read() 67 std::streamsize write(const char_type* s, std::streamsize n) in write() 91 std::streamsize read(char_type* s, std::streamsize n) in read() 94 std::streamsize amt = in read() 95 static_cast<std::streamsize>(container_.size() - pos_); in read() 96 std::streamsize result = (min)(n, amt); in read() 107 std::streamsize write(const char_type* s, std::streamsize n) in write() [all …]
|
/third_party/boost/boost/iostreams/detail/ |
D | counted_array.hpp | 25 counted_array_source(const Ch* buf, std::streamsize size) in counted_array_source() 28 std::streamsize read(Ch* s, std::streamsize n) in read() 31 streamsize result = (std::min)(n, end_ - ptr_); in read() 40 std::streamsize count() const { return ptr_; } in count() 43 std::streamsize ptr_, end_; 51 counted_array_sink(Ch* buf, std::streamsize size) in counted_array_sink() 54 std::streamsize write(const Ch* s, std::streamsize n) in write() 57 std::streamsize result = (std::min)(n, end_ - ptr_); in write() 66 std::streamsize count() const { return ptr_; } in count() 69 std::streamsize ptr_, end_;
|
D | buffer.hpp | 51 static Ch* allocate(std::streamsize buffer_size); 54 basic_buffer(std::streamsize buffer_size); 56 void resize(std::streamsize buffer_size); 60 std::streamsize size() const { return size_; } in size() 67 std::streamsize size_; 92 buffer(std::streamsize buffer_size); 97 void set(std::streamsize ptr, std::streamsize end); 105 std::streamsize keep; in fill() 106 if ((keep = static_cast<std::streamsize>(eptr_ - ptr_)) > 0) in fill() 113 std::streamsize result = in fill() [all …]
|
/third_party/boost/boost/iostreams/filter/ |
D | aggregate.hpp | 58 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 65 std::streamsize amt = in read() 66 (std::min)(n, static_cast<std::streamsize>(data_.size() - ptr_)); in read() 75 std::streamsize write(Sink&, const char_type* s, std::streamsize n) in write() 94 static_cast<std::streamsize>(filtered.size()) in close() 114 using std::streamsize; in do_read() 117 const std::streamsize size = default_device_buffer_size; in do_read() 119 std::streamsize amt; in do_read() 129 void do_write(Sink& sink, const char_type* s, std::streamsize n) in do_write() 137 void do_write(Sink& sink, const char_type* s, std::streamsize n, mpl::true_) in do_write() [all …]
|
D | gzip.hpp | 200 std::streamsize buffer_size = default_device_buffer_size ); 203 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 205 std::streamsize result = 0; in read() 215 std::streamsize amt = base_type::read(src, s + result, n - result); in read() 236 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 239 std::streamsize amt = in write() 240 static_cast<std::streamsize>(header_.size() - offset_); in write() 277 std::streamsize read_string(char* s, std::streamsize n, std::string& str); 414 std::streamsize buffer_size = default_device_buffer_size ); 417 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() [all …]
|
D | test.hpp | 65 const std::streamsize default_increment = 5; 70 std::streamsize rand(std::streamsize inc) in rand() 77 std::streamsize rand(std::streamsize inc) in rand() 91 std::streamsize inc = default_increment ) in non_blocking_source() 94 std::streamsize read(char* s, std::streamsize n) in read() 97 if (pos_ == static_cast<streamsize>(data_.size())) in read() 99 streamsize avail = in read() 100 (std::min) (n, static_cast<streamsize>(data_.size() - pos_)); in read() 101 streamsize amt = (std::min) (rand(inc_), avail); in read() 118 std::streamsize inc_, pos_; [all …]
|
D | line.hpp | 67 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 74 std::streamsize result = 0; in read() 92 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 112 return static_cast<std::streamsize>(cur - s); in write() 144 std::streamsize read_line(char_type* s, std::streamsize n) in read_line() 147 std::streamsize result = in read_line() 148 (std::min) (n, static_cast<std::streamsize>(cur_line_.size())); in read_line() 183 std::streamsize amt = static_cast<std::streamsize>(line.size()); in write_line()
|
D | counter.hpp | 47 std::streamsize optimal_buffer_size() const { return 0; } in optimal_buffer_size() 50 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 52 std::streamsize result = iostreams::read(src, s, n); in read() 61 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 63 std::streamsize result = iostreams::write(snk, s, n); in write()
|
D | symmetric.hpp | 89 std::streamsize buffer_size BOOST_PP_COMMA_IF(n) \ 100 std::streamsize read(Source& src, char_type* s, std::streamsize n) in read() 122 static_cast<std::streamsize>(next_s - s) in read() 131 return static_cast<std::streamsize>(next_s - s); in read() 141 std::streamsize write(Sink& snk, const char_type* s, std::streamsize n) in write() 156 return static_cast<std::streamsize>(next_s - s); in write() 206 std::streamsize amt = iostreams::read(src, buf().data(), buf().size()); in fill() 228 std::streamsize amt = in flush() 229 static_cast<std::streamsize>(buf().ptr() - buf().data()); in flush() 230 std::streamsize result = in flush() [all …]
|
/third_party/boost/libs/iostreams/test/detail/ |
D | closable.hpp | 38 std::streamsize read(char*, std::streamsize) { return -1; } in read() argument 49 std::streamsize write(const char*, std::streamsize) { return 0; } in write() argument 62 std::streamsize write(const char*, std::streamsize) { return 0; } in write() argument 75 std::streamsize read(char*, std::streamsize) { return -1; } in read() argument 76 std::streamsize write(const char*, std::streamsize) { return 0; } in write() argument 100 std::streamsize read(char*, std::streamsize) { return -1; } in read() argument 101 std::streamsize write(const char*, std::streamsize) { return 0; } in write() argument 267 std::streamsize read(char*, std::streamsize) { return -1; } in read() argument
|
D | filters.hpp | 61 std::streamsize read(Source& s, char* buf, std::streamsize n) in read() 63 std::streamsize result = boost::iostreams::read(s, buf, n); in read() 75 std::streamsize write(Sink& s, const char* buf, std::streamsize n) in write() 77 std::streamsize result; in write() 146 boost::iostreams::write(s, &buf_[0], (std::streamsize) buf_.size()); in flush() 170 std::streamsize read(Source& s, char* buf, std::streamsize n) in read() 173 std::streamsize write(Sink& s, const char* buf, std::streamsize n) in write()
|
/third_party/boost/boost/spirit/home/qi/stream/detail/ |
D | iterator_source.hpp | 34 std::streamsize read (char_type* s, std::streamsize n) in read() 39 std::streamsize bytes_read = 0; in read() 55 std::streamsize write(const char_type*, std::streamsize) in write() 70 std::streamsize pos; 107 std::streamsize read (char_type* s, std::streamsize n) in read() 112 n = (std::min)(static_cast<std::streamsize>(last - first), n); in read()
|
/third_party/boost/boost/detail/ |
D | lcast_precision.hpp | 71 BOOST_STATIC_CONSTANT(std::streamsize, streamsize_max = 72 boost::integer_traits<std::streamsize>::const_max 91 BOOST_STATIC_CONSTANT(std::streamsize, value = 99 inline std::streamsize lcast_get_precision(T* = 0) in lcast_get_precision() 126 std::streamsize const streamsize_max = in lcast_get_precision() 127 (boost::integer_traits<std::streamsize>::max)(); in lcast_get_precision() 177 std::streamsize const s = lcast_get_precision(static_cast<Source*>(0)); in lcast_set_precision() 178 std::streamsize const t = lcast_get_precision(static_cast<Target*>(0)); in lcast_set_precision()
|
/third_party/boost/boost/log/utility/ |
D | formatting_ostream.hpp | 305 std::streamsize precision() const { return m_stream.precision(); } in precision() 306 std::streamsize precision(std::streamsize p) { return m_stream.precision(p); } in precision() 308 std::streamsize width() const { return m_stream.width(); } in width() 309 std::streamsize width(std::streamsize w) { return m_stream.width(w); } in width() 392 basic_formatting_ostream& write(const char_type* p, std::streamsize size) in write() 400 write(const OtherCharT* p, std::streamsize size) in write() 440 …return this->formatted_write(p, static_cast< std::streamsize >(std::char_traits< char >::length(p)… in operator <<() 452 …return this->formatted_write(p, static_cast< std::streamsize >(std::char_traits< wchar_t >::length… in operator <<() 463 …return this->formatted_write(p, static_cast< std::streamsize >(std::char_traits< char16_t >::lengt… in operator <<() 473 …return this->formatted_write(p, static_cast< std::streamsize >(std::char_traits< char32_t >::lengt… in operator <<() [all …]
|