/third_party/elfutils/libdwfl/ |
H A D | dwfl_frame.c | 1 /* Get Dwarf Frame state for target PID or core file. 40 state_fetch_pc (Dwfl_Frame *state) in state_fetch_pc() argument 42 switch (state->pc_state) in state_fetch_pc() 50 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc() 64 state->pc = state->regs[ra] + ebl_ra_offset (ebl); in state_fetch_pc() 65 state->pc_state = DWFL_FRAME_STATE_PC_SET; in state_fetch_pc() 75 free_states (Dwfl_Frame *state) in free_states() argument 77 while (state) in free_states() 79 Dwfl_Frame *next = state in free_states() 94 Dwfl_Frame *state = malloc (sizeof (*state) + sizeof (*state->regs) * nregs); state_alloc() local 417 Dwfl_Frame *state = thread->unwound; INTDEF() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_damage_helper.c | 55 * @state: The driver state object. 56 * @plane_state: Plane state for which to verify damage. 58 * This helper function makes sure that damage from plane state is discarded 63 * Note that &drm_plane_state.fb_damage_clips == NULL in plane state means that 67 void drm_atomic_helper_check_plane_damage(struct drm_atomic_state *state, in drm_atomic_helper_check_plane_damage() argument 73 crtc_state = drm_atomic_get_new_crtc_state(state, in drm_atomic_helper_check_plane_damage() 115 struct drm_atomic_state *state; in drm_atomic_helper_dirtyfb() local 126 state = drm_atomic_state_alloc(fb->dev); in drm_atomic_helper_dirtyfb() 127 if (!state) { in drm_atomic_helper_dirtyfb() 223 drm_atomic_helper_damage_iter_init(struct drm_atomic_helper_damage_iter *iter, const struct drm_plane_state *old_state, const struct drm_plane_state *state) drm_atomic_helper_damage_iter_init() argument 310 drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, struct drm_plane_state *state, struct drm_rect *rect) drm_atomic_helper_damage_merged() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | remove_extradata_bsf.c | 69 uint32_t state = -1; in h264_split() local 75 ptr = avpriv_find_start_code(ptr, end, &state); in h264_split() 76 if ((state & 0xFFFFFF00) != 0x100) in h264_split() 78 nalu_type = state & 0x1F; in h264_split() 106 uint32_t state = -1; in hevc_split() local 113 ptr = avpriv_find_start_code(ptr, end, &state); in hevc_split() 114 if ((state >> 8) != START_CODE) in hevc_split() 116 nut = (state >> 1) & 0x3F; in hevc_split() 137 uint32_t state = -1; in mpegvideo_split() local 141 state in mpegvideo_split() 153 uint32_t state = -1; mpeg4video_split() local 167 uint32_t state = -1; vc1_split() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_phis_to_scalar.c | 50 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state); 54 struct lower_phis_to_scalar_state *state) in is_phi_src_scalarizable() 76 return should_lower_phi(nir_instr_as_phi(src_instr), state); in is_phi_src_scalarizable() 146 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state) in should_lower_phi() argument 152 if (state->lower_all) in should_lower_phi() 155 struct hash_entry *entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi() 163 entry = _mesa_hash_table_insert(state->phi_table, phi, (void *)(intptr_t)1); in should_lower_phi() 173 scalarizable = is_phi_src_scalarizable(src, state); in should_lower_phi() 180 entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi() 190 struct lower_phis_to_scalar_state *state) in lower_phis_to_scalar_block() 53 is_phi_src_scalarizable(nir_phi_src *src, struct lower_phis_to_scalar_state *state) is_phi_src_scalarizable() argument 189 lower_phis_to_scalar_block(nir_block *block, struct lower_phis_to_scalar_state *state) lower_phis_to_scalar_block() argument 284 struct lower_phis_to_scalar_state state; lower_phis_to_scalar_impl() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | number_patternstring.cpp | 158 U_ASSERT(state.offset == 0); in consumePattern() 164 if (state.peek() == u';') { in consumePattern() 165 state.next(); // consume the ';' in consumePattern() 167 if (state.peek() != -1) { in consumePattern() 174 if (state.peek() != -1) { in consumePattern() 175 state.toParseException(u"Found unquoted special character"); in consumePattern() 201 if (state.peek() != u'*') { in consumePadding() 205 state.toParseException(u"Cannot have multiple pad specifiers"); in consumePadding() 211 state.next(); // consume the '*' in consumePadding() 212 currentSubpattern->paddingEndpoints.start = state in consumePadding() 969 int state = 0; convertLocalized() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_patternstring.cpp | 158 U_ASSERT(state.offset == 0); in consumePattern() 164 if (state.peek() == u';') { in consumePattern() 165 state.next(); // consume the ';' in consumePattern() 167 if (state.peek() != -1) { in consumePattern() 174 if (state.peek() != -1) { in consumePattern() 175 state.toParseException(u"Found unquoted special character"); in consumePattern() 201 if (state.peek() != u'*') { in consumePadding() 205 state.toParseException(u"Cannot have multiple pad specifiers"); in consumePadding() 211 state.next(); // consume the '*' in consumePadding() 212 currentSubpattern->paddingEndpoints.start = state in consumePadding() 969 int state = 0; convertLocalized() local [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_resource_state.cpp | 37 /* Stores the current desired state of either an entire resource, or each subresource. */ 46 desired_resource_state_init(desired_resource_state *state, uint32_t subresource_count) in desired_resource_state_init() argument 48 state->homogenous = true; in desired_resource_state_init() 49 state->num_subresources = subresource_count; in desired_resource_state_init() 50 state->subresource_states = (D3D12_RESOURCE_STATES *)calloc(subresource_count, sizeof(D3D12_RESOURCE_STATES)); in desired_resource_state_init() 51 return state->subresource_states != nullptr; in desired_resource_state_init() 55 desired_resource_state_cleanup(desired_resource_state *state) in desired_resource_state_cleanup() argument 57 free(state->subresource_states); in desired_resource_state_cleanup() 61 get_desired_subresource_state(const desired_resource_state *state, uint32_t subresource_index) in get_desired_subresource_state() argument 63 if (state in get_desired_subresource_state() 81 set_desired_resource_state(desired_resource_state *state_obj, D3D12_RESOURCE_STATES state) set_desired_resource_state() argument 88 set_desired_subresource_state(desired_resource_state *state_obj, uint32_t subresource, D3D12_RESOURCE_STATES state) set_desired_subresource_state() argument 109 d3d12_resource_state_init(d3d12_resource_state *state, uint32_t subresource_count, bool simultaneous_access) d3d12_resource_state_init() argument 119 d3d12_resource_state_cleanup(d3d12_resource_state *state) d3d12_resource_state_cleanup() argument 125 get_subresource_state(const d3d12_resource_state *state, uint32_t subresource) get_subresource_state() argument 133 set_resource_state(d3d12_resource_state *state_obj, const d3d12_subresource_state *state) set_resource_state() argument 140 set_subresource_state(d3d12_resource_state *state_obj, uint32_t subresource, const d3d12_subresource_state *state) set_subresource_state() argument 153 reset_resource_state(d3d12_resource_state *state) reset_resource_state() argument 456 d3d12_transition_resource_state(struct d3d12_context *ctx, struct d3d12_resource *res, D3D12_RESOURCE_STATES state, d3d12_transition_flags flags) d3d12_transition_resource_state() argument 478 d3d12_transition_subresources_state(struct d3d12_context *ctx, struct d3d12_resource *res, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers, uint32_t start_plane, uint32_t num_planes, D3D12_RESOURCE_STATES state, d3d12_transition_flags flags) d3d12_transition_subresources_state() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 43 * (most ICP state fits in the union kvmppc_icp_state) 71 struct ics_irq_state *state; in ics_deliver_irq() local 83 state = &ics->irq_state[src]; in ics_deliver_irq() 84 if (!state->exists) in ics_deliver_irq() 96 if (!state->lsi && level == 0) /* noop for MSI */ in ics_deliver_irq() 100 pq_old = state->pq_state; in ics_deliver_irq() 101 if (state->lsi) { in ics_deliver_irq() 112 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_deliver_irq() 119 if (state->host_irq) in ics_deliver_irq() 120 state in ics_deliver_irq() 131 struct ics_irq_state *state = &ics->irq_state[i]; ics_check_resend() local 140 write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, struct ics_irq_state *state, u32 server, u32 priority, u32 saved_priority) write_xive() argument 171 struct ics_irq_state *state; kvmppc_xics_set_xive() local 200 struct ics_irq_state *state; kvmppc_xics_get_xive() local 227 struct ics_irq_state *state; kvmppc_xics_int_on() local 253 struct ics_irq_state *state; kvmppc_xics_int_off() local 380 struct ics_irq_state *state; icp_deliver_irq() local 706 union kvmppc_icp_state state; kvmppc_h_ipoll() local 782 struct ics_irq_state *state; ics_eoi() local 966 union kvmppc_icp_state state; xics_debug_show() local 1099 union kvmppc_icp_state state; kvmppc_xics_get_icp() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_xics.c | 43 * (most ICP state fits in the union kvmppc_icp_state) 71 struct ics_irq_state *state; in ics_deliver_irq() local 83 state = &ics->irq_state[src]; in ics_deliver_irq() 84 if (!state->exists) in ics_deliver_irq() 96 if (!state->lsi && level == 0) /* noop for MSI */ in ics_deliver_irq() 100 pq_old = state->pq_state; in ics_deliver_irq() 101 if (state->lsi) { in ics_deliver_irq() 112 } while (cmpxchg(&state->pq_state, pq_old, pq_new) != pq_old); in ics_deliver_irq() 119 if (state->host_irq) in ics_deliver_irq() 120 state in ics_deliver_irq() 131 struct ics_irq_state *state = &ics->irq_state[i]; ics_check_resend() local 140 write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, struct ics_irq_state *state, u32 server, u32 priority, u32 saved_priority) write_xive() argument 171 struct ics_irq_state *state; kvmppc_xics_set_xive() local 200 struct ics_irq_state *state; kvmppc_xics_get_xive() local 227 struct ics_irq_state *state; kvmppc_xics_int_on() local 253 struct ics_irq_state *state; kvmppc_xics_int_off() local 380 struct ics_irq_state *state; icp_deliver_irq() local 706 union kvmppc_icp_state state; kvmppc_h_ipoll() local 782 struct ics_irq_state *state; ics_eoi() local 966 union kvmppc_icp_state state; xics_debug_show() local 1090 union kvmppc_icp_state state; kvmppc_xics_get_icp() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 32 static bool plane_enabled(struct drm_plane_state *state) in plane_enabled() argument 34 return state->visible; in plane_enabled() 100 struct drm_plane_state *state, struct drm_property *property, in mdp5_plane_atomic_set_property() 108 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_set_property() 128 const struct drm_plane_state *state, in mdp5_plane_atomic_get_property() 136 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_get_property() 157 const struct drm_plane_state *state) in mdp5_plane_atomic_print_state() 159 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_print_state() 160 struct mdp5_kms *mdp5_kms = get_kms(state->plane); in mdp5_plane_atomic_print_state() 178 if (plane->state in mdp5_plane_reset() 99 mdp5_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) mdp5_plane_atomic_set_property() argument 127 mdp5_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) mdp5_plane_atomic_get_property() argument 156 mdp5_plane_atomic_print_state(struct drm_printer *p, const struct drm_plane_state *state) mdp5_plane_atomic_print_state() argument 219 mdp5_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) mdp5_plane_destroy_state() argument 255 mdp5_plane_atomic_check_with_state(struct drm_crtc_state *crtc_state, struct drm_plane_state *state) mdp5_plane_atomic_check_with_state() argument 419 mdp5_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) mdp5_plane_atomic_check() argument 439 struct drm_plane_state *state = plane->state; mdp5_plane_atomic_update() local 454 mdp5_plane_atomic_async_check(struct drm_plane *plane, struct drm_plane_state *state) mdp5_plane_atomic_async_check() argument [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | state_pattern_naive.h | 21 * When using naive state design pattern, please define `STATE_PATTERN_NAIVE_STATE` 27 #define STATE_PATTERN_NAIVE_STATE_SET_AND_RETURN(state, returnVal) \ 29 STATE_PATTERN_NAIVE_STATE = state; \ 33 #define STATE_PATTERN_NAIVE_ACCEPT(state, returnVal) \ 35 if (STATE_PATTERN_NAIVE_STATE != state) { \ 40 #define STATE_PATTERN_NAIVE_REJECT(state, returnVal) \ 42 if (STATE_PATTERN_NAIVE_STATE == state) { \ 48 #define STATE_PATTERN_NAIVE_ACCEPT_LOG(state, returnVal, ...) \ 50 if (STATE_PATTERN_NAIVE_STATE != state) { \ 56 #define STATE_PATTERN_NAIVE_REJECT_LOG(state, returnVa [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_da_btree.c | 39 STATIC int xfs_da3_root_split(xfs_da_state_t *state, 42 STATIC int xfs_da3_node_split(xfs_da_state_t *state, 48 STATIC void xfs_da3_node_rebalance(xfs_da_state_t *state, 51 STATIC void xfs_da3_node_add(xfs_da_state_t *state, 58 STATIC int xfs_da3_root_join(xfs_da_state_t *state, 60 STATIC int xfs_da3_node_toosmall(xfs_da_state_t *state, int *retval); 61 STATIC void xfs_da3_node_remove(xfs_da_state_t *state, 63 STATIC void xfs_da3_node_unbalance(xfs_da_state_t *state, 70 STATIC int xfs_da3_blk_unlink(xfs_da_state_t *state, 75 kmem_zone_t *xfs_da_state_zone; /* anchor for state struc 85 struct xfs_da_state *state; xfs_da_state_alloc() local 97 xfs_da_state_kill_altpath(xfs_da_state_t *state) xfs_da_state_kill_altpath() argument 110 xfs_da_state_free(xfs_da_state_t *state) xfs_da_state_free() argument 471 xfs_da3_split( struct xfs_da_state *state) xfs_da3_split() argument 633 xfs_da3_root_split( struct xfs_da_state *state, struct xfs_da_state_blk *blk1, struct xfs_da_state_blk *blk2) xfs_da3_root_split() argument 763 xfs_da3_node_split( struct xfs_da_state *state, struct xfs_da_state_blk *oldblk, struct xfs_da_state_blk *newblk, struct xfs_da_state_blk *addblk, int treelevel, int *result) xfs_da3_node_split() argument 860 xfs_da3_node_rebalance( struct xfs_da_state *state, struct xfs_da_state_blk *blk1, struct xfs_da_state_blk *blk2) xfs_da3_node_rebalance() argument 1004 xfs_da3_node_add( struct xfs_da_state *state, struct xfs_da_state_blk *oldblk, struct xfs_da_state_blk *newblk) xfs_da3_node_add() argument 1062 xfs_da3_join( struct xfs_da_state *state) xfs_da3_join() argument 1171 xfs_da3_root_join( struct xfs_da_state *state, struct xfs_da_state_blk *root_blk) xfs_da3_root_join() argument 1240 xfs_da3_node_toosmall( struct xfs_da_state *state, int *action) xfs_da3_node_toosmall() argument 1382 xfs_da3_fixhashpath( struct xfs_da_state *state, struct xfs_da_state_path *path) xfs_da3_fixhashpath() argument 1437 xfs_da3_node_remove( struct xfs_da_state *state, struct xfs_da_state_blk *drop_blk) xfs_da3_node_remove() argument 1487 xfs_da3_node_unbalance( struct xfs_da_state *state, struct xfs_da_state_blk *drop_blk, struct xfs_da_state_blk *save_blk) xfs_da3_node_unbalance() argument 1571 xfs_da3_node_lookup_int( struct xfs_da_state *state, int *result) xfs_da3_node_lookup_int() argument 1792 xfs_da3_blk_link( struct xfs_da_state *state, struct xfs_da_state_blk *old_blk, struct xfs_da_state_blk *new_blk) xfs_da3_blk_link() argument 1885 xfs_da3_blk_unlink( struct xfs_da_state *state, struct xfs_da_state_blk *drop_blk, struct xfs_da_state_blk *save_blk) xfs_da3_blk_unlink() argument 1965 xfs_da3_path_shift( struct xfs_da_state *state, struct xfs_da_state_path *path, int forward, int release, int *result) xfs_da3_path_shift() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/benchmark/ |
H A D | benchmark_audiocapturer_test.cpp | 38 void SetUp(const ::benchmark::State &state) override 52 void TearDown(const ::benchmark::State &state) override 67 benchmark::State &state) in BENCHMARK_F() 69 while (state.KeepRunning()) in BENCHMARK_F() 74 state.SkipWithError("StartAbilityTestCase audioCapturer start failed."); in BENCHMARK_F() 77 state.PauseTiming(); in BENCHMARK_F() 81 state.SkipWithError("StartAbilityTestCase audioCapturer start failed."); in BENCHMARK_F() 83 state.ResumeTiming(); in BENCHMARK_F() 90 benchmark::State &state) in BENCHMARK_F() 92 while (state in BENCHMARK_F() [all...] |
/foundation/multimodalinput/input/util/napi/include/ |
H A D | util_napi.h | 25 #define CHKRV(state, desc) \ 27 if ((state) != napi_ok) { \ 33 #define CHKRP(state, desc) \ 35 if ((state) != napi_ok) { \ 41 #define CHKRF(state, desc) \ 43 if ((state) != napi_ok) { \ 49 #define CHKRR(state, desc, ret) \ 51 if ((state) != napi_ok) { \ 65 #define CHKRV_SCOPE(env, state, desc, scope) \ 67 if ((state) ! [all...] |
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | builder.rs | 32 state: S, 35 /// A state indicates that `UploaderBuilder` wants a `Reader`. 39 /// Creates a `UploaderBuilder` in the `WantsReader` state. 49 Self { state: WantsReader } in new() 63 state: WantsOperator { in reader() 83 state: WantsOperator { in multipart() 97 /// A state indicates that `UploaderBuilder` wants an `UploadOperator`. 106 /// Then the `UploaderBuilder` will switch to `WantsConfig` state. 134 state: WantsConfig { in operator() 135 reader: self.state in operator() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | cmdline.c | 40 } state = st_wordstart; in __cmdline_find_option() local 49 switch (state) { in __cmdline_find_option() 55 state = st_wordcmp; in __cmdline_find_option() 63 state = st_bufcpy; in __cmdline_find_option() 65 state = st_wordstart; in __cmdline_find_option() 67 state = st_wordskip; in __cmdline_find_option() 73 state = st_wordstart; in __cmdline_find_option() 78 state = st_wordstart; in __cmdline_find_option() 110 } state = st_wordstart; in __cmdline_find_option_bool() local 122 switch (state) { in __cmdline_find_option_bool() [all...] |
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | cmdline.c | 40 } state = st_wordstart; in __cmdline_find_option() local 49 switch (state) { in __cmdline_find_option() 55 state = st_wordcmp; in __cmdline_find_option() 63 state = st_bufcpy; in __cmdline_find_option() 65 state = st_wordstart; in __cmdline_find_option() 67 state = st_wordskip; in __cmdline_find_option() 73 state = st_wordstart; in __cmdline_find_option() 78 state = st_wordstart; in __cmdline_find_option() 110 } state = st_wordstart; in __cmdline_find_option_bool() local 122 switch (state) { in __cmdline_find_option_bool() [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_signal.cpp | 21 static void Bm_function_Sigaction(benchmark::State &state) in Bm_function_Sigaction() argument 27 for (auto _ : state) { in Bm_function_Sigaction() 32 static void Bm_function_Sigemptyset(benchmark::State &state) in Bm_function_Sigemptyset() argument 34 for (auto _ : state) { in Bm_function_Sigemptyset() 40 static void Bm_function_Sigaltstack(benchmark::State &state) in Bm_function_Sigaltstack() argument 42 for (auto _ : state) { in Bm_function_Sigaltstack() 43 state.PauseTiming(); in Bm_function_Sigaltstack() 52 state.ResumeTiming(); in Bm_function_Sigaltstack() 57 state.PauseTiming(); in Bm_function_Sigaltstack() 62 state in Bm_function_Sigaltstack() 66 Bm_function_Sigdelset(benchmark::State &state) Bm_function_Sigdelset() argument 75 Bm_function_Sigtimedwait(benchmark::State &state) Bm_function_Sigtimedwait() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | hashmap.h | 70 pointer *state has to be set to NULL. The hashmap may not be 75 void *pa_hashmap_iterate(const pa_hashmap *h, void **state, const void**key); 78 void *pa_hashmap_iterate_backwards(const pa_hashmap *h, void **state, const void**key); 90 #define PA_HASHMAP_FOREACH(e, h, state) \ 91 for ((state) = NULL, (e) = pa_hashmap_iterate((h), &(state), NULL); (e); (e) = pa_hashmap_iterate((h), &(state), NULL)) 94 #define PA_HASHMAP_FOREACH_KV(k, e, h, state) \ 95 for ((state) = NULL, (e) = pa_hashmap_iterate((h), &(state), (cons [all...] |
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
H A D | ct.c | 39 int state = init; in getTok() local 49 if (state == inAtom) in getTok() 53 if (state == inAtom) in getTok() 55 if (state != inString) in getTok() 56 state++; in getTok() 59 if (state > init) in getTok() 60 --state; in getTok() 61 else if (state != inString) in getTok() 67 if (state == inAtom) in getTok() 69 if (state in getTok() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | state_machine.h | 9 * implement a state machine. In addition to including this header file, each 10 * file implementing a state machine must define STATE_MACHINE_DATA to be the 11 * data structure including state variables (enum machine_state, 14 * a group of state machines with shared data structure, STATE_MACHINE_ADDR 16 * SM_ENTRY_M macro can be used to define similar group of state machines 24 * SM_STATE - Declaration of a state machine function 26 * @state: State machine state 28 * This macro is used to declare a state machine function. It is used in place 29 * of a C function definition to declare functions to be run when the state i [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | state_machine.h | 9 * implement a state machine. In addition to including this header file, each 10 * file implementing a state machine must define STATE_MACHINE_DATA to be the 11 * data structure including state variables (enum machine_state, 14 * a group of state machines with shared data structure, STATE_MACHINE_ADDR 16 * SM_ENTRY_M macro can be used to define similar group of state machines 24 * SM_STATE - Declaration of a state machine function 26 * @state: State machine state 28 * This macro is used to declare a state machine function. It is used in place 29 * of a C function definition to declare functions to be run when the state i [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/sensor_fold_state_manager/ |
H A D | single_display_sensor_fold_state_manager.cpp | 77 FoldStatus state; in GetNextFoldState() local 81 state = FoldStatus::FOLDED; in GetNextFoldState() 84 state = FoldStatus::HALF_FOLD; in GetNextFoldState() 87 state = FoldStatus::HALF_FOLD; in GetNextFoldState() 89 state = FoldStatus::EXPAND; in GetNextFoldState() 91 state = currentState; in GetNextFoldState() 92 if (state == FoldStatus::UNKNOWN) { in GetNextFoldState() 93 state = FoldStatus::HALF_FOLD; in GetNextFoldState() 96 return state; in GetNextFoldState() 100 state in GetNextFoldState() [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | atari.c | 34 int atari_partition(struct parsed_partitions *state) in atari_partition() argument 50 if (bdev_logical_block_size(state->bdev) != 512) in atari_partition() 53 rs = read_part_sector(state, 0, §); in atari_partition() 58 hd_size = state->bdev->bd_inode->i_size >> 9; in atari_partition() 73 strlcat(state->pp_buf, " AHDI", PAGE_SIZE); in atari_partition() 74 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) { in atari_partition() 84 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition() 92 strlcat(state->pp_buf, " XGM<", PAGE_SIZE); in atari_partition() 95 xrs = read_part_sector(state, partsect, §2); in atari_partition() 109 put_partition(state, slo in atari_partition() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | sornv50.c | 53 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift; in nv50_sor_power() local 57 nvkm_mask(device, 0x61c004 + soff, field, state); in nv50_sor_power() 67 nv50_sor_state(struct nvkm_ior *sor, struct nvkm_ior_state *state) in nv50_sor_state() argument 70 const u32 coff = sor->id * 8 + (state == &sor->arm) * 4; in nv50_sor_state() 73 state->proto_evo = (ctrl & 0x00000f00) >> 8; in nv50_sor_state() 74 switch (state->proto_evo) { in nv50_sor_state() 75 case 0: state->proto = LVDS; state->link = 1; break; in nv50_sor_state() 76 case 1: state->proto = TMDS; state in nv50_sor_state() [all...] |