Home
last modified time | relevance | path

Searched refs:state (Results 3351 - 3375 of 21758) sorted by relevance

1...<<131132133134135136137138139140>>...871

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_tnc.c20 } state; member
41 static const char * eap_tnc_state_txt(enum eap_tnc_state state) in eap_tnc_state_txt() argument
43 switch (state) { in eap_tnc_state_txt()
67 eap_tnc_state_txt(data->state), in eap_tnc_set_state()
69 data->state = new_state; in eap_tnc_set_state()
269 if (data->state == FAIL) in eap_tnc_build_msg()
271 else if (data->state == DONE) in eap_tnc_build_msg()
284 switch (data->state) { in eap_tnc_buildReq()
337 if (len == 0 && data->state != WAIT_FRAG_ACK) { in eap_tnc_check()
462 if (len == 1 && (data->state in eap_tnc_process()
[all...]
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager6_gtest.cpp152 std::cout << "target call state:" << targetState << std::endl; in LockCallState()
614 int32_t state = 0; in HWTEST_F() local
616 EXPECT_EQ(CallManagerGtest::clientPtr_->SetVoNRState(SIM1_SLOTID, state), RETURN_VALUE_IS_ZERO); in HWTEST_F()
619 EXPECT_EQ(CallManagerGtest::clientPtr_->SetVoNRState(SIM2_SLOTID, state), RETURN_VALUE_IS_ZERO); in HWTEST_F()
634 int32_t state = 1; in HWTEST_F() local
636 EXPECT_EQ(CallManagerGtest::clientPtr_->SetVoNRState(SIM1_SLOTID, state), RETURN_VALUE_IS_ZERO); in HWTEST_F()
639 EXPECT_EQ(CallManagerGtest::clientPtr_->SetVoNRState(SIM2_SLOTID, state), RETURN_VALUE_IS_ZERO); in HWTEST_F()
654 int32_t state = 0; in HWTEST_F() local
655 EXPECT_EQ(CallManagerGtest::clientPtr_->SetVoNRState(INVALID_SLOT_ID, state), CALL_ERR_INVALID_SLOT_ID); in HWTEST_F()
669 int32_t state in HWTEST_F() local
685 int32_t state = -1; HWTEST_F() local
704 int32_t state = 0; HWTEST_F() local
726 int32_t state; HWTEST_F() local
747 int32_t state; HWTEST_F() local
764 int32_t state; HWTEST_F() local
778 int32_t state; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.h344 * @STATUS_RFKILL_HW: the actual HW state of the RF-kill switch
345 * @STATUS_RFKILL_OPMODE: RF-kill state reported to opmode
346 * @STATUS_FW_ERROR: the fw is in error state
560 * @set_pmi: set the power pmi state
632 void (*set_pmi)(struct iwl_trans *trans, bool state);
650 * enum iwl_trans_state - state of the transport layer
664 * power state (e.g. idle or suspend to RAM) at the same time and the
679 * be confused with the physical device power state.
763 * @internal_ini_cfg: internal debug cfg state. Uses &enum iwl_ini_cfg_state
764 * @external_ini_cfg: external debug cfg state
994 enum iwl_trans_state state; global() member
1409 iwl_trans_set_pmi(struct iwl_trans *trans, bool state) iwl_trans_set_pmi() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c310 struct drm_atomic_state *state) in dm_dp_mst_atomic_check()
313 drm_atomic_get_new_connector_state(state, connector); in dm_dp_mst_atomic_check()
315 drm_atomic_get_old_connector_state(state, connector); in dm_dp_mst_atomic_check()
328 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in dm_dp_mst_atomic_check()
335 return drm_dp_atomic_release_vcpi_slots(state, in dm_dp_mst_atomic_check()
443 * Initialize connector state before adding the connectror to drm and in dm_dp_add_mst_connector()
572 static void increase_dsc_bpp(struct drm_atomic_state *state, in increase_dsc_bpp() argument
625 if (drm_dp_atomic_find_vcpi_slots(state, in increase_dsc_bpp()
631 if (!drm_dp_mst_atomic_check(state)) { in increase_dsc_bpp()
635 if (drm_dp_atomic_find_vcpi_slots(state, in increase_dsc_bpp()
309 dm_dp_mst_atomic_check(struct drm_connector *connector, struct drm_atomic_state *state) dm_dp_mst_atomic_check() argument
668 try_disable_dsc(struct drm_atomic_state *state, struct dc_link *dc_link, struct dsc_mst_fairness_params *params, struct dsc_mst_fairness_vars *vars, int count) try_disable_dsc() argument
735 compute_mst_dsc_configs_for_link(struct drm_atomic_state *state, struct dc_state *dc_state, struct dc_link *dc_link) compute_mst_dsc_configs_for_link() argument
837 compute_mst_dsc_configs_for_state(struct drm_atomic_state *state, struct dc_state *dc_state) compute_mst_dsc_configs_for_state() argument
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbd99954-charger.c113 struct bd9995x_state state; member
115 struct mutex lock; /* Protect state data */
286 struct bd9995x_state state; in bd9995x_power_supply_get_property() local
289 state = bd->state; in bd9995x_power_supply_get_property()
294 switch (state.chgstm_status) { in bd9995x_power_supply_get_property()
336 val->intval = state.online; in bd9995x_power_supply_get_property()
373 if (!state.online) { in bd9995x_power_supply_get_property()
444 struct bd9995x_state *state) in bd9995x_get_chip_state()
452 bd->rmap_fields[F_CHGSTM_STATE], &state in bd9995x_get_chip_state()
443 bd9995x_get_chip_state(struct bd9995x_device *bd, struct bd9995x_state *state) bd9995x_get_chip_state() argument
485 struct bd9995x_state state; bd9995x_irq_handler_thread() local
606 int ret, state; __bd9995x_chip_reset() local
637 struct bd9995x_state state; bd9995x_hw_init() local
[all...]
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dbd99954-charger.c113 struct bd9995x_state state; member
115 struct mutex lock; /* Protect state data */
286 struct bd9995x_state state; in bd9995x_power_supply_get_property() local
289 state = bd->state; in bd9995x_power_supply_get_property()
294 switch (state.chgstm_status) { in bd9995x_power_supply_get_property()
336 val->intval = state.online; in bd9995x_power_supply_get_property()
373 if (!state.online) { in bd9995x_power_supply_get_property()
444 struct bd9995x_state *state) in bd9995x_get_chip_state()
452 bd->rmap_fields[F_CHGSTM_STATE], &state in bd9995x_get_chip_state()
443 bd9995x_get_chip_state(struct bd9995x_device *bd, struct bd9995x_state *state) bd9995x_get_chip_state() argument
485 struct bd9995x_state state; bd9995x_irq_handler_thread() local
606 int ret, state; __bd9995x_chip_reset() local
637 struct bd9995x_state state; bd9995x_hw_init() local
[all...]
/kernel/linux/linux-6.6/kernel/locking/
H A Drwsem.c670 * depending on the lock owner state.
751 enum owner_state state; in rwsem_spin_on_owner() local
756 state = rwsem_owner_state(owner, flags); in rwsem_spin_on_owner()
757 if (state != OWNER_WRITER) in rwsem_spin_on_owner()
758 return state; in rwsem_spin_on_owner()
769 state = rwsem_owner_state(new, new_flags); in rwsem_spin_on_owner()
784 state = OWNER_NONSPINNABLE; in rwsem_spin_on_owner()
791 return state; in rwsem_spin_on_owner()
857 * the owner state changes from non-reader to reader. in rwsem_optimistic_spin()
996 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) in rwsem_down_read_slowpath() argument
1107 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) rwsem_down_write_slowpath() argument
1243 __down_read_common(struct rw_semaphore *sem, int state) __down_read_common() argument
1300 __down_write_common(struct rw_semaphore *sem, int state) __down_write_common() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dtransport.c270 if (t->pl.state == SCTP_PL_BASE) { in sctp_transport_pl_send()
272 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */ in sctp_transport_pl_send()
278 } else if (t->pl.state == SCTP_PL_SEARCH) { in sctp_transport_pl_send()
280 t->pl.state = SCTP_PL_BASE; /* Search -> Base */ in sctp_transport_pl_send()
291 } else if (t->pl.state == SCTP_PL_COMPLETE) { in sctp_transport_pl_send()
293 t->pl.state = SCTP_PL_BASE; /* Search Complete -> Base */ in sctp_transport_pl_send()
303 pr_debug("%s: PLPMTUD: transport: %p, state: %d, pmtu: %d, size: %d, high: %d\n", in sctp_transport_pl_send()
304 __func__, t, t->pl.state, t->pl.pmtu, t->pl.probe_size, t->pl.probe_high); in sctp_transport_pl_send()
310 pr_debug("%s: PLPMTUD: transport: %p, state: %d, pmtu: %d, size: %d, high: %d\n", in sctp_transport_pl_recv()
311 __func__, t, t->pl.state, in sctp_transport_pl_recv()
[all...]
/third_party/elfutils/libelf/
H A Delf32_updatefile.c130 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
133 if ((elf->state.ELFW(elf,LIBELFBITS).ehdr_flags | elf->flags) & ELF_F_DIRTY) in __elfw2()
154 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags &= ~ELF_F_DIRTY; in __elfw2()
158 previous_scn_changed = elf->state.ELFW(elf,LIBELFBITS).phdr == NULL; in __elfw2()
166 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL in __elfw2()
167 && ((elf->state.ELFW(elf,LIBELFBITS).phdr_flags | elf->flags) in __elfw2()
189 elf->state.ELFW(elf,LIBELFBITS).phdr, in __elfw2()
194 elf->state.ELFW(elf,LIBELFBITS).phdr, in __elfw2()
197 elf->state.ELFW(elf,LIBELFBITS).phdr_flags &= ~ELF_F_DIRTY; in __elfw2()
217 Elf_ScnList *list = &elf->state in __elfw2()
[all...]
/third_party/libinput/tools/
H A Dlibinput-debug-events.c318 enum libinput_key_state state; in print_key_event() local
323 state = libinput_event_keyboard_get_key_state(k); in print_key_event()
336 state == LIBINPUT_KEY_STATE_PRESSED ? "pressed" : "released"); in print_key_event()
370 enum libinput_button_state state; in print_pointer_button_event() local
379 state = libinput_event_pointer_get_button_state(p); in print_pointer_button_event()
383 state == LIBINPUT_BUTTON_STATE_PRESSED ? "pressed" : "released", in print_pointer_button_event()
459 enum libinput_tablet_tool_tip_state state; in print_tablet_tip_event() local
465 state = libinput_event_tablet_tool_get_tip_state(t); in print_tablet_tip_event()
466 printq(" %s\n", state == LIBINPUT_TABLET_TOOL_TIP_DOWN ? "down" : "up"); in print_tablet_tip_event()
473 enum libinput_button_state state; in print_tablet_button_event() local
554 enum libinput_tablet_tool_proximity_state state; print_proximity_event() local
725 enum libinput_button_state state; print_tablet_pad_button_event() local
801 enum libinput_key_state state; print_tablet_pad_key_event() local
826 enum libinput_switch_state state; print_switch_event() local
[all...]
/third_party/glfw/deps/
H A Dnuklear.h29 /// This is a minimal state immediate mode graphical user interface toolkit
33 /// library approach by using simple input state for input and draw
48 /// - No global or hidden state
109 /// NK_KEYSTATE_BASED_INPUT | Define this if your backend uses key state for each frame rather than key press/release events
177 /// // init gui state
516 /// Contexts are the main entry point and the majestro of nuklear and contain all required state.
612 /// used for allocating windows, panels and state tables.
629 /// Resets the context state at the end of the frame. This includes mostly
676 /// The input API is responsible for holding the current input state composed of
679 /// Instead all input state ha
5406 int state; global() member
15954 nk_flags state = 0; nk_panel_end() local
15973 nk_flags state = 0; nk_panel_end() local
17133 enum nk_widget_layout_states state; nk_contextual_item_text() local
17168 enum nk_widget_layout_states state; nk_contextual_item_image_text() local
17204 enum nk_widget_layout_states state; nk_contextual_item_symbol_text() local
17396 nk_flags state; nk_menu_begin_text() local
17426 nk_flags state; nk_menu_begin_image() local
17451 nk_flags state; nk_menu_begin_symbol() local
17476 nk_flags state; nk_menu_begin_image_text() local
17508 nk_flags state; nk_menu_begin_symbol_text() local
18350 nk_tree_state_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, enum nk_collapse_states *state) nk_tree_state_base() argument
18465 nk_uint *state = 0; nk_tree_base() local
18480 nk_tree_state_push(struct nk_context *ctx, enum nk_tree_type type, const char *title, enum nk_collapse_states *state) nk_tree_state_push() argument
18486 nk_tree_state_image_push(struct nk_context *ctx, enum nk_tree_type type, struct nk_image img, const char *title, enum nk_collapse_states *state) nk_tree_state_image_push() argument
18530 nk_tree_element_image_push_hashed_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, int title_len, enum nk_collapse_states *state, int *selected) nk_tree_element_image_push_hashed_base() argument
18648 nk_uint *state = 0; nk_tree_element_base() local
19192 enum nk_widget_layout_states state; nk_widget_fitting() local
19746 nk_button_behavior(nk_flags *state, struct nk_rect r, const struct nk_input *i, enum nk_button_behavior behavior) nk_button_behavior() argument
19773 nk_draw_button(struct nk_command_buffer *out, const struct nk_rect *bounds, nk_flags state, const struct nk_style_button *style) nk_draw_button() argument
19793 nk_do_button(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, const struct nk_style_button *style, const struct nk_input *in, enum nk_button_behavior behavior, struct nk_rect *content) nk_do_button() argument
19818 nk_draw_button_text(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const char *txt, int len, nk_flags text_alignment, const struct nk_user_font *font) nk_draw_button_text() argument
19841 nk_do_button_text(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *string, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_text() argument
19865 nk_draw_button_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_symbol() argument
19887 nk_do_button_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_symbol() argument
19910 nk_draw_button_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const struct nk_image *img) nk_draw_button_image() argument
19918 nk_do_button_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, enum nk_button_behavior b, const struct nk_style_button *style, const struct nk_input *in) nk_do_button_image() argument
19944 nk_draw_button_text_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *symbol, nk_flags state, const struct nk_style_button *style, const char *str, int len, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_text_symbol() argument
19977 nk_do_button_text_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, const char *str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_symbol() argument
20009 nk_draw_button_text_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *image, nk_flags state, const struct nk_style_button *style, const char *str, int len, const struct nk_user_font *font, const struct nk_image *img) nk_draw_button_text_image() argument
20034 nk_do_button_text_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, const char* str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_image() argument
20123 enum nk_widget_layout_states state; nk_button_text_styled() local
20168 enum nk_widget_layout_states state; nk_button_color() local
20201 enum nk_widget_layout_states state; nk_button_symbol_styled() local
20233 enum nk_widget_layout_states state; nk_button_image_styled() local
20267 enum nk_widget_layout_states state; nk_button_symbol_text_styled() local
20314 enum nk_widget_layout_states state; nk_button_image_text_styled() local
20360 nk_toggle_behavior(const struct nk_input *in, struct nk_rect select, nk_flags *state, int active) nk_toggle_behavior() argument
20375 nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_checkbox() argument
20417 nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_option() argument
20459 nk_do_toggle(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, int *active, const char *str, int len, enum nk_toggle_type type, const struct nk_style_toggle *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_toggle() argument
20534 enum nk_widget_layout_states state; nk_check_text() local
20629 enum nk_widget_layout_states state; nk_option_text() local
20681 nk_draw_selectable(struct nk_command_buffer *out, nk_flags state, const struct nk_style_selectable *style, int active, const struct nk_rect *bounds, const struct nk_rect *icon, const struct nk_image *img, enum nk_symbol_type sym, const char *string, int len, nk_flags align, const struct nk_user_font *font) nk_draw_selectable() argument
20730 nk_do_selectable(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable() argument
20766 nk_do_selectable_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_image *img, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_image() argument
20813 nk_do_selectable_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, enum nk_symbol_type sym, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_symbol() argument
20869 enum nk_widget_layout_states state; nk_selectable_text() local
20898 enum nk_widget_layout_states state; nk_selectable_image_text() local
20927 enum nk_widget_layout_states state; nk_selectable_symbol_text() local
21004 nk_slider_behavior(nk_flags *state, struct nk_rect *logical_cursor, struct nk_rect *visual_cursor, struct nk_input *in, struct nk_rect bounds, float slider_min, float slider_max, float slider_value, float slider_step, float slider_steps) nk_slider_behavior() argument
21046 nk_draw_slider(struct nk_command_buffer *out, nk_flags state, const struct nk_style_slider *style, const struct nk_rect *bounds, const struct nk_rect *visual_cursor, float min, float value, float max) nk_draw_slider() argument
21105 nk_do_slider(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, float min, float val, float max, float step, const struct nk_style_slider *style, struct nk_input *in, const struct nk_user_font *font) nk_do_slider() argument
21205 enum nk_widget_layout_states state; nk_slider_float() local
21259 nk_progress_behavior(nk_flags *state, struct nk_input *in, struct nk_rect r, struct nk_rect cursor, nk_size max, nk_size value, int modifiable) nk_progress_behavior() argument
21289 nk_draw_progress(struct nk_command_buffer *out, nk_flags state, const struct nk_style_progress *style, const struct nk_rect *bounds, const struct nk_rect *scursor, nk_size value, nk_size max) nk_draw_progress() argument
21324 nk_do_progress(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_size value, nk_size max, int modifiable, const struct nk_style_progress *style, struct nk_input *in) nk_do_progress() argument
21363 enum nk_widget_layout_states state; nk_progress() local
21402 nk_scrollbar_behavior(nk_flags *state, struct nk_input *in, int has_scrolling, const struct nk_rect *scroll, const struct nk_rect *cursor, const struct nk_rect *empty0, const struct nk_rect *empty1, float scroll_offset, float target, float scroll_step, enum nk_orientation o) nk_scrollbar_behavior() argument
21478 nk_draw_scrollbar(struct nk_command_buffer *out, nk_flags state, const struct nk_style_scrollbar *style, const struct nk_rect *bounds, const struct nk_rect *scroll) nk_draw_scrollbar() argument
21512 nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarv() argument
21601 nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarh() argument
21813 nk_textedit_click(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) nk_textedit_click() argument
21824 nk_textedit_drag(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) nk_textedit_drag() argument
21835 nk_textedit_find_charpos(struct nk_text_find *find, struct nk_text_edit *state, int n, int single_line, const struct nk_user_font *font, float row_height) nk_textedit_find_charpos() argument
21892 nk_textedit_clamp(struct nk_text_edit *state) nk_textedit_clamp() argument
21906 nk_textedit_delete(struct nk_text_edit *state, int where, int len) nk_textedit_delete() argument
21914 nk_textedit_delete_selection(struct nk_text_edit *state) nk_textedit_delete_selection() argument
21932 nk_textedit_sortselection(struct nk_text_edit *state) nk_textedit_sortselection() argument
21942 nk_textedit_move_to_first(struct nk_text_edit *state) nk_textedit_move_to_first() argument
21953 nk_textedit_move_to_last(struct nk_text_edit *state) nk_textedit_move_to_last() argument
21965 nk_is_word_boundary( struct nk_text_edit *state, int idx) nk_is_word_boundary() argument
21976 nk_textedit_move_to_word_previous(struct nk_text_edit *state) nk_textedit_move_to_word_previous() argument
21988 nk_textedit_move_to_word_next(struct nk_text_edit *state) nk_textedit_move_to_word_next() argument
22001 nk_textedit_prep_selection_at_cursor(struct nk_text_edit *state) nk_textedit_prep_selection_at_cursor() argument
22009 nk_textedit_cut(struct nk_text_edit *state) nk_textedit_cut() argument
22022 nk_textedit_paste(struct nk_text_edit *state, char const *ctext, int len) nk_textedit_paste() argument
22047 nk_textedit_text(struct nk_text_edit *state, const char *text, int total_len) nk_textedit_text() argument
22096 nk_textedit_key(struct nk_text_edit *state, enum nk_keys key, int shift_mod, const struct nk_user_font *font, float row_height) nk_textedit_key() argument
22406 nk_textedit_flush_redo(struct nk_text_undo_state *state) nk_textedit_flush_redo() argument
22412 nk_textedit_discard_undo(struct nk_text_undo_state *state) nk_textedit_discard_undo() argument
22435 nk_textedit_discard_redo(struct nk_text_undo_state *state) nk_textedit_discard_redo() argument
22466 nk_textedit_create_undo_record(struct nk_text_undo_state *state, int numchars) nk_textedit_create_undo_record() argument
22491 nk_textedit_createundo(struct nk_text_undo_state *state, int pos, int insert_len, int delete_len) nk_textedit_createundo() argument
22512 nk_textedit_undo(struct nk_text_edit *state) nk_textedit_undo() argument
22579 nk_textedit_redo(struct nk_text_edit *state) nk_textedit_redo() argument
22628 nk_textedit_makeundo_insert(struct nk_text_edit *state, int where, int length) nk_textedit_makeundo_insert() argument
22633 nk_textedit_makeundo_delete(struct nk_text_edit *state, int where, int length) nk_textedit_makeundo_delete() argument
22643 nk_textedit_makeundo_replace(struct nk_text_edit *state, int where, int old_length, int new_length) nk_textedit_makeundo_replace() argument
22654 nk_textedit_clear_state(struct nk_text_edit *state, enum nk_text_edit_type type, nk_plugin_filter filter) nk_textedit_clear_state() argument
22674 nk_textedit_init_fixed(struct nk_text_edit *state, void *memory, nk_size size) nk_textedit_init_fixed() argument
22684 nk_textedit_init(struct nk_text_edit *state, struct nk_allocator *alloc, nk_size size) nk_textedit_init() argument
22695 nk_textedit_init_default(struct nk_text_edit *state) nk_textedit_init_default() argument
22705 nk_textedit_select_all(struct nk_text_edit *state) nk_textedit_select_all() argument
22712 nk_textedit_free(struct nk_text_edit *state) nk_textedit_free() argument
22871 nk_do_edit(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_flags flags, nk_plugin_filter filter, struct nk_text_edit *edit, const struct nk_style_edit *style, struct nk_input *in, const struct nk_user_font *font) nk_do_edit() argument
23403 nk_flags state; nk_edit_string() local
23462 enum nk_widget_layout_states state; nk_edit_buffer() local
23536 nk_drag_behavior(nk_flags *state, const struct nk_input *in, struct nk_rect drag, struct nk_property_variant *variant, float inc_per_pixel) nk_drag_behavior() argument
23575 nk_property_behavior(nk_flags *ws, const struct nk_input *in, struct nk_rect property, struct nk_rect label, struct nk_rect edit, struct nk_rect empty, int *state, struct nk_property_variant *variant, float inc_per_pixel) nk_property_behavior() argument
23594 nk_draw_property(struct nk_command_buffer *out, const struct nk_style_property *style, const struct nk_rect *bounds, const struct nk_rect *label, nk_flags state, const char *name, int len, const struct nk_user_font *font) nk_draw_property() argument
23628 nk_do_property(nk_flags *ws, struct nk_command_buffer *out, struct nk_rect property, const char *name, struct nk_property_variant *variant, float inc_per_pixel, char *buffer, int *len, int *state, int *cursor, int *select_begin, int *select_end, const struct nk_style_property *style, enum nk_property_filter filter, struct nk_input *in, const struct nk_user_font *font, struct nk_text_edit *text_edit, enum nk_button_behavior behavior) nk_do_property() argument
23849 int *state = 0; nk_property() local
24351 nk_color_picker_behavior(nk_flags *state, const struct nk_rect *bounds, const struct nk_rect *matrix, const struct nk_rect *hue_bar, const struct nk_rect *alpha_bar, struct nk_colorf *color, const struct nk_input *in) nk_color_picker_behavior() argument
24462 nk_do_color_picker(nk_flags *state, struct nk_command_buffer *out, struct nk_colorf *col, enum nk_color_format fmt, struct nk_rect bounds, struct nk_vec2 padding, const struct nk_input *in, const struct nk_user_font *font) nk_do_color_picker() argument
24516 enum nk_widget_layout_states state; nk_color_pick() local
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_host.cpp127 void OnBluetoothStateChanged(int32_t state) override
131 if (state == bluetooth::BluetoothSwitchState::STATE_ON) {
134 if (state == bluetooth::BluetoothSwitchState::STATE_OFF) {
137 if (state == bluetooth::BluetoothSwitchState::STATE_HALF) {
234 void OnAclStateChanged(const BluetoothRawAddress &device, int32_t state, uint32_t reason) override
236 HILOGD("enter, device: %{public}s, state: %{public}d, reason: %{public}u",
237 GET_ENCRYPT_RAW_ADDR(device), state, reason);
240 [remoteDevice, state, reason](std::shared_ptr<BluetoothRemoteDeviceObserver> observer) {
241 observer->OnAclStateChanged(remoteDevice, state, reason);
342 void OnAclStateChanged(const BluetoothRawAddress &device, int state, unsigne
663 SatelliteControl(int type, int state) SatelliteControl() argument
690 int state = BTStateID::STATE_TURN_OFF; GetBtState() local
854 int state = static_cast<int>(BTConnectState::DISCONNECTED); GetBtConnectionState() local
855 CHECK_AND_RETURN_LOG_RET(IS_BT_ENABLED(), state, "bluetooth is off."); GetBtConnectionState() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
H A Draw_gadget.c138 enum ep_state state; member
171 enum dev_state state; member
219 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
224 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
240 dev->state = STATE_DEV_FAILED; in raw_queue_event()
306 dev->eps[i].state = STATE_EP_DISABLED; in gadget_bind()
341 if (dev->state != STATE_DEV_RUNNING) { in gadget_setup()
390 dev->state = STATE_DEV_OPENED; in raw_open()
403 dev->state = STATE_DEV_CLOSED; in raw_release()
492 if (dev->state ! in raw_ioctl_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/
H A Dltdc.c410 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut) in ltdc_crtc_update_clut()
413 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in ltdc_crtc_update_clut()
532 struct drm_display_mode *mode = &crtc->state->adjusted_mode; in ltdc_crtc_mode_set_nofb()
636 struct drm_pending_vblank_event *event = crtc->state->event; in ltdc_crtc_atomic_flush()
646 crtc->state->event = NULL; in ltdc_crtc_atomic_flush()
719 struct drm_crtc_state *state = crtc->state; in ltdc_crtc_enable_vblank() local
723 if (state->enable) in ltdc_crtc_enable_vblank()
757 struct drm_plane_state *state) in ltdc_plane_atomic_check()
756 ltdc_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) ltdc_plane_atomic_check() argument
784 struct drm_plane_state *state = plane->state; ltdc_plane_atomic_update() local
907 ltdc_plane_atomic_print_state(struct drm_printer *p, const struct drm_plane_state *state) ltdc_plane_atomic_print_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Draw_gadget.c139 enum ep_state state; member
172 enum dev_state state; member
220 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
225 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
241 dev->state = STATE_DEV_FAILED; in raw_queue_event()
307 dev->eps[i].state = STATE_EP_DISABLED; in gadget_bind()
342 if (dev->state != STATE_DEV_RUNNING) { in gadget_setup()
391 dev->state = STATE_DEV_OPENED; in raw_open()
404 dev->state = STATE_DEV_CLOSED; in raw_release()
493 if (dev->state ! in raw_ioctl_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_plane.c556 WARN_ON(plane->state && !plane->funcs->atomic_destroy_state); in drm_plane_cleanup()
557 if (plane->state && plane->funcs->atomic_destroy_state) in drm_plane_cleanup()
558 plane->funcs->atomic_destroy_state(plane, plane->state); in drm_plane_cleanup()
633 * calls the driver's ->set_property callback and changes the software state of
721 if (plane->state && plane->state->crtc && drm_lease_held(file_priv, plane->state->crtc->base.id)) in drm_mode_getplane()
722 plane_resp->crtc_id = plane->state->crtc->base.id; in drm_mode_getplane()
723 else if (!plane->state && plane->crtc && drm_lease_held(file_priv, plane->crtc->base.id)) in drm_mode_getplane()
728 if (plane->state in drm_mode_getplane()
1332 const struct drm_plane_state *state = plane->state; drm_mode_page_flip_ioctl() local
1487 drm_plane_get_damage_clips_count(const struct drm_plane_state *state) drm_plane_get_damage_clips_count() argument
1495 __drm_plane_get_damage_clips(const struct drm_plane_state *state) __drm_plane_get_damage_clips() argument
1513 drm_plane_get_damage_clips(const struct drm_plane_state *state) drm_plane_get_damage_clips() argument
[all...]
/third_party/lame/misc/
H A Dabx.c587 int state = 0; /* derzeitiger F�ttungsmodus */ in testing() local
606 if ( state != 0 ) in testing()
607 state = 2; in testing()
615 if ( state != 1 ) in testing()
616 state = 3; in testing()
622 if ( state != rnd ) in testing()
623 state = rnd + 2; in testing()
627 state = 8; in testing()
631 state = (state in testing()
[all...]
/third_party/python/Modules/
H A D_functoolsmodule.c28 void *state = _PyModule_GetState(module); in get_functools_state() local
29 assert(state != NULL); in get_functools_state()
30 return (_functools_state *)state; in get_functools_state()
420 partial_setstate(partialobject *pto, PyObject *state) in partial_setstate() argument
424 if (!PyTuple_Check(state) || in partial_setstate()
425 !PyArg_ParseTuple(state, "OOOO", &fn, &fnargs, &kw, &dict) || in partial_setstate()
430 PyErr_SetString(PyExc_TypeError, "invalid partial state"); in partial_setstate()
634 _functools_state *state; in functools_cmp_to_key() local
639 state = get_functools_state(self); in functools_cmp_to_key()
640 object = PyObject_GC_New(keyobject, state in functools_cmp_to_key()
1164 _functools_state *state; lru_cache_new() local
1443 _functools_state *state = get_functools_state(module); _functools_exec() local
1491 _functools_state *state = get_functools_state(module); _functools_traverse() local
1502 _functools_state *state = get_functools_state(module); _functools_clear() local
[all...]
/third_party/curl/src/
H A Dtool_operate.c352 struct State *state = &config->state; in single_transfer_cleanup() local
353 if(state->urls) { in single_transfer_cleanup()
355 glob_cleanup(state->urls); in single_transfer_cleanup()
356 state->urls = NULL; in single_transfer_cleanup()
358 Curl_safefree(state->outfiles); in single_transfer_cleanup()
359 Curl_safefree(state->uploadfile); in single_transfer_cleanup()
360 if(state->inglob) { in single_transfer_cleanup()
362 glob_cleanup(state->inglob); in single_transfer_cleanup()
363 state in single_transfer_cleanup()
746 struct State *state = &config->state; single_transfer() local
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp125 StateQueryMemoryWriteGuard<GLboolean> state; in verifyInteger()
126 glGetBooleanv(name, &state); in verifyInteger()
128 if (!state.verifyValidity(testCtx)) in verifyInteger()
133 if (state != expectedGLState) in verifyInteger()
135 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (expectedGLState==GL_TRUE ? "GL_TRUE" : "GL_FALSE") << "; got " << (state == GL_TRUE ? "GL_TRUE" : (state == GL_FALSE ? "GL_FALSE" : "non-boolean")) << TestLog::EndMessage; in verifyInteger()
184 StateQueryMemoryWriteGuard<GLboolean> state; in verifyIntegerGreaterOrEqual()
185 glGetBooleanv(name, &state); in verifyIntegerGreaterOrEqual()
187 if (!state.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual()
190 if (state in verifyIntegerGreaterOrEqual()
519 StateQueryMemoryWriteGuard<GLfloat> state; verifyInteger() local
[all...]
/device/soc/rockchip/common/sdk_linux/scripts/
H A Dresource_tool.c19 unsigned long state[5]; /*!< intermediate digest state */ member
53 ctx->state[0] = 0x67452301; in sha1_starts()
54 ctx->state[1] = 0xEFCDAB89; in sha1_starts()
55 ctx->state[0x02] = 0x98BADCFE; in sha1_starts()
56 ctx->state[0x03] = 0x10325476; in sha1_starts()
57 ctx->state[0x04] = 0xC3D2E1F0; in sha1_starts()
94 A = ctx->state[0x0]; in sha1_process()
95 B = ctx->state[0x1]; in sha1_process()
96 C = ctx->state[ in sha1_process()
306 uint32_t state[8]; global() member
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dresource_tool.c21 unsigned long state[5]; /*!< intermediate digest state */ member
55 ctx->state[0] = 0x67452301; in sha1_starts()
56 ctx->state[1] = 0xEFCDAB89; in sha1_starts()
57 ctx->state[2] = 0x98BADCFE; in sha1_starts()
58 ctx->state[3] = 0x10325476; in sha1_starts()
59 ctx->state[4] = 0xC3D2E1F0; in sha1_starts()
95 A = ctx->state[0]; in sha1_process()
96 B = ctx->state[1]; in sha1_process()
97 C = ctx->state[ in sha1_process()
314 uint32_t state[8]; global() member
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dcore.c62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support
67 * with creating a dummy state for the driver to keep going smoothly.
917 struct pinctrl_state *state; in find_state() local
919 list_for_each_entry(state, &p->states, node) in find_state()
920 if (!strcmp(state->name, name)) in find_state()
921 return state; in find_state()
929 struct pinctrl_state *state; in create_state() local
931 state = kzalloc(sizeof(*state), GFP_KERNEL); in create_state()
932 if (!state) in create_state()
946 struct pinctrl_state *state; add_setting() local
1157 struct pinctrl_state *state, *n1; pinctrl_free() local
1208 struct pinctrl_state *state; pinctrl_lookup_state() local
1239 pinctrl_commit_state(struct pinctrl *p, struct pinctrl_state *state) pinctrl_commit_state() argument
1318 pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state) pinctrl_select_state() argument
1531 pinctrl_select_bound_state(struct device *dev, struct pinctrl_state *state) pinctrl_select_bound_state() argument
1823 struct pinctrl_state *state; pinctrl_show() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_dpll.c24 int (*crtc_compute_clock)(struct intel_atomic_state *state,
26 int (*crtc_get_shared_dpll)(struct intel_atomic_state *state,
417 * single/dual channel state, if we even can. in i9xx_select_p2_div()
936 static int hsw_crtc_compute_clock(struct intel_atomic_state *state, in hsw_crtc_compute_clock() argument
939 struct drm_i915_private *dev_priv = to_i915(state->base.dev); in hsw_crtc_compute_clock()
941 intel_atomic_get_new_crtc_state(state, crtc); in hsw_crtc_compute_clock()
943 intel_get_crtc_new_encoder(state, crtc_state); in hsw_crtc_compute_clock()
950 ret = intel_compute_shared_dplls(state, crtc, encoder); in hsw_crtc_compute_clock()
965 static int hsw_crtc_get_shared_dpll(struct intel_atomic_state *state, in hsw_crtc_get_shared_dpll() argument
968 struct drm_i915_private *dev_priv = to_i915(state in hsw_crtc_get_shared_dpll()
981 dg2_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) dg2_crtc_compute_clock() argument
999 mtl_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) mtl_crtc_compute_clock() argument
1140 ilk_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_crtc_compute_clock() argument
1195 ilk_crtc_get_shared_dpll(struct intel_atomic_state *state, struct intel_crtc *crtc) ilk_crtc_get_shared_dpll() argument
1243 chv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) chv_crtc_compute_clock() argument
1268 vlv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) vlv_crtc_compute_clock() argument
1294 g4x_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) g4x_crtc_compute_clock() argument
1341 pnv_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) pnv_crtc_compute_clock() argument
1377 i9xx_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) i9xx_crtc_compute_clock() argument
1415 i8xx_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) i8xx_crtc_compute_clock() argument
1495 intel_dpll_crtc_compute_clock(struct intel_atomic_state *state, struct intel_crtc *crtc) intel_dpll_crtc_compute_clock() argument
1521 intel_dpll_crtc_get_shared_dpll(struct intel_atomic_state *state, struct intel_crtc *crtc) intel_dpll_crtc_get_shared_dpll() argument
2075 assert_pll(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) assert_pll() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_bmap.c1112 "Offset 0x%llx, start block 0x%llx, block count 0x%llx state 0x%x", in xfs_bmap_complain_bad_rec()
1418 int i; /* temp state */ in xfs_bmap_add_extent_delay_real()
1423 uint32_t state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_delay_real() local
1458 state |= BMAP_LEFT_FILLING; in xfs_bmap_add_extent_delay_real()
1460 state |= BMAP_RIGHT_FILLING; in xfs_bmap_add_extent_delay_real()
1467 state |= BMAP_LEFT_VALID; in xfs_bmap_add_extent_delay_real()
1469 state |= BMAP_LEFT_DELAY; in xfs_bmap_add_extent_delay_real()
1472 if ((state & BMAP_LEFT_VALID) && !(state & BMAP_LEFT_DELAY) && in xfs_bmap_add_extent_delay_real()
1477 state | in xfs_bmap_add_extent_delay_real()
1974 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_unwritten_real() local
2503 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_hole_delay() local
2650 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_add_extent_hole_real() local
4813 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_del_extent_delay() local
4938 uint32_t state = BMAP_COWFORK; xfs_bmap_del_extent_cow() local
5027 uint32_t state = xfs_bmap_fork_to_state(whichfork); xfs_bmap_del_extent_real() local
[all...]

Completed in 58 milliseconds

1...<<131132133134135136137138139140>>...871