Home
last modified time | relevance | path

Searched refs:FINSH_CMD_SIZE (Results 1 – 4 of 4) sorted by relevance

/components/finsh/
A Dshell.h23 #ifndef FINSH_CMD_SIZE
24 #define FINSH_CMD_SIZE 80 macro
74 char cmd_history[FINSH_HISTORY_LINES][FINSH_CMD_SIZE];
77 char line[FINSH_CMD_SIZE + 1];
A Dshell.c426 if (memcmp(&shell->cmd_history[FINSH_HISTORY_LINES - 1], shell->line, FINSH_CMD_SIZE)) in shell_push_history()
433 &shell->cmd_history[index + 1][0], FINSH_CMD_SIZE); in shell_push_history()
435 rt_memset(&shell->cmd_history[index][0], 0, FINSH_CMD_SIZE); in shell_push_history()
445 …y_count == 0 || memcmp(&shell->cmd_history[shell->history_count - 1], shell->line, FINSH_CMD_SIZE)) in shell_push_history()
448 rt_memset(&shell->cmd_history[shell->history_count][0], 0, FINSH_CMD_SIZE); in shell_push_history()
595 FINSH_CMD_SIZE); in finsh_thread_entry()
617 FINSH_CMD_SIZE); in finsh_thread_entry()
785 if (shell->line_position >= FINSH_CMD_SIZE) in finsh_thread_entry()
814 if (shell->line_position >= FINSH_CMD_SIZE) in finsh_thread_entry()
A DKconfig48 config FINSH_CMD_SIZE config
/components/net/at/src/
A Dat_cli.c201 char cur_line[FINSH_CMD_SIZE] = { 0 }; in client_cli_parser()
257 if(cur_line_len >= FINSH_CMD_SIZE) in client_cli_parser()

Completed in 9 milliseconds