Home
last modified time | relevance | path

Searched refs:eback (Results 1 – 25 of 54) sorted by relevance

123

/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dunderflow.pass.cpp29 char_type* eback() const {return base::eback();} in eback() function
43 assert(f.eback() == 0); in main()
47 assert(f.eback() != 0); in main()
48 assert(f.eback() == f.gptr()); in main()
50 assert(f.egptr() - f.eback() == 9); in main()
57 assert(f.eback() == 0); in main()
61 assert(f.eback() != 0); in main()
62 assert(f.eback() == f.gptr()); in main()
64 assert(f.egptr() - f.eback() == 8); in main()
67 assert(f.eback()[0] == '5'); in main()
[all …]
Dpbackfail.pass.cpp28 char_type* eback() const {return base::eback();} in eback() function
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dunderflow.pass.cpp33 char_type* eback() const {return base::eback();} in eback() function
46 assert(f.eback() == 0); in main()
50 assert(f.eback() != 0); in main()
51 assert(f.eback() == f.gptr()); in main()
53 assert(f.egptr() - f.eback() == 9); in main()
58 assert(f.eback() == 0); in main()
62 assert(f.eback() != 0); in main()
63 assert(f.eback() == f.gptr()); in main()
65 assert(f.egptr() - f.eback() == 9); in main()
68 assert(f.eback()[0] == L'1'); in main()
[all …]
Dpbackfail.pass.cpp33 char_type* eback() const {return base::eback();} in eback() function
/external/libcxx/src/
Dstrstream.cpp105 if (eback() && (__strmode_ & __allocated) != 0 && (__strmode_ & __frozen) == 0) in ~strstreambuf()
108 __pfree_(eback()); in ~strstreambuf()
110 delete [] eback(); in ~strstreambuf()
141 return eback(); in str()
159 size_t old_size = static_cast<size_t> ((epptr() ? epptr() : egptr()) - eback()); in overflow()
170 memcpy(buf, eback(), static_cast<size_t>(old_size)); in overflow()
171 ptrdiff_t ninp = gptr() - eback(); in overflow()
172 ptrdiff_t einp = egptr() - eback(); in overflow()
178 __pfree_(eback()); in overflow()
180 delete [] eback(); in overflow()
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/
Dctor.pass.cpp41 CharT* eback() const {return base::eback();} in eback() 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()
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp34 assert(this->eback() == old_that.eback()); in swap()
42 assert(t.eback() == old_this.eback()); in swap()
/external/libcxx/include/
Dfstream315 else if (__rhs.eback())
317 if (__rhs.eback() == __rhs.__intbuf_)
318 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
319 __intbuf_ + (__rhs.egptr() - __rhs.eback()));
322 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
323 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback()));
418 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
420 ptrdiff_t __n = this->gptr() - this->eback();
421 ptrdiff_t __e = this->egptr() - this->eback();
434 if (__rhs.eback() == (char_type*)__extbuf_min_)
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/
Drvalue.pass.cpp40 CharT* eback() const {return base::eback();} in eback() function
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dsync.pass.cpp38 CharT* eback() const {return base::eback();} in eback() function
Dtellg.pass.cpp36 CharT* eback() const {return base::eback();} in eback() function
Dseekg.pass.cpp36 CharT* eback() const {return base::eback();} in eback() function
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/
Dgbump.pass.cpp35 CharT* gbeg = base::eback(); in gbump()
39 assert(base::eback() == gbeg); in gbump()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dunsigned_char.pass.cpp37 CharT* eback() const {return base::eback();} in eback() function
Dsigned_char.pass.cpp37 CharT* eback() const {return base::eback();} in eback() function
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/
Dbool.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dfloat.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dlong_double.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dunsigned_long.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dunsigned_long_long.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dlong_long.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dlong.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Ddouble.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dunsigned_int.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function
Dunsigned_short.pass.cpp39 CharT* eback() const {return base::eback();} in eback() function

123