/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 32 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() 66 assert(f.pbase() == 0); in main() 70 assert(f.pbase() == 0); in main() 85 assert(f.pbase() == 0); in main() 89 assert(f.pbase() != 0); in main() 90 assert(f.pptr() == f.pbase()); in main() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 32 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() 66 assert(f.pbase() == 0); in main() 70 assert(f.pbase() == 0); in main() 85 assert(f.pbase() == 0); in main() 89 assert(f.pbase() != 0); in main() 90 assert(f.pptr() == f.pbase()); in main() [all …]
|
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | overflow.pass.cpp | 34 char_type* pbase() const {return base::pbase();} in pbase() function 47 assert(f.pbase() == 0); in main() 51 assert(f.pbase() != 0); in main() 52 assert(f.pptr() == f.pbase()); in main() 53 assert(f.epptr() - f.pbase() == 4095); in main() 65 assert(f.pbase() == 0); in main() 69 assert(f.pbase() == 0); in main()
|
/external/libcxx/test/std/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()
|
/external/catch2/include/internal/ |
D | catch_stream.cpp | 48 if( pbase() == epptr() ) in overflow() 57 if( pbase() != pptr() ) { in sync() 58 … m_writer( std::string( pbase(), static_cast<std::string::size_type>( pptr() - pbase() ) ) ); in sync() 59 setp( pbase(), epptr() ); in sync()
|
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
D | swap.pass.cpp | 39 assert(this->pbase() == old_that.pbase()); in swap() 47 assert(t.pbase() == old_this.pbase()); in swap()
|
D | assign.pass.cpp | 37 assert(this->pbase() == t.pbase()); in operator =()
|
/external/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/ |
D | swap.pass.cpp | 39 assert(this->pbase() == old_that.pbase()); in swap() 47 assert(t.pbase() == old_this.pbase()); in swap()
|
D | assign.pass.cpp | 37 assert(this->pbase() == t.pbase()); in operator =()
|
/external/python/pybind11/include/pybind11/ |
D | iostream.h | 45 if (pbase() != pptr()) { in PYBIND11_NAMESPACE_BEGIN() 51 str line(pbase(), static_cast<size_t>(pptr() - pbase())); in PYBIND11_NAMESPACE_BEGIN() 57 setp(pbase(), epptr()); in PYBIND11_NAMESPACE_BEGIN()
|
/external/llvm-project/libcxx/src/ |
D | strstream.cpp | 149 return static_cast<int>(pptr() - pbase()); in pcount() 178 ptrdiff_t nout = pptr() - pbase(); in overflow() 283 setp(min(pbase(), newpos), epptr()); in seekoff() 284 __pbump((epptr() - pbase()) - __off); in seekoff() 313 setp(min(pbase(), newpos), epptr()); in seekpos() 314 __pbump((epptr() - pbase()) - temp); in seekpos()
|
/external/libcxx/src/ |
D | strstream.cpp | 150 return static_cast<int>(pptr() - pbase()); in pcount() 179 ptrdiff_t nout = pptr() - pbase(); in overflow() 284 setp(min(pbase(), newpos), epptr()); in seekoff() 285 __pbump((epptr() - pbase()) - __off); in seekoff() 314 setp(min(pbase(), newpos), epptr()); in seekpos() 315 __pbump((epptr() - pbase()) - temp); in seekpos()
|
/external/rust/crates/libz-sys/src/zlib/contrib/iostream3/ |
D | zfstream.cc | 217 if (this->pbase()) in overflow() 220 if (this->pptr() > this->epptr() || this->pptr() < this->pbase()) in overflow() 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 353 if (!this->pbase()) in disable_buffer()
|
/external/libcxx/test/std/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()
|
/external/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/ |
D | pbump.pass.cpp | 36 CharT* pbeg = base::pbase(); in pbump() 40 assert(base::pbase() == pbeg); in pbump()
|
/external/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/ |
D | copy.pass.cpp | 37 assert(this->pbase() == t.pbase()); in test()
|
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/ |
D | copy.pass.cpp | 37 assert(this->pbase() == t.pbase()); in test()
|
/external/libcxx/include/ |
D | __std_stream | 279 char_type* pbase = &__1buf; 280 char_type* pptr = pbase + 1; 284 __r = __cv_->out(*__st_, pbase, pptr, __e, 288 if (__e == pbase) 292 if (fwrite(pbase, 1, 1, __file_) != 1) 302 pbase = const_cast<char_type*>(__e);
|
D | sstream | 277 if (__rhs.pbase() != nullptr) 279 __bout = __rhs.pbase() - __p; 318 if (__rhs.pbase() != nullptr) 320 __bout = __rhs.pbase() - __p; 368 if (__rhs.pbase() != nullptr) 370 __rbout = __rhs.pbase() - __p; 388 if (this->pbase() != nullptr) 390 __lbout = this->pbase() - __p; 445 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 540 ptrdiff_t __nout = this->pptr() - this->pbase(); [all …]
|
D | fstream | 344 if (__rhs.pbase()) 346 if (__rhs.pbase() == __rhs.__intbuf_) 347 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase())); 350 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase())); 351 this->__pbump(__rhs. pptr() - __rhs.pbase()); 464 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_) 466 ptrdiff_t __n = this->pptr() - this->pbase(); 467 ptrdiff_t __e = this->epptr() - this->pbase(); 480 else if (__rhs.pbase() == (char_type*)__extbuf_min_) 482 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); [all …]
|
/external/llvm-project/libcxx/include/ |
D | __std_stream | 278 char_type* pbase = &__1buf; 279 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 = const_cast<char_type*>(__e);
|
D | sstream | 265 if (__rhs.pbase() != nullptr) 267 __bout = __rhs.pbase() - __p; 306 if (__rhs.pbase() != nullptr) 308 __bout = __rhs.pbase() - __p; 354 if (__rhs.pbase() != nullptr) 356 __rbout = __rhs.pbase() - __p; 374 if (this->pbase() != nullptr) 376 __lbout = this->pbase() - __p; 431 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 526 ptrdiff_t __nout = this->pptr() - this->pbase(); [all …]
|
D | fstream | 344 if (__rhs.pbase()) 346 if (__rhs.pbase() == __rhs.__intbuf_) 347 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase())); 350 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase())); 351 this->__pbump(__rhs. pptr() - __rhs.pbase()); 464 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_) 466 ptrdiff_t __n = this->pptr() - this->pbase(); 467 ptrdiff_t __e = this->epptr() - this->pbase(); 480 else if (__rhs.pbase() == (char_type*)__extbuf_min_) 482 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_sort.c | 153 int isl_sort(void *const pbase, size_t total_elems, size_t size, in isl_sort() argument 156 return MergeSort (pbase, total_elems, size, cmp, arg); in isl_sort()
|
D | isl_sort.h | 6 int isl_sort(void *const pbase, size_t total_elems, size_t size,
|