| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| H A D | sstream.tcc | 93 if (size_t(this->epptr() - this->pbase()) < __capacity) in overflow() 97 _M_pbump(__base, __base + __capacity, this->pptr() - this->pbase()); in overflow() 134 if (this->pbase()) in overflow() 135 __tmp.assign(this->pbase(), this->epptr() - this->pbase()); in overflow() 139 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow() 179 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff() 206 _M_pbump(this->pbase(), this->epptr(), __newoffo); in seekoff() 222 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos() 236 _M_pbump(this->pbase(), this->epptr(), __pos); in seekpos()
|
| H A D | fstream.tcc | 558 if (this->pbase() < this->pptr()) in overflow() 569 if (_M_convert_to_external(this->pbase(), in overflow() 570 this->pptr() - this->pbase())) in overflow() 778 const streamsize __buffill = this->pptr() - this->pbase(); in xsputn() 779 const char* __buf = reinterpret_cast<const char*>(this->pbase()); in xsputn() 873 __computed_off = this->pptr() - this->pbase(); in seekoff() 956 if (this->pbase() < this->pptr()) in _M_terminate_output() 1018 if (this->pbase() < this->pptr()) in sync()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| H A D | sstream.tcc | 93 if (size_t(this->epptr() - this->pbase()) < __capacity) in overflow() 97 _M_pbump(__base, __base + __capacity, this->pptr() - this->pbase()); in overflow() 134 if (this->pbase()) in overflow() 135 __tmp.assign(this->pbase(), this->epptr() - this->pbase()); in overflow() 139 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow() 179 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff() 206 _M_pbump(this->pbase(), this->epptr(), __newoffo); in seekoff() 222 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos() 236 _M_pbump(this->pbase(), this->epptr(), __pos); in seekpos()
|
| H A D | fstream.tcc | 558 if (this->pbase() < this->pptr()) in overflow() 569 if (_M_convert_to_external(this->pbase(), in overflow() 570 this->pptr() - this->pbase())) in overflow() 778 const streamsize __buffill = this->pptr() - this->pbase(); in xsputn() 779 const char* __buf = reinterpret_cast<const char*>(this->pbase()); in xsputn() 873 __computed_off = this->pptr() - this->pbase(); in seekoff() 956 if (this->pbase() < this->pptr()) in _M_terminate_output() 1018 if (this->pbase() < this->pptr()) in sync()
|
| /netbsd-src/external/bsd/top/dist/machine/ |
| H A D | m_hpux8.c | 225 static struct proc *pbase; variable 301 pbase = (struct proc *)malloc(bytes); 306 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL) 431 (void) getkval(proc, (int *)pbase, bytes, "proc array"); 433 if (pstat(PSTAT_PROC, &pst[i], sizeof(pst[i]), 0, pbase[i].p_pid) != 1) 434 pbase[i].p_upreg = (preg_t *) 0; 436 pbase[i].p_upreg = (preg_t *) &pst[i]; 437 pbase[i].p_nice = pst[i].pst_nice; 438 pbase[i].p_cpticks = pst[i].pst_cpticks; 456 for (pp = pbase, i = 0; i < nproc; pp++, i++)
|
| H A D | m_hpux9.c | 237 static struct proc *pbase; variable 313 pbase = (struct proc *)malloc(bytes); 318 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL) 443 (void) getkval(proc, (int *)pbase, bytes, "proc array"); 445 if (pstat(PSTAT_PROC, &pst[i], sizeof(pst[i]), 0, pbase[i].p_pid) != 1) 446 pbase[i].p_upreg = (preg_t *) 0; 448 pbase[i].p_upreg = (preg_t *) &pst[i]; 449 pbase[i].p_nice = pst[i].pst_nice; 450 pbase[i].p_cpticks = pst[i].pst_cpticks; 468 for (pp = pbase, i = 0; i < nproc; pp++, i++)
|
| H A D | m_svr4.c | 186 static struct prpsinfo *pbase; variable 245 pbase = (struct prpsinfo *) malloc (bytes); in machine_init() 249 if (pbase == (struct prpsinfo *) NULL || pref == (struct prpsinfo **) NULL) in machine_init() 377 getptable (pbase); in get_process_info() 393 for (pp = pbase, i = 0; i < nproc; pp++, i++) in get_process_info() 661 for (i = 0, p = pbase; i < nproc; i++, p++) in proc_owner()
|
| H A D | m_irix5.c | 183 static struct prpsinfo *pbase; variable 248 pbase = (struct prpsinfo *) malloc (bytes); 253 if (pbase == (struct prpsinfo *) NULL || pref == (struct prpsinfo **) NULL || 382 getptable (pbase); 398 for (pp = pbase, i = 0; i < nproc; pp++, i++) { 579 for (i = 0, p = pbase; i < nproc; i++, p++)
|
| H A D | m_svr5.c | 211 static struct prpsinfo *pbase; variable 275 pbase = (struct prpsinfo *) malloc (bytes); in machine_init() 282 if (pbase == (struct prpsinfo *) NULL || pref == (struct prpsinfo **) NULL) in machine_init() 393 getptable (pbase); in get_process_info() 411 for (pp = pbase, i = 0; i < nproc; pp++, i++) in get_process_info() 988 for (i = 0, p = pbase; i < nproc; i++, p++) in proc_owner() 1097 pbase = (struct prpsinfo *) realloc(pbase, bytes); in reallocproc() 1102 if (pbase == (struct prpsinfo *) NULL || pref == (struct prpsinfo **) NULL) in reallocproc()
|
| H A D | m_irixsgi.c | 191 static struct prpsinfo *pbase; variable 317 if (pbase != NULL) /* && n_active < ptable_size */ in allocate_proc_tables() 324 pbase = (struct prpsinfo *) in allocate_proc_tables() 333 if (pbase == NULL || pref == NULL || oldbase == NULL) { in allocate_proc_tables() 472 getptable(pbase); in get_process_info() 486 for (pp = pbase, i = 0; i < nproc; pp++, i++) { in get_process_info() 913 for (i = 0, p = pbase; i < nproc; i++, p++) in proc_owner()
|
| H A D | m_hpux7.c | 236 static struct proc *pbase; variable 340 pbase = (struct proc *)malloc(bytes); 344 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL) 473 (void) getkval(proc, (int *)pbase, bytes, "proc array"); 489 for (pp = pbase, i = 0; i < nproc; pp++, i++)
|
| H A D | m_sco5.c | 201 static struct proc *pbase; variable 269 pbase = (struct proc *)malloc(bytes); in machine_init() 271 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL) { in machine_init() 488 (void) getkval(proca, (int *)pbase, bytes, "proc array"); in get_process_info() 497 for (pp = pbase, i = 0; i < v.v_proc; pp++, i++) { in get_process_info()
|
| H A D | m_sunos4.c | 269 static struct proc *pbase; variable 372 pbase = (struct proc *)malloc(bytes); 376 if (pbase == (struct proc *)NULL || pref == (struct proc **)NULL) 586 (void) getkval(proc, (int *)pbase, bytes, "proc array"); 602 for (pp = pbase, i = 0; i < nproc; pp++, i++)
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| H A D | strstream.cc | 136 { return pptr() ? pptr() - pbase() : 0; } in pcount() 147 ptrdiff_t old_size = epptr() - pbase(); in overflow() 153 memcpy(buf, pbase(), old_size); in overflow() 154 char* old_buffer = pbase(); in overflow() 271 if (seeklow + off < pbase()) in seekoff() 278 setp(pbase(), epptr()); in seekoff() 279 __safe_pbump(off - (pbase() - seeklow)); in seekoff()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| H A D | strstream.cc | 136 { return pptr() ? pptr() - pbase() : 0; } in pcount() 147 ptrdiff_t old_size = epptr() - pbase(); in overflow() 153 memcpy(buf, pbase(), old_size); in overflow() 154 char* old_buffer = pbase(); in overflow() 271 if (seeklow + off < pbase()) in seekoff() 278 setp(pbase(), epptr()); in seekoff() 279 __safe_pbump(off - (pbase() - seeklow)); in seekoff()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/src/ |
| H A 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()
|
| /netbsd-src/common/dist/zlib/contrib/iostream3/ |
| H A 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()
|
| /netbsd-src/external/gpl3/binutils/dist/zlib/contrib/iostream3/ |
| H A 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()
|
| /netbsd-src/external/gpl3/gdb/dist/zlib/contrib/iostream3/ |
| H A 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()
|
| /netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/iostream3/ |
| H A 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()
|
| /netbsd-src/external/gpl3/gdb.old/dist/zlib/contrib/iostream3/ |
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
| H A 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);
|
| H A D | sstream | 285 if (__rhs.pbase() != nullptr) 287 __bout = __rhs.pbase() - __p; 326 if (__rhs.pbase() != nullptr) 328 __bout = __rhs.pbase() - __p; 374 if (__rhs.pbase() != nullptr) 376 __rbout = __rhs.pbase() - __p; 394 if (this->pbase() != nullptr) 396 __lbout = this->pbase() - __p; 451 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 546 ptrdiff_t __nout = this->pptr() - this->pbase(); [all …]
|
| H A D | fstream | 351 if (__rhs.pbase()) 353 if (__rhs.pbase() == __rhs.__intbuf_) 354 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase())); 357 (char_type*)__extbuf_ + (__rhs. epptr() - __rhs.pbase())); 358 this->__pbump(__rhs. pptr() - __rhs.pbase()); 471 else if (this->pbase() == (char_type*)__rhs.__extbuf_min_) 473 ptrdiff_t __n = this->pptr() - this->pbase(); 474 ptrdiff_t __e = this->epptr() - this->pbase(); 487 else if (__rhs.pbase() == (char_type*)__extbuf_min_) 489 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/process/ |
| H A D | systembuf.cpp | 143 ssize_t cnt = pptr() - pbase(); in sync() 146 ok = ::write(_pimpl->_fd, pbase(), cnt) == cnt; in sync()
|