Home
last modified time | relevance | path

Searched refs:pptr (Results 1 – 25 of 57) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Doverflow.pass.cpp31 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/
Doverflow.pass.cpp34 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/
Dstrstream.cpp113 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()
Dstdio_streambuf.cpp207 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/
Dstrstream.cpp147 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/
Dswap.pass.cpp38 assert(this->pptr() == old_that.pptr()); in swap()
46 assert(t.pptr() == old_this.pptr()); in swap()
Dassign.pass.cpp36 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/
Dpbump.pass.cpp36 CharT* pnext = base::pptr(); in pbump()
40 assert(base::pptr() == pnext+n); in pbump()
Dsetp.pass.cpp32 assert(base::pptr() == pbeg); in setp()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_sstream.c146 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/
Dcopy.pass.cpp36 assert(this->pptr() == t.pptr()); in test()
Ddefault.pass.cpp32 assert(this->pptr() == 0); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dsstream279 __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/
DCharT_pointer.pass.cpp36 {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/
Dostream.pass.cpp33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dios_base.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dstreambuf.pass.cpp39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dbasic_ios.pass.cpp33 {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/
Dstreambuf.pass.cpp39 {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/
Dendl.pass.cpp35 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dends.pass.cpp33 {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/
Dput.pass.cpp32 {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/
Dunsigned_short.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dshort.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()
Dunsigned_long_long.pass.cpp32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str()

123