Home
last modified time | relevance | path

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

/kernel/liteos_m/components/shell/src/base/
Dshmsg.c75 const CHAR *tmpStr = NULL; in GetCmdName() local
90 for (tmpStr = cmdline, loop = 0; (*tmpStr != '\0') && (loop < len); ) { in GetCmdName()
92 if (*tmpStr == '\"') { in GetCmdName()
95 tmpStr++; in GetCmdName()
100 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in GetCmdName()
103 cmdName[loop] = *tmpStr++; in GetCmdName()
/kernel/liteos_a/shell/full/src/base/
Dshmsg.c235 const CHAR *tmpStr = NULL; in ShellMsgNameGetAndExec() local
244 for (tmpStr = output, loop = 0; (*tmpStr != '\0') && (loop < len);) { in ShellMsgNameGetAndExec()
246 if (*tmpStr == '\"') { in ShellMsgNameGetAndExec()
249 tmpStr++; in ShellMsgNameGetAndExec()
254 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in ShellMsgNameGetAndExec()
257 msgName[loop] = *tmpStr++; in ShellMsgNameGetAndExec()
/kernel/liteos_a/apps/shell/src/
Dshmsg.c318 const char *tmpStr = NULL; in GetCmdName() local
333 for (tmpStr = cmdline, loop = 0; (*tmpStr != '\0') && (loop < len); ) { in GetCmdName()
335 if (*tmpStr == '\"') { in GetCmdName()
338 tmpStr++; in GetCmdName()
343 if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) { in GetCmdName()
346 cmdName[loop] = *tmpStr++; in GetCmdName()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c986 char tmpStr[MAX_MACADDR_STRING_LENGTH]; in lwip_ifconfig() local
997 if (strncpy_s(tmpStr, MAX_MACADDR_STRING_LENGTH, argv[i + 2], macaddrlen - 1) != 0) { in lwip_ifconfig()
1002 for (j = 0, tmpStr1 = tmpStr; j < 6; j++, tmpStr1 = NULL) { in lwip_ifconfig()
1407 char tmpStr[MAX_MACADDR_STRING_LENGTH]; in lwip_arp() local
1432 if (strncpy_s(tmpStr, MAX_MACADDR_STRING_LENGTH, argv[i + 2], macaddrlen - 1) != 0) { in lwip_arp()
1437 for (j = 0, tmpStr1 = tmpStr; j < 6; j++, tmpStr1 = NULL) { in lwip_arp()