Home
last modified time | relevance | path

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

123456789

/external/chromium/net/base/
Dgzip_header.cc27 state_ = IN_HEADER_ID1; in Reset()
39 switch ( state_ ) { in ReadMore()
43 state_++; in ReadMore()
48 state_++; in ReadMore()
53 state_++; in ReadMore()
59 state_++; in ReadMore()
64 state_++; in ReadMore()
68 state_++; in ReadMore()
72 state_++; in ReadMore()
76 state_++; in ReadMore()
[all …]
/external/chromium/base/
Dmessage_pump_glib.cc144 : state_(NULL), in MessagePumpForUI()
190 state.run_depth = state_ ? state_->run_depth + 1 : 1; in RunWithDispatcher()
193 RunState* previous_state = state_; in RunWithDispatcher()
194 state_ = &state; in RunWithDispatcher()
211 if (state_->should_quit) in RunWithDispatcher()
214 more_work_is_plausible |= state_->delegate->DoWork(); in RunWithDispatcher()
215 if (state_->should_quit) in RunWithDispatcher()
219 state_->delegate->DoDelayedWork(&delayed_work_time_); in RunWithDispatcher()
220 if (state_->should_quit) in RunWithDispatcher()
226 more_work_is_plausible = state_->delegate->DoIdleWork(); in RunWithDispatcher()
[all …]
Dmessage_pump_win.cc46 s.run_depth = state_ ? state_->run_depth + 1 : 1; in RunWithDispatcher()
48 RunState* previous_state = state_; in RunWithDispatcher()
49 state_ = &s; in RunWithDispatcher()
53 state_ = previous_state; in RunWithDispatcher()
57 DCHECK(state_); in Quit()
58 state_->should_quit = true; in Quit()
138 if (!state_) in PumpOutPendingPaintMessages()
152 if (state_->should_quit) // Handle WM_QUIT. in PumpOutPendingPaintMessages()
200 if (state_->should_quit) in DoRunLoop()
203 more_work_is_plausible |= state_->delegate->DoWork(); in DoRunLoop()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dsignalthread.cc38 SignalThread::SignalThread() : main_(Thread::Current()), state_(kInit) { in SignalThread()
53 ASSERT(kInit == state_); in SetName()
60 ASSERT(kInit == state_); in SetPriority()
67 if (kInit == state_ || kComplete == state_) { in Start()
68 state_ = kRunning; in Start()
79 if ((kInit == state_) || (kComplete == state_)) { in Destroy()
81 } else if (kRunning == state_ || kReleasing == state_) { in Destroy()
82 state_ = kStopping; in Destroy()
102 if (kComplete == state_) { in Release()
104 } else if (kRunning == state_) { 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 …]
/external/chromium/net/http/
Ddisk_cache_based_ssl_host_info.cc45 state_(GET_BACKEND), in DiskCacheBasedSSLHostInfo()
56 DCHECK_EQ(GET_BACKEND, state_); in Start()
62 DCHECK(state_ != GET_BACKEND); in WaitForDataReady()
75 DCHECK(state_ != GET_BACKEND); in Persist()
85 state_ = CREATE; in Persist()
103 switch (state_) { in DoLoop()
144 } while (rv != ERR_IO_PENDING && state_ != NONE); in DoLoop()
150 state_ = OPEN; in DoGetBackendComplete()
152 state_ = WAIT_FOR_DATA_READY_DONE; in DoGetBackendComplete()
160 state_ = READ; in DoOpenComplete()
[all …]
/external/chromium/chrome/browser/sync/glue/
Ddata_type_manager_impl.cc65 state_(DataTypeManager::STOPPED), in DataTypeManagerImpl()
103 if (state_ == STOPPING) { in Configure()
111 if (state_ != STOPPED && state_ != CONFIGURED && state_ != BLOCKED) { in Configure()
155 DCHECK(state_ == STOPPED || state_ == CONFIGURED || state_ == BLOCKED); in Restart()
159 if (state_ == STOPPED || state_ == CONFIGURED) in Restart()
171 state_ = DOWNLOAD_PENDING; in Restart()
179 DCHECK(state_ == DOWNLOAD_PENDING); in DownloadReady()
181 state_ = CONFIGURING; in DownloadReady()
195 DCHECK_EQ(state_, CONFIGURING); in StartNextType()
226 state_ = CONFIGURED; in StartNextType()
[all …]
Dfrontend_data_type_controller.cc30 state_(NOT_RUNNING) { in FrontendDataTypeController()
44 if (state_ != NOT_RUNNING) { in Start()
52 state_ = MODEL_STARTING; in Start()
57 DCHECK(state_ == NOT_RUNNING || state_ == MODEL_STARTING); in Start()
61 state_ = ASSOCIATING; in Start()
64 DCHECK_EQ(state_, NOT_RUNNING); in Start()
67 DCHECK_EQ(state_, RUNNING); in Start()
71 DCHECK_EQ(state_, MODEL_STARTING); in StartModels()
78 DCHECK_EQ(state_, ASSOCIATING); in Associate()
101 state_ = RUNNING; in Associate()
[all …]
/external/chromium/third_party/libjingle/source/talk/xmpp/
Dxmppengineimpl.cc66 state_(STATE_START), in XmppEngineImpl()
88 if (state_ != STATE_START) in SetOutputHandler()
98 if (state_ != STATE_START) in SetSessionHandler()
108 if (state_ < STATE_OPENING || state_ > STATE_OPEN) in HandleInput()
121 if (state_ != STATE_CLOSED) { in ConnectionClosed()
136 if (state_ != STATE_START) in SetUseTls()
147 if (state_ != STATE_START) in SetTlsServer()
163 if (state_ != STATE_START) in SetUser()
178 if (state_ != STATE_START) in SetSaslHandler()
187 if (state_ != STATE_START) in SetRequestedResource()
[all …]
Dxmpplogintask.cc64 state_(LOGINSTATE_INIT), in XmppLoginTask()
105 << talk_base::ErrorName(state_, LOGINTASK_STATES); in Advance()
108 switch (state_) { in Advance()
120 state_ = LOGINSTATE_STREAMSTART_SENT; in Advance()
131 state_ = LOGINSTATE_STARTED_XMPP; in Advance()
144 state_ = LOGINSTATE_TLS_INIT; in Advance()
149 state_ = LOGINSTATE_AUTH_INIT; in Advance()
153 state_ = LOGINSTATE_BIND_INIT; in Advance()
164 state_ = LOGINSTATE_TLS_REQUESTED; in Advance()
181 state_ = LOGINSTATE_INIT; in Advance()
[all …]
/external/chromium/chrome/browser/sync/
Dbackend_migrator.cc25 : state_(IDLE), service_(service), manager_(manager), in BackendMigrator()
38 return state_ >= DISABLING_TYPES; in HasStartedMigrating()
58 state_ = WAITING_TO_START; in MigrateTypes()
63 state_ = DISABLING_TYPES; in MigrateTypes()
77 state_ = WAITING_TO_START; in OnStateChanged()
83 if (state_ != WAITING_FOR_PURGE) in OnStateChanged()
97 state_ = REENABLING_TYPES; in OnStateChanged()
110 if (state_ == IDLE) in Observe()
128 if (state_ == WAITING_TO_START || state_ == WAITING_FOR_PURGE || in Observe()
129 (state_ == DISABLING_TYPES && !intersection.empty())) { in Observe()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dparallel_authenticator_unittest.cc50 state_(state), in ResolveChecker()
57 auth_->set_attempt_state(state_); in RunTest()
62 TestAttemptState* state_; member in chromeos::ResolveChecker
100 state_.reset(new TestAttemptState(username_, in SetUp()
226 scoped_ptr<TestAttemptState> state_; member in chromeos::ParallelAuthenticatorTest
275 SetAttemptState(auth_, state_.release()); in TEST_F()
283 SetAttemptState(auth_, state_.release()); in TEST_F()
289 new ResolveChecker(state_.release(), in TEST_F()
298 state_->PresetCryptohomeStatus(false, in TEST_F()
301 new ResolveChecker(state_.release(), in TEST_F()
[all …]
Dcryptohome_op_unittest.cc35 state_(username_, "", hash_ascii_, "", "", false), in CryptohomeOpTest()
122 EXPECT_EQ(outcome, state_.cryptohome_outcome()); in RunTest()
123 EXPECT_EQ(code, state_.cryptohome_code()); in RunTest()
131 TestAttemptState state_; member in chromeos::CryptohomeOpTest
141 CryptohomeOp::CreateMountAttempt(&state_, resolver_.get(), true)); in TEST_F()
148 CryptohomeOp::CreateMountAttempt(&state_, resolver_.get(), true)); in TEST_F()
155 CryptohomeOp::CreateMountAttempt(&state_, resolver_.get(), true)); in TEST_F()
162 CryptohomeOp::CreateMountAttempt(&state_, resolver_.get(), true)); in TEST_F()
169 CryptohomeOp::CreateMountGuestAttempt(&state_, resolver_.get())); in TEST_F()
176 CryptohomeOp::CreateMountGuestAttempt(&state_, resolver_.get())); in TEST_F()
[all …]
/external/chromium/chrome/browser/net/
Durl_info.cc34 : state_(PENDING), in UrlInfo()
35 old_prequeue_state_(state_), in UrlInfo()
46 switch (state_) { in NeedsDnsUpdate()
94 DCHECK(PENDING == state_ || FOUND == state_ || NO_SUCH_NAME == state_); in SetQueuedState()
95 old_prequeue_state_ = state_; in SetQueuedState()
96 state_ = QUEUED; in SetQueuedState()
104 DCHECK(QUEUED == state_); in SetAssignedState()
105 state_ = ASSIGNED; in SetAssignedState()
112 DCHECK(ASSIGNED == state_); in RemoveFromQueue()
113 state_ = old_prequeue_state_; in RemoveFromQueue()
[all …]
/external/chromium/net/websockets/
Dwebsocket_job.cc64 state_(INITIALIZED), in WebSocketJob()
76 DCHECK_EQ(CLOSED, state_); in ~WebSocketJob()
83 DCHECK_EQ(state_, INITIALIZED); in Connect()
84 state_ = CONNECTING; in Connect()
89 switch (state_) { in SendData()
129 state_ = CLOSING; in Close()
134 state_ = CLOSED; in Close()
141 state_ = CONNECTING; in RestartWithAuth()
146 state_ = CLOSED; in DetachDelegate()
166 state_ = CONNECTING; in OnStartOpenConnection()
[all …]
/external/chromium/third_party/libjingle/source/talk/session/phone/
Drtcpmuxfilter.cc34 RtcpMuxFilter::RtcpMuxFilter() : state_(ST_INIT), offer_enable_(false) { in RtcpMuxFilter()
40 return (state_ == ST_SENTOFFER || state_ == ST_ACTIVE); in IsActive()
45 if (state_ == ST_INIT) { in SetOffer()
47 state_ = (source == CS_LOCAL) ? ST_SENTOFFER : ST_RECEIVEDOFFER; in SetOffer()
57 if ((state_ == ST_SENTOFFER && source == CS_REMOTE) || in SetAnswer()
58 (state_ == ST_RECEIVEDOFFER && source == CS_LOCAL)) { in SetAnswer()
60 state_ = (answer_enable) ? ST_ACTIVE : ST_INIT; in SetAnswer()
66 state_ = ST_INIT; in SetAnswer()
/external/chromium/chrome/common/
Dservice_process_util_posix.cc128 CHECK(!state_); in CreateState()
129 state_ = new StateData; in CreateState()
135 state_->AddRef(); in CreateState()
140 CHECK(state_); in SignalReady()
144 state_->running_lock_.reset(TakeServiceRunningLock(true)); in SignalReady()
145 if (state_->running_lock_.get() == NULL) { in SignalReady()
149 state_->shut_down_monitor_.reset( in SignalReady()
151 if (pipe(state_->sockets_) < 0) { in SignalReady()
159 NewRunnableMethod(state_, &ServiceProcessState::StateData::SignalReady, in SignalReady()
167 if (state_) { in TearDownState()
[all …]
Dservice_process_util_win.cc107 CHECK(!state_); in CreateState()
108 state_ = new StateData; in CreateState()
112 DCHECK(state_); in TakeSingletonLock()
122 state_->ready_event.Set(service_process_ready_event.Take()); in TakeSingletonLock()
128 DCHECK(state_); in SignalReady()
129 DCHECK(state_->ready_event.IsValid()); in SignalReady()
131 if (!SetEvent(state_->ready_event.Get())) { in SignalReady()
135 state_->shutdown_monitor.reset( in SignalReady()
137 state_->shutdown_monitor->Start(); in SignalReady()
164 delete state_; in TearDownState()
[all …]
/external/chromium/chrome/browser/renderer_host/
Dsafe_browsing_resource_handler.cc32 : state_(STATE_NONE), in SafeBrowsingResourceHandler()
58 CHECK(state_ == STATE_NONE); in OnRequestRedirected()
85 CHECK(state_ == STATE_NONE); in OnResponseStarted()
91 CHECK(state_ == STATE_CHECKING_URL); in OnCheckUrlTimeout()
117 CHECK(state_ == STATE_NONE); in OnWillRead()
124 CHECK(state_ == STATE_NONE); in OnReadCompleted()
145 CHECK(state_ == STATE_CHECKING_URL); in OnBrowseUrlCheckResult()
152 state_ = STATE_NONE; in OnBrowseUrlCheckResult()
180 CHECK(state_ == STATE_NONE); in StartDisplayingBlockingPage()
184 state_ = STATE_DISPLAYING_BLOCKING_PAGE; in StartDisplayingBlockingPage()
[all …]
/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/chromium/webkit/glue/media/
Dsimple_data_source.cc43 state_(UNINITIALIZED), in SimpleDataSource()
50 DCHECK(state_ == UNINITIALIZED || state_ == STOPPED); in ~SimpleDataSource()
57 if (state_ == INITIALIZED) { in set_host()
64 state_ = STOPPED; in Stop()
84 DCHECK_EQ(state_, UNINITIALIZED); in Initialize()
86 state_ = INITIALIZING; in Initialize()
105 state_ = STOPPED; in CancelInitialize()
211 if (state_ == STOPPED) in didFinishLoading()
215 DCHECK_EQ(state_, INITIALIZING); in didFinishLoading()
239 if (state_ == STOPPED) in didFail()
[all …]
/external/chromium/chrome/browser/download/
Dsave_item.cc24 state_(WAIT_START), in SaveItem()
37 DCHECK(state_ == WAIT_START); in Start()
38 state_ = IN_PROGRESS; in Start()
53 if (state_ != IN_PROGRESS) { in Update()
66 if (state_ != IN_PROGRESS) { in Cancel()
70 state_ = CANCELED; in Cancel()
88 state_ = COMPLETE; in Finish()
95 switch (state_) { in PercentComplete()
/external/v8/src/
Dglobal-handles.cc81 state_ = FREE; in Initialize()
88 ASSERT(state_ == FREE); in Acquire()
92 state_ = NORMAL; in Acquire()
99 ASSERT(state_ != FREE); in Release()
106 state_ = FREE; in Release()
128 State state() const { return state_; } in state()
132 return state_ == PENDING || state_ == NEAR_DEATH; in IsNearDeath()
135 bool IsWeak() const { return state_ == WEAK; } in IsWeak()
137 bool IsRetainer() const { return state_ != FREE; } in IsRetainer()
139 bool IsStrongRetainer() const { return state_ == NORMAL; } in IsStrongRetainer()
[all …]
/external/chromium/chrome/browser/policy/
Dpolicy_notifier.cc18 : state_(CloudPolicySubsystem::UNENROLLED), in PolicyNotifier()
49 state_ = CloudPolicySubsystem::UNMANAGED; in RecomputeState()
52 state_ = s[TOKEN_FETCHER]; in RecomputeState()
55 state_ = s[TOKEN_FETCHER]; in RecomputeState()
58 state_ = s[POLICY_CONTROLLER]; in RecomputeState()
64 state_ = CloudPolicySubsystem::TOKEN_FETCHED; in RecomputeState()
67 state_ = s[POLICY_CACHE]; in RecomputeState()
72 OnPolicyStateChanged(state_, error_details_)); in RecomputeState()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dsim_unlock_ui.cc216 SimUnlockState state_; member in chromeos::SimUnlockHandler
312 state_(SIM_UNLOCK_LOADING), in SimUnlockHandler()
370 if (state_ == SIM_NOT_LOCKED_ASK_PIN && error == PIN_ERROR_NONE) { in OnPinOperationCompleted()
377 state_ = SIM_ABSENT_NOT_LOCKED; in OnPinOperationCompleted()
378 } else if (state_ == SIM_NOT_LOCKED_CHANGE_PIN && error == PIN_ERROR_NONE) { in OnPinOperationCompleted()
381 state_ = SIM_ABSENT_NOT_LOCKED; in OnPinOperationCompleted()
386 if (!(state_ == SIM_LOCKED_NO_PIN_TRIES_LEFT && error == PIN_ERROR_BLOCKED)) in OnPinOperationCompleted()
389 state_ == SIM_ABSENT_NOT_LOCKED) in OnPinOperationCompleted()
557 VLOG(1) << "Current state: " << state_ << " lock_state: " << lock_state in ProcessSimCardState()
559 switch (state_) { in ProcessSimCardState()
[all …]

123456789