Home
last modified time | relevance | path

Searched refs:__state (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/
H A Distream353 ios_base::iostate __state = ios_base::goodbit;
361 std::use_facet<_Fp>(__is.getloc()).get(_Ip(__is), _Ip(), __is, __state, __n);
364 __state |= ios_base::badbit;
365 __is.__setstate_nothrow(__state);
371 __is.setstate(__state);
434 ios_base::iostate __state = ios_base::goodbit;
443 std::use_facet<_Fp>(__is.getloc()).get(_Ip(__is), _Ip(), __is, __state, __temp);
445 __state |= ios_base::failbit;
448 __state |= ios_base::failbit;
455 __state |= ios_base::badbit;
[all …]
H A Dregex1310 struct __state {
1334 _LIBCPP_HIDE_FROM_ABI __state()
1349 typedef std::__state<_CharT> __state;
1358 virtual void __exec(__state&) const {}
1360 virtual void __exec_split(bool, __state&) const {}
1368 typedef std::__state<_CharT> __state;
1372 _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual void __exec(__state&) const;
1376 void __end_state<_CharT>::__exec(__state& __s) const {
1377 __s.__do_ = __state::__end_state;
1417 typedef std::__state<_CharT> __state;
[all …]
H A Dios338 void clear(iostate __state = goodbit);
339 _LIBCPP_HIDE_FROM_ABI void setstate(iostate __state);
352 _LIBCPP_HIDE_FROM_ABI void __setstate_nothrow(iostate __state) {
354 __rdstate_ |= __state;
356 __rdstate_ |= __state | ios_base::badbit;
505 inline _LIBCPP_HIDE_FROM_ABI void ios_base::setstate(iostate __state) { clear(__rdstate_ | __state)…
578 _LIBCPP_HIDE_FROM_ABI void clear(iostate __state = goodbit) { ios_base::clear(__state); }
579 _LIBCPP_HIDE_FROM_ABI void setstate(iostate __state) { ios_base::setstate(__state); }
H A Dfuture911 explicit _LIBCPP_HIDE_FROM_ABI future(__assoc_state<_Rp>* __state);
956 future<_Rp>::future(__assoc_state<_Rp>* __state) : __state_(__state) {
982 explicit _LIBCPP_HIDE_FROM_ABI future(__assoc_state<_Rp&>* __state);
1027 future<_Rp&>::future(__assoc_state<_Rp&>* __state) : __state_(__state) {
1049 explicit future(__assoc_sub_state* __state);
H A Dlocale3167 _LIBCPP_HIDE_FROM_ABI wstring_convert(_Codecvt* __pcvt, state_type __state);
3207 …ert<_Codecvt, _Elem, _WideAlloc, _ByteAlloc>::wstring_convert(_Codecvt* __pcvt, state_type __state)
3208 : __cvtptr_(__pcvt), __cvtstate_(__state), __cvtcount_(0) {}
3386 …wbuffer_convert(streambuf* __bytebuf, _Codecvt* __pcvt = new _Codecvt, state_type __state = state_…
3389 …treambuf* __bytebuf = nullptr, _Codecvt* __pcvt = new _Codecvt, state_type __state = state_type());
3425 …<_Codecvt, _Elem, _Tr>::wbuffer_convert(streambuf* __bytebuf, _Codecvt* __pcvt, state_type __state)
3434 __st_(__state),
H A Dfstream985 state_type __state = __st_last_;
996 … const int __off = __cv_->length(__state, __extbuf_, __extbufnext_, this->gptr() - this->eback());
1010 __st_ = __state;
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Datomic_unique_lock.h38 _LIBCPP_HIDE_FROM_ABI explicit __atomic_unique_lock(std::atomic<_State>& __state) noexcept in __atomic_unique_lock()
39 : __state_(__state), __is_locked_(true) { in __atomic_unique_lock()
44 _LIBCPP_HIDE_FROM_ABI __atomic_unique_lock(std::atomic<_State>& __state, _Pred&& __give_up_locking) noexcept in __atomic_unique_lock()
45 : __state_(__state), __is_locked_(false) { in __atomic_unique_lock()
51 std::atomic<_State>& __state, in __atomic_unique_lock()
55 : __state_(__state), __is_locked_(false) { in __atomic_unique_lock()
133 _LIBCPP_HIDE_FROM_ABI static constexpr auto __set_locked_bit = [](_State __state) { return __state | _LockedBit; };
37 __atomic_unique_lock(std::atomic<_State> & __state) __atomic_unique_lock() argument
43 __atomic_unique_lock(std::atomic<_State> & __state,_Pred && __give_up_locking) __atomic_unique_lock() argument
50 __atomic_unique_lock(std::atomic<_State> & __state,_Pred && __give_up_locking,_UnaryFunction && __state_after_lock,std::memory_order __locked_ordering) __atomic_unique_lock() argument
H A Dstop_state.h142 const auto __give_up_trying_to_lock_condition = [__cb](__state_t __state) { in __add_callback()
143 if ((__state & __stop_requested_bit) != 0) { in __add_callback()
149 return (__state >> __stop_source_counter_shift) == 0; in __add_callback()
197 …const auto __lock_fail_condition = [](__state_t __state) { return (__state & __stop_requested_bit)… in __try_lock_for_request_stop()
200 const auto __after_lock_state = [](__state_t __state) { in __try_lock_for_request_stop()
201 return __state | __callback_list_locked_bit | __stop_requested_bit; in __try_lock_for_request_stop()
227 _LIBCPP_HIDE_FROM_ABI static atomic<uint32_t>& __get_atomic_ref_count(__stop_state& __state) {
228 return __state.__ref_count_;
H A Dstop_callback.h78 …_LIBCPP_HIDE_FROM_ABI explicit stop_callback(__private_constructor_tag, _StatePtr&& __state, _Cb&&… in stop_callback() argument
86 if (__state && __state->__add_callback(this)) {
88 __state_ = std::forward<_StatePtr>(__state);
H A Dstop_token.h56 …ABI explicit stop_token(const __intrusive_shared_ptr<__stop_state>& __state) : __state_(__state) {} in stop_token() argument
/freebsd/contrib/llvm-project/libcxx/src/
H A Dregex.cpp356 void __match_any_but_newline<char>::__exec(__state& __s) const { in __get_collation_name()
361 __s.__do_ = __state::__reject; in __get_classname()
365 __s.__do_ = __state::__accept_and_consume; in __get_classname()
371 __s.__do_ = __state::__reject; in __get_classname()
377 void __match_any_but_newline<wchar_t>::__exec(__state& __s) const { in __get_classname()
384 __s.__do_ = __state::__reject; in __exec()
388 __s.__do_ = __state::__accept_and_consume; in __exec()
394 __s.__do_ = __state::__reject; in __exec()
H A Dfuture.cpp127 future<void>::future(__assoc_sub_state* __state) : __state_(__state) { __state_->__attach_future(); } in __make_ready()
170 future(__assoc_sub_state * __state) future() argument
/freebsd/sys/contrib/ncsw/Peripherals/BM/
H A Dfsl_bman.h84 uint32_t __state[2]; member
91 c->__state[0] = c->__state[1] = 0; in bman_depletion_init()
95 c->__state[0] = c->__state[1] = (uint32_t)~0; in bman_depletion_fill()
99 return (int)(c->__state[__bmdep_word(bpid)] & __bmdep_bit(bpid)); in bman_depletion_get()
103 c->__state[__bmdep_word(bpid)] |= __bmdep_bit(bpid); in bman_depletion_set()
107 c->__state[__bmdep_word(bpid)] &= ~__bmdep_bit(bpid); in bman_depletion_unset()
H A Dbm_portal.c227 tmp.__state[i] &= p_BmPortal->pools[0].__state[i]; in __poll_portal_slow()
228 if (tmp.__state[i] == p_BmPortal->pools[1].__state[i]) in __poll_portal_slow()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzutil.h255 for (nvlist_t *__root_nv = __nv, *__state = (nvlist_t *)0; \
256 for_each_vdev_cb(&__state, __root_nv, __func, &__nv) == 1; \
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h819 volatile uint32_t __state[8]; member
892 return (int)(p->__state[__CGR_WORD(cgr)] & (0x80000000 >> __CGR_SHIFT(cgr))); in QM_MCR_QUERYCONGESTION()
937 c->q.__state[__CGR_WORD(num)] |= (0x80000000 >> __CGR_SHIFT(num)); in QMAN_CGRS_SET()
941 c->q.__state[__CGR_WORD(num)] &= ~(0x80000000 >> __CGR_SHIFT(num)); in QMAN_CGRS_UNSET()
H A Dqm_portal_fqr.c572 tmp.q.__state[i] = p_Mcr->querycongestion.state.__state[i]; in LoopMessageRing()
574 tmp.q.__state[i] &= p_QmPortal->cgrs[0].q.__state[i]; in LoopMessageRing()
576 tmp.q.__state[i] ^= p_QmPortal->cgrs[1].q.__state[i]; in LoopMessageRing()
578 p_QmPortal->cgrs[1].q.__state[i] = p_Mcr->querycongestion.state.__state[i]; in LoopMessageRing()
587 if(tmp.q.__state[i] & mask) in LoopMessageRing()
1380 if(p_QmPortal->cgrs[0].q.__state[cgId/32] & (0x80000000 >> (cgId % 32))) in QmPortalRegisterCg()
1383 p_QmPortal->cgrs[0].q.__state[cgId/32] |= 0x80000000 >> (cgId % 32); in QmPortalRegisterCg()
1394 if(!(p_QmPortal->cgrs[0].q.__state[cgId/32] & (0x80000000 >> (cgId % 32)))) in QmPortalUnregisterCg()
1397 p_QmPortal->cgrs[0].q.__state[cgId/32] &= ~0x80000000 >> (cgId % 32); in QmPortalUnregisterCg()
/freebsd/lib/libstdthreads/
H A Dthreads.h49 int __state; member
/freebsd/sys/dev/bxe/
H A Decore_hsi.h4911 uint8_t __state /* The state of the connection */; member
4913 uint8_t __state /* The state of the connection */;
5306 uint8_t __state /* The state of the connection */; member
5308 uint8_t __state /* The state of the connection */;
5554 uint8_t __state /* The state of the connection */; member
5556 uint8_t __state /* The state of the connection */;
6402 uint8_t __state /* The state of the connection */; member
6404 uint8_t __state /* The state of the connection */;