/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | underflow.pass.cpp | 32 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() 60 assert(f.eback() == 0); in main() 64 assert(f.eback() != 0); in main() 65 assert(f.eback() == f.gptr()); in main() 67 assert(f.egptr() - f.eback() == 8); in main() 70 assert(f.eback()[0] == '5'); in main() [all …]
|
D | pbackfail.pass.cpp | 28 char_type* eback() const {return base::eback();} in eback() function
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | underflow.pass.cpp | 33 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 …]
|
D | pbackfail.pass.cpp | 33 char_type* eback() const {return base::eback();} in eback() function
|
/external/libcxx/src/ |
D | strstream.cpp | 108 if (eback() && (__strmode_ & __allocated) != 0 && (__strmode_ & __frozen) == 0) in ~strstreambuf() 111 __pfree_(eback()); in ~strstreambuf() 113 delete [] eback(); in ~strstreambuf() 144 return eback(); in str() 162 size_t old_size = static_cast<size_t> ((epptr() ? epptr() : egptr()) - eback()); in overflow() 174 _LIBCPP_ASSERT(eback(), "overflow copying from NULL"); in overflow() 175 memcpy(buf, eback(), static_cast<size_t>(old_size)); in overflow() 177 ptrdiff_t ninp = gptr() - eback(); in overflow() 178 ptrdiff_t einp = egptr() - eback(); in overflow() 183 __pfree_(eback()); in overflow() [all …]
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/ |
D | ctor.pass.cpp | 41 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/ |
D | swap.pass.cpp | 36 assert(this->eback() == old_that.eback()); in swap() 44 assert(t.eback() == old_this.eback()); in swap()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
D | sync.pass.cpp | 38 CharT* eback() const {return base::eback();} in eback() function
|
D | tellg.pass.cpp | 36 CharT* eback() const {return base::eback();} in eback() function
|
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/ |
D | gbump.pass.cpp | 35 CharT* gbeg = base::eback(); in gbump() 39 assert(base::eback() == gbeg); in gbump()
|
/external/libcxx/include/ |
D | fstream | 353 else if (__rhs.eback()) 355 if (__rhs.eback() == __rhs.__intbuf_) 356 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()), 357 __intbuf_ + (__rhs.egptr() - __rhs.eback())); 360 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()), 361 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback())); 456 if (this->eback() == (char_type*)__rhs.__extbuf_min_) 458 ptrdiff_t __n = this->gptr() - this->eback(); 459 ptrdiff_t __e = this->egptr() - this->eback(); 472 if (__rhs.eback() == (char_type*)__extbuf_min_) [all …]
|
D | sstream | 268 if (__rhs.eback() != nullptr) 270 __binp = __rhs.eback() - __p; 309 if (__rhs.eback() != nullptr) 311 __binp = __rhs.eback() - __p; 359 if (__rhs.eback() != nullptr) 361 __rbinp = __rhs.eback() - __p; 379 if (this->eback() != nullptr) 381 __lbinp = this->eback() - __p; 448 return string_type(this->eback(), this->egptr(), __str_.get_allocator()); 494 this->setg(this->eback(), this->gptr(), __hm_); [all …]
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/ |
D | rvalue.pass.cpp | 41 CharT* eback() const {return base::eback();} in eback() function
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
D | unsigned_char.pass.cpp | 37 CharT* eback() const {return base::eback();} in eback() function
|
D | signed_char.pass.cpp | 37 CharT* eback() const {return base::eback();} in eback() function
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/ |
D | long.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | unsigned_long_long.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | unsigned_int.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | bool.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | float.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | unsigned_short.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | double.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | unsigned_long.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | long_long.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|
D | long_double.pass.cpp | 39 CharT* eback() const {return base::eback();} in eback() function
|