Searched refs:state_ (Results 1 - 25 of 240) sorted by relevance

12345678910

/external/compiler-rt/test/tsan/
H A Dmutex_annotations.cc12 ANNOTATE_RWLOCK_CREATE_STATIC(&state_);
14 ANNOTATE_RWLOCK_CREATE(&state_);
18 ANNOTATE_RWLOCK_DESTROY(&state_);
22 ANNOTATE_RWLOCK_ACQUIRED(&state_, true);
26 ANNOTATE_RWLOCK_RELEASED(&state_, true);
30 long long state_; member in class:Mutex
/external/webrtc/talk/session/media/
H A Drtcpmuxfilter.cc34 RtcpMuxFilter::RtcpMuxFilter() : state_(ST_INIT), offer_enable_(false) {
38 return state_ == ST_SENTPRANSWER ||
39 state_ == ST_RECEIVEDPRANSWER ||
40 state_ == ST_ACTIVE;
44 state_ = ST_ACTIVE;
48 if (state_ == ST_ACTIVE) {
59 state_ = (src == CS_LOCAL) ? ST_SENTOFFER : ST_RECEIVEDOFFER;
65 if (state_ == ST_ACTIVE) {
78 state_ = ST_RECEIVEDPRANSWER;
80 state_
[all...]
/external/libcxx/test/support/
H A Ddeleter_types.h31 int state_; member in class:Deleter
37 Deleter(Deleter&& r) : state_(r.state_) {r.state_ = 0;}
40 state_ = r.state_;
41 r.state_ = 0;
46 Deleter() : state_(0) {}
47 explicit Deleter(int s) : state_(s) {}
48 ~Deleter() {assert(state_ >
69 int state_; member in class:Deleter
99 mutable int state_; member in class:Deleter
131 mutable int state_; member in class:Deleter
169 int state_; member in class:CDeleter
190 int state_; member in class:CDeleter
221 int state_; member in class:NCDeleter
240 int state_; member in class:NCDeleter
260 int state_; member in class:NCConstDeleter
279 int state_; member in class:NCConstDeleter
299 int state_; member in class:CopyDeleter
322 int state_; member in class:CopyDeleter
356 int state_; member in class:test_deleter
[all...]
/external/webrtc/webrtc/base/
H A Drandom.h56 state_ ^= state_ >> 12;
57 state_ ^= state_ << 25;
58 state_ ^= state_ >> 27;
59 RTC_DCHECK(state_ != 0x0ULL);
60 return state_ * 2685821657736338717ull;
63 uint64_t state_; member in class:webrtc::Random
H A Dsignalthread.cc24 state_(kInit),
38 ASSERT(kInit == state_);
45 if (kInit == state_ || kComplete == state_) {
46 state_ = kRunning;
57 if ((kInit == state_) || (kComplete == state_)) {
59 } else if (kRunning == state_ || kReleasing == state_) {
60 state_
[all...]
H A Dtransformadapter.cc25 direction_read_(direction_read), state_(ST_PROCESSING), len_(0) {
39 while (state_ != ST_ERROR) {
40 if (state_ == ST_COMPLETE)
44 if ((state_ == ST_PROCESSING) && (len_ < sizeof(buffer_))) {
54 state_ = ST_ERROR;
57 state_ = ST_FLUSHING;
68 (state_ == ST_FLUSHING));
72 state_ = ST_COMPLETE;
74 state_ = ST_ERROR;
77 } else if ((out_len == 0) && (state_
[all...]
/external/webrtc/webrtc/common_audio/
H A Dsparse_fir_filter.cc24 state_(sparsity_ * (num_nonzero_coeffs - 1) + offset_, 0.f) {
40 out[i] += state_[i + (nonzero_coeffs_.size() - j - 1) * sparsity_] *
46 if (state_.size() > 0u) {
47 if (length >= state_.size()) {
48 std::memcpy(&state_[0],
49 &in[length - state_.size()],
50 state_.size() * sizeof(*in));
52 std::memmove(&state_[0],
53 &state_[length],
54 (state_
[all...]
H A Dfir_filter_neon.cc29 state_(static_cast<float*>(
40 memset(state_.get(),
42 (max_input_length + state_length_) * sizeof(state_[0]));
48 memcpy(&state_[state_length_], in, length * sizeof(*in));
53 float* in_ptr = &state_[i];
69 memmove(state_.get(), &state_[length], state_length_ * sizeof(state_[0]));
H A Dfir_filter_sse.cc29 state_(static_cast<float*>(
40 memset(state_.get(),
42 (max_input_length + state_length_) * sizeof(state_[0]));
48 memcpy(&state_[state_length_], in, length * sizeof(*in));
53 float* in_ptr = &state_[i];
77 memmove(state_.get(), &state_[length], state_length_ * sizeof(state_[0]));
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.dtor/
H A Dnull.pass.cpp20 int state_; member in class:Deleter
26 Deleter() : state_(0) {}
28 int state() const { return state_; }
30 void operator()(void*) { ++state_; }
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
H A Dop_subscript.runtime.pass.cpp20 int state_; member in class:A
24 A() : state_(++next_) {}
25 int get() const { return state_; }
27 friend bool operator==(const A& x, int y) { return x.state_ == y; }
30 state_ = i;
/external/clang/test/CodeGenCXX/
H A Drvalue-references.cpp42 int* state_; member in class:C
47 C(int state) : state_(new int(state)) { }
50 state_ = a.state_;
51 a.state_ = 0;
55 delete state_;
56 state_ = 0;
/external/libchrome/base/message_loop/
H A Dmessage_pump_glib.cc183 : state_(NULL),
221 if (state_ && // state_ may be null during tests.
222 state_->has_work)
231 if (!state_) // state_ may be null during tests.
250 state_->has_work = true;
253 if (state_->has_work)
266 state_->has_work = false;
267 if (state_
[all...]
/external/parameter-framework/asio/include/asio/detail/
H A Dposix_event.hpp54 state_ |= 1;
63 state_ |= 1;
64 bool have_waiters = (state_ > 1);
75 state_ |= 1;
76 if (state_ > 1)
91 state_ &= ~std::size_t(1);
99 while ((state_ & 1) == 0)
101 state_ += 2;
103 state_ -= 2;
109 std::size_t state_; member in class:asio::detail::posix_event
[all...]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dposix_event.hpp54 state_ |= 1;
63 state_ |= 1;
64 bool have_waiters = (state_ > 1);
75 state_ |= 1;
76 if (state_ > 1)
91 state_ &= ~std::size_t(1);
99 while ((state_ & 1) == 0)
101 state_ += 2;
103 state_ -= 2;
109 std::size_t state_; member in class:asio::detail::posix_event
[all...]
/external/perfetto/src/perfetto_cmd/
H A Drate_limiter.cc66 bool loaded_state = LoadState(&state_);
72 if (!loaded_state || now_in_s < state_.first_trace_timestamp() ||
73 now_in_s < state_.last_trace_timestamp() ||
74 state_.last_trace_timestamp() < state_.first_trace_timestamp()) {
82 if ((now_in_s - state_.last_trace_timestamp()) < kCooldownInSeconds) {
89 if ((now_in_s - state_.first_trace_timestamp()) >
91 state_.set_first_trace_timestamp(0);
92 state_.set_last_trace_timestamp(0);
93 state_
[all...]
/external/v8/tools/clang/blink_gc_plugin/
H A DJsonWriter.h19 state_.push(false);
28 state_.pop();
33 state_.push(false);
37 state_.pop();
58 if (state_.empty())
60 if (state_.top()) {
64 state_.top() = true;
67 std::stack<bool> state_; member in class:JsonWriter
/external/webrtc/talk/app/webrtc/
H A Dmediastreamtrack.h47 return state_;
59 bool fire_on_change = (state_ != new_state);
60 state_ = new_state;
70 state_(MediaStreamTrackInterface::kInitializing) {
76 MediaStreamTrackInterface::TrackState state_; member in class:webrtc::MediaStreamTrack
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed);
36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0;
40 atomic_store(&state_, 0, memory_order_release);
44 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1);
48 atomic_uint8_t state_; member in class:__sanitizer::StaticSpinMutex
56 if (atomic_load(&state_, memory_order_relaxed) == 0
57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0)
96 atomic_store(&state_, kUnlocked, memory_order_relaxed);
100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked);
105 if (atomic_compare_exchange_strong(&state_,
136 atomic_uint32_t state_; member in class:__sanitizer::RWMutex
[all...]
H A Dsanitizer_symbolizer_libbacktrace.h44 explicit LibbacktraceSymbolizer(void *state) : state_(state) {}
46 void *state_; // Leaked. member in class:__sanitizer::LibbacktraceSymbolizer
/external/tensorflow/tensorflow/core/lib/core/
H A Dstatus.h53 bool ok() const { return (state_ == NULL); }
56 return ok() ? tensorflow::error::OK : state_->code;
60 return ok() ? empty_string() : state_->msg;
92 // OK status has a `NULL` state_. Otherwise, `state_` points to
94 std::unique_ptr<State> state_; member in class:tensorflow::Status
100 : state_((s.state_ == NULL) ? NULL : new State(*s.state_)) {}
105 if (state_ !
[all...]
/external/perfetto/src/traced/probes/filesystem/
H A Dprefix_finder.cc52 for (auto it = state_.cbegin() + 1;
53 it != state_.cbegin() + static_cast<ssize_t>(len + 1); it++) {
63 for (size_t j = i; j < state_.size(); ++j) {
64 if (state_[j - 1].second > limit_ && state_[j].second <= limit_) {
73 state_.resize(1);
85 state_[0].second++;
88 if (i < state_.size()) {
89 std::pair<std::string, size_t>& elem = state_[i];
98 state_
[all...]
/external/webrtc/webrtc/libjingle/xmpp/
H A Dxmppengineimpl.cc40 state_(STATE_START),
66 if (state_ != STATE_START)
76 if (state_ != STATE_START)
86 if (state_ < STATE_OPENING || state_ > STATE_OPEN)
98 if (state_ != STATE_CLOSED) {
112 if (state_ != STATE_START)
121 if (state_ != STATE_START)
135 if (state_ != STATE_START)
148 if (state_ !
[all...]
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dscoped_interface_endpoint_handle.cc290 result0.state_->InitPendingState(result1.state_);
291 result1.state_->InitPendingState(result0.state_);
298 : state_(new State) {}
302 : state_(new State) {
303 state_.swap(other.state_);
307 state_->Close(base::nullopt);
313 state_
[all...]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/
H A Dswap.pass.cpp23 int state_; member in struct:TT
25 TT() : state_(-1) { ++count; }
26 explicit TT(int i) : state_(i) { ++count; }
27 TT(const TT& a) : state_(a.state_) { ++count; }
29 state_ = a.state_;
35 return x.state_ == y.state_;
47 (p + i)->state_
[all...]

Completed in 2786 milliseconds

12345678910