command_parse_str_to_buf() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDcommand_parse_str_to_buf()

command_parse_str_to_buf() function

Parse a number (base 10, base 16 or base 8) and store the result into a bit buffer. Use the prefixes '0' and '0x' for base 8 and 16, otherwise defaults to base 10. In case of parsing error, a user-readable error message is produced.

Syntax

COMMAND_HELPER(command_parse_str_to_buf, const char *str,     void *buf,     unsigned;
Implemented in command.c:1363

Arguments

cmd

str

buf

buf_len

References

LocationReferrerText
command.c:1363
COMMAND_HELPER(command_parse_str_to_buf, const char *str, void *buf, unsigned int buf_len)
command.h:527
COMMAND_HELPER(command_parse_str_to_buf, const char *str, void *buf, unsigned int buf_len);
target.c:3146handle_reg_command()
int retval = CALL_COMMAND_HANDLER(command_parse_str_to_buf, CMD_ARGV[1], buf, reg->size);
target.c:4948handle_set_reg_command()
int retval = CALL_COMMAND_HANDLER(command_parse_str_to_buf, reg_value, buf, reg->size);
tcl.c:92handle_jtag_command_drscan_fields()
int ret = CALL_COMMAND_HANDLER(command_parse_str_to_buf, CMD_ARGV[i + 1], t, bits);

Call Tree

Functions calling command_parse_str_to_buf()
Functions called by command_parse_str_to_buf()
command_parse_str_to_buf()
all items filtered out
Data read by command_parse_str_to_buf()
command_parse_str_to_buf()