Home
last modified time | relevance | path

Searched refs:l_pos (Results 1 – 25 of 129) sorted by relevance

123456

/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE16F16/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV56F24/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV58F24/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE14F16/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE18F16/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK22F12/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
369 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
395 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
396 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
409 shellContextHandle->l_pos--; in SHELL_Task()
412 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
416 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
417 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
425 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
433 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX3/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE06Z4/utilities/
Dfsl_shell.c158 uint8_t l_pos; /*!< Total line position */ member
414 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
440 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
441 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
454 shellContextHandle->l_pos--; in SHELL_Task()
457 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
461 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
462 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
470 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
478 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX5/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX4/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX5/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKL27Z644/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54113/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54114/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX6/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKL17Z644/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX6/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8DX3/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE04Z1284/utilities/
Dfsl_shell.c158 uint8_t l_pos; /*!< Total line position */ member
414 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
440 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
441 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
454 shellContextHandle->l_pos--; in SHELL_Task()
457 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
461 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
462 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
470 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
478 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8DX2/utilities/
Dfsl_shell.c125 uint8_t l_pos; /*!< Total line position */ member
371 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
397 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
398 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
411 shellContextHandle->l_pos--; in SHELL_Task()
414 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
418 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
419 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
427 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
435 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK24F12/utilities/
Dfsl_shell.c158 uint8_t l_pos; /*!< Total line position */ member
414 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
440 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
441 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
454 shellContextHandle->l_pos--; in SHELL_Task()
457 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
461 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
462 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
470 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
478 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK26F18/utilities/
Dfsl_shell.c158 uint8_t l_pos; /*!< Total line position */ member
414 if (shellContextHandle->c_pos < shellContextHandle->l_pos) in SHELL_Task()
440 shellContextHandle->l_pos = (uint8_t)strlen(shellContextHandle->line); in SHELL_Task()
441 shellContextHandle->c_pos = shellContextHandle->l_pos; in SHELL_Task()
454 shellContextHandle->l_pos--; in SHELL_Task()
457 if (shellContextHandle->l_pos > shellContextHandle->c_pos) in SHELL_Task()
461 … (uint32_t)shellContextHandle->l_pos - (uint32_t)shellContextHandle->c_pos); in SHELL_Task()
462 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
470 … for (i = (uint32_t)shellContextHandle->c_pos; i <= (uint32_t)shellContextHandle->l_pos; i++) in SHELL_Task()
478 shellContextHandle->line[shellContextHandle->l_pos] = '\0'; in SHELL_Task()
[all …]

123456