Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/libstdc++/src/
H A Distream.cc60 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
136 - __sb->gptr()), in ignore()
221 - __sb->gptr()), in operator >>()
227 __sb->gptr() + 1, in operator >>()
229 - __sb->gptr()); in operator >>()
297 - __sb->gptr()), in operator >>()
302 __sb->gptr() + 1, in operator >>()
304 - __sb->gptr()); in operator >>()
370 - __sb->gptr()), in getline()
440 - __sb->gptr()), in getline()
[all …]
H A Dstrstream.cc160 if (gptr() != 0) in overflow()
163 old_get_offset = gptr() - eback(); in overflow()
190 if (gptr() != eback()) in pbackfail()
197 else if (c == _Traits::to_int_type(gptr()[-1])) in pbackfail()
205 *gptr() = c; in pbackfail()
215 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow()
216 setg(eback(), gptr(), pptr()); in underflow()
218 if (gptr() != egptr()) in underflow()
219 return (unsigned char) *gptr(); in underflow()
246 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff()
[all …]
H A Dstreambuf.cc49 const streamsize __n = __sbin->egptr() - __sbin->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
52 const streamsize __wrote = __sbout->sputn(__sbin->gptr(), __n); in _GLIBCXX_BEGIN_NAMESPACE()
89 const streamsize __n = __sbin->egptr() - __sbin->gptr(); in __copy_streambufs_eof()
92 const streamsize __wrote = __sbout->sputn(__sbin->gptr(), __n); in __copy_streambufs_eof()
H A Dcompatibility.cc85 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
150 - __sb->gptr()), in ignore()
/freebsd-12.1/contrib/libstdc++/include/std/
H A Dstd_streambuf.h283 const streamsize __ret = this->egptr() - this->gptr(); in in_avail()
316 if (__builtin_expect(this->gptr() < this->egptr(), true)) in sbumpc()
318 __ret = traits_type::to_int_type(*this->gptr()); in sbumpc()
339 __ret = traits_type::to_int_type(*this->gptr()); in sgetc()
371 const bool __testpos = this->eback() < this->gptr(); in sputbackc()
373 !traits_type::eq(__c, this->gptr()[-1]), false)) in sputbackc()
378 __ret = traits_type::to_int_type(*this->gptr()); in sputbackc()
399 __ret = traits_type::to_int_type(*this->gptr()); in sungetc()
481 gptr() const { return _M_in_cur; } in gptr() function
703 __ret = traits_type::to_int_type(*this->gptr()); in uflow()
[all …]
H A Dstd_fstream.h200 _M_pback_cur_save = this->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
220 _M_pback_cur_save += this->gptr() != this->eback(); in _GLIBCXX_BEGIN_NAMESPACE()
H A Dstd_sstream.h178 __ret = this->egptr() - this->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
245 this->setg(this->eback(), this->gptr(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-12.1/contrib/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_config.h458 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
469 (gptr)->thread_list = h; \
486 (gptr)->thread_list = h; \
492 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
502 (gptr)->domain_list = h; \
508 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
518 (gptr)->domain_list = h; \
533 (gptr)->string_list = h; \
548 (gptr)->string_list = h; \
565 (gptr)->counter_list = h; \
[all …]
/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dsstream.tcc55 if (this->eback() < this->gptr()) in _GLIBCXX_BEGIN_NAMESPACE()
64 this->gptr()[-1]); in _GLIBCXX_BEGIN_NAMESPACE()
70 *this->gptr() = traits_type::to_char_type(__c); in _GLIBCXX_BEGIN_NAMESPACE()
126 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow()
146 if (this->gptr() < this->egptr()) in underflow()
147 __ret = traits_type::to_int_type(*this->gptr()); in underflow()
175 __newoffi += this->gptr() - __beg; in seekoff()
185 this->gbump((__beg + __newoffi) - this->gptr()); in seekoff()
219 this->gbump((__beg + __pos) - this->gptr()); in seekpos()
H A Dfstream.tcc173 __ret = this->egptr() - this->gptr(); in showmanyc()
202 if (this->gptr() < this->egptr()) in underflow()
203 return traits_type::to_int_type(*this->gptr()); in underflow()
351 if (this->eback() < this->gptr()) in pbackfail()
517 if (__n > 0 && this->gptr() == this->eback()) in xsgetn()
519 *__s++ = *this->gptr(); in xsgetn()
541 *__s = *this->gptr(); in xsgetn()
543 traits_type::copy(__s, this->gptr(), __avail); in xsgetn()
695 __computed_off += this->gptr() - this->egptr(); in seekoff()
703 this->gptr() - this->eback()); in seekoff()
[all …]
H A Dstreambuf_iterator.h339 const streamsize __n = __sb->egptr() - __sb->gptr(); in __copy_aux()
342 traits_type::copy(__result, __sb->gptr(), __n); in __copy_aux()
376 streamsize __n = __sb->egptr() - __sb->gptr(); in find()
379 const _CharT* __p = traits_type::find(__sb->gptr(), in find()
382 __n = __p - __sb->gptr(); in find()
H A Dstreambuf.tcc55 const streamsize __buf_len = this->egptr() - this->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
60 traits_type::copy(__s, this->gptr(), __len); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-12.1/contrib/libc++/src/
H A Dstrstream.cpp177 ptrdiff_t ninp = gptr() - eback(); in overflow()
200 if (eback() == gptr()) in pbackfail()
209 if (gptr()[-1] == static_cast<char>(__c)) in pbackfail()
217 *gptr() = static_cast<char>(__c); in pbackfail()
224 if (gptr() == egptr()) in underflow()
228 setg(eback(), gptr(), pptr()); in underflow()
230 return int_type(static_cast<unsigned char>(*gptr())); in underflow()
252 if (pos_in && gptr() == nullptr) in seekoff()
266 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
301 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Dittnotify_config.h358 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
369 (gptr)->thread_list = h; \
375 #define NEW_THREAD_INFO_A(gptr,h,h_tail,t,s,n) { \ argument
386 (gptr)->thread_list = h; \
392 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
402 (gptr)->domain_list = h; \
408 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
418 (gptr)->domain_list = h; \
424 #define NEW_STRING_HANDLE_W(gptr,h,h_tail,name) { \ argument
433 (gptr)->string_list = h; \
[all …]
/freebsd-12.1/usr.sbin/lpr/lpr/
H A Dlpr.c137 struct group *gptr; in main() local
308 if ((gptr = getgrnam(pp->restrict_grp)) == NULL) in main()
310 if (gptr->gr_gid != getgid()) { in main()
311 while (*gptr->gr_mem != NULL) { in main()
312 if ((strcmp(lpr_username, *gptr->gr_mem)) == 0) in main()
314 gptr->gr_mem++; in main()
316 if (*gptr->gr_mem == NULL) in main()
/freebsd-12.1/usr.sbin/lpr/lpc/
H A Dlpc.c355 static struct group *gptr=NULL; in ingroup() local
362 if (gptr == NULL) { in ingroup()
363 if ((gptr = getgrnam(grname)) == NULL) { in ingroup()
374 gid = gptr->gr_gid; in ingroup()
/freebsd-12.1/contrib/libc++/include/
H A Dsstream271 __ninp = __rhs.gptr() - __p;
312 __ninp = __rhs.gptr() - __p;
362 __rninp = __rhs.gptr() - __p;
382 __lninp = this->gptr() - __p;
494 this->setg(this->eback(), this->gptr(), __hm_);
495 if (this->gptr() < this->egptr())
496 return traits_type::to_int_type(*this->gptr());
507 if (this->eback() < this->gptr())
531 ptrdiff_t __ninp = this->gptr() - this->eback();
589 __noff = this->gptr() - this->eback();
[all …]
H A Dfstream458 ptrdiff_t __n = this->gptr() - this->eback();
474 ptrdiff_t __n = __rhs.gptr() - __rhs.eback();
718 if (this->gptr() == 0)
722 if (this->gptr() == this->egptr())
734 __c = traits_type::to_int_type(*this->gptr());
774 __c = traits_type::to_int_type(*this->gptr());
784 if (__file_ && this->eback() < this->gptr())
795 *this->gptr() = traits_type::to_char_type(__c);
1011 __c = this->egptr() - this->gptr();
1017 __c += __width * (this->egptr() - this->gptr());
[all …]
H A Dstreambuf69 char_type* gptr() const;
240 _LIBCPP_INLINE_VISIBILITY char_type* gptr() const {return __ninp_;}
H A Dlocale4007 if (this->gptr() == 0)
4011 if (this->gptr() == this->egptr())
4023 __c = *this->gptr();
4050 __c = *this->gptr();
4055 __c = *this->gptr();
4061 __c = *this->gptr();
4081 *this->gptr() = traits_type::to_char_type(__c);
4259 __c = this->egptr() - this->gptr();
4268 if (this->gptr() != this->egptr())
4270 reverse(this->gptr(), this->egptr());
[all …]
/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_nvme.c1205 void *gptr; in pci_nvme_append_iov_req() local
1213 gptr = paddr_guest2host(sc->nsc_pi->pi_vmctx, gpaddr, size); in pci_nvme_append_iov_req()
1215 memcpy(p, gptr, size); in pci_nvme_append_iov_req()
1217 memcpy(gptr, p, size); in pci_nvme_append_iov_req()
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-20034006 27.5.2.4.3,p16, don't check gptr() < egptr().
4206 documented derivation interface to basic_streambuf (gptr(),
4260 basic_streambuf (gptr(), setg(), etc.) to work right with
5684 _M_in_cur, not gptr().
5817 instead of gptr(), and so on.
6876 if (gptr() < egptr()) return *gptr().
7825 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
H A DChangeLog-2002526 __sbin->gptr() + __bufsize < __sbin->egptr() before using.
959 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
3293 * include/bits/streambuf.tcc: Use this->gptr.
H A DChangeLog-1999841 *gptr(), not the result of underflow.
H A DChangeLog-20004502 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.

12