Home
last modified time | relevance | path

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

/trueos/contrib/libstdc++/src/
Distream.cc60 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
65 const char_type* __p = traits_type::find(__sb->gptr(), in _GLIBCXX_BEGIN_NAMESPACE()
69 __size = __p - __sb->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
70 traits_type::copy(__s, __sb->gptr(), __size); in _GLIBCXX_BEGIN_NAMESPACE()
136 - __sb->gptr()), in ignore()
140 const char_type* __p = traits_type::find(__sb->gptr(), in ignore()
144 __size = __p - __sb->gptr(); in ignore()
221 - __sb->gptr()), in operator >>()
227 __sb->gptr() + 1, in operator >>()
228 __sb->gptr() + __size) in operator >>()
[all …]
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 …]
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()
Dcompatibility.cc85 - __sb->gptr()), in _GLIBCXX_BEGIN_NAMESPACE()
150 - __sb->gptr()), in ignore()
/trueos/contrib/libstdc++/include/std/
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()
338 if (__builtin_expect(this->gptr() < this->egptr(), true)) in sgetc()
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()
396 if (__builtin_expect(this->eback() < this->gptr(), true)) in sungetc()
399 __ret = traits_type::to_int_type(*this->gptr()); in sungetc()
[all …]
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()
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()
/trueos/contrib/libstdc++/include/bits/
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()
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()
312 __ret = traits_type::to_int_type(*this->gptr()); in underflow()
351 if (this->eback() < this->gptr()) in pbackfail()
354 __tmp = traits_type::to_int_type(*this->gptr()); in pbackfail()
382 *this->gptr() = traits_type::to_char_type(__i); in pbackfail()
517 if (__n > 0 && this->gptr() == this->eback()) in xsgetn()
519 *__s++ = *this->gptr(); in xsgetn()
537 const streamsize __avail = this->egptr() - this->gptr(); in xsgetn()
[all …]
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()
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()
/trueos/contrib/libc++/src/
Dstrstream.cpp171 ptrdiff_t ninp = gptr() - eback(); in overflow()
195 if (eback() == gptr()) in pbackfail()
204 if (gptr()[-1] == static_cast<char>(__c)) in pbackfail()
212 *gptr() = static_cast<char>(__c); in pbackfail()
219 if (gptr() == egptr()) in underflow()
223 setg(eback(), gptr(), pptr()); in underflow()
225 return int_type(static_cast<unsigned char>(*gptr())); in underflow()
247 if (pos_in && gptr() == nullptr) in seekoff()
261 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
294 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
/trueos/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
HDittnotify_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 …]
/trueos/usr.sbin/lpr/lpr/
HDlpr.c135 struct group *gptr; in main() local
306 if ((gptr = getgrnam(pp->restrict_grp)) == NULL) in main()
308 if (gptr->gr_gid != getgid()) { in main()
309 while (*gptr->gr_mem != NULL) { in main()
310 if ((strcmp(lpr_username, *gptr->gr_mem)) == 0) in main()
312 gptr->gr_mem++; in main()
314 if (*gptr->gr_mem == NULL) in main()
/trueos/usr.sbin/lpr/lpc/
HDlpc.c353 static struct group *gptr=NULL; in ingroup() local
360 if (gptr == NULL) { in ingroup()
361 if ((gptr = getgrnam(grname)) == NULL) { in ingroup()
372 gid = gptr->gr_gid; in ingroup()
/trueos/contrib/libc++/include/
Dsstream270 __ninp = __rhs.gptr() - __p;
311 __ninp = __rhs.gptr() - __p;
361 __rninp = __rhs.gptr() - __p;
381 __lninp = this->gptr() - __p;
485 this->setg(this->eback(), this->gptr(), __hm_);
486 if (this->gptr() < this->egptr())
487 return traits_type::to_int_type(*this->gptr());
498 if (this->eback() < this->gptr())
502 this->setg(this->eback(), this->gptr()-1, __hm_);
506 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]))
[all …]
Dfstream316 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
320 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
418 ptrdiff_t __n = this->gptr() - this->eback();
434 ptrdiff_t __n = __rhs.gptr() - __rhs.eback();
581 if (this->gptr() == 0)
585 if (this->gptr() == this->egptr())
597 __c = traits_type::to_int_type(*this->gptr());
624 __c = traits_type::to_int_type(*this->gptr());
629 __c = traits_type::to_int_type(*this->gptr());
635 __c = traits_type::to_int_type(*this->gptr());
[all …]
Dstreambuf69 char_type* gptr() const;
170 _LIBCPP_ALWAYS_INLINE char_type* gptr() const {return __ninp_;}
Dlocale4117 if (this->gptr() == 0)
4121 if (this->gptr() == this->egptr())
4133 __c = *this->gptr();
4156 __c = *this->gptr();
4161 __c = *this->gptr();
4167 __c = *this->gptr();
4177 if (__cv_ != 0 && __bufptr_ != 0 && this->eback() < this->gptr())
4184 if (traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]))
4187 *this->gptr() = traits_type::to_char_type(__c);
4374 __c = this->egptr() - this->gptr();
[all …]
/trueos/contrib/libreadline/examples/rlfe/
HDrlfe.c184 struct group *gptr; in get_slave_pty() local
193 if ((gptr = getgrnam("tty")) != 0) { in get_slave_pty()
194 gid = gptr->gr_gid; in get_slave_pty()
/trueos/contrib/libstdc++/
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.
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.
DChangeLog-1999841 *gptr(), not the result of underflow.
DChangeLog-20014867 * src/strstream.cc:cast gptr to int_type
DChangeLog-20004502 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.