Home
last modified time | relevance | path

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

12345678910

/external/libcxx/test/std/utilities/memory/unique.ptr/
Ddeleter.h30 int state_; variable
36 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter()
39 state_ = r.state_;
40 r.state_ = 0;
45 Deleter() : state_(0) {} in Deleter()
46 explicit Deleter(int s) : state_(s) {} in Deleter()
47 ~Deleter() {assert(state_ >= 0); state_ = -1;} in ~Deleter()
52 : state_(d.state()) {d.set_state(0);}
59 int state() const {return state_;} in state()
60 void set_state(int i) {state_ = i;} in set_state()
[all …]
/external/webrtc/talk/session/media/
Drtcpmuxfilter.cc34 RtcpMuxFilter::RtcpMuxFilter() : state_(ST_INIT), offer_enable_(false) { in RtcpMuxFilter()
38 return state_ == ST_SENTPRANSWER || in IsActive()
39 state_ == ST_RECEIVEDPRANSWER || in IsActive()
40 state_ == ST_ACTIVE; in IsActive()
44 state_ = ST_ACTIVE; in SetActive()
48 if (state_ == ST_ACTIVE) { in SetOffer()
59 state_ = (src == CS_LOCAL) ? ST_SENTOFFER : ST_RECEIVEDOFFER; in SetOffer()
65 if (state_ == ST_ACTIVE) { in SetProvisionalAnswer()
78 state_ = ST_RECEIVEDPRANSWER; in SetProvisionalAnswer()
80 state_ = ST_SENTPRANSWER; in SetProvisionalAnswer()
[all …]
/external/libchrome/base/message_loop/
Dmessage_pump_glib.cc183 : state_(NULL), in MessagePumpGlib()
221 if (state_ && // state_ may be null during tests. in HandlePrepare()
222 state_->has_work) in HandlePrepare()
231 if (!state_) // state_ may be null during tests. in HandleCheck()
250 state_->has_work = true; in HandleCheck()
253 if (state_->has_work) in HandleCheck()
266 state_->has_work = false; in HandleDispatch()
267 if (state_->delegate->DoWork()) { in HandleDispatch()
272 state_->has_work = true; in HandleDispatch()
275 if (state_->should_quit) in HandleDispatch()
[all …]
/external/webrtc/webrtc/base/
Dtransformadapter.cc25 direction_read_(direction_read), state_(ST_PROCESSING), len_(0) { in TransformAdapter()
39 while (state_ != ST_ERROR) { in Read()
40 if (state_ == ST_COMPLETE) in Read()
44 if ((state_ == ST_PROCESSING) && (len_ < sizeof(buffer_))) { in Read()
54 state_ = ST_ERROR; in Read()
57 state_ = ST_FLUSHING; in Read()
68 (state_ == ST_FLUSHING)); in Read()
72 state_ = ST_COMPLETE; in Read()
74 state_ = ST_ERROR; in Read()
77 } else if ((out_len == 0) && (state_ == ST_FLUSHING)) { in Read()
[all …]
Dsignalthread.cc24 state_(kInit), in SignalThread()
38 ASSERT(kInit == state_); in SetName()
45 if (kInit == state_ || kComplete == state_) { in Start()
46 state_ = kRunning; in Start()
57 if ((kInit == state_) || (kComplete == state_)) { in Destroy()
59 } else if (kRunning == state_ || kReleasing == state_) { in Destroy()
60 state_ = kStopping; in Destroy()
80 if (kComplete == state_) { in Release()
82 } else if (kRunning == state_) { in Release()
83 state_ = kReleasing; in Release()
[all …]
Dsocketadapters.cc256 user_(username), pass_(password), force_connect_(false), state_(PS_ERROR), in AsyncHttpsProxySocket()
269 state_ = PS_INIT; in Connect()
284 state_ = PS_ERROR; in Close()
292 if (state_ < PS_TUNNEL) { in GetState()
294 } else if (state_ == PS_TUNNEL) { in GetState()
304 state_ = PS_TUNNEL; in OnConnectEvent()
313 if ((state_ == PS_WAIT_CLOSE) && (err == 0)) { in OnCloseEvent()
314 state_ = PS_ERROR; in OnCloseEvent()
323 for (size_t pos = start; state_ < PS_TUNNEL && pos < *len;) { in ProcessInput()
324 if (state_ == PS_SKIP_BODY) { in ProcessInput()
[all …]
Drandom.h56 state_ ^= state_ >> 12; in NextOutput()
57 state_ ^= state_ << 25; in NextOutput()
58 state_ ^= state_ >> 27; in NextOutput()
59 RTC_DCHECK(state_ != 0x0ULL); in NextOutput()
60 return state_ * 2685821657736338717ull; in NextOutput()
63 uint64_t state_; variable
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
Dmove_convert11.fail.cpp48 int state_; member in Deleter
60 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter()
63 state_ = r.state_; in operator =()
64 r.state_ = 0; in operator =()
69 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;}
72 state_ = r->state_;
73 r->state_ = 0;
78 Deleter() : state_(5) {} in Deleter()
84 : state_(d.state()) {d.set_state(0);} in Deleter()
94 : state_(d.state()) {} in Deleter()
[all …]
Dmove_convert08.fail.cpp48 int state_; member in Deleter
60 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;} in Deleter()
63 state_ = r.state_; in operator =()
64 r.state_ = 0; in operator =()
69 Deleter(std::__rv<Deleter> r) : state_(r->state_) {r->state_ = 0;}
72 state_ = r->state_;
73 r->state_ = 0;
78 Deleter() : state_(5) {} in Deleter()
84 : state_(d.state()) {d.set_state(0);} in Deleter()
94 : state_(d.state()) {} in Deleter()
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppengineimpl.cc40 state_(STATE_START), in XmppEngineImpl()
66 if (state_ != STATE_START) in SetOutputHandler()
76 if (state_ != STATE_START) in SetSessionHandler()
86 if (state_ < STATE_OPENING || state_ > STATE_OPEN) in HandleInput()
98 if (state_ != STATE_CLOSED) { in ConnectionClosed()
112 if (state_ != STATE_START) in SetTls()
121 if (state_ != STATE_START) in SetTlsServer()
135 if (state_ != STATE_START) in SetUser()
148 if (state_ != STATE_START) in SetSaslHandler()
157 if (state_ != STATE_START) in SetRequestedResource()
[all …]
Dxmpplogintask.cc48 state_(LOGINSTATE_INIT), in XmppLoginTask()
89 << rtc::ErrorName(state_, LOGINTASK_STATES); in Advance()
92 switch (state_) { in Advance()
104 state_ = LOGINSTATE_STREAMSTART_SENT; in Advance()
115 state_ = LOGINSTATE_STARTED_XMPP; in Advance()
134 state_ = LOGINSTATE_TLS_INIT; in Advance()
139 state_ = LOGINSTATE_AUTH_INIT; in Advance()
143 state_ = LOGINSTATE_BIND_INIT; in Advance()
154 state_ = LOGINSTATE_TLS_REQUESTED; in Advance()
171 state_ = LOGINSTATE_INIT; in Advance()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed); in Init()
36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock()
40 atomic_store(&state_, 0, memory_order_release); in Unlock()
44 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1); in CheckLocked()
48 atomic_uint8_t state_;
56 if (atomic_load(&state_, memory_order_relaxed) == 0 in LockSlow()
57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow()
96 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~RWMutex()
105 if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock, in Lock()
[all …]
/external/webrtc/webrtc/common_audio/
Dsparse_fir_filter.cc24 state_(sparsity_ * (num_nonzero_coeffs - 1) + offset_, 0.f) { in SparseFIRFilter()
40 out[i] += state_[i + (nonzero_coeffs_.size() - j - 1) * sparsity_] * in Filter()
46 if (state_.size() > 0u) { in Filter()
47 if (length >= state_.size()) { in Filter()
48 std::memcpy(&state_[0], in Filter()
49 &in[length - state_.size()], in Filter()
50 state_.size() * sizeof(*in)); in Filter()
52 std::memmove(&state_[0], in Filter()
53 &state_[length], in Filter()
54 (state_.size() - length) * sizeof(state_[0])); in Filter()
[all …]
Dfir_filter.cc34 rtc::scoped_ptr<float[]> state_; member in webrtc::FIRFilterC
81 state_(new float[state_length_]) { in FIRFilterC()
85 memset(state_.get(), 0, state_length_ * sizeof(state_[0])); in FIRFilterC()
97 out[i] += state_[i + j] * coefficients_[j]; in Filter()
107 state_.get(), &in[length - state_length_], state_length_ * sizeof(*in)); in Filter()
109 memmove(state_.get(), in Filter()
110 &state_[length], in Filter()
111 (state_length_ - length) * sizeof(state_[0])); in Filter()
112 memcpy(&state_[state_length_ - length], in, length * sizeof(*in)); in Filter()
Dfir_filter_neon.cc29 state_(static_cast<float*>( in FIRFilterNEON()
40 memset(state_.get(), in FIRFilterNEON()
42 (max_input_length + state_length_) * sizeof(state_[0])); in FIRFilterNEON()
48 memcpy(&state_[state_length_], in, length * sizeof(*in)); in Filter()
53 float* in_ptr = &state_[i]; in Filter()
69 memmove(state_.get(), &state_[length], state_length_ * sizeof(state_[0])); in Filter()
/external/v8/src/heap/
Dmemory-reducer.cc67 DCHECK_EQ(kWait, state_.action); in NotifyTimer()
68 state_ = Step(state_, event); in NotifyTimer()
69 if (state_.action == kRun) { in NotifyTimer()
74 state_.started_gcs); in NotifyTimer()
77 } else if (state_.action == kWait) { in NotifyTimer()
95 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); in NotifyTimer()
98 state_.next_gc_start_ms - event.time_ms); in NotifyTimer()
106 Action old_action = state_.action; in NotifyMarkCompact()
107 state_ = Step(state_, event); in NotifyMarkCompact()
108 if (old_action != kWait && state_.action == kWait) { in NotifyMarkCompact()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/
Dtest_deleter.h41 int state_; variable
45 test_deleter() : state_(0) {++count;} in test_deleter()
46 explicit test_deleter(int s) : state_(s) {++count;} in test_deleter()
48 : state_(d.state_) {++count;} in test_deleter()
49 ~test_deleter() {assert(state_ >= 0); --count; state_ = -1;} in ~test_deleter()
51 int state() const {return state_;} in state()
52 void set_state(int i) {state_ = i;} in set_state()
54 void operator()(T* p) {assert(state_ >= 0); ++dealloc_count; delete p;} in operator()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_event.hpp54 state_ |= 1; in signal_all()
63 state_ |= 1; in unlock_and_signal_one()
64 bool have_waiters = (state_ > 1); in unlock_and_signal_one()
75 state_ |= 1; in maybe_unlock_and_signal_one()
76 if (state_ > 1) in maybe_unlock_and_signal_one()
91 state_ &= ~std::size_t(1); in clear()
99 while ((state_ & 1) == 0) in wait()
101 state_ += 2; in wait()
103 state_ -= 2; in wait()
109 std::size_t state_; member in asio::detail::posix_event
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/
Dswap.pass.cpp23 int state_; member
25 A() : state_(0) {++count;} in A()
26 explicit A(int i) : state_(i) {++count;} in A()
27 A(const A& a) : state_(a.state_) {++count;} in A()
28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =()
32 {return x.state_ == y.state_;} in operator ==()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dreactive_socket_service_base.ipp40 impl.state_ = 0;
50 impl.state_ = other_impl.state_;
51 other_impl.state_ = 0;
67 impl.state_ = other_impl.state_;
68 other_impl.state_ = 0;
82 (impl.state_ & socket_ops::possible_dup) == 0);
85 socket_ops::close(impl.socket_, impl.state_, true, ignored_ec);
98 (impl.state_ & socket_ops::possible_dup) == 0);
101 socket_ops::close(impl.socket_, impl.state_, false, ec);
157 case SOCK_STREAM: impl.state_ = socket_ops::stream_oriented; break;
[all …]
/external/libchrome/crypto/
Dp224_spake.cc102 : state_(kStateInitial), in P224EncryptedKeyExchange()
135 if (state_ == kStateInitial) { in GetNextMessage()
136 state_ = kStateRecvDH; in GetNextMessage()
138 } else if (state_ == kStateSendHash) { in GetNextMessage()
139 state_ = kStateRecvHash; in GetNextMessage()
144 " bad state " << state_; in GetNextMessage()
151 if (state_ == kStateRecvHash) { in ProcessMessage()
163 state_ = kStateDone; in ProcessMessage()
167 if (state_ != kStateRecvDH) { in ProcessMessage()
169 " bad state " << state_; in ProcessMessage()
[all …]
/external/libweave/third_party/chromium/crypto/
Dp224_spake.cc119 : state_(kStateInitial), in P224EncryptedKeyExchange()
152 if (state_ == kStateInitial) { in GetNextMessage()
153 state_ = kStateRecvDH; in GetNextMessage()
155 } else if (state_ == kStateSendHash) { in GetNextMessage()
156 state_ = kStateRecvHash; in GetNextMessage()
161 " bad state " << state_; in GetNextMessage()
168 if (state_ == kStateRecvHash) { in ProcessMessage()
180 state_ = kStateDone; in ProcessMessage()
184 if (state_ != kStateRecvDH) { in ProcessMessage()
186 " bad state " << state_; in ProcessMessage()
[all …]
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/
Dswap.pass.cpp23 int state_; member
25 explicit A(int i) : state_(i) {++count;} in A()
26 A(const A& a) : state_(a.state_) {++count;} in A()
27 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =()
31 {return x.state_ == y.state_;} in operator ==()
/external/clang/test/CodeGenCXX/
Drvalue-references.cpp42 int* state_; member in C
47 C(int state) : state_(new int(state)) { } in C()
50 state_ = a.state_; in C()
51 a.state_ = 0; in C()
55 delete state_; in ~C()
56 state_ = 0; in ~C()
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/
Dswap.pass.cpp23 int state_; member
25 A() : state_(0) {++count;} in A()
26 explicit A(int i) : state_(i) {++count;} in A()
27 A(const A& a) : state_(a.state_) {++count;} in A()
28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =()
32 {return x.state_ == y.state_;} in operator ==()

12345678910