/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | underflow.pass.cpp | 30 char_type* gptr() const {return base::gptr();} in gptr() function 44 assert(f.gptr() == 0); in main() 48 assert(f.eback() == f.gptr()); in main() 49 assert(*f.gptr() == '1'); in main() 58 assert(f.gptr() == 0); in main() 62 assert(f.eback() == f.gptr()); in main() 63 assert(*f.gptr() == '1'); in main() 71 assert(f.gptr() - f.eback() == 4); in main() 72 assert(*f.gptr() == '9'); in main() 73 assert(f.egptr() - f.gptr() == 1); in main() [all …]
|
D | pbackfail.pass.cpp | 29 char_type* gptr() const {return base::gptr();} in gptr() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | underflow.pass.cpp | 34 char_type* gptr() const {return base::gptr();} in gptr() function 47 assert(f.gptr() == 0); in main() 51 assert(f.eback() == f.gptr()); in main() 52 assert(*f.gptr() == L'1'); in main() 59 assert(f.gptr() == 0); in main() 63 assert(f.eback() == f.gptr()); in main() 64 assert(*f.gptr() == L'1'); in main() 72 assert(f.gptr() - f.eback() == 8); in main() 73 assert(*f.gptr() == L'9'); in main() 74 assert(f.egptr() - f.gptr() == 1); in main()
|
D | pbackfail.pass.cpp | 34 char_type* gptr() const {return base::gptr();} in gptr() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream/istream_sentry/ |
D | ctor.pass.cpp | 42 CharT* gptr() const {return base::gptr();} in gptr() function 79 assert(sb.gptr() == sb.eback()); in main() 89 assert(sb.gptr() == sb.eback()); in main() 98 assert(sb.gptr() == sb.eback() + 3); in main() 107 assert(sb.gptr() == sb.eback() + 3); in main() 117 assert(sb.gptr() == sb.eback() + 6); in main() 126 assert(sb.gptr() == sb.eback()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | strstream.cpp | 171 ptrdiff_t ninp = gptr() - eback(); in overflow() 195 if (eback() == gptr()) in pbackfail() 204 if (gptr()[-1] == static_cast<char>(__c)) in pbackfail() 212 *gptr() = static_cast<char>(__c); in pbackfail() 219 if (gptr() == egptr()) in underflow() 223 setg(eback(), gptr(), pptr()); in underflow() 225 return int_type(static_cast<unsigned char>(*gptr())); in underflow() 247 if (pos_in && gptr() == 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/stlport/src/ |
D | strstream.cpp | 132 if (gptr() != 0) { in overflow() 134 old_get_offset = gptr() - eback(); in overflow() 157 if (gptr() != eback()) { in pbackfail() 162 else if (c == gptr()[-1]) { in pbackfail() 168 *gptr() = traits_type::to_char_type(c); in pbackfail() 177 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow() 178 setg(eback(), gptr(), pptr()); in underflow() 180 if (gptr() != egptr()) in underflow() 181 return (unsigned char) *gptr(); in underflow() 208 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff() [all …]
|
D | fstream.cpp | 48 if (__this->gptr() != __this->egptr()) { in _M_doit() 49 int_type __c = traits_type::to_int_type(*__this->gptr()); in _M_doit() 81 return traits_type::to_int_type(*__this->gptr()); in _M_doit()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
D | swap.pass.cpp | 35 assert(this->gptr() == old_that.gptr()); in swap() 43 assert(t.gptr() == old_this.gptr()); in swap()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _sstream.c | 97 return this->gptr() != this->egptr() in underflow() 98 ? _Traits::to_int_type(*this->gptr()) in underflow() 106 if (this->gptr() != this->egptr()) { in uflow() 107 int_type __c = _Traits::to_int_type(*this->gptr()); in uflow() 118 if (this->gptr() != this->eback()) { in pbackfail() 120 if (_Traits::eq(_Traits::to_char_type(__c), this->gptr()[-1])) { in pbackfail() 126 *this->gptr() = _Traits::to_char_type(__c); in pbackfail() 150 ptrdiff_t __offset = this->gptr() - this->eback(); in overflow() 194 ptrdiff_t __get_offset = this->gptr() - this->eback(); in xsputn() 239 ptrdiff_t __get_offset = this->gptr() - this->eback(); in _M_xsputnc() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.rvalue/ |
D | rvalue.pass.cpp | 41 CharT* gptr() const {return base::gptr();} in gptr() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/ |
D | sync.pass.cpp | 39 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | tellg.pass.cpp | 37 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | seekg.pass.cpp | 37 CharT* gptr() const {return base::gptr();} in gptr() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/ |
D | gbump.pass.cpp | 36 CharT* gnext = base::gptr(); in gbump() 40 assert(base::gptr() == gnext+n); in gbump()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
D | unsigned_char.pass.cpp | 38 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | signed_char.pass.cpp | 38 CharT* gptr() const {return base::gptr();} in gptr() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/ |
D | float.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | unsigned_long_long.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | long_long.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | double.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | unsigned_int.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | unsigned_long.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | long_double.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|
D | bool.pass.cpp | 40 CharT* gptr() const {return base::gptr();} in gptr() function
|