Home
last modified time | relevance | path

Searched refs:gptr (Results 1 – 25 of 63) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Dunderflow.pass.cpp30 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 …]
Dpbackfail.pass.cpp29 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/
Dunderflow.pass.cpp34 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()
Dpbackfail.pass.cpp34 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/
Dctor.pass.cpp42 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/
Dstrstream.cpp171 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/
Dstrstream.cpp132 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 …]
Dfstream.cpp48 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/
Dswap.pass.cpp35 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.c97 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/
Drvalue.pass.cpp41 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/
Dsync.pass.cpp39 CharT* gptr() const {return base::gptr();} in gptr() function
Dtellg.pass.cpp37 CharT* gptr() const {return base::gptr();} in gptr() function
Dseekg.pass.cpp37 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/
Dgbump.pass.cpp36 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/
Dunsigned_char.pass.cpp38 CharT* gptr() const {return base::gptr();} in gptr() function
Dsigned_char.pass.cpp38 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/
Dfloat.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dunsigned_long_long.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dlong_long.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Ddouble.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dunsigned_int.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dunsigned_long.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dlong_double.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
Dbool.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function

123