Home
last modified time | relevance | path

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

123

/freebsd-9-stable/contrib/libstdc++/config/io/
Dbasic_file_stdio.cc122 const std::streamsize __ret = write(__fd, __s, __nleft); in xwrite() local
123 if (__ret == -1L && errno == EINTR) in xwrite()
125 if (__ret == -1L) in xwrite()
128 __nleft -= __ret; in xwrite()
132 __s += __ret; in xwrite()
156 const std::streamsize __ret = writev(__fd, __iov, 2); in xwritev() local
157 if (__ret == -1L && errno == EINTR) in xwritev()
159 if (__ret == -1L) in xwritev()
162 __nleft -= __ret; in xwritev()
166 const std::streamsize __off = __ret - __n1_left; in xwritev()
[all …]
/freebsd-9-stable/contrib/libstdc++/config/locale/generic/
Dcodecvt_members.cc49 result __ret = ok; in _GLIBCXX_BEGIN_NAMESPACE() local
68 __ret = error; in _GLIBCXX_BEGIN_NAMESPACE()
83 __ret = error; in _GLIBCXX_BEGIN_NAMESPACE()
88 __ret = partial; in _GLIBCXX_BEGIN_NAMESPACE()
99 if (__ret == ok && __from < __from_end) in _GLIBCXX_BEGIN_NAMESPACE()
100 __ret = partial; in _GLIBCXX_BEGIN_NAMESPACE()
104 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
114 result __ret = ok; in do_in() local
128 __ret = error; in do_in()
134 __ret = partial; in do_in()
[all …]
Dctype_members.cc57 __wmask_type __ret; in _M_convert_to_wmask() local
61 __ret = wctype("space"); in _M_convert_to_wmask()
64 __ret = wctype("print"); in _M_convert_to_wmask()
67 __ret = wctype("cntrl"); in _M_convert_to_wmask()
70 __ret = wctype("upper"); in _M_convert_to_wmask()
73 __ret = wctype("lower"); in _M_convert_to_wmask()
76 __ret = wctype("alpha"); in _M_convert_to_wmask()
79 __ret = wctype("digit"); in _M_convert_to_wmask()
82 __ret = wctype("punct"); in _M_convert_to_wmask()
85 __ret = wctype("xdigit"); in _M_convert_to_wmask()
[all …]
Dc_locale.h80 const int __ret = std::vsnprintf(__out, __size, __fmt, __args); in __convert_from_v() local
82 const int __ret = std::vsprintf(__out, __fmt, __args); in __convert_from_v() local
92 return __ret; in __convert_from_v()
/freebsd-9-stable/contrib/libstdc++/include/bits/
Dfstream.tcc98 __filebuf_type *__ret = NULL; in open() local
121 __ret = this; in open()
124 return __ret; in open()
132 __filebuf_type* __ret = NULL; in close() local
157 __ret = this; in close()
159 return __ret; in close()
167 streamsize __ret = -1; in showmanyc() local
173 __ret = this->egptr() - this->gptr(); in showmanyc()
183 __ret += _M_file.showmanyc() / _M_codecvt->max_length(); in showmanyc()
185 return __ret; in showmanyc()
[all …]
Dstreambuf.tcc52 streamsize __ret = 0; in _GLIBCXX_BEGIN_NAMESPACE() local
53 while (__ret < __n) in _GLIBCXX_BEGIN_NAMESPACE()
58 const streamsize __remaining = __n - __ret; in _GLIBCXX_BEGIN_NAMESPACE()
61 __ret += __len; in _GLIBCXX_BEGIN_NAMESPACE()
66 if (__ret < __n) in _GLIBCXX_BEGIN_NAMESPACE()
72 ++__ret; in _GLIBCXX_BEGIN_NAMESPACE()
78 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
86 streamsize __ret = 0; in xsputn() local
87 while (__ret < __n) in xsputn()
92 const streamsize __remaining = __n - __ret; in xsputn()
[all …]
Dsstream.tcc54 int_type __ret = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() local
59 const bool __testeof = traits_type::eq_int_type(__c, __ret); in _GLIBCXX_BEGIN_NAMESPACE()
71 __ret = __c; in _GLIBCXX_BEGIN_NAMESPACE()
77 __ret = traits_type::not_eof(__c); in _GLIBCXX_BEGIN_NAMESPACE()
80 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
139 int_type __ret = traits_type::eof(); in underflow() local
147 __ret = traits_type::to_int_type(*this->gptr()); in underflow()
149 return __ret; in underflow()
157 pos_type __ret = pos_type(off_type(-1)); in seekoff() local
186 __ret = pos_type(__newoffi); in seekoff()
[all …]
/freebsd-9-stable/contrib/libstdc++/config/locale/gnu/
Dmonetary_members.cc46 pattern __ret; in _GLIBCXX_BEGIN_NAMESPACE() local
66 __ret.field[0] = sign; in _GLIBCXX_BEGIN_NAMESPACE()
72 __ret.field[1] = symbol; in _GLIBCXX_BEGIN_NAMESPACE()
73 __ret.field[3] = value; in _GLIBCXX_BEGIN_NAMESPACE()
77 __ret.field[1] = value; in _GLIBCXX_BEGIN_NAMESPACE()
78 __ret.field[3] = symbol; in _GLIBCXX_BEGIN_NAMESPACE()
80 __ret.field[2] = space; in _GLIBCXX_BEGIN_NAMESPACE()
87 __ret.field[1] = symbol; in _GLIBCXX_BEGIN_NAMESPACE()
88 __ret.field[2] = value; in _GLIBCXX_BEGIN_NAMESPACE()
92 __ret.field[1] = value; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dcodecvt_members.cc50 result __ret = ok; in _GLIBCXX_BEGIN_NAMESPACE() local
62 && __ret == ok;) in _GLIBCXX_BEGIN_NAMESPACE()
81 __ret = error; in _GLIBCXX_BEGIN_NAMESPACE()
86 __ret = partial; in _GLIBCXX_BEGIN_NAMESPACE()
94 if (__from_next < __from_end && __ret == ok) in _GLIBCXX_BEGIN_NAMESPACE()
100 __ret = partial; in _GLIBCXX_BEGIN_NAMESPACE()
115 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
125 result __ret = ok; in do_in() local
137 && __ret == ok;) in do_in()
165 __ret = error; in do_in()
[all …]
Dctype_members.cc61 __wmask_type __ret; in _M_convert_to_wmask() local
65 __ret = __wctype_l("space", _M_c_locale_ctype); in _M_convert_to_wmask()
68 __ret = __wctype_l("print", _M_c_locale_ctype); in _M_convert_to_wmask()
71 __ret = __wctype_l("cntrl", _M_c_locale_ctype); in _M_convert_to_wmask()
74 __ret = __wctype_l("upper", _M_c_locale_ctype); in _M_convert_to_wmask()
77 __ret = __wctype_l("lower", _M_c_locale_ctype); in _M_convert_to_wmask()
80 __ret = __wctype_l("alpha", _M_c_locale_ctype); in _M_convert_to_wmask()
83 __ret = __wctype_l("digit", _M_c_locale_ctype); in _M_convert_to_wmask()
86 __ret = __wctype_l("punct", _M_c_locale_ctype); in _M_convert_to_wmask()
89 __ret = __wctype_l("xdigit", _M_c_locale_ctype); in _M_convert_to_wmask()
[all …]
Dc_locale.h94 const int __ret = std::vsnprintf(__out, __size, __fmt, __args); in __convert_from_v() local
96 const int __ret = std::vsprintf(__out, __fmt, __args); in __convert_from_v() local
107 return __ret; in __convert_from_v()
/freebsd-9-stable/contrib/libstdc++/include/ext/
Dstdio_sync_filebuf.h113 int_type __ret; in _GLIBCXX_BEGIN_NAMESPACE() local
120 __ret = this->syncungetc(_M_unget_buf); in _GLIBCXX_BEGIN_NAMESPACE()
122 __ret = __eof; in _GLIBCXX_BEGIN_NAMESPACE()
125 __ret = this->syncungetc(__c); in _GLIBCXX_BEGIN_NAMESPACE()
129 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
138 int_type __ret; in _GLIBCXX_BEGIN_NAMESPACE() local
142 __ret = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE()
144 __ret = traits_type::not_eof(__c); in _GLIBCXX_BEGIN_NAMESPACE()
147 __ret = this->syncputc(__c); in _GLIBCXX_BEGIN_NAMESPACE()
148 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
Dcodecvt_specializations.h319 result __ret = codecvt_base::error; in do_out() local
363 __ret = codecvt_base::ok; in do_out()
371 __ret = codecvt_base::partial; in do_out()
374 __ret = codecvt_base::error; in do_out()
377 return __ret; in do_out()
386 result __ret = codecvt_base::error; in do_unshift() local
403 __ret = codecvt_base::noconv; in do_unshift()
405 __ret = codecvt_base::ok; in do_unshift()
407 __ret = codecvt_base::partial; in do_unshift()
410 __ret = codecvt_base::error; in do_unshift()
[all …]
Dpool_allocator.h197 pointer __ret = 0; in allocate() local
216 __ret = static_cast<_Tp*>(::operator new(__bytes)); in allocate()
224 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); in allocate()
228 __ret = reinterpret_cast<_Tp*>(__result); in allocate()
230 if (__builtin_expect(__ret == 0, 0)) in allocate()
234 return __ret; in allocate()
Dmalloc_allocator.h92 pointer __ret = static_cast<_Tp*>(malloc(__n * sizeof(_Tp)));
93 if (!__ret)
95 return __ret;
/freebsd-9-stable/contrib/libstdc++/config/os/windiss/
Dctype_inline.h53 bool __ret; in _GLIBCXX_BEGIN_NAMESPACE() local
57 __ret = isspace(__c); in _GLIBCXX_BEGIN_NAMESPACE()
60 __ret = isprint(__c); in _GLIBCXX_BEGIN_NAMESPACE()
63 __ret = iscntrl(__c); in _GLIBCXX_BEGIN_NAMESPACE()
66 __ret = isupper(__c); in _GLIBCXX_BEGIN_NAMESPACE()
69 __ret = islower(__c); in _GLIBCXX_BEGIN_NAMESPACE()
72 __ret = isalpha(__c); in _GLIBCXX_BEGIN_NAMESPACE()
75 __ret = isdigit(__c); in _GLIBCXX_BEGIN_NAMESPACE()
78 __ret = ispunct(__c); in _GLIBCXX_BEGIN_NAMESPACE()
81 __ret = isxdigit(__c); in _GLIBCXX_BEGIN_NAMESPACE()
[all …]
/freebsd-9-stable/contrib/libstdc++/include/std/
Dstd_streambuf.h283 const streamsize __ret = this->egptr() - this->gptr(); in in_avail() local
284 return __ret ? __ret : this->showmanyc(); in in_avail()
297 int_type __ret = traits_type::eof(); in snextc() local
299 __ret), true)) in snextc()
300 __ret = this->sgetc(); in snextc()
301 return __ret; in snextc()
315 int_type __ret; in sbumpc() local
318 __ret = traits_type::to_int_type(*this->gptr()); in sbumpc()
322 __ret = this->uflow(); in sbumpc()
323 return __ret; in sbumpc()
[all …]
Dstd_sstream.h130 __string_type __ret; in _GLIBCXX_BEGIN_NAMESPACE() local
135 __ret = __string_type(this->pbase(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE()
137 __ret = __string_type(this->pbase(), this->egptr()); in _GLIBCXX_BEGIN_NAMESPACE()
140 __ret = _M_string; in _GLIBCXX_BEGIN_NAMESPACE()
141 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
174 streamsize __ret = -1; in _GLIBCXX_BEGIN_NAMESPACE() local
178 __ret = this->egptr() - this->gptr(); in _GLIBCXX_BEGIN_NAMESPACE()
180 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-9-stable/contrib/libstdc++/src/
Dlocale.cc97 bool __ret; in operator ==() local
99 __ret = true; in operator ==()
103 __ret = false; in operator ==()
105 __ret = true; in operator ==()
107 __ret = this->name() == __rhs.name(); in operator ==()
108 return __ret; in operator ==()
123 string __ret; in name() local
125 __ret = '*'; in name()
127 __ret = _M_impl->_M_names[0]; in name()
130 __ret.reserve(128); in name()
[all …]
Dstreambuf.cc44 streamsize __ret = 0; in _GLIBCXX_BEGIN_NAMESPACE() local
54 __ret += __wrote; in _GLIBCXX_BEGIN_NAMESPACE()
70 ++__ret; in _GLIBCXX_BEGIN_NAMESPACE()
74 return __ret; in _GLIBCXX_BEGIN_NAMESPACE()
84 streamsize __ret = 0; in __copy_streambufs_eof() local
94 __ret += __wrote; in __copy_streambufs_eof()
110 ++__ret; in __copy_streambufs_eof()
114 return __ret; in __copy_streambufs_eof()
Dbitmap_allocator.cc76 size_t* __ret = 0; in _M_get() local
80 __ret = reinterpret_cast<size_t*> in _M_get()
87 if (!__ret) in _M_get()
89 *__ret = __sz; in _M_get()
90 return __ret + 1; in _M_get()
96 size_t* __ret = *__tmp; in _M_get() local
101 return __ret + 1; in _M_get()
/freebsd-9-stable/sys/sparc64/include/
Din_cksum.h82 u_long __ret, __tmp; in in_addword() local
90 : "=&r" (__ret), "=&r" (__tmp) : "r" (sum), "r" (b) : "cc"); in in_addword()
91 return (__ret); in in_addword()
115 u_long __ret, __tmp1, __tmp2, __tmp3, __tmp4; in in_cksum_hdr() local
164 : "=&r" (__ret), "=r" (__tmp1), "=&r" (__tmp2), "=&r" (__tmp3), in in_cksum_hdr()
167 return (__ret); in in_cksum_hdr()
/freebsd-9-stable/contrib/ofed/libsdp/src/
Dsocket.c93 long __ret; in socket() local
150 : "=a" (__ret), "=r" (__scratch) in socket()
154 return __ret; in socket()
/freebsd-9-stable/contrib/libstdc++/config/os/gnu-linux/
Dctype_noninline.h50 const ctype_base::mask* __ret; in classic_table() local
54 __ret = *__ctype_b_loc(); in classic_table()
56 __ret = __ctype_b; in classic_table()
60 return __ret; in classic_table()
/freebsd-9-stable/contrib/libstdc++/config/os/tpf/
Dctype_noninline.h44 const ctype_base::mask* __ret; in classic_table() local
47 __ret = *__ctype_b_loc(); in classic_table()
50 return __ret; in classic_table()

123