/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/ |
H A D | audio_capturer_extra_unit_test.cpp | 118 * @tc.name : Test Flush API via illegal state, CAPTURER_NEW: Without initializing the capturer. 120 * @tc.desc : Test Flush interface. Returns false, if the capturer state is not CAPTURER_RUNNING. 134 * @tc.name : Test Flush API via illegal state, CAPTURER_PREPARED: Without Start. 136 * @tc.desc : Test Flush interface. Returns false, if the capturer state is not CAPTURER_RUNNING. 155 * @tc.desc : Test Flush interface. Returns true, if the capturer state is CAPTURER_STOPPED. 178 * @tc.name : Test Flush API via illegal state, CAPTURER_RELEASED: call Release before Flush. 180 * @tc.desc : Test Flush interface. Returns false, if the capturer state is not CAPTURER_RUNNING. 273 * @tc.name : Test Stop API via illegal state, CAPTURER_NEW: call Stop without Initializing the capturer. 275 * @tc.desc : Test Stop interface. Returns false, if the capturer state is not CAPTURER_RUNNING. 287 * @tc.name : Test Stop API via illegal state, CAPTURER_PREPARE 581 CapturerState state = CAPTURER_INVALID; HWTEST() local 614 CapturerState state = CAPTURER_INVALID; HWTEST() local 633 CapturerState state = CAPTURER_INVALID; HWTEST() local 656 CapturerState state = CAPTURER_INVALID; HWTEST() local 688 CapturerState state = CAPTURER_INVALID; HWTEST() local 1250 CapturerState state = audioCapturer->GetStatus(); HWTEST() local 1279 CapturerState state = audioCapturer->GetStatus(); HWTEST() local [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_state_scheduler_test.cpp | 177 * @tc.desc: test IsSystemAbilityUnloading with abilityContext's state is UNLOADING 190 systemAbilityContext->state = SystemAbilityState::UNLOADING; in HWTEST_F() 199 * @tc.desc: test IsSystemAbilityUnloading with ownProcessContext's state is STOPPING 212 systemProcessContext->state = SystemProcessState::STOPPING; in HWTEST_F() 234 systemProcessContext->state = SystemProcessState::STOPPING; in HWTEST_F() 235 systemAbilityContext->state = SystemAbilityState::UNLOADING; in HWTEST_F() 262 * @tc.desc: test HandleLoadAbilityEvent with systemAbilityContext's state is UNLOADING 275 systemProcessContext->state = SystemProcessState::STOPPING; in HWTEST_F() 276 systemAbilityContext->state = SystemAbilityState::UNLOADING; in HWTEST_F() 286 * @tc.desc: test HandleLoadAbilityEvent with systemProcessContext's state i 1776 string state = "LOADED"; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | main.c | 266 spk_x = spk_cx = vc->state.x; in speakup_date() 267 spk_y = spk_cy = vc->state.y; in speakup_date() 610 u_short edge_said = 0, last_state = 0, state = 0; in say_prev_word() local 631 if (state > 0) in say_prev_word() 641 state = 0; in say_prev_word() 643 state = 1; in say_prev_word() 645 state = 2; in say_prev_word() 646 if (state < last_state) { in say_prev_word() 651 last_state = state; in say_prev_word() 664 u_short edge_said = 0, last_state = 2, state in say_next_word() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_tv.c | 885 struct intel_tv_connector_state *state; in intel_tv_connector_duplicate_state() local 887 state = kmemdup(connector->state, sizeof(*state), GFP_KERNEL); in intel_tv_connector_duplicate_state() 888 if (!state) in intel_tv_connector_duplicate_state() 891 __drm_atomic_helper_connector_duplicate_state(connector, &state->base); in intel_tv_connector_duplicate_state() 892 return &state->base; in intel_tv_connector_duplicate_state() 917 intel_enable_tv(struct intel_atomic_state *state, in intel_enable_tv() argument 934 intel_disable_tv(struct intel_atomic_state *state, in intel_disable_tv() argument 957 const struct tv_mode *tv_mode = intel_tv_mode_find(connector->state); in intel_tv_mode_valid() 1416 intel_tv_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_tv_pre_enable() argument 1834 intel_tv_atomic_check(struct drm_connector *connector, struct drm_atomic_state *state) intel_tv_atomic_check() argument 1883 struct drm_connector_state *state; intel_tv_init() local [all...] |
H A D | intel_display_debugfs.c | 381 * SKL+ Perf counter is reset to 0 everytime DC state is entered in i915_edp_psr_status() 581 connector->state; in intel_encoder_info() 667 const struct drm_connector_state *conn_state = connector->state; in intel_connector_info() 756 to_intel_plane_state(plane->base.state); in intel_plane_uapi_info() 782 to_intel_plane_state(plane->base.state); in intel_plane_hw_info() 821 to_intel_crtc_state(crtc->base.state); in intel_scaler_info() 849 to_intel_crtc_state(crtc->base.state); in intel_crtc_info() 934 pll->state.crtc_mask, pll->active_mask, yesno(pll->on)); in i915_shared_dplls_info() 935 seq_printf(m, " tracked hardware state:\n"); in i915_shared_dplls_info() 936 seq_printf(m, " dpll: 0x%08x\n", pll->state in i915_shared_dplls_info() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispccdc.c | 110 * omap3isp_ccdc_busy - Get busy state of the CCDC. 283 ccdc->lsc.state = LSC_STATE_STOPPED; in __ccdc_lsc_enable() 287 ccdc->lsc.state = LSC_STATE_RUNNING; in __ccdc_lsc_enable() 289 ccdc->lsc.state = LSC_STATE_STOPPING; in __ccdc_lsc_enable() 347 ccdc->lsc.state = LSC_STATE_STOPPED; in ccdc_lsc_error_handler() 495 if (lsc->state != LSC_STATE_STOPPED) in ccdc_lsc_enable() 712 if (ccdc->state != ISP_PIPELINE_STREAM_STOPPED) in ccdc_config() 1337 if (ccdc->state == ISP_PIPELINE_STREAM_CONTINUOUS) in ccdc_disable() 1378 * ccdc_sbl_busy - Poll idle state of CCDC and related SBL memory write bits 1436 if (ccdc->lsc.state ! in ccdc_handle_stopping() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 479 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 480 self.d_ino.hash(state); in hash() 481 self.d_off.hash(state); in hash() 482 self.d_reclen.hash(state); in hash() 483 self.d_type.hash(state); in hash() 484 self.d_name.hash(state); in hash() 514 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 515 self.d_ino.hash(state); in hash() 516 self.d_off.hash(state); in hash() 517 self.d_reclen.hash(state); in hash() [all...] |
/third_party/python/Modules/ |
H A D | _collectionsmodule.c | 90 size_t state; /* incremented whenever the indices move */ member 176 deque->state = 0; in deque_new() 197 deque->state++; in deque_pop() 235 deque->state++; in deque_popleft() 294 deque->state++; in deque_append_internal() 331 deque->state++; in deque_appendleft_internal() 602 deque->state++; in deque_clear() 675 deque->state++; in deque_inplace_repeat() 792 deque->state++; in _deque_rotate() 969 size_t start_state = deque->state; in deque_count() 1350 PyObject *state, *it; deque_reduce() local 1673 size_t state; /* state when the iterator is created */ global() member [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_teap.c | 35 } state; member 84 static const char * eap_teap_state_txt(int state) in eap_teap_state_txt() argument 86 switch (state) { in eap_teap_state_txt() 119 static void eap_teap_state(struct eap_teap_data *data, int state) in eap_teap_state() argument 122 eap_teap_state_txt(data->state), in eap_teap_state() 123 eap_teap_state_txt(state)); in eap_teap_state() 124 data->state = state; in eap_teap_state() 366 data->state = START; in eap_teap_init() 893 if (data->ssl.state in eap_teap_buildReq() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | btf.c | 307 * pass is signalled by show->state.depth_check being set, and if we 308 * encounter a non-zero value we set show->state.depth_to_show to 358 } state; member 758 * Populate show->state.name with type name information. 772 const struct btf_member *m = show->state.member; in btf_show_name() 773 const struct btf_type *t = show->state.type; in btf_show_name() 775 u32 id = show->state.type_id; in btf_show_name() 781 show->state.name[0] = '\0'; in btf_show_name() 788 if (show->state.array_member) in btf_show_name() 803 * in our show->state point in btf_show_name() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | pci.c | 1089 * pci_update_current_state - Read power state of given device and cache it 1091 * @state: State to cache in case the device doesn't have the PM capability 1093 * The power state is read from the PMCSR register, which however is 1096 * reports an incorrect state or the device isn't power manageable by the 1100 void pci_update_current_state(struct pci_dev *dev, pci_power_t state) in pci_update_current_state() argument 1114 dev->current_state = state; in pci_update_current_state() 1119 * pci_refresh_power_state - Refresh the given device's power state data 1122 * Ask the platform to refresh the devices power state information and invoke 1123 * pci_update_current_state() to update its current PCI power state. 1132 * pci_platform_power_transition - Use platform to change device power state 1136 pci_platform_power_transition(struct pci_dev *dev, pci_power_t state) pci_platform_power_transition() argument 1240 pci_power_t state; pci_power_up() local 1351 pci_power_t state = *(pci_power_t *)data; __pci_dev_set_current_state() local 1362 pci_bus_set_current_state(struct pci_bus *bus, pci_power_t state) pci_bus_set_current_state() argument 1382 pci_set_low_power_state(struct pci_dev *dev, pci_power_t state) pci_set_low_power_state() argument 1458 pci_set_power_state(struct pci_dev *dev, pci_power_t state) pci_set_power_state() argument 1858 struct pci_saved_state *state; pci_store_saved_state() local 1895 pci_load_saved_state(struct pci_dev *dev, struct pci_saved_state *state) pci_load_saved_state() argument 1932 pci_load_and_free_saved_state(struct pci_dev *dev, struct pci_saved_state **state) pci_load_and_free_saved_state() argument 2308 pcibios_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state) pcibios_set_pcie_reset_state() argument 2321 pci_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state) pci_set_pcie_reset_state() argument 2417 pci_pme_capable(struct pci_dev *dev, pci_power_t state) pci_pme_capable() argument 2601 __pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable) __pci_enable_wake() argument 2662 pci_enable_wake(struct pci_dev *pci_dev, pci_power_t state, bool enable) pci_enable_wake() argument 2708 pci_power_t state = platform_pci_choose_state(dev); pci_target_state() local 2735 pci_power_t state = PCI_D3hot; pci_target_state() local 2949 pci_choose_state(struct pci_dev *dev, pm_message_t state) pci_choose_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | domain.c | 258 unsigned int state) in _genpd_reeval_performance_state() 264 /* New requested state is same as Max requested state */ in _genpd_reeval_performance_state() 265 if (state == genpd->performance_state) in _genpd_reeval_performance_state() 266 return state; in _genpd_reeval_performance_state() 268 /* New requested state is higher than Max requested state */ in _genpd_reeval_performance_state() 269 if (state > genpd->performance_state) in _genpd_reeval_performance_state() 270 return state; in _genpd_reeval_performance_state() 276 if (pd_data->performance_state > state) in _genpd_reeval_performance_state() 257 _genpd_reeval_performance_state(struct generic_pm_domain *genpd, unsigned int state) _genpd_reeval_performance_state() argument 314 _genpd_set_performance_state(struct generic_pm_domain *genpd, unsigned int state, int depth) _genpd_set_performance_state() argument 384 genpd_set_performance_state(struct device *dev, unsigned int state) genpd_set_performance_state() argument 415 genpd_restore_performance_state(struct device *dev, unsigned int state) genpd_restore_performance_state() argument 437 dev_pm_genpd_set_performance_state(struct device *dev, unsigned int state) dev_pm_genpd_set_performance_state() argument 1970 struct genpd_power_state *state; genpd_set_default_power_state() local 3052 int state; pm_genpd_opp_to_performance_state() local 3123 char state[16]; genpd_summary_one() local [all...] |
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | virtual_input_device.cpp | 24 if (data.state != INVALID_VIRTUAL_INPUT_STATE) { in DispatchEvent() 25 VirtualDeviceEvent event(data.type, data.state); in DispatchEvent()
|
H A D | key_input_device.cpp | 24 if (data.state != INVALID_KEY_STATE) { in DispatchEvent() 25 KeyEvent event(data.keyId, data.state); in DispatchEvent()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_baco.h | 29 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state); 30 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
|
/kernel/linux/linux-5.10/security/selinux/include/ |
H A D | conditional.h | 19 int security_set_bools(struct selinux_state *state, u32 len, int *values); 21 int security_get_bool_value(struct selinux_state *state, u32 index);
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_self_refresh_helper.h | 14 void drm_self_refresh_helper_alter_state(struct drm_atomic_state *state); 15 void drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state,
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_self_refresh_helper.h | 14 void drm_self_refresh_helper_alter_state(struct drm_atomic_state *state); 15 void drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_baco.h | 29 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state); 30 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_modeset_verify.h | 15 struct intel_atomic_state *state, 19 struct intel_atomic_state *state);
|
/third_party/elfutils/lib/ |
H A D | printversion.c | 36 print_version (FILE *stream, struct argp_state *state) in print_version() argument 38 fprintf (stream, "%s (%s) %s\n", state->name, PACKAGE_NAME, PACKAGE_VERSION); in print_version()
|
/third_party/node/deps/cares/src/tools/ |
H A D | ares_getopt.h | 46 void ares_getopt_init(ares_getopt_state_t *state, int argc, const char **argv); 47 int ares_getopt(ares_getopt_state_t *state, const char *ostr);
|
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | program_state_string.cpp | 33 const gl_state_index16 state[STATE_LENGTH] = { in TEST() local 37 char *str = _mesa_program_state_string(state); in TEST() 40 EXPECT_STREQ("state.depth.range", str); in TEST()
|
/third_party/libabigail/doc/vizualization/layout/sources/ |
H A D | sa-B.cc | 4 enum state { pass, fail, unknown }; enum 11 state _M_state;
|
/third_party/libabigail/doc/vizualization/graph/sources/ |
H A D | sa-B.cc | 4 enum state { pass, fail, unknown }; enum 11 state _M_state;
|