OpenOCD
|
Name Value Pairs, aka: NVP. More...
Data Fields | |
const char * | name |
int | value |
Name Value Pairs, aka: NVP.
Very useful when the number is not a simple index into an array of known string, or there may be multiple strings (aliases) that mean then same thing.
An NVP Table is terminated with ".name = NULL".
During the 'name2value' operation, if no matching string is found the pointer to the terminal element (with p->name == NULL) is returned.
Example:
During the number2name operation, the first matching value is returned.
const char* jim_nvp::name |
Definition at line 60 of file jim-nvp.h.
Referenced by arm_tpiu_swo_configure(), COMMAND_HANDLER(), dap_configure(), debug_reason_name(), jim_aice_newtap_cmd(), jim_arm_tpiu_swo_enable(), jim_get_nvp(), jim_hl_newtap_cmd(), jim_newtap_cmd(), jim_newtap_expected_id(), jim_newtap_ir_param(), jim_nvp_name2value(), jim_nvp_name2value_nocase(), jim_nvp_name2value_nocase_simple(), jim_nvp_name2value_simple(), jim_nvp_value2name(), jim_nvp_value2name_simple(), jim_set_result_nvp_unknown(), jim_target_wait_state(), jtag_tap_configure_cmd(), jtag_tap_handle_event(), target_configure(), target_event_name(), target_process_reset(), target_reset_mode_name(), and target_state_name().
int jim_nvp::value |
Definition at line 61 of file jim-nvp.h.
Referenced by aarch64_jim_configure(), adiv5_jim_spot_configure(), arm_tpiu_swo_configure(), COMMAND_HANDLER(), dap_configure(), jim_aice_newtap_cmd(), jim_arc_add_reg(), jim_arc_add_reg_type_flags(), jim_arc_add_reg_type_struct(), jim_arm_tpiu_swo_enable(), jim_hl_newtap_cmd(), jim_newtap_cmd(), jim_newtap_ir_param(), jim_nvp_value2name(), jim_nvp_value2name_simple(), jim_target_invoke_event(), jim_target_reset(), jim_target_wait_state(), jtag_tap_configure_cmd(), jtag_tap_configure_event(), and target_configure().