/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 30 char_type* pbase() const {return base::pbase();} in pbase() function 44 assert(f.pbase() == 0); in main() 48 assert(f.pbase() != 0); in main() 49 assert(f.pptr() == f.pbase()); in main() 50 assert(f.epptr() - f.pbase() == 4095); in main() 64 assert(f.pbase() == 0); in main() 68 assert(f.pbase() == 0); in main() 83 assert(f.pbase() == 0); in main() 87 assert(f.pbase() != 0); in main() 88 assert(f.pptr() == f.pbase()); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | overflow.pass.cpp | 33 char_type* pbase() const {return base::pbase();} in pbase() function 46 assert(f.pbase() == 0); in main() 50 assert(f.pbase() != 0); in main() 51 assert(f.pptr() == f.pbase()); in main() 52 assert(f.epptr() - f.pbase() == 4095); in main() 64 assert(f.pbase() == 0); in main() 68 assert(f.pbase() == 0); in main()
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | test_gabixx_rtti.cpp | 74 Base* pbase = &derived; in main() local 77 CHECK(typeid(pbase) == typeid(Base*)); in main() 81 printf(" *pbase is: %s\n", typeid(*pbase).name()); in main()
|
/ndk/tests/device/test-stlport-rtti/jni/ |
D | test_stlport_rtti.cpp | 74 Base* pbase = &derived; in main() local 77 CHECK(typeid(pbase) == typeid(Base*)); in main() 81 printf(" *pbase is: %s\n", typeid(*pbase).name()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
D | swap.pass.cpp | 37 assert(this->pbase() == old_that.pbase()); in swap() 45 assert(t.pbase() == old_this.pbase()); in swap()
|
D | assign.pass.cpp | 35 assert(this->pbase() == t.pbase()); in operator =()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | strstream.cpp | 147 return static_cast<int>(pptr() - pbase()); in pcount() 173 ptrdiff_t nout = pptr() - pbase(); in overflow() 174 ptrdiff_t eout = epptr() - pbase(); in overflow() 277 setp(min(pbase(), newpos), epptr()); in seekoff() 278 pbump(static_cast<int>((epptr() - pbase()) - __off)); in seekoff() 307 setp(min(pbase(), newpos), epptr()); in seekpos() 308 pbump(static_cast<int>((epptr() - pbase()) - temp)); in seekpos()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/ |
D | pbump.pass.cpp | 35 CharT* pbeg = base::pbase(); in pbump() 39 assert(base::pbase() == pbeg); in pbump()
|
D | setp.pass.cpp | 31 assert(base::pbase() == pbeg); in setp()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | strstream.cpp | 113 return int(pptr() ? pptr() - pbase() : 0); in pcount() 122 ptrdiff_t old_size = epptr() - pbase(); in overflow() 127 memcpy(buf, pbase(), old_size); in overflow() 129 char* old_buffer = pbase(); in overflow() 234 if (seeklow + __STATIC_CAST(ptrdiff_t, off) < pbase()) { in seekoff() 239 setp(pbase(), epptr()); in seekoff() 240 pbump((int)(off - (pbase() - seeklow))); 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/test/input.output/stream.buffers/streambuf/streambuf.cons/ |
D | copy.pass.cpp | 35 assert(this->pbase() == t.pbase()); in test()
|
D | default.pass.cpp | 31 assert(this->pbase() == 0); in test()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _sstream.c | 177 if ( !_M_str.empty() && this->pbase() == _S_start(_M_str)) { in xsputn() 220 if (this->pbase() == _S_start(_M_str)) { in _M_xsputnc() 269 if (this->pbase() == _S_start(_M_str)) { in setbuf() 271 __offp = this->pptr() - this->pbase(); in setbuf() 323 __newoff = __imode ? this->gptr() - this->eback() : this->pptr() - this->pbase(); in seekoff() 344 ptrdiff_t __n = this->epptr() - this->pbase(); in seekoff() 348 this->setp(this->pbase(), this->pbase() + __n); in seekoff()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | __std_stream | 277 char_type* pbase = &__1buf; 278 char_type* pptr = pbase + 1; 283 __r = __cv_->out(*__st_, pbase, pptr, __e, 287 if (__e == pbase) 291 if (fwrite(pbase, 1, 1, __file_) != 1) 301 pbase = (char_type*)__e;
|
D | fstream | 304 if (__rhs.pbase()) 306 if (__rhs.pbase() == __rhs.__intbuf_) 307 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase())); 310 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase())); 311 this->pbump(__rhs. pptr() - __rhs.pbase()); 424 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_) 426 ptrdiff_t __n = this->pptr() - this->pbase(); 427 ptrdiff_t __e = this->epptr() - this->pbase(); 440 else if (__rhs.pbase() == (char_type*)__extbuf_min_) 442 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); [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()
|