Home
last modified time | relevance | path

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

12345

/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 …]
Dapi_arrayelt.h43 extern void _ae_invalidate_state( struct gl_context *ctx, GLuint new_state );
71 _ae_invalidate_state( struct gl_context *ctx, GLuint new_state ) in _ae_invalidate_state() argument
/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/autotest/site_utils/rpm_control_system/
Drpm_controller.py255 def queue_request(self, powerunit_info, new_state): argument
269 request['new_state'] = new_state
473 def set_power_state(self, powerunit_info, new_state): argument
495 if new_state == self.NEW_STATE_CYCLE:
505 result = self._change_state(powerunit_info, new_state, ssh)
513 def _change_state(self, powerunit_info, new_state, ssh): argument
535 'attributes in afe.', device_hostname, new_state)
536 ssh.sendline(self.SET_STATE_CMD % (new_state, outlet))
544 'state %s failed.', device_hostname, new_state)
547 new_state)
[all …]
Dfrontend_server.py98 def queue_request(self, device_hostname, new_state): argument
118 new_state = new_state.upper()
120 if new_state not in VALID_STATE_VALUES:
122 'state %s', device_hostname, new_state)
125 device_hostname, new_state)
134 return client.queue_request(powerunit_info, new_state)
150 return self.queue_request(device_hostname, new_state)
Drpm_controller_unittest.py35 new_state = 'ON'
43 self.assertFalse(self.rpm.queue_request(self.powerunit_info, new_state))
69 new_state = 'ON'
73 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
79 self.powerunit_info, new_state))
87 new_state = 'ON'
91 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
97 self.assertFalse(self.rpm.set_power_state(self.powerunit_info, new_state))
Drpm_client.py29 def set_power(hostname, new_state, timeout_mins=RPM_CALL_TIMEOUT_MINS): argument
40 args=(hostname, new_state),
52 'state: %s.' % (hostname, new_state))
/external/webrtc/webrtc/libjingle/xmpp/
Dpubsubstateclient.h47 C new_state; member
175 C new_state; in OnItem() local
177 bool retracted = !ParseStateItem(item, &info, &new_state); in OnItem()
188 new_state = default_state_; in OnItem()
200 if ((retracted && !has_old_state) || StatesEqual(new_state, old_state)) { in OnItem()
205 if (retracted || StatesEqual(new_state, default_state_)) { in OnItem()
209 state_by_key_[key] = new_state; in OnItem()
219 change.new_state = new_state; in OnItem()
Dchatroommoduleimpl.cc68 XmppReturnStatus ClientChangeMyPresence(XmppChatroomState new_state);
69 …XmppReturnStatus ChangePresence(XmppChatroomState new_state, const XmlElement* presence, bool isSe…
406 XmppChatroomState new_state; member
508 XmppChatroomModuleImpl::ClientChangeMyPresence(XmppChatroomState new_state) { in ClientChangeMyPresence() argument
509 return ChangePresence(new_state, NULL, false); in ClientChangeMyPresence()
514 XmppChatroomState new_state; in ServerChangeMyPresence() local
517 new_state = XMPP_CHATROOM_STATE_IN_ROOM; in ServerChangeMyPresence()
519 new_state = XMPP_CHATROOM_STATE_NOT_IN_ROOM; in ServerChangeMyPresence()
521 return ChangePresence(new_state, &presence, true); in ServerChangeMyPresence()
526 XmppChatroomModuleImpl::ChangePresence(XmppChatroomState new_state, in ChangePresence() argument
[all …]
Dhangoutpubsubclient.cc240 change.published_nick, change.old_state, change.new_state); in OnPresenterStateChange()
260 bool is_muted = change.new_state; in OnAudioMuteStateChange()
324 change.published_nick, change.old_state, change.new_state); in OnVideoMuteStateChange()
341 change.published_nick, change.old_state, change.new_state); in OnVideoPauseStateChange()
358 change.published_nick, change.old_state, change.new_state); in OnRecordingStateChange()
378 bool is_blockee = change.new_state; in OnMediaBlockStateChange()
/external/webrtc/talk/app/webrtc/
Daudiotrack.cc88 TrackState new_state = kInitializing; in OnChanged() local
94 new_state = kLive; in OnChanged()
97 new_state = kEnded; in OnChanged()
105 set_state(new_state); in OnChanged()
Dmediastreamtrack.h58 virtual bool set_state(MediaStreamTrackInterface::TrackState new_state) { in set_state() argument
59 bool fire_on_change = (state_ != new_state); in set_state()
60 state_ = new_state; in set_state()
Dandroidvideocapturer.cc211 cricket::CaptureState new_state = in OnCapturerStarted() local
213 if (new_state == current_state_) in OnCapturerStarted()
215 current_state_ = new_state; in OnCapturerStarted()
220 SignalStateChange(this, new_state); in OnCapturerStarted()
/external/webrtc/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/webrtc/talk/app/webrtc/objc/
DRTCPeerConnectionObserver.h46 PeerConnectionInterface::SignalingState new_state) override;
62 PeerConnectionInterface::IceConnectionState new_state) override;
66 PeerConnectionInterface::IceGatheringState new_state) override;
DRTCPeerConnectionObserver.mm50 PeerConnectionInterface::SignalingState new_state) {
52 [RTCEnumConverter convertSignalingStateToObjC:new_state];
85 PeerConnectionInterface::IceConnectionState new_state) {
87 [RTCEnumConverter convertIceConnectionStateToObjC:new_state];
93 PeerConnectionInterface::IceGatheringState new_state) {
95 [RTCEnumConverter convertIceGatheringStateToObjC:new_state];
/external/mesa3d/src/mesa/state_tracker/
Dst_context.c76 void st_invalidate_state(struct gl_context * ctx, GLuint new_state) in st_invalidate_state() argument
81 if (st->clamp_frag_color_in_shader && (new_state & _NEW_FRAG_CLAMP)) { in st_invalidate_state()
82 new_state &= ~_NEW_FRAG_CLAMP; in st_invalidate_state()
87 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) { in st_invalidate_state()
91 st->dirty.mesa |= new_state; in st_invalidate_state()
97 _vbo_InvalidateState(ctx, new_state); in st_invalidate_state()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c471 nouveau_update_state(struct gl_context *ctx, GLbitfield new_state) in nouveau_update_state() argument
475 if (new_state & (_NEW_PROJECTION | _NEW_MODELVIEW)) in nouveau_update_state()
478 if (new_state & _NEW_MODELVIEW) in nouveau_update_state()
481 if (new_state & _NEW_TEXTURE_MATRIX) { in nouveau_update_state()
486 if (new_state & _NEW_CURRENT_ATTRIB && in nouveau_update_state()
487 new_state & _NEW_LIGHT) { in nouveau_update_state()
498 if (new_state & _NEW_TEXTURE) { in nouveau_update_state()
505 _swrast_InvalidateState(ctx, new_state); in nouveau_update_state()
506 _tnl_InvalidateState(ctx, new_state); in nouveau_update_state()
/external/gemmlowp/internal/
Dmulti_thread_gemm.h212 void ChangeState(State new_state) { in ChangeState() argument
215 assert(new_state != state_); in ChangeState()
218 assert(new_state == State::Ready); in ChangeState()
221 assert(new_state == State::HasWork || in ChangeState()
222 new_state == State::ExitAsSoonAsPossible); in ChangeState()
225 assert(new_state == State::Ready || in ChangeState()
226 new_state == State::ExitAsSoonAsPossible); in ChangeState()
231 state_ = new_state; in ChangeState()
/external/mesa3d/src/mesa/swrast/
Ds_context.c428 _swrast_sleep( struct gl_context *ctx, GLbitfield new_state ) in _swrast_sleep() argument
430 (void) ctx; (void) new_state; in _swrast_sleep()
435 _swrast_invalidate_state( struct gl_context *ctx, GLbitfield new_state ) in _swrast_invalidate_state() argument
440 swrast->NewState |= new_state; in _swrast_invalidate_state()
448 new_state = ~0; in _swrast_invalidate_state()
451 if (new_state & swrast->InvalidateTriangleMask) in _swrast_invalidate_state()
454 if (new_state & swrast->InvalidateLineMask) in _swrast_invalidate_state()
457 if (new_state & swrast->InvalidatePointMask) in _swrast_invalidate_state()
460 if (new_state & _SWRAST_NEW_BLEND_FUNC) in _swrast_invalidate_state()
463 if (new_state & _SWRAST_NEW_TEXTURE_SAMPLE_FUNC) in _swrast_invalidate_state()
[all …]
/external/tpm2/generator/
Dextract_structures.py65 def _SetState(self, new_state): argument
66 if self._state != new_state:
67 self._state = new_state
68 if new_state == self.TABLE_NAME:
/external/mesa3d/src/mesa/tnl/
Dt_context.c125 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ) in _tnl_InvalidateState() argument
132 if (new_state & (_NEW_HINT | _NEW_PROGRAM)) { in _tnl_InvalidateState()
138 tnl->pipeline.new_state |= new_state; in _tnl_InvalidateState()
/external/autotest/client/cros/cellular/
Dpseudo_modem.py375 def ChangeState(self, new_state, argument
377 logging.info('Change state from %s to %s', self.state, new_state)
378 self.StateChanged(Int32(self.state), Int32(new_state), UInt32(why))
380 {mm1.MM_MODEM_PROPERTY_STATE: Int32(new_state)},
382 self.state = new_state
406 def ChangeRegistrationState(self, new_state): argument
415 if new_state != self.registration_state:
416 self.registration_state = new_state
420 UInt32(new_state)},
459 def StateChanged(self, old_state, new_state, why): argument
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.h56 webrtc::PeerConnectionInterface::SignalingState new_state) {} in OnSignalingChange() argument
64 webrtc::PeerConnectionInterface::IceConnectionState new_state) {} in OnIceConnectionChange() argument
66 webrtc::PeerConnectionInterface::IceGatheringState new_state) {} in OnIceGatheringChange() argument

12345