/external/autotest/site_utils/rpm_control_system/ |
D | frontend_server.py | 102 def set_power_via_poe(self, device_hostname, new_state): argument 117 new_state = new_state.upper() 118 if new_state not in VALID_STATE_VALUES: 120 'state %s', device_hostname, new_state) 123 device_hostname, new_state) 126 return self._queue_once(powerunit_info, new_state) 129 return self.set_power_via_poe(device_hostname, new_state) 133 rpm_outlet, hydra_hostname, new_state): argument 161 return self._queue_once(powerunit_info, new_state) 165 rpm_outlet, hydra_hostname, new_state) [all …]
|
D | rpm_controller.py | 252 def queue_request(self, powerunit_info, new_state): argument 266 request['new_state'] = new_state 470 def set_power_state(self, powerunit_info, new_state): argument 492 if new_state == self.NEW_STATE_CYCLE: 502 result = self._change_state(powerunit_info, new_state, ssh) 510 def _change_state(self, powerunit_info, new_state, ssh): argument 532 'attributes in afe.', device_hostname, new_state) 533 ssh.sendline(self.SET_STATE_CMD % (new_state, outlet)) 541 'state %s failed.', device_hostname, new_state) 544 new_state) [all …]
|
D | rpm_client.py | 32 def set_power(host, new_state, timeout_mins=RPM_CALL_TIMEOUT_MINS): argument 41 args_tuple = (host.hostname, new_state) 49 new_state) 90 def set_power_afe(hostname, new_state, timeout_mins=RPM_CALL_TIMEOUT_MINS): argument 101 args=(hostname, new_state), 113 'state: %s.' % (hostname, new_state))
|
D | rpm_controller_unittest.py | 34 new_state = 'ON' 42 self.assertFalse(self.rpm.queue_request(self.powerunit_info, new_state)) 68 new_state = 'ON' 72 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 78 self.powerunit_info, new_state)) 86 new_state = 'ON' 90 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 97 self.rpm.set_power_state(self.powerunit_info, new_state))
|
/external/mesa3d/src/mesa/main/ |
D | state.c | 227 GLbitfield new_state = 0x0; in update_program_constants() local 237 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants() 254 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants() 259 return new_state; in update_program_constants() 278 GLbitfield new_state = ctx->NewState; in _mesa_update_state_locked() local 285 if ((new_state & computed_states) == 0) in _mesa_update_state_locked() 289 _mesa_print_state("_mesa_update_state", new_state); in _mesa_update_state_locked() 291 if (new_state & _NEW_BUFFERS) in _mesa_update_state_locked() 316 if (new_state & (_NEW_MODELVIEW|_NEW_PROJECTION)) in _mesa_update_state_locked() 317 _mesa_update_modelview_project( ctx, new_state ); in _mesa_update_state_locked() [all …]
|
/external/grpc-grpc/src/php/lib/Grpc/ |
D | BaseStub.php | 145 $new_state = $this->getConnectivityState(true); 146 if ($this->_checkConnectivityState($new_state)) { 154 while ($this->channel->watchConnectivityState($new_state, $deadline)) { 156 $new_state = $this->getConnectivityState(); 157 if ($this->_checkConnectivityState($new_state)) { 162 $new_state = $this->getConnectivityState(); 164 return $this->_checkConnectivityState($new_state); 181 private function _checkConnectivityState($new_state) argument 183 if ($new_state == \Grpc\CHANNEL_READY) { 186 if ($new_state == \Grpc\CHANNEL_FATAL_FAILURE) {
|
/external/autotest/client/common_lib/cros/ |
D | textfsm.py | 418 self.new_state = '' # Equivalent to current state. 478 self.new_state = action_re.group('new_state') 483 if self.line_op == 'Continue' and self.new_state: 486 % (self.line_op, self.new_state, self.line_num)) 489 if self.line_op != 'Error' and self.new_state: 490 if not re.match(r'\w+', self.new_state): 504 if operation and self.new_state: 505 new_state = ' ' + self.new_state 507 new_state = self.new_state 510 if not (operation or new_state): [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_context.c | 59 GLuint new_state = ctx->NewState; in i915InvalidateState() local 61 _swrast_InvalidateState(ctx, new_state); in i915InvalidateState() 62 _swsetup_InvalidateState(ctx, new_state); in i915InvalidateState() 63 _tnl_InvalidateState(ctx, new_state); in i915InvalidateState() 64 _tnl_invalidate_vertex_state(ctx, new_state); in i915InvalidateState() 65 intel_context(ctx)->NewGLState |= new_state; in i915InvalidateState() 67 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT)) in i915InvalidateState() 81 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON)) in i915InvalidateState() 83 if (new_state & (_NEW_LIGHT)) in i915InvalidateState() 85 if (new_state & (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS)) in i915InvalidateState() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.cpp | 68 TraversalInfo new_state; in AddBlocksInFunction() local 69 new_state.merge_node = in AddBlocksInFunction() 71 new_state.cinfo.containing_construct = block->id(); in AddBlocksInFunction() 74 new_state.cinfo.containing_loop = block->id(); in AddBlocksInFunction() 76 new_state.cinfo.containing_loop = state.back().cinfo.containing_loop; in AddBlocksInFunction() 79 state.emplace_back(new_state); in AddBlocksInFunction() 80 merge_blocks_.Set(new_state.merge_node); in AddBlocksInFunction()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.cpp | 68 TraversalInfo new_state; in AddBlocksInFunction() local 69 new_state.merge_node = in AddBlocksInFunction() 71 new_state.cinfo.containing_construct = block->id(); in AddBlocksInFunction() 74 new_state.cinfo.containing_loop = block->id(); in AddBlocksInFunction() 76 new_state.cinfo.containing_loop = state.back().cinfo.containing_loop; in AddBlocksInFunction() 79 state.emplace_back(new_state); in AddBlocksInFunction() 80 merge_blocks_.Set(new_state.merge_node); in AddBlocksInFunction()
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | pubsubstateclient.h | 47 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()
|
D | chatroommoduleimpl.cc | 68 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 …]
|
/external/toolchain-utils/automation/common/ |
D | state_machine.py | 45 def Change(self, new_state): argument 46 assert self._TransitionAllowed(new_state),\ 47 'Transition from %s to %s not possible' % (self._state, new_state) 49 self._state = new_state
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | iterator_ops.cc | 159 std::unique_ptr<State> new_state = absl::make_unique<State>( in Restore() local 163 graph_runner.Run(&graph, new_state->lib, {}, {output_node}, &outputs)); in Restore() 167 params.lib = new_state->lib; in Restore() 168 params.function_handle_cache = new_state->function_handle_cache.get(); in Restore() 169 params.resource_mgr = &new_state->resource_mgr; in Restore() 173 "Iterator", &new_state->iterator)); in Restore() 175 VerifyTypesMatch(output_dtypes_, new_state->iterator->output_dtypes())); in Restore() 177 output_shapes_, new_state->iterator->output_shapes())); in Restore() 181 params.lib = new_state->lib; in Restore() 182 params.function_handle_cache = new_state->function_handle_cache.get(); in Restore() [all …]
|
/external/webrtc/talk/app/webrtc/ |
D | audiotrack.cc | 88 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()
|
D | mediastreamtrack.h | 58 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()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_state.c | 457 GLbitfield new_state = ctx->NewState; in nouveau_update_state() local 460 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT)) in nouveau_update_state() 463 if (new_state & (_NEW_PROJECTION | _NEW_MODELVIEW)) in nouveau_update_state() 466 if (new_state & _NEW_MODELVIEW) in nouveau_update_state() 469 if (new_state & _NEW_TEXTURE_MATRIX) { in nouveau_update_state() 474 if (new_state & _NEW_SCISSOR) in nouveau_update_state() 477 if (new_state & _NEW_VIEWPORT) in nouveau_update_state() 480 if (new_state & _NEW_CURRENT_ATTRIB && in nouveau_update_state() 481 new_state & _NEW_LIGHT) { in nouveau_update_state() 492 if (new_state & _NEW_TEXTURE) { in nouveau_update_state() [all …]
|
/external/webrtc/webrtc/base/ |
D | task.cc | 99 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/webrtc/talk/app/webrtc/objc/ |
D | RTCPeerConnectionObserver.mm | 50 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];
|
D | RTCPeerConnectionObserver.h | 46 PeerConnectionInterface::SignalingState new_state) override; 62 PeerConnectionInterface::IceConnectionState new_state) override; 66 PeerConnectionInterface::IceGatheringState new_state) override;
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_context.c | 191 GLbitfield new_state = ctx->NewState; in st_invalidate_state() local 194 if (new_state & _NEW_BUFFERS) { in st_invalidate_state() 200 if (new_state & _NEW_PROGRAM) in st_invalidate_state() 203 if (new_state & _NEW_FOG) in st_invalidate_state() 206 if (new_state & _NEW_FRAG_CLAMP) { in st_invalidate_state() 214 if (new_state & (_NEW_LIGHT | in st_invalidate_state() 218 if (new_state & _NEW_PROJECTION && in st_invalidate_state() 222 if (new_state & _NEW_PIXEL) in st_invalidate_state() 225 if (new_state & _NEW_CURRENT_ATTRIB) in st_invalidate_state() 229 if (st->clamp_vert_color_in_shader && (new_state & _NEW_LIGHT)) in st_invalidate_state() [all …]
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | control_flow.py | 100 new_state = body(iterate, *state) 103 if new_state: 104 state += new_state 141 new_state = body(iterate, *state) 142 return new_state
|
/external/mesa3d/src/mesa/tnl/ |
D | t_context.c | 131 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ) in _tnl_InvalidateState() argument 138 if (new_state & (_NEW_HINT | _NEW_PROGRAM)) { in _tnl_InvalidateState() 144 tnl->pipeline.new_state |= new_state; in _tnl_InvalidateState() 194 if (new_state & (_NEW_VIEWPORT | _NEW_BUFFERS)) { in _tnl_InvalidateState()
|
/external/tensorflow/tensorflow/python/ops/ |
D | rnn.py | 251 _copy_one_through(state, new_state) 252 for state, new_state in zip(flat_state, flat_new_state)] 257 new_output, new_state = call_cell() 259 nest.assert_same_structure(state, new_state) 261 flat_new_state = nest.flatten(new_state) 276 new_output, new_state = call_cell() 277 nest.assert_same_structure(state, new_state) 278 new_state = nest.flatten(new_state) 280 final_output_and_state = _copy_some_through(new_output, new_state) 836 (output, new_state) = _rnn_step( [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | lockfree_event.cc | 159 gpr_atm new_state = (gpr_atm)shutdown_err | kShutdownBit; in SetShutdown() local 172 if (gpr_atm_full_cas(&state_, curr, new_state)) { in SetShutdown() 191 if (gpr_atm_full_cas(&state_, curr, new_state)) { in SetShutdown()
|