Searched refs:hist_buf (Results 1 – 2 of 2) sorted by relevance
| /bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/utilities/ |
| A D | fsl_shell.c | 391 if (tmpLen != StrCompare(cmd, context->hist_buf[0], StrLen(cmd))) in ProcessCommand() 395 memset(context->hist_buf[i], '\0', SHELL_BUFFER_SIZE); in ProcessCommand() 396 tmpLen = StrLen(context->hist_buf[i - 1]); in ProcessCommand() 397 StrCopy(context->hist_buf[i], context->hist_buf[i - 1], tmpLen); in ProcessCommand() 399 memset(context->hist_buf[0], '\0', SHELL_BUFFER_SIZE); in ProcessCommand() 401 StrCopy(context->hist_buf[0], cmd, tmpLen); in ProcessCommand() 423 if (context->hist_buf[0][0] == '\0') in GetHistoryCommand() 443 context->l_pos = StrLen(context->hist_buf[hist_pos]); in GetHistoryCommand() 445 StrCopy(context->line, context->hist_buf[hist_pos], context->l_pos); in GetHistoryCommand() 446 context->printf_data_func(context->hist_buf[hist_pos]); in GetHistoryCommand()
|
| A D | fsl_shell.h | 100 char hist_buf[SHELL_HIST_MAX][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member
|
Completed in 9 milliseconds