/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE16F16/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV56F24/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV58F24/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE14F16/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE18F16/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK22F12/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 621 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 625 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 626 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 627 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 629 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 631 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 653 if (shellContextHandle->hist_buf[0][0] == '\0') 678 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 680 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX3/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE06Z4/utilities/ |
D | fsl_shell.c | 151 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand() 673 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 674 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); in SHELL_ProcessCommand() 675 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); in SHELL_ProcessCommand() 677 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand() 701 if (shellContextHandle->hist_buf[0][0] == '\0') in SHELL_GetHistoryCommand() 726 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); in SHELL_GetHistoryCommand() 728 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… in SHELL_GetHistoryCommand() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX5/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX4/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX5/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKL27Z644/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54113/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54114/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX6/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKL17Z644/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX6/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8DX3/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE04Z1284/utilities/ |
D | fsl_shell.c | 151 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand() 673 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 674 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); in SHELL_ProcessCommand() 675 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); in SHELL_ProcessCommand() 677 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand() 701 if (shellContextHandle->hist_buf[0][0] == '\0') in SHELL_GetHistoryCommand() 726 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); in SHELL_GetHistoryCommand() 728 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… in SHELL_GetHistoryCommand() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8DX2/utilities/ |
D | fsl_shell.c | 118 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 623 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… 627 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); 628 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); 629 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); 631 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); 633 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); 655 if (shellContextHandle->hist_buf[0][0] == '\0') 680 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); 682 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK24F12/utilities/ |
D | fsl_shell.c | 151 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand() 673 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 674 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); in SHELL_ProcessCommand() 675 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); in SHELL_ProcessCommand() 677 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand() 701 if (shellContextHandle->hist_buf[0][0] == '\0') in SHELL_GetHistoryCommand() 726 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); in SHELL_GetHistoryCommand() 728 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… in SHELL_GetHistoryCommand() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK26F18/utilities/ |
D | fsl_shell.c | 151 char hist_buf[SHELL_HISTORY_COUNT][SHELL_BUFFER_SIZE]; /*!< History buffer*/ member 669 …if (tmpLen != (uint8_t)SHELL_StringCompare(cmd, shellContextHandle->hist_buf[0], (int32_t)strlen(c… in SHELL_ProcessCommand() 673 (void)memset(shellContextHandle->hist_buf[i], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 674 tmpLen = (uint8_t)strlen(shellContextHandle->hist_buf[i - 1U]); in SHELL_ProcessCommand() 675 … (void)memcpy(shellContextHandle->hist_buf[i], shellContextHandle->hist_buf[i - 1U], tmpLen); in SHELL_ProcessCommand() 677 (void)memset(shellContextHandle->hist_buf[0], (int)'\0', SHELL_BUFFER_SIZE); in SHELL_ProcessCommand() 679 (void)memcpy(shellContextHandle->hist_buf[0], cmd, tmpLen); in SHELL_ProcessCommand() 701 if (shellContextHandle->hist_buf[0][0] == '\0') in SHELL_GetHistoryCommand() 726 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->hist_buf[hist_pos]); in SHELL_GetHistoryCommand() 728 …(void)memcpy(shellContextHandle->line, shellContextHandle->hist_buf[hist_pos], shellContextHandle-… in SHELL_GetHistoryCommand() [all …]
|