/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | focaltech.c | 61 * Current state of a single finger on the touchpad. 86 * Description of the current state of the touchpad hardware. 112 struct focaltech_hw_state state; member 118 struct focaltech_hw_state *state = &priv->state; in focaltech_report_state() local 123 struct focaltech_finger_state *finger = &state->fingers[i]; in focaltech_report_state() 140 input_report_abs(dev, ABS_TOOL_WIDTH, state->width); in focaltech_report_state() 145 input_report_key(dev, BTN_LEFT, state->pressed); in focaltech_report_state() 153 struct focaltech_hw_state *state = &priv->state; in focaltech_process_touch_packet() local 177 struct focaltech_hw_state *state = &priv->state; focaltech_process_abs_packet() local 199 struct focaltech_hw_state *state = &priv->state; focaltech_process_rel_packet() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_lower_samplers_as_deref.c | 149 lower_deref(nir_builder *b, struct lower_samplers_as_deref_state *state, in lower_deref() argument 153 gl_shader_stage stage = state->shader->info.stage; in lower_deref() 160 nir_deref_path_init(&path, deref, state->remap_table); in lower_deref() 163 char *name = ralloc_asprintf(state->remap_table, "lower@%s", var->name); in lower_deref() 178 if (state->shader_program && var->data.how_declared != nir_var_hidden) { in lower_deref() 180 assert(location < state->shader_program->data->NumUniformStorage && in lower_deref() 181 state->shader_program->data->UniformStorage[location].opaque[stage].active); in lower_deref() 183 binding = state->shader_program->data->UniformStorage[location].opaque[stage].index; in lower_deref() 201 _mesa_hash_table_search_pre_hashed(state->remap_table, hash, name); in lower_deref() 206 var = nir_variable_create(state in lower_deref() 274 lower_sampler(nir_tex_instr *instr, struct lower_samplers_as_deref_state *state, nir_builder *b) lower_sampler() argument 313 lower_intrinsic(nir_intrinsic_instr *instr, struct lower_samplers_as_deref_state *state, nir_builder *b) lower_intrinsic() argument 354 lower_impl(nir_function_impl *impl, struct lower_samplers_as_deref_state *state) lower_impl() argument 384 struct lower_samplers_as_deref_state state; gl_nir_lower_samplers_as_deref() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_so_emit.c | 60 const struct pipe_stream_output_info *state = NULL; in draw_so_info() local 63 state = &draw->gs.geometry_shader->state.stream_output; in draw_so_info() 65 state = &draw->tes.tess_eval_shader->state.stream_output; in draw_so_info() 67 state = &draw->vs.vertex_shader->state.stream_output; in draw_so_info() 70 return state; in draw_so_info() 76 const struct pipe_stream_output_info *state = draw_so_info(draw); in draw_has_so() local 78 if (state in draw_has_so() 124 const struct pipe_stream_output_info *state = draw_so_info(draw); so_emit_prim() local [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgBinaryOps.hpp | 47 Expression* createNextChild (GeneratorState& state); 48 void tokenize (GeneratorState& state, TokenStream& str) const; 55 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 72 BinaryVecOp (GeneratorState& state, Token::Type operatorToken, ConstValueRangeAccess valueRange); 95 MulOp (GeneratorState& state, ConstValueRangeAccess valueRange); 98 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 117 AddOp (GeneratorState& state, ConstValueRangeAccess valueRange); 120 static float getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange); 139 SubOp (GeneratorState& state, ConstValueRangeAccess valueRange); 142 static float getWeight (const GeneratorState& state, ConstValueRangeAcces [all...] |
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | sps30.h | 9 int (*start_meas)(struct sps30_state *state); 10 int (*stop_meas)(struct sps30_state *state); 11 int (*read_meas)(struct sps30_state *state, __be32 *meas, size_t num); 12 int (*reset)(struct sps30_state *state); 13 int (*clean_fan)(struct sps30_state *state); 14 int (*read_cleaning_period)(struct sps30_state *state, __be32 *period); 15 int (*write_cleaning_period)(struct sps30_state *state, __be32 period); 16 int (*show_info)(struct sps30_state *state); 23 int state; member
|
/third_party/ltp/include/ |
H A D | tst_process_state.h | 7 * These functions helps you wait till a process with given pid changes state. 19 * Waits for process state change. 21 * The state is one of the following: 29 #define TST_PROCESS_STATE_WAIT(pid, state, msec_timeout) \ 31 (pid), (state), (msec_timeout)) 40 * Waits for thread state change. 42 * The state is one of the following: 52 #define TST_THREAD_STATE_WAIT(tid, state, msec_timeout) \ 53 tst_thread_state_wait((tid), (state), (msec_timeout)) 55 int tst_thread_state_wait(pid_t tid, const char state, [all...] |
/third_party/ninja/src/ |
H A D | state_test.cc | 16 #include "state.h" 24 State state; in TEST() local 34 state.bindings_.AddRule(rule); in TEST() 36 Edge* edge = state.AddEdge(rule); in TEST() 37 state.AddIn(edge, "in1", 0); in TEST() 38 state.AddIn(edge, "in2", 0); in TEST() 39 state.AddOut(edge, "out", 0); in TEST() 43 EXPECT_FALSE(state.GetNode("in1", 0)->dirty()); in TEST() 44 EXPECT_FALSE(state.GetNode("in2", 0)->dirty()); in TEST() 45 EXPECT_FALSE(state in TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | DisplayVk_api.h | 19 DisplayImpl *CreateVulkanNullDisplay(const egl::DisplayState &state); 23 DisplayImpl *CreateVulkanWin32Display(const egl::DisplayState &state); 28 DisplayImpl *CreateVulkanXcbDisplay(const egl::DisplayState &state); 31 DisplayImpl *CreateVulkanSimpleDisplay(const egl::DisplayState &state); 34 DisplayImpl *CreateVulkanHeadlessDisplay(const egl::DisplayState &state); 39 DisplayImpl *CreateVulkanAndroidDisplay(const egl::DisplayState &state); 44 DisplayImpl *CreateVulkanFuchsiaDisplay(const egl::DisplayState &state); 49 DisplayImpl *CreateVulkanGGPDisplay(const egl::DisplayState &state); 54 DisplayImpl *CreateVulkanMacDisplay(const egl::DisplayState &state);
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | intrinsic_table.cc | 91 constexpr explicit Number(State state) : state_(state) {} in Number() 100 /// ClosedState holds the state of the open / closed numbers and types. 159 /// MatchState holds the state used to match an overload. 217 /// Match may close open types and numbers in state. 220 virtual const sem::Type* Match(MatchState& state, 225 virtual std::string String(MatchState& state) const = 0; 236 /// Match may close open numbers in state. 239 virtual Number Match(MatchState& state, Number number) const = 0; 243 virtual std::string String(MatchState& state) cons 304 build_bool(MatchState& state) build_bool() argument 312 build_i32(MatchState& state) build_i32() argument 320 build_u32(MatchState& state) build_u32() argument 328 build_f32(MatchState& state) build_f32() argument 347 build_vec(MatchState& state, Number N, const sem::Type* el) build_vec() argument 371 build_vec2(MatchState& state, const sem::Type* T) build_vec2() argument 379 build_vec3(MatchState& state, const sem::Type* T) build_vec3() argument 387 build_vec4(MatchState& state, const sem::Type* T) build_vec4() argument 407 build_mat(MatchState& state, Number N, Number M, const sem::Type* T) build_mat() argument 430 build_array(MatchState& state, const sem::Type* el) build_array() argument 456 build_ptr(MatchState& state, Number S, const sem::Type* T, Number& A) build_ptr() argument 478 build_atomic(MatchState& state, const sem::Type* T) build_atomic() argument 491 build_sampler(MatchState& state) build_sampler() argument 504 build_sampler_comparison(MatchState& state) build_sampler_comparison() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | float_conversion.cc | 463 Padding ExtraWidthToPadding(size_t total_size, const FormatState &state) { in ExtraWidthToPadding() argument 464 if (state.conv.width() < 0 || in ExtraWidthToPadding() 465 static_cast<size_t>(state.conv.width()) <= total_size) { in ExtraWidthToPadding() 468 int missing_chars = state.conv.width() - total_size; in ExtraWidthToPadding() 469 if (state.conv.has_left_flag()) { in ExtraWidthToPadding() 471 } else if (state.conv.has_zero_flag()) { in ExtraWidthToPadding() 478 void FinalPrint(const FormatState &state, absl::string_view data, in FinalPrint() argument 481 if (state.conv.width() < 0) { in FinalPrint() 483 if (state.sign_char != '\0') state in FinalPrint() 510 FormatFFast(Int v, int exp, const FormatState &state) FormatFFast() argument 567 FormatFPositiveExpSlow(uint128 v, int exp, const FormatState &state) FormatFPositiveExpSlow() argument 595 FormatFNegativeExpSlow(uint128 v, int exp, const FormatState &state) FormatFNegativeExpSlow() argument 667 FormatF(Int mantissa, int exp, const FormatState &state) FormatF() argument 804 FormatARound(bool precision_specified, const FormatState &state, uint8_t *leading, Int *mantissa, int *exp) FormatARound() argument 856 FormatA(const HexFloatTypeParams float_traits, Int mantissa, int exp, bool uppercase, const FormatState &state) FormatA() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderGLSLstd450.cpp | 50 SpirvShader::EmitResult SpirvShader::EmitExtGLSLstd450(InsnIterator insn, EmitState *state) const in EmitExtGLSLstd450() 53 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitExtGLSLstd450() 60 auto src = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 69 auto src = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 78 auto lhs = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 79 auto rhs = Operand(this, state, insn.word(6)); in EmitExtGLSLstd450() 87 auto src = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 96 auto src = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 105 auto src = Operand(this, state, insn.word(5)); in EmitExtGLSLstd450() 114 auto src = Operand(this, state, ins in EmitExtGLSLstd450() 975 Interpolate(SIMD::Pointer const &ptr, int32_t location, Object::ID paramId, uint32_t component, EmitState *state, InterpolationType type) const Interpolate() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndw.c | 207 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_yuv() 226 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_rgb() 271 struct drm_framebuffer *fb = asyw->state.fb; in nv50_wndw_atomic_check_acquire() 279 if (fb != armw->state.fb || !armw->visible || modeset) { in nv50_wndw_atomic_check_acquire() 308 if (!asyh->state.async_flip) in nv50_wndw_atomic_check_acquire() 322 asyw->scale.sx = asyw->state.src_x >> 16; in nv50_wndw_atomic_check_acquire() 323 asyw->scale.sy = asyw->state.src_y >> 16; in nv50_wndw_atomic_check_acquire() 324 asyw->scale.sw = asyw->state.src_w >> 16; in nv50_wndw_atomic_check_acquire() 325 asyw->scale.sh = asyw->state.src_h >> 16; in nv50_wndw_atomic_check_acquire() 326 asyw->scale.dw = asyw->state in nv50_wndw_atomic_check_acquire() 437 nv50_wndw_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) nv50_wndw_atomic_check() argument 529 nv50_wndw_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state) nv50_wndw_prepare_fb() argument 582 nv50_wndw_atomic_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) nv50_wndw_atomic_destroy_state() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-csi2rxss.c | 76 * Removed STOP state irq as this will keep driver in irq handler only 230 * @streaming: Flag for storing streaming state 328 * @state: Xilinx CSI-2 Rx Subsystem structure pointer 335 static int xcsi2rxss_soft_reset(struct xcsi2rxss_state *state) in xcsi2rxss_soft_reset() argument 339 xcsi2rxss_set(state, XCSI_CCR_OFFSET, XCSI_CCR_SOFTRESET); in xcsi2rxss_soft_reset() 341 while (xcsi2rxss_read(state, XCSI_CSR_OFFSET) & XCSI_CSR_RIPCD) { in xcsi2rxss_soft_reset() 343 dev_err(state->dev, "soft reset timed out!\n"); in xcsi2rxss_soft_reset() 351 xcsi2rxss_clr(state, XCSI_CCR_OFFSET, XCSI_CCR_SOFTRESET); in xcsi2rxss_soft_reset() 355 static void xcsi2rxss_hard_reset(struct xcsi2rxss_state *state) in xcsi2rxss_hard_reset() argument 357 if (!state in xcsi2rxss_hard_reset() 366 xcsi2rxss_reset_event_counters(struct xcsi2rxss_state *state) xcsi2rxss_reset_event_counters() argument 378 xcsi2rxss_log_counters(struct xcsi2rxss_state *state) xcsi2rxss_log_counters() argument 500 xcsi2rxss_start_stream(struct xcsi2rxss_state *state) xcsi2rxss_start_stream() argument 537 xcsi2rxss_stop_stream(struct xcsi2rxss_state *state) xcsi2rxss_stop_stream() argument 562 struct xcsi2rxss_state *state = (struct xcsi2rxss_state *)data; xcsi2rxss_irq_handler() local 817 struct xcsi2rxss_state *state = to_xcsi2rxssstate(sd); xcsi2rxss_enum_mbus_code() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-csi2rxss.c | 77 * Removed STOP state irq as this will keep driver in irq handler only 215 * @streaming: Flag for storing streaming state 313 * @state: Xilinx CSI-2 Rx Subsystem structure pointer 320 static int xcsi2rxss_soft_reset(struct xcsi2rxss_state *state) in xcsi2rxss_soft_reset() argument 324 xcsi2rxss_set(state, XCSI_CCR_OFFSET, XCSI_CCR_SOFTRESET); in xcsi2rxss_soft_reset() 326 while (xcsi2rxss_read(state, XCSI_CSR_OFFSET) & XCSI_CSR_RIPCD) { in xcsi2rxss_soft_reset() 328 dev_err(state->dev, "soft reset timed out!\n"); in xcsi2rxss_soft_reset() 336 xcsi2rxss_clr(state, XCSI_CCR_OFFSET, XCSI_CCR_SOFTRESET); in xcsi2rxss_soft_reset() 340 static void xcsi2rxss_hard_reset(struct xcsi2rxss_state *state) in xcsi2rxss_hard_reset() argument 342 if (!state in xcsi2rxss_hard_reset() 351 xcsi2rxss_reset_event_counters(struct xcsi2rxss_state *state) xcsi2rxss_reset_event_counters() argument 363 xcsi2rxss_log_counters(struct xcsi2rxss_state *state) xcsi2rxss_log_counters() argument 485 xcsi2rxss_start_stream(struct xcsi2rxss_state *state) xcsi2rxss_start_stream() argument 522 xcsi2rxss_stop_stream(struct xcsi2rxss_state *state) xcsi2rxss_stop_stream() argument 547 struct xcsi2rxss_state *state = (struct xcsi2rxss_state *)data; xcsi2rxss_irq_handler() local 804 struct xcsi2rxss_state *state = to_xcsi2rxssstate(sd); xcsi2rxss_enum_mbus_code() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-wiimote-modules.c | 125 spin_lock_irq(&wdata->state.lock); in wiimod_rumble_worker() 126 wiiproto_req_rumble(wdata, wdata->state.cache_rumble); in wiimod_rumble_worker() 127 spin_unlock_irq(&wdata->state.lock); in wiimod_rumble_worker() 147 /* Locking state.lock here might deadlock with input_event() calls. in wiimod_rumble_play() 149 wdata->state.cache_rumble = value; in wiimod_rumble_play() 174 spin_lock_irqsave(&wdata->state.lock, flags); in wiimod_rumble_remove() 176 spin_unlock_irqrestore(&wdata->state.lock, flags); in wiimod_rumble_remove() 204 int ret = 0, state; in wiimod_battery_get_property() local 218 spin_lock_irqsave(&wdata->state.lock, flags); in wiimod_battery_get_property() 221 spin_unlock_irqrestore(&wdata->state in wiimod_battery_get_property() 321 __u8 state, flag; wiimod_led_set() local [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phylink.c | 614 * @state: pointer to a &struct phylink_link_state. 618 * @supported and @state based on that. Use this function if your capabiliies 622 struct phylink_link_state *state, in phylink_validate_mask_caps() 630 caps = phylink_get_capabilities(state->interface, mac_capabilities, in phylink_validate_mask_caps() 631 state->rate_matching); in phylink_validate_mask_caps() 635 linkmode_and(state->advertising, state->advertising, mask); in phylink_validate_mask_caps() 643 * @state: a pointer to a &struct phylink_link_state. 650 struct phylink_link_state *state) in phylink_generic_validate() 652 phylink_validate_mask_caps(supported, state, confi in phylink_generic_validate() 621 phylink_validate_mask_caps(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities) phylink_validate_mask_caps() argument 648 phylink_generic_validate(struct phylink_config *config, unsigned long *supported, struct phylink_link_state *state) phylink_generic_validate() argument 656 phylink_validate_mac_and_pcs(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state) phylink_validate_mac_and_pcs() argument 707 phylink_validate_mask(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state, const unsigned long *interfaces) phylink_validate_mask() argument 736 phylink_validate(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state) phylink_validate() argument 994 phylink_apply_manual_flow(struct phylink *pl, struct phylink_link_state *state) phylink_apply_manual_flow() argument 1007 phylink_resolve_an_pause(struct phylink_link_state *state) phylink_resolve_an_pause() argument 1056 phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, const struct phylink_link_state *state, bool permit_pause_to_mac) phylink_pcs_config() argument 1087 phylink_mac_config(struct phylink *pl, const struct phylink_link_state *state) phylink_mac_config() argument 1119 phylink_major_config(struct phylink *pl, bool restart, const struct phylink_link_state *state) phylink_major_config() argument 1259 phylink_mac_pcs_get_state(struct phylink *pl, struct phylink_link_state *state) phylink_mac_pcs_get_state() argument 1288 phylink_get_fixed_state(struct phylink *pl, struct phylink_link_state *state) phylink_get_fixed_state() argument 1538 unsigned long state = pl->phylink_disable_state; phylink_run_resolve_and_disable() local 2295 phylink_get_ksettings(const struct phylink_link_state *state, struct ethtool_link_ksettings *kset) phylink_get_ksettings() argument 2734 phylink_mii_emul_read(unsigned int reg, struct phylink_link_state *state) phylink_mii_emul_read() argument 2841 struct phylink_link_state state; phylink_mii_read() local 3052 phylink_sfp_set_config(struct phylink *pl, u8 mode, unsigned long *supported, struct phylink_link_state *state) phylink_sfp_set_config() argument 3364 phylink_resolve_c73(struct phylink_link_state *state) phylink_resolve_c73() argument 3387 phylink_decode_c37_word(struct phylink_link_state *state, uint16_t config_reg, int speed) phylink_decode_c37_word() argument 3411 phylink_decode_sgmii_word(struct phylink_link_state *state, uint16_t config_reg) phylink_decode_sgmii_word() argument 3448 phylink_decode_usxgmii_word(struct phylink_link_state *state, uint16_t lpa) phylink_decode_usxgmii_word() argument 3493 phylink_decode_usgmii_word(struct phylink_link_state *state, uint16_t lpa) phylink_decode_usgmii_word() argument 3531 phylink_mii_c22_pcs_decode_state(struct phylink_link_state *state, u16 bmsr, u16 lpa) phylink_mii_c22_pcs_decode_state() argument 3581 phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, struct phylink_link_state *state) phylink_mii_c22_pcs_get_state() argument 3704 phylink_mii_c45_pcs_get_state(struct mdio_device *pcs, struct phylink_link_state *state) phylink_mii_c45_pcs_get_state() argument [all...] |
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | unwind_remote_benchmark.cpp | 121 static void Run(benchmark::State& state, void* data)
in Run() argument 141 state.SkipWithError("Failed to get unwinder.");
in Run() 145 for (const auto& _ : state) {
in Run() 154 state.SkipWithError("Failed to unwind.");
in Run() 166 static void BenchmarkUnwinderRemoteFull(benchmark::State& state)
in BenchmarkUnwinderRemoteFull() argument 176 Run(state, &data);
in BenchmarkUnwinderRemoteFull() 185 static void BenchmarkUnwinderRemoteQut(benchmark::State& state)
in BenchmarkUnwinderRemoteQut() argument 191 Run(state, &data);
in BenchmarkUnwinderRemoteQut() 200 static void BenchmarkUnwinderRemoteQutCache(benchmark::State& state)
in BenchmarkUnwinderRemoteQutCache() argument 206 Run(state, in BenchmarkUnwinderRemoteQutCache() 215 BenchmarkUnwinderRemoteQutFrames(benchmark::State& state) BenchmarkUnwinderRemoteQutFrames() argument 230 BenchmarkUnwinderRemoteQutFramesCache(benchmark::State& state) BenchmarkUnwinderRemoteQutFramesCache() argument 245 BenchmarkUnwinderRemoteQutMiniDebugInfos(benchmark::State& state) BenchmarkUnwinderRemoteQutMiniDebugInfos() argument 262 BenchmarkUnwinderRemoteQutMiniDebugInfosLazily(benchmark::State& state) BenchmarkUnwinderRemoteQutMiniDebugInfosLazily() argument 282 BenchmarkUnwinderRemoteFp(benchmark::State& state) BenchmarkUnwinderRemoteFp() argument [all...] |
/foundation/barrierfree/accessibility/common/interface/include/ |
H A D | i_accessible_ability_manager_service.h | 71 * @brief Register the state observer of AAMS. 72 * @param callback state observer 132 virtual RetError GetCaptionState(bool &state) = 0; 138 virtual RetError SetCaptionState(const bool state) = 0; 148 virtual RetError SetScreenMagnificationState(const bool state) = 0; 149 virtual RetError SetShortKeyState(const bool state) = 0; 150 virtual RetError SetMouseKeyState(const bool state) = 0; 154 virtual RetError SetHighContrastTextState(const bool state) = 0; 155 virtual RetError SetInvertColorState(const bool state) = 0; 156 virtual RetError SetAnimationOffState(const bool state) [all...] |
H A D | accessible_ability_manager_service_proxy.h | 49 * @brief Register the state observer of AAMS. 50 * @param callback state observer 110 virtual RetError SetCaptionState(const bool state) override; 113 virtual RetError GetCaptionState(bool &state) override; 126 virtual RetError SetScreenMagnificationState(const bool state) override; 127 virtual RetError SetShortKeyState(const bool state) override; 128 virtual RetError SetMouseKeyState(const bool state) override; 132 virtual RetError SetHighContrastTextState(const bool state) override; 133 virtual RetError SetInvertColorState(const bool state) override; 134 virtual RetError SetAnimationOffState(const bool state) overrid [all...] |
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_accessible_ability_manager_service_stub.h | 61 RetError SetCaptionState(const bool state) override; 64 RetError GetCaptionState(bool &state) override; 78 RetError SetScreenMagnificationState(const bool state) override; 79 RetError SetShortKeyState(const bool state) override; 80 RetError SetMouseKeyState(const bool state) override; 84 RetError SetHighContrastTextState(const bool state) override; 85 RetError SetInvertColorState(const bool state) override; 86 RetError SetAnimationOffState(const bool state) override; 87 RetError SetAudioMonoState(const bool state) override; 88 RetError SetDaltonizationState(const bool state) overrid [all...] |
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_one_shot_timer.cpp | 90 HgmTimerState state = HgmTimerState::RESET; in Loop() local 93 state = CheckForResetAndStop(state); in Loop() 94 if (state == HgmTimerState::STOP) { in Loop() 97 if (state == HgmTimerState::IDLE) { in Loop() 104 if (state == HgmTimerState::RESET && resetCallback_) { in Loop() 107 state = CheckForResetAndStop(state); in Loop() 108 if (state == HgmTimerState::STOP) { in Loop() 112 state in Loop() 140 CheckForResetAndStop(HgmTimerState state) CheckForResetAndStop() argument [all...] |
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_scheduler.cpp | 70 for (auto state = TaskState::PENDING; state != TaskState::MAX; ++(size_t&)state) { in HWTEST_F() 71 expectCount[static_cast<size_t>(state)] = TaskManager::Instance().GetCount(state); in HWTEST_F() 74 // expect non-exited state count equal zero in HWTEST_F() 80 auto increCount = [&expectCount](TaskState::State state) { ++expectCount[static_cast<size_t>(state)]; }; in HWTEST_F() 82 auto decreCount = [&expectCount](TaskState::State state) { in HWTEST_F() 83 if (expectCount[static_cast<size_t>(state)] > in HWTEST_F() 129 auto state = getNextState(task->state()); HWTEST_F() local [all...] |
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_callback_stub_lite.cpp | 116 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiStateChanged(int state) in OnWifiStateChanged() argument 121 callback_->OnWifiStateChanged(state); in OnWifiStateChanged() 125 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiConnectionChanged(int state, const WifiLinkedInfo &info) in OnWifiConnectionChanged() argument 129 callback_->OnWifiConnectionChanged(state, info); in OnWifiConnectionChanged() 141 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiWpsStateChanged(int state, const std::string &pinCode) in OnWifiWpsStateChanged() argument 145 callback_->OnWifiWpsStateChanged(state, pinCode); in OnWifiWpsStateChanged() 157 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnDeviceConfigChanged(ConfigChange state) in OnDeviceConfigChanged() argument 161 callback_->OnDeviceConfigChanged(state); in OnDeviceConfigChanged() 168 int state = 0; in RemoteOnWifiStateChanged() local 169 (void)ReadInt32(data, &state); in RemoteOnWifiStateChanged() 178 int state = 0; RemoteOnWifiConnectionChanged() local 236 int state = 0; RemoteOnWifiWpsStateChanged() local 255 int state = 0; RemoteOnDeviceConfigChanged() local [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | aix.c | 87 * @state 92 * Description: Reads @count bytes from @state->bdev into @buffer. 95 static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, in read_lba() argument 100 if (!buffer || lba + count / 512 > last_lba(state->bdev)) in read_lba() 106 unsigned char *data = read_part_sector(state, lba++, §); in read_lba() 122 * @state 129 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba) in alloc_pvd() argument 138 if (read_lba(state, lba, (u8 *) p, count) < count) { in alloc_pvd() 147 * @state 154 static struct lvname *alloc_lvn(struct parsed_partitions *state, u3 argument 170 aix_partition(struct parsed_partitions *state) aix_partition() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-devres.c | 14 struct devm_clk_state *state = res; in devm_clk_release() local 16 if (state->exit) in devm_clk_release() 17 state->exit(state->clk); in devm_clk_release() 19 clk_put(state->clk); in devm_clk_release() 27 struct devm_clk_state *state; in __devm_clk_get() local 31 state = devres_alloc(devm_clk_release, sizeof(*state), GFP_KERNEL); in __devm_clk_get() 32 if (!state) in __devm_clk_get() 47 state in __devm_clk_get() 208 struct devm_clk_state *state; devm_get_clk_from_child() local [all...] |