Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 25 of 60) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dconnectivity_state.cc104 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in ~ConnectivityStateTracker() local
105 if (current_state == GRPC_CHANNEL_SHUTDOWN) return; in ~ConnectivityStateTracker()
110 name_, this, p.first, ConnectivityStateName(current_state), in ~ConnectivityStateTracker()
124 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in AddWatcher() local
125 if (initial_state != current_state) { in AddWatcher()
130 ConnectivityStateName(current_state)); in AddWatcher()
132 watcher->Notify(current_state, status_); in AddWatcher()
136 if (current_state != GRPC_CHANNEL_SHUTDOWN) { in AddWatcher()
153 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in SetState() local
154 if (state == current_state) return; in SetState()
[all …]
/external/angle/third_party/abseil-cpp/absl/hash/internal/
Dwyhash.cc34 uint64_t current_state = seed ^ salt[0]; in Wyhash() local
40 uint64_t duplicated_state = current_state; in Wyhash()
52 uint64_t cs0 = WyhashMix(a ^ salt[1], b ^ current_state); in Wyhash()
53 uint64_t cs1 = WyhashMix(c ^ salt[2], d ^ current_state); in Wyhash()
54 current_state = (cs0 ^ cs1); in Wyhash()
64 current_state = current_state ^ duplicated_state; in Wyhash()
73 current_state = WyhashMix(a ^ salt[1], b ^ current_state); in Wyhash()
104 uint64_t w = WyhashMix(a ^ salt[1], b ^ current_state); in Wyhash()
/external/libchrome/mojo/core/
Dwatcher_set.cc32 const HandleSignalsState& current_state) { in Add() argument
44 !current_state.equals(last_known_state_.value())) { in Add()
47 NotifyState(current_state); in Add()
50 watcher->NotifyHandleState(owner_, current_state); in Add()
Dwatcher_set.h38 const HandleSignalsState& current_state);
/external/icing/icing/tokenization/
Draw-query-tokenizer.cc517 State* current_state, std::string_view* current_term, in ProcessTerm() argument
530 ActionOrError action_or_error = action_rules[*current_state][next_term_type]; in ProcessTerm()
531 State new_state = state_transition_rules[*current_state][next_term_type]; in ProcessTerm()
538 if (*current_state == PROCESSING_PROPERTY_TERM_APPENDING) { in ProcessTerm()
572 *current_state = new_state; in ProcessTerm()
586 State current_state = READY; in ProcessTerms() local
598 ProcessTerm(&current_state, &current_term, &current_term_type, in ProcessTerms()
620 ICING_RETURN_IF_ERROR(ProcessTerm(&current_state, &current_term, in ProcessTerms()
629 &current_state, &current_term, &current_term_type, in ProcessTerms()
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
DFSM.py117 self.current_state = self.initial_state
128 self.current_state = self.initial_state
239 (self.action, self.next_state) = self.get_transition (self.input_symbol, self.current_state)
242 self.current_state = self.next_state
/external/bcc/src/cc/frontends/b/
Dparser.cc88 if (scopes_->current_state()->lookup(id->full_name(), SCOPE_LOCAL)) { in state_add()
98 scopes_->current_state()->add(state->id_->full_name(), state); in state_add()
99 state->scope_id_ = string("s") + std::to_string(scopes_->current_state()->id_) + string("_"); in state_add()
105 auto state = scopes_->current_state()->lookup(id1->full_name(), SCOPE_LOCAL); in state_add()
112 scopes_->current_state()->add(state->id_->full_name(), state); in state_add()
113 state->scope_id_ = string("s") + std::to_string(scopes_->current_state()->id_) + string("_"); in state_add()
/external/rust/crates/once_cell/src/
Dimp_std.rs187 fn wait(state_and_queue: &AtomicUsize, mut current_state: usize) { in wait()
189 if current_state & STATE_MASK != RUNNING { in wait()
196 next: (current_state & !STATE_MASK) as *const Waiter, in wait()
201 current_state, in wait()
207 current_state = old; in wait()
/external/llvm-project/polly/lib/External/isl/
Disl_printer.c540 static enum isl_yaml_state current_state(__isl_keep isl_printer *p) in current_state() function
576 state = current_state(p); in enter_state()
717 state = current_state(p); in isl_printer_yaml_start_mapping()
745 state = current_state(p); in isl_printer_yaml_end_mapping()
755 state = current_state(p); in isl_printer_yaml_end_mapping()
801 state = current_state(p); in isl_printer_yaml_end_sequence()
807 up = current_state(p); in isl_printer_yaml_end_sequence()
818 state = current_state(p); in isl_printer_yaml_end_sequence()
841 state = current_state(p); in isl_printer_yaml_next()
/external/pcre/dist2/src/
Dpcre2_dfa_match.c746 stateblock *current_state = active_states + i; in internal_dfa_match() local
750 int state_offset = current_state->offset; in internal_dfa_match()
761 if (current_state->data > 0) in internal_dfa_match()
763 ADD_NEW_DATA(state_offset, current_state->count, in internal_dfa_match()
764 current_state->data - 1); in internal_dfa_match()
770 current_state->offset = state_offset = -state_offset; in internal_dfa_match()
781 active_states[j].count == current_state->count) in internal_dfa_match()
1266 count = current_state->count; /* Already matched */ in internal_dfa_match()
1356 count = current_state->count; /* Number already matched */ in internal_dfa_match()
1385 count = current_state->count; /* Number already matched */ in internal_dfa_match()
[all …]
/external/autotest/server/site_tests/firmware_Cr50CCDServoCap/
Dfirmware_Cr50CCDServoCap.py147 current_state = state_dict[state_name].replace(' I2C', '')
149 return current_state in valid_state
150 return current_state == valid_state
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DTargetThreadWindows.cpp129 StateType current_state = GetState(); in DoResume() local
130 if (resume_state == current_state) in DoResume()
DNativeThreadWindows.cpp46 StateType current_state = GetState(); in DoResume() local
47 if (resume_state == current_state) in DoResume()
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc190 HandshakeState current_state = context->state; in ProcessNext() local
191 if (current_state == STARTED) { in ProcessNext()
198 } else if (current_state == SENT) { in ProcessNext()
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c164 if (dev->current_state == PCI_D3hot || in pci_disable()
165 dev->current_state == PCI_D3cold) { in pci_disable()
168 pci_power_name(dev->current_state)); in pci_disable()
174 pci_power_name(dev->current_state)); in pci_disable()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c58 unsigned current_state; member
223 return jack->gpio.current_state; in get_jack_current_state()
258 jack->gpio.current_state = 0; in check_jack_edid()
331 jack->gpio.current_state = 0; in jack_state_change_cb()
356 jack->gpio.current_state = r == 0 ? v : 0; in gpio_switch_initial_state()
397 jack->gpio.current_state = ev[i].value; in gpio_switch_callback()
501 &jack->gpio.current_state); in cras_complete_gpio_jack()
/external/webrtc/modules/audio_device/android/
Daaudio_wrapper.cc180 aaudio_stream_state_t current_state = AAudioStream_getState(stream_); in Start() local
181 if (current_state != AAUDIO_STREAM_STATE_OPEN) { in Start()
183 << AAudio_convertStreamStateToText(current_state); in Start()
/external/webrtc/sdk/android/src/jni/audio_device/
Daaudio_wrapper.cc180 aaudio_stream_state_t current_state = AAudioStream_getState(stream_); in Start() local
181 if (current_state != AAUDIO_STREAM_STATE_OPEN) { in Start()
183 << AAudio_convertStreamStateToText(current_state); in Start()
/external/libcups/backend/
Dsnmp-supplies.c70 static int current_state = -1; variable
369 if (current_state < 0) in backendSNMPSupplies()
372 change_state = current_state ^ new_state; in backendSNMPSupplies()
387 current_state = new_state; in backendSNMPSupplies()
501 current_state = -1; in backend_init_supplies()
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/
Dti_sci_protocol.h180 uint8_t current_state; member
282 uint8_t current_state; member
Dti_sci.c287 *c_state = resp.current_state; in ti_sci_device_get_state()
678 uint8_t *current_state) in ti_sci_clock_get_state() argument
686 if (!programmed_state && !current_state) in ti_sci_clock_get_state()
709 if (current_state) in ti_sci_clock_get_state()
710 *current_state = resp.current_state; in ti_sci_clock_get_state()
/external/arm-trusted-firmware/drivers/renesas/common/emmc/
Demmc_read.c76 if (mmc_drv_obj.current_state != EMMC_R1_STATE_TRAN) { in emmc_multiple_block_read()
/external/autotest/server/cros/faft/
Dfirmware_test.py1519 current_state = self.get_power_state()
1520 if current_state == self.POWER_STATE_S0 and self._client.wait_up():
1530 % (power_state, current_state))
1535 % (power_state, current_state))
1540 % (power_state, current_state))
1542 if current_state is None:
1543 current_state = '(unknown)'
1545 if current_state == power_state:
1553 % (power_state, current_state))
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c905 struct pipe_framebuffer_state *current_state = r300->fb_state.state; in r300_set_framebuffer_state() local
924 if (current_state->zsbuf && r300->zmask_in_use && !r300->locked_zbuffer) { in r300_set_framebuffer_state()
927 if (!pipe_surface_equal(current_state->zsbuf, state->zsbuf)) { in r300_set_framebuffer_state()
934 pipe_surface_reference(&r300->locked_zbuffer, current_state->zsbuf); in r300_set_framebuffer_state()
953 if (!!current_state->zsbuf != !!state->zsbuf) { in r300_set_framebuffer_state()
960 while (current_state->nr_cbufs && !current_state->cbufs[current_state->nr_cbufs-1]) in r300_set_framebuffer_state()
961 current_state->nr_cbufs--; in r300_set_framebuffer_state()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc467 grpc_connectivity_state current_state = CheckConnectivityStateLocked(); in CheckConnectivityStateAndStartWatchingLocked() local
474 if (current_state == GRPC_CHANNEL_READY) { in CheckConnectivityStateAndStartWatchingLocked()

123