/third_party/rust/crates/aho-corasick/src/ |
H A D | nfa.rs | 50 /// The start state id as an index into `states`. 70 /// A set of states. Each state defines its own transitions, a fail 73 /// The first state is always the fail state, which is used only as a 74 /// sentinel. Namely, in the final NFA, no transition into the fail state 75 /// exists. (Well, they do, but they aren't followed. Instead, the state's 78 /// The second state (index 1) is always the dead state. Dead states are 83 /// the dead state. 85 /// The third state (inde 158 fn state(&self, id: S) -> &State<S> { state() functions [all...] |
/third_party/python/Modules/_io/ |
H A D | bytesio.c | 789 PyObject *state; in bytesio_getstate() local 805 state = Py_BuildValue("(OnN)", initvalue, self->pos, dict); in bytesio_getstate() 807 return state; in bytesio_getstate() 811 bytesio_setstate(bytesio *self, PyObject *state) in bytesio_setstate() argument 818 assert(state != NULL); in bytesio_setstate() 820 /* We allow the state tuple to be longer than 3, because we may need in bytesio_setstate() 821 someday to extend the object's state without breaking in bytesio_setstate() 823 if (!PyTuple_Check(state) || PyTuple_GET_SIZE(state) < 3) { in bytesio_setstate() 826 Py_TYPE(self)->tp_name, Py_TYPE(state) in bytesio_setstate() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-card-restore.c | 152 void *state; in entry_from_card() local 166 PA_HASHMAP_FOREACH(port, card->ports, state) { in entry_from_card() 176 void *state; in entrys_equal() local 185 PA_HASHMAP_FOREACH(Ap_info, a->ports, state) { in entrys_equal() 209 void *state; in entry_write() local 221 PA_HASHMAP_FOREACH(p_info, e->ports, state) { in entry_write() 456 uint32_t state; in card_profile_changed_callback() local 473 PA_IDXSET_FOREACH(sink, card->sinks, state) in card_profile_changed_callback() 475 PA_IDXSET_FOREACH(source, card->sources, state) in card_profile_changed_callback() 539 void *state; in card_new_hook_callback() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp_ssdp.c | 112 * next_advertisement - Build next message and advance the state machine 113 * @a: Advertisement state 181 switch (a->state / UPNP_ADVERTISE_REPEAT) { in next_advertisement() 206 if (a->state + 1 >= 4 * UPNP_ADVERTISE_REPEAT) in next_advertisement() 219 * @sm: WPS UPnP state machine from upnp_wps_device_init() 235 a->state = 0; in advertisement_state_machine_stop() 252 a->state++; in advertisement_state_machine_stop() 281 wpa_printf(MSG_MSGDUMP, "WPS UPnP: Advertisement state=%d", a->state); in advertisement_state_machine_handler() 298 a->state in advertisement_state_machine_handler() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp_ssdp.c | 112 * next_advertisement - Build next message and advance the state machine 113 * @a: Advertisement state 181 switch (a->state / UPNP_ADVERTISE_REPEAT) { in next_advertisement() 206 if (a->state + 1 >= 4 * UPNP_ADVERTISE_REPEAT) in next_advertisement() 219 * @sm: WPS UPnP state machine from upnp_wps_device_init() 235 a->state = 0; in advertisement_state_machine_stop() 252 a->state++; in advertisement_state_machine_stop() 281 wpa_printf(MSG_MSGDUMP, "WPS UPnP: Advertisement state=%d", a->state); in advertisement_state_machine_handler() 298 a->state in advertisement_state_machine_handler() [all...] |
/base/powermgr/power_manager/utils/native/src/ |
H A D | power_utils.cpp | 108 const std::string PowerUtils::GetPowerStateString(PowerState state) in GetPowerStateString() argument 110 switch (state) { in GetPowerStateString() 137 const std::string PowerUtils::GetDisplayStateString(DisplayState state) in GetDisplayStateString() argument 139 switch (state) { in GetDisplayStateString()
|
/base/telephony/call_manager/services/call_report/src/ |
H A D | call_state_report_proxy.cpp | 45 TELEPHONY_LOGI("voip call no need to report call state"); in CallStateUpdated() 81 TELEPHONY_LOGI("foreground call state is not changed, currentCallState_:%{public}d!", currentCallState_); in UpdateCallState() 85 TELEPHONY_LOGI("disconnecting call no need to report call state"); in UpdateCallState() 102 int32_t state; in GetVoipCallState() local 103 DelayedSingleton<CallControlManager>::GetInstance()->GetVoIPCallState(state); in GetVoipCallState() 104 TELEPHONY_LOGI("report voip call state = %{public}d.", state); in GetVoipCallState() 106 switch ((CallStateToApp)state) { in GetVoipCallState() 135 TELEPHONY_LOGI("disconnecting call no need to report call state"); in UpdateCallStateForSlotId() 150 TELEPHONY_LOGI("report call state in ReportCallState() [all...] |
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | intell_voice_util.cpp | 173 IntellVoicePermissionState state) in RecordPermissionPrivacy() 175 INTELL_VOICE_LOG_INFO("permissionName:%{public}s, tokenId:%{public}u, state:%{public}d", permissionName.c_str(), in RecordPermissionPrivacy() 176 targetTokenId, state); in RecordPermissionPrivacy() 177 if (state == INTELL_VOICE_PERMISSION_START) { in RecordPermissionPrivacy() 190 } else if (state == INTELL_VOICE_PERMISSION_STOP) { in RecordPermissionPrivacy() 198 INTELL_VOICE_LOG_WARN("invalid state"); in RecordPermissionPrivacy() 172 RecordPermissionPrivacy(const std::string &permissionName, uint32_t targetTokenId, IntellVoicePermissionState state) RecordPermissionPrivacy() argument
|
/foundation/ability/form_fwk/test/unittest/fms_form_host_callback_test/ |
H A D | fms_form_host_callback_test.cpp | 142 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; in HWTEST_F() local 145 formHostCallback.OnAcquireState(state, want, callerToken); in HWTEST_F() 158 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; in HWTEST_F() local 161 formHostCallback.OnAcquireState(state, want, callerToken); in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/ |
H A D | local_call_record.cpp | 149 std::string state = ""; in NotifyRemoteStateChanged() local 151 state = "foreground"; in NotifyRemoteStateChanged() 153 state = "background"; in NotifyRemoteStateChanged() 159 callBack->InvokeOnNotify(state); in NotifyRemoteStateChanged()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_month_pattern.h | 103 void SetHoverState(bool state) in SetHoverState() argument 105 hoverState_ = state; in SetHoverState() 135 void OnHoverEvent(const Offset& localLocation, bool state); 152 void HandleAccessibilityHoverEvent(bool state, AccessibilityHoverInfo& info);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_model.h | 43 virtual void SetUsingPopup(bool state) = 0; 67 virtual void SetAutoCollapse(bool state) = 0; 74 virtual void SetAdaptiveWidth(bool state) {}; in SetAdaptiveWidth() argument 75 virtual void SetEnableHapticFeedback(bool state) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_modifier.h | 165 void SetHoverState(const RatingAnimationType& state) in SetHoverState() argument 167 if (state_ == state) { in SetHoverState() 170 state_ = state; in SetHoverState() 177 switch (state) { in SetHoverState()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_utils.cpp | 78 std::string GetBtStateName(int state)
in GetBtStateName() argument 80 switch (state) {
in GetBtStateName() 106 std::string GetProfileConnStateName(int state)
in GetProfileConnStateName() argument 108 switch (state) {
in GetProfileConnStateName() 168 { BtErrCode::BT_ERR_NULL_HFP_STATE_MACHINE, "Hfp state machine is not null." },
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_profile.h | 56 * @param[in] state: The state of connection 60 virtual void OnConnectStateChanged(const BtAddr &addr, const int state, void *context) = 0; 76 * @param[in] state: The state of stream 80 virtual void OnAudioStateChanged(const BtAddr &addr, const int state, void *context) = 0; 407 * @param[in] state: The state of connection 411 void ConnectStateChangedNotify(const BtAddr &addr, const int state, void *context); 417 * @param[in] state [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | hierarchy_controller.cpp | 151 const auto state = node->GetAttachedState(); in AttachNode() local 152 if (state == NodeState::DETACHED) { in AttachNode() 171 const auto state = node->GetAttachedState(); in DetachNode() local 172 if (state == NodeState::ATTACHED) { in DetachNode() 187 // be called once since the functions check for current state. in RunOperation()
|
/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_client_tracker_callback_stub.cpp | 102 int32_t state = data.ReadInt32(); in OffloadRemoteRequest() local 104 SetOffloadModeImpl(state, isAppBack); in OffloadRemoteRequest() 175 void AudioClientTrackerCallbackStub::SetOffloadModeImpl(int32_t state, bool isAppBack) in SetOffloadModeImpl() argument 179 cb->SetOffloadModeImpl(state, isAppBack); in SetOffloadModeImpl()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | bind.cpp | 146 auto state = d.GetImmediateDependencies(deps); in CreateContext() local 147 if (state && owner && d.HasDependency(owner)) { in CreateContext() 148 state = GenericError::RECURSIVE_CALL; in CreateContext() 151 if (!state) { in CreateContext()
|
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/test/ |
H A D | volume_external_test.cpp | 92 int32_t state = UNMOUNTED; in HWTEST_F() local 93 VolumeCore volumecore(id, type, diskId, state); in HWTEST_F() 133 int32_t state = UNMOUNTED; in HWTEST_F() local 143 parcel.WriteInt32(state); in HWTEST_F()
|
/foundation/multimedia/media_foundation/engine/scene/player/standard/ |
H A D | media_utils.cpp | 60 PlayerStates TransStateId2PlayerState(StateId state) in TransStateId2PlayerState() argument 63 switch (state) { in TransStateId2PlayerState() 108 const std::string& StringnessPlayerState(PlayerStates state) in StringnessPlayerState() argument 112 std::make_pair(PlayerStates::PLAYER_STATE_ERROR, "state error"), in StringnessPlayerState() 124 return item.first == state; in StringnessPlayerState()
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avcast_controller_callback_stub.cpp | 47 sptr<AVPlaybackState> state = data.ReadParcelable<AVPlaybackState>(); in HandleOnStateChange() local 49 CHECK_AND_RETURN_RET_LOG(state != nullptr, ERR_NONE, "read PlaybackState failed"); in HandleOnStateChange() 51 SLOGI("HandleOnStateChange with state: %{public}d", state->GetState()); in HandleOnStateChange() 52 OnCastPlaybackStateChange(*state); in HandleOnStateChange()
|
/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
H A D | bundle_state_data.h | 74 bool state = false; member 115 bool state = true; member 127 bool state = true; member 133 bool state = true; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_value_util.cpp | 36 result.state = participant.state; in Convert() 66 result.state = participant.state; in Convert()
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | device_manager_service_listener.h | 42 void OnDeviceStateChange(const std::string &pkgName, const DmDeviceState &state, const DmDeviceInfo &info) override; 84 const DmDeviceState &state, const DmDeviceInfo &deviceInfo, const DmDeviceBasicInfo &deviceBasicInfo); 85 void ProcessDeviceStateChange(const DmDeviceState &state, const DmDeviceInfo &info, 87 void ProcessAppStateChange(const std::string &pkgName, const DmDeviceState &state,
|
/third_party/elfutils/libelf/ |
H A D | elf_getdata_rawchunk.c | 78 Elf_Data_Chunk *rawchunks = elf->state.elf.rawchunks; in elf_getdata_rawchunk() 135 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA) in elf_getdata_rawchunk() 192 chunk->next = elf->state.elf.rawchunks; in elf_getdata_rawchunk() 193 elf->state.elf.rawchunks = chunk; in elf_getdata_rawchunk()
|