/third_party/libinput/test/ |
H A D | test-pointer.c | 367 test_button_event(struct litest_device *dev, unsigned int button, int state) in test_button_event() argument 371 litest_button_click_debounced(dev, li, button, state); in test_button_event() 375 state ? LIBINPUT_BUTTON_STATE_PRESSED : in test_button_event() 1646 enum libinput_config_scroll_button_lock_state state; in START_TEST() local 1648 state = libinput_device_config_scroll_get_button_lock(dev->libinput_device); in START_TEST() 1649 ck_assert_int_eq(state, LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_DISABLED); in START_TEST() 1650 state = libinput_device_config_scroll_get_default_button_lock(dev->libinput_device); in START_TEST() 1651 ck_assert_int_eq(state, LIBINPUT_CONFIG_SCROLL_BUTTON_LOCK_DISABLED); in START_TEST() 1659 enum libinput_config_scroll_button_lock_state state; in START_TEST() local 1661 state in START_TEST() 2807 enum libinput_config_middle_emulation_state state; START_TEST() local 2841 enum libinput_config_middle_emulation_state state; START_TEST() local 2870 enum libinput_config_middle_emulation_state state; START_TEST() local 2897 enum libinput_config_middle_emulation_state state; START_TEST() local 2916 enum libinput_config_middle_emulation_state state; START_TEST() local [all...] |
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | accessibility_ability_command.cpp | 66 const std::string ACCESSIBILITY_SET_SCREEN_MAGNIFICATION_STATE_OK = "set screen magnification state successfully."; 67 const std::string ACCESSIBILITY_SET_SCREEN_MAGNIFICATION_STATE_NG = "error: failed to set screen magnification state\n"; 68 const std::string ACCESSIBILITY_SET_SHORT_KEY_STATE_OK = "set short key state successfully."; 69 const std::string ACCESSIBILITY_SET_SHORT_KEY_STATE_NG = "error: failed to set short key state.\n"; 70 const std::string ACCESSIBILITY_SET_MOUSE_KEY_STATE_OK = "set mouse key state successfully."; 71 const std::string ACCESSIBILITY_SET_MOUSE_KEY_STATE_NG = "error: failed to set mouse key state.\n"; 72 const std::string ACCESSIBILITY_SET_CAPTION_STATE_OK = "set caption state successfully."; 73 const std::string ACCESSIBILITY_SET_CAPTION_STATE_NG = "error: failed to set caption state.\n"; 74 const std::string ACCESSIBILITY_SET_HIGH_CONTRAST_TEXT_STATE_OK = "set high contrast text state successfully."; 75 const std::string ACCESSIBILITY_SET_HIGH_CONTRAST_TEXT_STATE_NG = "error: failed to set high contrast text state 755 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetScreenMagnificationState() local 784 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetShortKeyState() local 813 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetMouseKeyState() local 842 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetCaptionState() local 925 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetHighContrastTextState() local 954 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetInvertColorState() local 1065 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetAnimationOffState() local 1124 bool state = std::atoi(argument.value.c_str()) == 1; RunAsSetAudioMonoState() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scrollable.cpp | 389 double& offset, int32_t source, NestedState state) in HandleScrollParentFirst() 393 if (state == NestedState::CHILD_OVER_SCROLL) { in HandleScrollParentFirst() 416 if (state == NestedState::CHILD_SCROLL) { in HandleScrollParentFirst() 429 double& offset, int32_t source, NestedState state) in HandleScrollSelfFirst() 433 if (state == NestedState::CHILD_OVER_SCROLL) { in HandleScrollSelfFirst() 460 if (state == NestedState::CHILD_SCROLL) { in HandleScrollSelfFirst() 471 double& offset, int32_t source, NestedState state) 485 if (state == NestedState::CHILD_SCROLL) { 487 } else if (state == NestedState::GESTURE) { 497 double& offset, int32_t source, NestedState state) in HandleScrollParallel() 388 HandleScrollParentFirst( double& offset, int32_t source, NestedState state) HandleScrollParentFirst() argument 428 HandleScrollSelfFirst( double& offset, int32_t source, NestedState state) HandleScrollSelfFirst() argument 496 HandleScrollParallel( double& offset, int32_t source, NestedState state) HandleScrollParallel() argument 538 HandleScroll(double offset, int32_t source, NestedState state) HandleScroll() argument 780 ExecuteScrollFrameBegin(double& mainDelta, ScrollState state) ExecuteScrollFrameBegin() argument [all...] |
/third_party/eudev/src/udev/ |
H A D | udevd.c | 92 enum event_state state; member 124 enum worker_state state; member 209 worker->state = WORKER_RUNNING; in worker_attach_event() 211 event->state = EVENT_RUNNING; in worker_attach_event() 423 event->state = EVENT_QUEUED; in worker_spawn() 450 if (worker->state != WORKER_IDLE) in event_run() 458 worker->state = WORKER_KILLED; in event_run() 497 event->state = EVENT_QUEUED; in event_queue_insert() 507 if (worker->state == WORKER_KILLED) in worker_kill() 510 worker->state in worker_kill() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | ftp.c | 69 FTPState state; /**< State of data connection */ member 235 s->state = DISCONNECTED; in ftp_close_data_connection() 439 s->state = DOWNLOADING; in ftp_retrieve() 458 s->state = UPLOADING; in ftp_store() 526 s->state = LISTING_DIR; in ftp_list() 642 s->state = READY; in ftp_connect_data_connection() 692 s->state = DISCONNECTED; in ftp_connect() 825 if (s->state == ENDOFFILE) in ftp_read() 827 if (s->state == DISCONNECTED) { in ftp_read() 831 if (s->state in ftp_read() [all...] |
/third_party/lwip/src/core/ |
H A D | netif.c | 279 netif_add_noaddr(struct netif *netif, struct net_group *group, void *state, netif_init_fn init, netif_input_fn input) in netif_add_noaddr() argument 281 netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) in netif_add_noaddr() 292 state, init, input); in netif_add_noaddr() 303 * @param state opaque data passed to the new netif 331 void *state, netif_init_fn init, netif_input_fn input) 368 /* reset new interface configuration state */ 411 /* remember netif specific state information data */ 412 netif->state = state; 981 args.status_changed.state 324 netif_add(struct netif *netif, struct net_group *group, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) global() argument 1537 netif_ip6_addr_set_state(struct netif *netif, s8_t addr_idx, u8_t state) global() argument [all...] |
/third_party/node/deps/v8/src/ic/ |
H A D | keyed-store-generic.cc | 51 explicit KeyedStoreGenericAssembler(compiler::CodeAssemblerState* state, in KeyedStoreGenericAssembler() argument 53 : AccessorAssembler(state), mode_(mode) {} in KeyedStoreGenericAssembler() 188 void KeyedStoreGenericGenerator::Generate(compiler::CodeAssemblerState* state) { in Generate() argument 189 KeyedStoreGenericAssembler assembler(state, StoreMode::kSet); in Generate() 194 compiler::CodeAssemblerState* state) { in Generate() 195 KeyedStoreGenericAssembler assembler(state, StoreMode::kDefineKeyedOwn); in Generate() 199 void StoreICNoFeedbackGenerator::Generate(compiler::CodeAssemblerState* state) { in Generate() argument 200 KeyedStoreGenericAssembler assembler(state, StoreMode::kSet); in Generate() 205 compiler::CodeAssemblerState* state) { in Generate() 208 KeyedStoreGenericAssembler assembler(state, StoreMod in Generate() 193 Generate( compiler::CodeAssemblerState* state) Generate() argument 204 Generate( compiler::CodeAssemblerState* state) Generate() argument 212 SetProperty( compiler::CodeAssemblerState* state, TNode<Context> context, TNode<JSReceiver> receiver, TNode<BoolT> is_simple_receiver, TNode<Name> name, TNode<Object> value, LanguageMode language_mode) SetProperty() argument 221 SetProperty( compiler::CodeAssemblerState* state, TNode<Context> context, TNode<Object> receiver, TNode<Object> key, TNode<Object> value, LanguageMode language_mode) SetProperty() argument 229 CreateDataProperty( compiler::CodeAssemblerState* state, TNode<Context> context, TNode<JSObject> receiver, TNode<Object> key, TNode<Object> value) CreateDataProperty() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Renderer.cpp | 660 auto &state = drawCall->setupState; in setupSolidTriangles() local 662 int ms = state.multiSampleCount; in setupSolidTriangles() 705 auto &state = drawCall->setupState; in setupWireframeTriangles() local 707 int ms = state.multiSampleCount; in setupWireframeTriangles() 726 bool frontFacing = (state.frontFace == VK_FRONT_FACE_COUNTER_CLOCKWISE) ? (A >= 0.0f) : (A <= 0.0f); in setupWireframeTriangles() 728 if(state.cullMode & VK_CULL_MODE_FRONT_BIT) in setupWireframeTriangles() 732 if(state.cullMode & VK_CULL_MODE_BACK_BIT) in setupWireframeTriangles() 760 auto &state = drawCall->setupState; in setupPointTriangles() local 762 int ms = state.multiSampleCount; in setupPointTriangles() 775 bool frontFacing = (state in setupPointTriangles() 805 auto &state = drawCall->setupState; setupLines() local 826 auto &state = drawCall->setupState; setupPoints() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureD3D12.cpp | 69 // There is no STENCIL_READ state. Readonly for stencil is bundled with DEPTH_READ. in D3D12TextureUsage() 648 Texture::Texture(Device* device, const TextureDescriptor* descriptor, TextureState state) in Texture() argument 649 : TextureBase(device, descriptor, state), in Texture() 762 StateAndDecay* state, in TransitionSubresourceRange() 767 if (state->lastState == newState) { in TransitionSubresourceRange() 771 D3D12_RESOURCE_STATES lastState = state->lastState; in TransitionSubresourceRange() 773 // The COMMON state represents a state where no write operations can be pending, and in TransitionSubresourceRange() 777 // state, or 2) multiple read states. Textures will implicitly decay to the COMMON in TransitionSubresourceRange() 778 // state whe in TransitionSubresourceRange() 760 TransitionSubresourceRange(std::vector<D3D12_RESOURCE_BARRIER>* barriers, const SubresourceRange& range, StateAndDecay* state, D3D12_RESOURCE_STATES newState, ExecutionSerial pendingCommandSerial) const TransitionSubresourceRange() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-virtual-surround-sink.c | 269 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_process_msg_cb() 270 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) { in sink_process_msg_cb() 293 static int sink_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument 299 if (!PA_SINK_IS_LINKED(state) || in sink_set_state_in_main_thread_cb() 300 !PA_SINK_INPUT_IS_LINKED(u->sink_input->state)) in sink_set_state_in_main_thread_cb() 303 pa_sink_input_cork(u->sink_input, state == PA_SINK_SUSPENDED); in sink_set_state_in_main_thread_cb() 316 if (PA_SINK_IS_OPENED(new_state) && s->thread_info.state == PA_SINK_INIT) { in sink_set_state_in_io_thread_cb() 317 pa_log_debug("Requesting rewind due to state change."); in sink_set_state_in_io_thread_cb() 332 if (!PA_SINK_IS_LINKED(u->sink->thread_info.state) || in sink_request_rewind_cb() 333 !PA_SINK_INPUT_IS_LINKED(u->sink_input->thread_info.state)) in sink_request_rewind_cb() [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/ |
H A D | cast_session_impl_stub.cpp | 169 DeviceState state = DeviceState::DISCONNECTED; in DoGetDeviceStateTask() local 170 int32_t ret = GetDeviceState(deviceId, state); in DoGetDeviceStateTask() 175 if (!reply.WriteInt32(static_cast<int32_t>(state))) { in DoGetDeviceStateTask() 176 CLOGE("Failed to write device state:%d", static_cast<int32_t>(state)); in DoGetDeviceStateTask()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | dms_continue_send_manager.h | 133 int32_t SetMissionContinueState(const int32_t missionId, const AAFwk::ContinueState& state); 154 int32_t DealSetMissionContinueStateBusiness(const int32_t missionId, const AAFwk::ContinueState& state); 161 const AAFwk::ContinueState &state); 164 int32_t GetBundleNameIdAndContinueTypeId(const int32_t missionId, const AAFwk::ContinueState& state,
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | startup_task_dispatcher.cpp | 172 StartupTask::State state = task->GetState(); in RunTaskInit() local 173 if (state == StartupTask::State::CREATED) { in RunTaskInit() 175 } else if (state == StartupTask::State::INITIALIZED) { in RunTaskInit() 178 } else if (state == StartupTask::State::INITIALIZING) { in RunTaskInit() 181 // state: INVALID in RunTaskInit() 182 TAG_LOGE(AAFwkTag::STARTUP, "%{public}s task state: INVALID", name.c_str()); in RunTaskInit()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_ability_manager_clientex.cpp | 66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() argument 72 return abms->AbilityTransitionDone(token, state, saveData); in AbilityTransitionDone() 159 ErrCode AbilityManagerClient::DumpState(const std::string& args, std::vector<std::string>& state) in DumpState() argument 165 abms->DumpState(args, state); in DumpState()
|
/foundation/ability/ability_runtime/test/unittest/render_state_observer_manager_test/ |
H A D | render_state_observer_manager_test.cpp | 209 int32_t state = 0; in HWTEST_F() local 210 int res = manager->OnRenderStateChanged(renderRecord, state); in HWTEST_F() 224 int32_t state = 0; in HWTEST_F() local 225 manager->HandleOnRenderStateChanged(renderRecord, state); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/ |
H A D | mock_ability_manager_client.cpp | 66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() argument 72 return abms->AbilityTransitionDone(token, state, saveData); in AbilityTransitionDone() 159 ErrCode AbilityManagerClient::DumpState(const std::string& args, std::vector<std::string>& state) in DumpState() argument 165 abms->DumpState(args, state); in DumpState()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/ |
H A D | linear_indicator_controller.h | 96 void SetState(LinearIndicatorControllerDataState state) in SetState() argument 98 state_ = state; in SetState() 99 if (LinearIndicatorControllerDataState::INTERVAL_PAUSE == state) { in SetState() 290 void StopAnimation(LinearIndicatorControllerDataState state);
|
/foundation/CastEngine/castengine_cast_plus_stream/src/ |
H A D | cast_session_impl_stub.cpp | 169 DeviceState state = DeviceState::DISCONNECTED; in DoGetDeviceStateTask() local 170 int32_t ret = GetDeviceState(deviceId, state); in DoGetDeviceStateTask() 175 if (!reply.WriteInt32(static_cast<int32_t>(state))) { in DoGetDeviceStateTask() 176 CLOGE("Failed to write device state:%d", static_cast<int32_t>(state)); in DoGetDeviceStateTask()
|
/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | button_component.h | 82 void SetDisabledState(bool state); 83 void SetWaitingState(bool state); 84 void SetAutoFocusState(bool state); 85 void SetRadiusState(bool state);
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | dfx_module.cpp | 201 JSIValue state = JSI::GetPropertyByIndex(point, index); in DumpDomTree() local 206 data[i].state = static_cast<uint16_t>(JSI::ValueToNumber(state)); in DumpDomTree() 207 JSI::ReleaseValueList(point_x, point_y, state, point); in DumpDomTree()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hfp_hf_observer_stub.cpp | 91 int state = data.ReadInt32(); in OnConnectionStateChangedInner() local 93 stub->OnConnectionStateChanged(*device, state, cause); in OnConnectionStateChangedInner() 104 int state = data.ReadInt32(); in OnScoStateChangedInner() local 105 stub->OnScoStateChanged(*device, state); in OnScoStateChangedInner()
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_gatt_client_callback_proxy.cpp | 21 void BluetoothGattClientCallbackProxy::OnConnectionStateChanged(int32_t state, int32_t newState) in OnConnectionStateChanged() argument 29 if (!data.WriteInt32(state)) { in OnConnectionStateChanged() 187 void BluetoothGattClientCallbackProxy::OnMtuChanged(int32_t state, int32_t mtu) in OnMtuChanged() argument 195 if (!data.WriteInt32(state)) { in OnMtuChanged()
|
H A D | bluetooth_hfp_hf_observer_proxy.cpp | 21 void BluetoothHfpHfObserverProxy::OnConnectionStateChanged(const BluetoothRawAddress &device, int state, int cause) in OnConnectionStateChanged() argument 32 if (!data.WriteInt32(state)) { in OnConnectionStateChanged() 33 HILOGE("BluetoothHfpHfObserverProxy::OnConnectionStateChanged write state error"); in OnConnectionStateChanged() 52 void BluetoothHfpHfObserverProxy::OnScoStateChanged(const BluetoothRawAddress &device, int state) { in OnScoStateChanged() argument 62 if (!data.WriteInt32(state)) { in OnScoStateChanged()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_client_tracker_callback_proxy.cpp | 142 void AudioClientTrackerCallbackProxy::SetOffloadModeImpl(int32_t state, bool isAppBack) in SetOffloadModeImpl() argument 150 data.WriteInt32(static_cast<int32_t>(state)); in SetOffloadModeImpl() 235 void ClientTrackerCallbackListener::SetOffloadModeImpl(int32_t state, bool isAppBack) in SetOffloadModeImpl() argument 238 listener_->SetOffloadModeImpl(state, isAppBack); in SetOffloadModeImpl()
|
/foundation/multimedia/media_foundation/engine/scene/player/lite/ |
H A D | hiplayer_impl.h | 74 int32_t GetPlayerState(int32_t& state) override; 93 void OnStateChanged(StateId state) override; 113 PlayerStates TransStateId2PlayerState(StateId state); 114 const std::string& StringnessPlayerState(PlayerStates state);
|