Home
last modified time | relevance | path

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

123

/freebsd-12-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-12-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 …]
/freebsd-12-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-12-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 …]
/freebsd-12-stable/sys/compat/linuxkpi/common/include/asm/
Datomic.h193 } __ret = { .val = (old) }, __new = { .val = (new) }; \
196 LINUXKPI_ATOMIC_8(sizeof(__ret.val) == 1 ||) \
197 LINUXKPI_ATOMIC_16(sizeof(__ret.val) == 2 ||) \
198 LINUXKPI_ATOMIC_64(sizeof(__ret.val) == 8 ||) \
199 sizeof(__ret.val) == 4); \
201 switch (sizeof(__ret.val)) { \
205 __ret.u8, __new.u8[0]) && __ret.val == (old)) \
212 __ret.u16, __new.u16[0]) && __ret.val == (old)) \
218 __ret.u32, __new.u32[0]) && __ret.val == (old)) \
224 __ret.u64, __new.u64[0]) && __ret.val == (old)) \
[all …]
/freebsd-12-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()
/freebsd-12-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-12-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-12-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-12-stable/contrib/llvm-project/libcxx/include/__algorithm/
Dshift_right.h57 _ForwardIterator __ret = __first; in shift_right() local
59 if (__ret == __last) { in shift_right()
62 ++__ret; in shift_right()
72 auto __lead = __ret; in shift_right()
73 while (__trail != __ret) { in shift_right()
75 _VSTD::move(__first, __trail, __ret); in shift_right()
76 return __ret; in shift_right()
85 __trail = _VSTD::move(__mid, __ret, __trail); in shift_right()
87 return __ret; in shift_right()
93 if (__mid == __ret) { in shift_right()
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
Dwait.h155 int __ret = 0; \
161 __ret = linux_wait_event_common(&(wqh), &__wq, \
163 if (__ret != 0) \
168 if (__ret == -EWOULDBLOCK) \
169 __ret = !!(cond); \
170 else if (__ret != -ERESTARTSYS) { \
171 __ret = __timeout + __start - ticks; \
173 if (__ret < 1) \
174 __ret = 1; \
175 else if (__ret > __timeout) \
[all …]
Dspinlock.h90 int __ret; \
92 __ret = 1; \
94 __ret = mtx_trylock(&(_l)->m); \
95 if (likely(__ret != 0)) \
98 __ret; \
/freebsd-12-stable/sys/sparc64/include/
Din_cksum.h84 u_long __ret, __tmp; in in_addword() local
92 : "=&r" (__ret), "=&r" (__tmp) : "r" (sum), "r" (b) : "cc"); in in_addword()
93 return (__ret); in in_addword()
117 u_long __ret, __tmp1, __tmp2, __tmp3, __tmp4; in in_cksum_hdr() local
166 : "=&r" (__ret), "=r" (__tmp1), "=&r" (__tmp2), "=&r" (__tmp3), in in_cksum_hdr()
169 return (__ret); in in_cksum_hdr()
/freebsd-12-stable/contrib/llvm-project/libcxx/src/support/runtime/
Dexception_pointer_msvc.ipp60 exception_ptr __ret = nullptr;
62 __ExceptionPtrCopyException(&__ret, __except, __ptr);
63 return __ret;
67 exception_ptr __ret;
68 __ExceptionPtrCurrentException(&__ret);
69 return __ret;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/
D__clang_cuda_intrinsics.h51 long long __ret; \
52 memcpy(&__ret, &__tmp, sizeof(__tmp)); \
53 return __ret; \
83 double __ret; \
84 memcpy(&__ret, &__tmp, sizeof(__ret)); \
85 return __ret; \
135 long long __ret; \
136 memcpy(&__ret, &__tmp, sizeof(__tmp)); \
137 return __ret; \
169 double __ret; \
[all …]

123