Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/chromium_org/third_party/cython/src/Cython/Plex/
DDFA.py33 new_state = state_map.old_to_new(epsilon_closure(old_state))
34 new_machine.make_initial_state(key, new_state)
37 for new_state in new_machine.states:
39 for old_state in state_map.new_to_old(new_state):
44 new_machine.add_transitions(new_state, event, state_map.old_to_new(old_states))
109 new_state = self.old_to_new_dict.get(key, None)
110 if not new_state:
112 new_state = self.new_machine.new_state(action)
113 self.old_to_new_dict[key] = new_state
114 self.new_to_old_dict[id(new_state)] = old_state_set
[all …]
DMachines.py30 def new_state(self): member in Machine
40 state = self.new_state()
80 def add_transition(self, event, new_state): argument
81 self.transitions.add(event, new_state)
142 new_state = self.new_state()
143 old_to_new[old_state] = new_state
147 new_state = old_to_new[old_state]
150 new_state[event] = old_to_new[old_state_set.keys()[0]]
152 new_state[event] = None
153 new_state['action'] = old_state.action
[all …]
/external/mesa3d/src/mesa/main/
Dstate.c112 GLbitfield new_state = 0x0; in update_program() local
210 new_state |= _NEW_PROGRAM; in update_program()
218 new_state |= _NEW_PROGRAM; in update_program()
226 new_state |= _NEW_PROGRAM; in update_program()
233 return new_state; in update_program()
243 GLbitfield new_state = 0x0; in update_program_constants() local
249 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
259 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
267 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
271 return new_state; in update_program_constants()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dstate.c112 GLbitfield new_state = 0x0; in update_program() local
210 new_state |= _NEW_PROGRAM; in update_program()
218 new_state |= _NEW_PROGRAM; in update_program()
226 new_state |= _NEW_PROGRAM; in update_program()
233 return new_state; in update_program()
243 GLbitfield new_state = 0x0; in update_program_constants() local
249 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
259 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
267 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
271 return new_state; in update_program_constants()
[all …]
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_tab_reloader.cc188 void CaptivePortalTabReloader::SetState(State new_state) { in SetState() argument
199 DCHECK(new_state == STATE_NONE || in SetState()
200 new_state == STATE_TIMER_RUNNING); in SetState()
203 DCHECK(new_state == STATE_NONE || in SetState()
204 new_state == STATE_MAYBE_BROKEN_BY_PORTAL || in SetState()
205 new_state == STATE_NEEDS_RELOAD); in SetState()
208 DCHECK(new_state == STATE_NONE || in SetState()
209 new_state == STATE_BROKEN_BY_PORTAL || in SetState()
210 new_state == STATE_NEEDS_RELOAD); in SetState()
213 DCHECK(new_state == STATE_NONE || in SetState()
[all …]
/external/chromium_org/chrome/browser/chromeos/mobile/
Dmobile_activator.cc702 PlanActivationState new_state = PickNextState(network, &error_description); in EvaluateCellularNetwork() local
704 ChangeState(network, new_state, error_description); in EvaluateCellularNetwork()
709 PlanActivationState new_state = state_; in PickNextState() local
711 new_state = PickNextOfflineState(network); in PickNextState()
713 new_state = PickNextOnlineState(network); in PickNextState()
714 if (new_state != PLAN_ACTIVATION_ERROR && in PickNextState()
728 new_state = PLAN_ACTIVATION_DELAY_OTASP; in PickNextState()
732 new_state = PLAN_ACTIVATION_START; in PickNextState()
737 new_state = PLAN_ACTIVATION_TRYING_OTASP; in PickNextState()
740 new_state = state_; in PickNextState()
[all …]
/external/smack/src/org/jivesoftware/smackx/carbons/
DCarbonManager.java86 private IQ carbonsEnabledIQ(final boolean new_state) { in carbonsEnabledIQ() argument
89 … return "<" + (new_state? "enable" : "disable") + " xmlns='" + Carbon.NAMESPACE + "'/>"; in carbonsEnabledIQ()
120 public void sendCarbonsEnabled(final boolean new_state) { in sendCarbonsEnabled() argument
121 IQ setIQ = carbonsEnabledIQ(new_state); in sendCarbonsEnabled()
127 enabled_state = new_state; in sendCarbonsEnabled()
147 public boolean setCarbonsEnabled(final boolean new_state) { in setCarbonsEnabled() argument
148 if (enabled_state == new_state) in setCarbonsEnabled()
151 IQ setIQ = carbonsEnabledIQ(new_state); in setCarbonsEnabled()
160 enabled_state = new_state; in setCarbonsEnabled()
/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_active.c55 Uint8 new_state; in SDL_PrivateAppActive() local
59 new_state = (SDL_appstate | state); in SDL_PrivateAppActive()
61 new_state = (SDL_appstate & ~state); in SDL_PrivateAppActive()
65 if ( new_state == SDL_appstate ) { in SDL_PrivateAppActive()
70 SDL_appstate = new_state; in SDL_PrivateAppActive()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c53 i915InvalidateState(struct gl_context * ctx, GLuint new_state) in i915InvalidateState() argument
55 _swrast_InvalidateState(ctx, new_state); in i915InvalidateState()
56 _swsetup_InvalidateState(ctx, new_state); in i915InvalidateState()
57 _vbo_InvalidateState(ctx, new_state); in i915InvalidateState()
58 _tnl_InvalidateState(ctx, new_state); in i915InvalidateState()
59 _tnl_invalidate_vertex_state(ctx, new_state); in i915InvalidateState()
60 intel_context(ctx)->NewGLState |= new_state; in i915InvalidateState()
73 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON)) in i915InvalidateState()
75 if (new_state & (_NEW_LIGHT)) in i915InvalidateState()
77 if (new_state & (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS)) in i915InvalidateState()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Di915_context.c53 i915InvalidateState(struct gl_context * ctx, GLuint new_state) in i915InvalidateState() argument
55 _swrast_InvalidateState(ctx, new_state); in i915InvalidateState()
56 _swsetup_InvalidateState(ctx, new_state); in i915InvalidateState()
57 _vbo_InvalidateState(ctx, new_state); in i915InvalidateState()
58 _tnl_InvalidateState(ctx, new_state); in i915InvalidateState()
59 _tnl_invalidate_vertex_state(ctx, new_state); in i915InvalidateState()
60 intel_context(ctx)->NewGLState |= new_state; in i915InvalidateState()
73 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON)) in i915InvalidateState()
75 if (new_state & (_NEW_LIGHT)) in i915InvalidateState()
77 if (new_state & (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS)) in i915InvalidateState()
[all …]
/external/qemu/qobject/
Djson-lexer.c281 int char_consumed, new_state; in json_lexer_feed_char() local
290 new_state = json_lexer[lexer->state][(uint8_t)ch]; in json_lexer_feed_char()
291 char_consumed = !TERMINAL_NEEDED_LOOKAHEAD(lexer->state, new_state); in json_lexer_feed_char()
296 switch (new_state) { in json_lexer_feed_char()
303 lexer->emit(lexer, lexer->token, new_state, lexer->x, lexer->y); in json_lexer_feed_char()
308 new_state = IN_START; in json_lexer_feed_char()
327 new_state = IN_START; in json_lexer_feed_char()
328 lexer->state = new_state; in json_lexer_feed_char()
333 lexer->state = new_state; in json_lexer_feed_char()
/external/chromium_org/extensions/browser/app_window/
Dapp_window_geometry_cache_unittest.cc218 ui::WindowShowState new_state = ui::SHOW_STATE_DEFAULT; in TEST_F() local
220 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); in TEST_F()
223 ASSERT_EQ(state, new_state); in TEST_F()
236 ui::WindowShowState new_state = ui::SHOW_STATE_DEFAULT; in TEST_F() local
238 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); in TEST_F()
241 ASSERT_EQ(new_state, ui::SHOW_STATE_DEFAULT); in TEST_F()
254 ui::WindowShowState new_state = ui::SHOW_STATE_DEFAULT; in TEST_F() local
256 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); in TEST_F()
259 ASSERT_EQ(new_state, ui::SHOW_STATE_DEFAULT); in TEST_F()
272 ui::WindowShowState new_state = ui::SHOW_STATE_DEFAULT; in TEST_F() local
[all …]
/external/chromium_org/content/renderer/media/
Drtc_peer_connection_handler_unittest.cc545 webrtc::PeerConnectionInterface::SignalingState new_state = in TEST_F() local
552 pc_handler_->OnSignalingChange(new_state); in TEST_F()
554 new_state = webrtc::PeerConnectionInterface::kHaveLocalPrAnswer; in TEST_F()
560 pc_handler_->OnSignalingChange(new_state); in TEST_F()
562 new_state = webrtc::PeerConnectionInterface::kHaveLocalOffer; in TEST_F()
568 pc_handler_->OnSignalingChange(new_state); in TEST_F()
570 new_state = webrtc::PeerConnectionInterface::kHaveRemotePrAnswer; in TEST_F()
576 pc_handler_->OnSignalingChange(new_state); in TEST_F()
578 new_state = webrtc::PeerConnectionInterface::kClosed; in TEST_F()
584 pc_handler_->OnSignalingChange(new_state); in TEST_F()
[all …]
/external/chromium_org/content/child/service_worker/
Dweb_service_worker_impl.cc45 blink::WebServiceWorkerState new_state) { in OnStateChanged() argument
47 CommitState(new_state); in OnStateChanged()
49 queued_states_.push_back(new_state); in OnStateChanged()
92 void WebServiceWorkerImpl::CommitState(blink::WebServiceWorkerState new_state) { in CommitState() argument
95 state_ = new_state; in CommitState()
/external/chromium_org/extensions/browser/api/cast_channel/
Dlogger.h58 void LogSocketReadyState(int channel_id, proto::ReadyState new_state);
59 void LogSocketConnectState(int channel_id, proto::ConnectionState new_state);
60 void LogSocketReadState(int channel_id, proto::ReadState new_state);
61 void LogSocketWriteState(int channel_id, proto::WriteState new_state);
62 void LogSocketErrorState(int channel_id, proto::ErrorState new_state);
Dlogger.cc179 void Logger::LogSocketReadyState(int channel_id, proto::ReadyState new_state) { in LogSocketReadyState() argument
183 event.set_ready_state(new_state); in LogSocketReadyState()
189 proto::ConnectionState new_state) { in LogSocketConnectState() argument
193 event.set_connection_state(new_state); in LogSocketConnectState()
198 void Logger::LogSocketReadState(int channel_id, proto::ReadState new_state) { in LogSocketReadState() argument
202 event.set_read_state(new_state); in LogSocketReadState()
207 void Logger::LogSocketWriteState(int channel_id, proto::WriteState new_state) { in LogSocketWriteState() argument
211 event.set_write_state(new_state); in LogSocketWriteState()
216 void Logger::LogSocketErrorState(int channel_id, proto::ErrorState new_state) { in LogSocketErrorState() argument
220 event.set_error_state(new_state); in LogSocketErrorState()
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dpubsubstateclient.h64 C new_state; member
192 C new_state; in OnItem() local
194 bool retracted = !ParseStateItem(item, &info, &new_state); in OnItem()
205 new_state = default_state_; in OnItem()
217 if ((retracted && !has_old_state) || StatesEqual(new_state, old_state)) { in OnItem()
222 if (retracted || StatesEqual(new_state, default_state_)) { in OnItem()
226 state_by_key_[key] = new_state; in OnItem()
236 change.new_state = new_state; in OnItem()
Dchatroommoduleimpl.cc84 XmppReturnStatus ClientChangeMyPresence(XmppChatroomState new_state);
85 …XmppReturnStatus ChangePresence(XmppChatroomState new_state, const XmlElement* presence, bool isSe…
422 XmppChatroomState new_state; member
524 XmppChatroomModuleImpl::ClientChangeMyPresence(XmppChatroomState new_state) { in ClientChangeMyPresence() argument
525 return ChangePresence(new_state, NULL, false); in ClientChangeMyPresence()
530 XmppChatroomState new_state; in ServerChangeMyPresence() local
533 new_state = XMPP_CHATROOM_STATE_IN_ROOM; in ServerChangeMyPresence()
535 new_state = XMPP_CHATROOM_STATE_NOT_IN_ROOM; in ServerChangeMyPresence()
537 return ChangePresence(new_state, &presence, true); in ServerChangeMyPresence()
542 XmppChatroomModuleImpl::ChangePresence(XmppChatroomState new_state, in ChangePresence() argument
[all …]
/external/chromium_org/chrome/browser/ui/webui/app_list/
Dstart_page_handler.cc254 SpeechRecognitionState new_state = SPEECH_RECOGNITION_OFF; in HandleSpeechRecognition() local
256 new_state = SPEECH_RECOGNITION_READY; in HandleSpeechRecognition()
258 new_state = SPEECH_RECOGNITION_HOTWORD_LISTENING; in HandleSpeechRecognition()
260 new_state = SPEECH_RECOGNITION_RECOGNIZING; in HandleSpeechRecognition()
262 new_state = SPEECH_RECOGNITION_IN_SPEECH; in HandleSpeechRecognition()
264 new_state = SPEECH_RECOGNITION_STOPPING; in HandleSpeechRecognition()
266 new_state = SPEECH_RECOGNITION_NETWORK_ERROR; in HandleSpeechRecognition()
271 service->OnSpeechRecognitionStateChanged(new_state); in HandleSpeechRecognition()
/external/chromium_org/chrome/browser/ui/
Dbrowser_instant_controller.cc124 const SearchModel::State& new_state) { in ModelChanged() argument
125 if (old_state.mode != new_state.mode) { in ModelChanged()
126 const SearchMode& new_mode = new_state.mode; in ModelChanged()
139 if (old_state.instant_support != new_state.instant_support) in ModelChanged()
140 instant_.InstantSupportChanged(new_state.instant_support); in ModelChanged()
/external/chromium_org/ui/app_list/
Dspeech_ui_model.cc77 SpeechRecognitionState new_state) { in SetSpeechRecognitionState() argument
78 if (state_ == new_state) in SetSpeechRecognitionState()
81 state_ = new_state; in SetSpeechRecognitionState()
91 OnSpeechRecognitionStateChanged(new_state)); in SetSpeechRecognitionState()
/external/chromium_org/ui/display/chromeos/
Ddisplay_configurator.cc210 const MultipleDisplayState new_state = ChooseDisplayState( in ForceInitialConfigure() local
213 new_state, requested_power_state_); in ForceInitialConfigure()
219 NotifyObservers(success, new_state); in ForceInitialConfigure()
267 HDCPState new_state = in ApplyProtections() local
269 if (!native_display_delegate_->SetHDCPState(*it->display, new_state)) in ApplyProtections()
464 const MultipleDisplayState new_state = ChooseDisplayState(power_state); in SetDisplayPower() local
474 success = EnterStateOrFallBackToSoftwareMirroring(new_state, power_state); in SetDisplayPower()
485 NotifyObservers(success, new_state); in SetDisplayPower()
489 bool DisplayConfigurator::SetDisplayMode(MultipleDisplayState new_state) { in SetDisplayMode() argument
493 VLOG(1) << "SetDisplayMode: state=" << DisplayStateToString(new_state); in SetDisplayMode()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dtask.cc99 int new_state = Process(state_); in Step() local
107 if (new_state == STATE_BLOCKED) { in Step()
111 state_ = new_state; in Step()
116 if (new_state == STATE_DONE) { in Step()
118 } else if (new_state == STATE_ERROR) { in Step()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec.c84 void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state ) in vbo_exec_invalidate_state() argument
88 if (new_state & (_NEW_PROGRAM|_NEW_ARRAY)) { in vbo_exec_invalidate_state()
92 if (new_state & (_NEW_PROGRAM|_NEW_EVAL)) in vbo_exec_invalidate_state()
95 _ae_invalidate_state(ctx, new_state); in vbo_exec_invalidate_state()
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
Dvbo_exec.c84 void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state ) in vbo_exec_invalidate_state() argument
88 if (new_state & (_NEW_PROGRAM|_NEW_ARRAY)) { in vbo_exec_invalidate_state()
92 if (new_state & (_NEW_PROGRAM|_NEW_EVAL)) in vbo_exec_invalidate_state()
95 _ae_invalidate_state(ctx, new_state); in vbo_exec_invalidate_state()

12345678910>>...14