Home
last modified time | relevance | path

Searched refs:streamsize (Results 1 – 25 of 50) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_strstream.h54 explicit strstreambuf(streamsize _Initial_capacity = 0);
58 strstreambuf(char* __get, streamsize __n, char* __put = 0);
59 strstreambuf(signed char* __get, streamsize __n, signed char* __put = 0);
60 strstreambuf(unsigned char* __get, streamsize __n, unsigned char* __put=0);
62 strstreambuf(const char* __get, streamsize __n);
63 strstreambuf(const signed char* __get, streamsize __n);
64 strstreambuf(const unsigned char* __get, streamsize __n);
77 virtual _Base* setbuf(char* __buf, streamsize __n);
90 void _M_setup(char* __get, char* __put, streamsize __n);
106 istrstream(char* , streamsize);
[all …]
D_streambuf.h124 virtual basic_streambuf<_CharT, _Traits>* setbuf(char_type*, streamsize);
142 basic_streambuf<_CharT, _Traits>* pubsetbuf(char_type* __s, streamsize __n) in pubsetbuf()
161 virtual streamsize showmanyc();
165 virtual streamsize xsgetn(char_type* __s, streamsize __n);
186 virtual streamsize xsputn(const char_type* __s, streamsize __n);
190 virtual streamsize _M_xsputnc(char_type __c, streamsize __n);
204 streamsize sputn(const char_type* __s, streamsize __n) in sputn()
208 streamsize _M_sputnc(char_type __c, streamsize __n) in _M_sputnc()
215 streamsize in_avail() { in in_avail()
238 streamsize sgetn(char_type* __s, streamsize __n) in sgetn()
D_string_io.c18 streamsize __n) { in __stlp_string_fill()
20 for (streamsize __i = 0; __i < __n; ++__i) { in __stlp_string_fill()
45 const streamsize __w = __os.width(0);
48 …const bool __need_pad = (((sizeof(streamsize) > sizeof(size_t)) && (__STATIC_CAST(streamsize, __n)…
49 … ((sizeof(streamsize) <= sizeof(size_t)) && (__n < __STATIC_CAST(size_t, __w))));
50 streamsize __pad_len = __need_pad ? __w - __n : 0;
55 __ok = __ok && (__buf->sputn(__s.data(), streamsize(__n)) == streamsize(__n));
86 streamsize __width = __is.width(0);
94 else if (sizeof(streamsize) > sizeof(size_type) &&
95 (__width > __STATIC_CAST(streamsize, __s.max_size())))
D_streambuf.c53 streamsize
54 basic_streambuf<_CharT, _Traits>::xsgetn(_CharT* __s, streamsize __n) { in xsgetn()
55 streamsize __result = 0; in xsgetn()
83 streamsize
84 basic_streambuf<_CharT, _Traits>::xsputn(const _CharT* __s, streamsize __n) in xsputn()
86 streamsize __result = 0; in xsputn()
111 streamsize
112 basic_streambuf<_CharT, _Traits>::_M_xsputnc(_CharT __c, streamsize __n) in _M_xsputnc()
114 streamsize __result = 0; in _M_xsputnc()
174 streamsize
[all …]
D_istream.c578 streamsize _STLP_CALL
580 streamsize _Num, _CharT* __s, in __read_unbuffered()
585 streamsize __n = 0; in __read_unbuffered()
634 streamsize _STLP_CALL
636 streamsize _Num, _CharT* __s, in __read_buffered()
640 streamsize __n = 0; in __read_buffered()
650 _STLP_STATIC_ASSERT((sizeof(streamsize) > sizeof(ptrdiff_t)) || in __read_buffered()
651 … ((sizeof(streamsize) == sizeof(ptrdiff_t)) && numeric_limits<ptrdiff_t>::is_signed)) in __read_buffered()
652 …ptrdiff_t __request = __STATIC_CAST(ptrdiff_t, (min) (__STATIC_CAST(streamsize, (numeric_limits<pt… in __read_buffered()
721 basic_istream<_CharT, _Traits>::get(_CharT* __s, streamsize __n, in get()
[all …]
D_ios_base.h129 streamsize precision() const { return _M_precision; } in precision()
130 streamsize precision(streamsize __newprecision) { in precision()
131 streamsize __tmp = _M_precision; in precision()
136 streamsize width() const { return _M_width; } in width()
137 streamsize width(streamsize __newwidth) { in width()
138 streamsize __tmp = _M_width; in width()
219 streamsize _M_precision;
220 streamsize _M_width;
D_istream.h125 streamsize gcount() const { return _M_gcount; } in gcount()
133 _Self& get(char_type* __s, streamsize __n, char_type __delim);
134 _Self& get(char_type* __s, streamsize __n) in get()
144 _Self& getline(char_type* __s, streamsize __n, char_type delim);
145 _Self& getline(char_type* __s, streamsize __n) in getline()
150 _Self& ignore(streamsize __n);
151 _Self& ignore(streamsize __n, int_type __delim);
153 _Self& read(char_type* __s, streamsize __n);
154 streamsize readsome(char_type* __s, streamsize __n);
173 streamsize _M_gcount; // most recent unformatted input function.
D_iomanip.h118 inline _STLP_PRIV _Ios_Manip_1<streamsize> _STLP_CALL
120 _STLP_PRIV _Ios_Manip_1<streamsize>::__f_ptr_type __f = &ios_base::precision; in setprecision()
121 return _STLP_PRIV _Ios_Manip_1<streamsize>(__f, __n); in setprecision()
124 inline _STLP_PRIV _Ios_Manip_1<streamsize> _STLP_CALL
126 _STLP_PRIV _Ios_Manip_1<streamsize>::__f_ptr_type __f = &ios_base::width; in setw()
127 return _STLP_PRIV _Ios_Manip_1<streamsize>(__f, __n); in setw()
D_fstream.c132 streamsize basic_filebuf<_CharT, _Traits>::showmanyc() { in showmanyc()
268 basic_filebuf<_CharT, _Traits>::setbuf(_CharT* __buf, streamsize __n) { in setbuf()
630 bool basic_filebuf<_CharT, _Traits>::_M_allocate_buffers(_CharT* __buf, streamsize __n) { in _M_allocate_buffers()
635 sizeof(streamsize) >= sizeof(int)) in _M_allocate_buffers()
638 streamsize __bufsize = __n * sizeof(_CharT); in _M_allocate_buffers()
641 if ((sizeof(streamsize) > sizeof(size_t)) && in _M_allocate_buffers()
642 (__bufsize > __STATIC_CAST(streamsize, (numeric_limits<size_t>::max)()))) in _M_allocate_buffers()
654 streamsize __ebufsiz = (max)(__n * __STATIC_CAST(streamsize, _M_width), in _M_allocate_buffers()
655 __STATIC_CAST(streamsize, _M_codecvt->max_length())); in _M_allocate_buffers()
658 if ((sizeof(streamsize) < sizeof(size_t)) || in _M_allocate_buffers()
[all …]
D_sstream.c169 streamsize
171 streamsize __n) { in xsputn()
172 streamsize __nwritten = 0; in xsputn()
212 streamsize
214 streamsize __n) { in _M_xsputnc()
215 streamsize __nwritten = 0; in _M_xsputnc()
235 …size_t __app_size = sizeof(streamsize) > sizeof(size_t) ? __STATIC_CAST(size_t, (min)(__n, __STATI… in _M_xsputnc()
262 basic_stringbuf<_CharT, _Traits, _Alloc>::setbuf(_CharT*, streamsize __n) { in setbuf()
279 …_M_str.reserve(sizeof(streamsize) > sizeof(size_t) ? __STATIC_CAST(size_t, (min)(__n, __STATIC_CAS… in setbuf()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
Dlcast_precision.hpp71 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()
176 std::streamsize const s = lcast_get_precision(static_cast<Source*>(0)); in lcast_set_precision()
177 std::streamsize const t = lcast_get_precision(static_cast<Target*>(0)); in lcast_set_precision()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstreambuf38 basic_streambuf* pubsetbuf(char_type* s, streamsize n);
47 streamsize in_avail();
51 streamsize sgetn(char_type* s, streamsize n);
59 streamsize sputn(const char_type* s, streamsize n);
86 virtual basic_streambuf* setbuf(char_type* s, streamsize n);
94 virtual streamsize showmanyc();
95 virtual streamsize xsgetn(char_type* s, streamsize n);
103 virtual streamsize xsputn(const char_type* s, streamsize n);
139 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n);
148 streamsize in_avail();
[all …]
Dstrstream21 explicit strstreambuf(streamsize alsize_arg = 0);
23 strstreambuf(char* gnext_arg, streamsize n, char* pbeg_arg = 0);
24 strstreambuf(const char* gnext_arg, streamsize n);
26 strstreambuf(signed char* gnext_arg, streamsize n, signed char* pbeg_arg = 0);
27 strstreambuf(const signed char* gnext_arg, streamsize n);
28 strstreambuf(unsigned char* gnext_arg, streamsize n, unsigned char* pbeg_arg = 0);
29 strstreambuf(const unsigned char* gnext_arg, streamsize n);
50 virtual streambuf* setbuf(char* s, streamsize n);
59 streamsize alsize; // exposition only
70 istrstream(const char* s, streamsize n);
[all …]
Dios23 typedef SZ_T streamsize;
79 streamsize precision() const;
80 streamsize precision(streamsize prec);
81 streamsize width() const;
82 streamsize width(streamsize wide);
229 typedef ptrdiff_t streamsize;
287 _LIBCPP_INLINE_VISIBILITY streamsize precision() const;
288 _LIBCPP_INLINE_VISIBILITY streamsize precision(streamsize __prec);
289 _LIBCPP_INLINE_VISIBILITY streamsize width() const;
290 _LIBCPP_INLINE_VISIBILITY streamsize width(streamsize __wide);
[all …]
Distream62 streamsize gcount() const;
65 basic_istream& get(char_type* s, streamsize n);
66 basic_istream& get(char_type* s, streamsize n, char_type delim);
70 basic_istream& getline(char_type* s, streamsize n);
71 basic_istream& getline(char_type* s, streamsize n, char_type delim);
73 basic_istream& ignore(streamsize n = 1, int_type delim = traits_type::eof());
75 basic_istream& read (char_type* s, streamsize n);
76 streamsize readsome(char_type* s, streamsize n);
170 streamsize __gc_;
221 streamsize gcount() const {return __gc_;}
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dstrstream.cpp34 strstreambuf::strstreambuf(streamsize initial_capacity) in strstreambuf()
37 …size_t n = (sizeof(streamsize) > sizeof(size_t)) ? __STATIC_CAST(size_t, (min)(__STATIC_CAST(strea… in strstreambuf()
38 … (max)(initial_capacity, streamsize(16)))) in strstreambuf()
39 … : __STATIC_CAST(size_t, (max)(initial_capacity, streamsize(16))); in strstreambuf()
60 strstreambuf::strstreambuf(char* get, streamsize n, char* put) in strstreambuf()
66 strstreambuf::strstreambuf(signed char* get, streamsize n, signed char* put) in strstreambuf()
72 strstreambuf::strstreambuf(unsigned char* get, streamsize n, in strstreambuf()
79 strstreambuf::strstreambuf(const char* get, streamsize n) in strstreambuf()
85 strstreambuf::strstreambuf(const signed char* get, streamsize n) in strstreambuf()
91 strstreambuf::strstreambuf(const unsigned char* get, streamsize n) in strstreambuf()
[all …]
Dstdio_streambuf.h59 streambuf* setbuf(char*, streamsize);
79 streamsize showmanyc();
91 streamsize showmanyc();
Dstdio_streambuf.cpp64 _STLP_STD::streambuf* stdio_streambuf_base::setbuf(char* s, streamsize n) { in setbuf()
68 …size_t __n_size_t = (sizeof(streamsize) > sizeof(size_t)) ? __STATIC_CAST(size_t, (min)(__STATIC_C… in setbuf()
153 streamsize stdio_istreambuf::showmanyc() in showmanyc()
200 streamsize stdio_ostreambuf::showmanyc() in showmanyc()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/stream.types/
Dstreamsize.pass.cpp19 static_assert(std::is_integral<std::streamsize>::value, ""); in main()
20 static_assert(std::is_signed<std::streamsize>::value, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/
Dsgetn.pass.cpp28 std::streamsize xsgetn(char_type* s, std::streamsize n) in xsgetn()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/
Dsputn.pass.cpp28 std::streamsize xsputn(const char_type* s, std::streamsize n) in xsputn()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstrstream.cpp17 strstreambuf::strstreambuf(streamsize __alsize) in strstreambuf()
34 strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) in __init()
37 __n = static_cast<streamsize>(strlen(__gnext)); in __init()
49 strstreambuf::strstreambuf(char* __gnext, streamsize __n, char* __pbeg) in strstreambuf()
58 strstreambuf::strstreambuf(const char* __gnext, streamsize __n) in strstreambuf()
67 strstreambuf::strstreambuf(signed char* __gnext, streamsize __n, signed char* __pbeg) in strstreambuf()
76 strstreambuf::strstreambuf(const signed char* __gnext, streamsize __n) in strstreambuf()
85 strstreambuf::strstreambuf(unsigned char* __gnext, streamsize __n, unsigned char* __pbeg) in strstreambuf()
94 strstreambuf::strstreambuf(const unsigned char* __gnext, streamsize __n) in strstreambuf()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/
Dunderflow.pass.cpp23 test(char* gnext_arg, std::streamsize n, char* pbeg_arg = 0) in test()
25 test(const char* gnext_arg, std::streamsize n) in test()
Dpbackfail.pass.cpp23 test(char* gnext_arg, std::streamsize n, char* pbeg_arg = 0) in test()
25 test(const char* gnext_arg, std::streamsize n) in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/
Dstreamsize.pass.cpp20 std::streamsize sz(o); in main()

12