Home
last modified time | relevance | path

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

12

/external/qemu/distrib/sdl-1.2.12/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/bluetooth/bluez/audio/
Ddevice.c146 static void device_set_state(struct audio_device *dev, audio_state_t new_state) in device_set_state() argument
152 state_str = state2str(new_state); in device_set_state()
156 if (new_state == AUDIO_STATE_DISCONNECTED) in device_set_state()
159 if (dev->priv->state == new_state) { in device_set_state()
165 dev->priv->state = new_state; in device_set_state()
167 if (priv->dc_req && new_state == AUDIO_STATE_DISCONNECTED) { in device_set_state()
174 if (priv->conn_req && new_state != AUDIO_STATE_CONNECTING) { in device_set_state()
175 if (new_state == AUDIO_STATE_CONNECTED) in device_set_state()
316 avdtp_session_state_t new_state, in device_avdtp_cb() argument
322 if (new_state == AVDTP_SESSION_STATE_CONNECTED) { in device_avdtp_cb()
[all …]
Dsource.c101 static void source_set_state(struct audio_device *dev, source_state_t new_state) in source_set_state() argument
108 source->state = new_state; in source_set_state()
110 state_str = state2str(new_state); in source_set_state()
118 cb->cb(dev, old_state, new_state, cb->user_data); in source_set_state()
125 avdtp_session_state_t new_state, in avdtp_state_callback() argument
133 switch (new_state) { in avdtp_state_callback()
150 source->session_state = new_state; in avdtp_state_callback()
179 avdtp_state_t new_state, in stream_state_changed() argument
189 switch (new_state) { in stream_state_changed()
235 source->stream_state = new_state; in stream_state_changed()
Dsink.c100 static void sink_set_state(struct audio_device *dev, sink_state_t new_state) in sink_set_state() argument
107 sink->state = new_state; in sink_set_state()
109 state_str = state2str(new_state); in sink_set_state()
117 cb->cb(dev, old_state, new_state, cb->user_data); in sink_set_state()
124 avdtp_session_state_t new_state, in avdtp_state_callback() argument
132 switch (new_state) { in avdtp_state_callback()
157 sink->session_state = new_state; in avdtp_state_callback()
186 avdtp_state_t new_state, in stream_state_changed() argument
197 switch (new_state) { in stream_state_changed()
268 sink->stream_state = new_state; in stream_state_changed()
Dgateway.c104 static void change_state(struct audio_device *dev, gateway_state_t new_state) in change_state() argument
109 if (gw->state == new_state) in change_state()
112 val = state2str(new_state); in change_state()
113 gw->state = new_state; in change_state()
Dcontrol.h35 avctp_state_t new_state,
Dsource.h37 source_state_t new_state,
Dsink.h36 sink_state_t new_state,
Davdtp.h126 avdtp_session_state_t new_state,
131 avdtp_state_t new_state,
Dcontrol.c462 static void avctp_set_state(struct control *control, avctp_state_t new_state) in avctp_set_state() argument
469 switch (new_state) { in avctp_set_state()
504 error("Invalid AVCTP state %d", new_state); in avctp_set_state()
508 control->state = new_state; in avctp_set_state()
512 cb->cb(control->dev, old_state, new_state, cb->user_data); in avctp_set_state()
Dheadset.h45 headset_state_t new_state,
/external/qemu/hw/
Dgoldfish_switch.c101 uint32_t new_state; in goldfish_switch_write() local
102 new_state = s->writefn(s->writeopaque, value); in goldfish_switch_write()
103 if(new_state != s->state) { in goldfish_switch_write()
104 goldfish_switch_set_state(s, new_state); in goldfish_switch_write()
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
DSDL_sysevents.cc91 Uint8 new_state, transition; in QT_PumpEvents()
93 new_state = keyinfo[key_flip].key_states[i]; in QT_PumpEvents()
98 QueueKey(i*8+j, new_state&0x80); in QT_PumpEvents()
100 new_state <<= 1; in QT_PumpEvents()
/external/chromium/net/base/
Dtransport_security_state.cc287 DomainState new_state; in Deserialise() local
288 new_state.mode = mode; in Deserialise()
289 new_state.expiry = expiry_time; in Deserialise()
290 new_state.include_subdomains = include_subdomains; in Deserialise()
291 enabled_hosts_[hashed] = new_state; in Deserialise()
/external/v8/src/
Dscanner.h231 inline bool MatchState(uc32 input, char match, State new_state) { in MatchState() argument
233 state_ = new_state; in MatchState()
241 State new_state, in MatchKeyword() argument
244 state_ = new_state; in MatchKeyword()
Dheap-inl.h350 inline bool Heap::allow_allocation(bool new_state) { in allow_allocation() argument
352 allocation_allowed_ = new_state; in allow_allocation()
/external/wpa_supplicant/
Dctrl_iface_dbus.h85 wpa_states new_state,
127 wpa_states new_state, in wpa_supplicant_dbus_notify_state_change() argument
Dctrl_iface_dbus.c674 wpa_states new_state, in wpa_supplicant_dbus_notify_state_change() argument
690 if (new_state == old_state) in wpa_supplicant_dbus_notify_state_change()
715 new_state_str = wpa_supplicant_state_txt(new_state); in wpa_supplicant_dbus_notify_state_change()
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_dbus.h88 wpa_states new_state,
137 wpa_states new_state, in wpa_supplicant_dbus_notify_state_change() argument
Dctrl_iface_dbus.c677 wpa_states new_state, in wpa_supplicant_dbus_notify_state_change() argument
693 if (new_state == old_state) in wpa_supplicant_dbus_notify_state_change()
718 new_state_str = wpa_supplicant_state_txt(new_state); in wpa_supplicant_dbus_notify_state_change()
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/
DSDL_dx5events.c311 Uint8 new_state; in handle_mouse() local
321 new_state = 0; in handle_mouse()
336 new_state |= 0x01; in handle_mouse()
338 new_state <<= 1; in handle_mouse()
342 if ( (old_state&0x01) != (new_state&0x01) ) { in handle_mouse()
353 if ( new_state & 0x01 ) { in handle_mouse()
376 new_state >>= 1; in handle_mouse()
/external/openssl/ssl/
Ds23_srvr.c146 int new_state,state; in IMPLEMENT_ssl23_meth_func() local
217 new_state=s->state; in IMPLEMENT_ssl23_meth_func()
220 s->state=new_state; in IMPLEMENT_ssl23_meth_func()
Ds23_clnt.c147 int new_state,state; in IMPLEMENT_ssl23_meth_func() local
238 new_state=s->state; in IMPLEMENT_ssl23_meth_func()
241 s->state=new_state; in IMPLEMENT_ssl23_meth_func()
/external/elfutils/src/
Dldlex.c1099 static void yy_push_state YY_PROTO(( int new_state ));
2344 static void yy_push_state( int new_state ) in yy_push_state() argument
2346 static void yy_push_state( new_state ) in yy_push_state()
2347 int new_state; in yy_push_state()
2371 BEGIN(new_state);
/external/webkit/WebKitTools/android/flex-2.5.4a/
DFlexLexer.h135 void yy_push_state( int new_state );

12