/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 31 char_type* pptr() const {return base::pptr();} in pptr() function 45 assert(f.pptr() == 0); in main() 49 assert(f.pptr() == f.pbase()); in main() 65 assert(f.pptr() == 0); in main() 69 assert(f.pptr() == 0); in main() 84 assert(f.pptr() == 0); in main() 88 assert(f.pptr() == f.pbase()); in main() 104 assert(f.pptr() == 0); in main() 108 assert(f.pptr() == 0); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | overflow.pass.cpp | 34 char_type* pptr() const {return base::pptr();} in pptr() function 47 assert(f.pptr() == 0); in main() 51 assert(f.pptr() == f.pbase()); in main() 65 assert(f.pptr() == 0); in main() 69 assert(f.pptr() == 0); in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | strstream.cpp | 113 return int(pptr() ? pptr() - pbase() : 0); in pcount() 121 if (pptr() == epptr() && _M_dynamic && !_M_frozen && !_M_constant) { in overflow() 147 if (pptr() != epptr()) { in overflow() 148 *pptr() = traits_type::to_char_type(c); in overflow() 177 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow() 178 setg(eback(), gptr(), pptr()); in underflow() 208 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff() 223 newoff = do_put ? pptr() - seeklow : gptr() - seeklow; in seekoff() 246 else if (off <= pptr() - seeklow) in seekoff() 247 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), pptr()); in seekoff()
|
D | stdio_streambuf.cpp | 207 ptrdiff_t unwritten = this->pptr() - this->pbase(); in overflow() 211 if (this->pptr() - this->pbase() < unwritten) in overflow()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | strstream.cpp | 147 return static_cast<int>(pptr() - pbase()); in pcount() 155 if (pptr() == epptr()) in overflow() 173 ptrdiff_t nout = pptr() - pbase(); in overflow() 187 *pptr() = static_cast<char>(__c); in overflow() 221 if (egptr() >= pptr()) in underflow() 223 setg(eback(), gptr(), pptr()); in underflow() 249 if (pos_out && pptr() == nullptr) in seekoff() 261 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff() 294 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
D | swap.pass.cpp | 38 assert(this->pptr() == old_that.pptr()); in swap() 46 assert(t.pptr() == old_this.pptr()); in swap()
|
D | assign.pass.cpp | 36 assert(this->pptr() == t.pptr()); in operator =()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/ |
D | pbump.pass.cpp | 36 CharT* pnext = base::pptr(); in pbump() 40 assert(base::pptr() == pnext+n); in pbump()
|
D | setp.pass.cpp | 32 assert(base::pptr() == pbeg); in setp()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _sstream.c | 146 if ( this->pptr() < this->epptr() ) { // just put back in any case in overflow() 178 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in xsputn() 180 _Traits::copy(this->pptr(), __s, __STATIC_CAST(size_t, __n)); in xsputn() 184 _Traits::copy(this->pptr(), __s, __avail); in xsputn() 221 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in _M_xsputnc() 223 _Traits::assign(this->pptr(), __STATIC_CAST(size_t, __n), __c); in _M_xsputnc() 228 _Traits::assign(this->pptr(), __avail, __c); in _M_xsputnc() 271 __offp = this->pptr() - this->pbase(); in setbuf() 311 if ( (__imode && (this->gptr() == 0)) || (__omode && (this->pptr() == 0)) ) in seekoff() 323 __newoff = __imode ? this->gptr() - this->eback() : this->pptr() - this->pbase(); in seekoff() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.cons/ |
D | copy.pass.cpp | 36 assert(this->pptr() == t.pptr()); in test()
|
D | default.pass.cpp | 32 assert(this->pptr() == 0); in test()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | sstream | 279 __nout = __rhs.pptr() - __p; 320 __nout = __rhs.pptr() - __p; 365 __rnout = __rhs.pptr() - __p; 385 __lnout = this->pptr() - __p; 437 if (__hm_ < this->pptr()) 438 __hm_ = this->pptr(); 475 if (__hm_ < this->pptr()) 476 __hm_ = this->pptr(); 491 if (__hm_ < this->pptr()) 492 __hm_ = this->pptr(); [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.rvalue/ |
D | CharT_pointer.pass.cpp | 36 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
D | ostream.pass.cpp | 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | ios_base.pass.cpp | 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | streambuf.pass.cpp | 39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | basic_ios.pass.cpp | 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
D | streambuf.pass.cpp | 39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.manip/ |
D | endl.pass.cpp | 35 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | ends.pass.cpp | 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.unformatted/ |
D | put.pass.cpp | 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
D | unsigned_short.pass.cpp | 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | short.pass.cpp | 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|
D | unsigned_long_long.pass.cpp | 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
|