Searched refs:CMD_MAX_PATH (Results 1 – 5 of 5) sorted by relevance
/kernel/liteos_a/apps/shell/src/ |
D | shcmd.c | 127 if (strncpy_s(strPath, CMD_MAX_PATH, shellWorkingDirectory, CMD_MAX_PATH - 1)) { in OsStrSeparate() 132 if (strncat_s(strPath, CMD_MAX_PATH - 1, "/", CMD_MAX_PATH - strlen(strPath) - 1)) { in OsStrSeparate() 139 if (strncat_s(strPath, CMD_MAX_PATH - 1, tabStr, CMD_MAX_PATH - strlen(strPath) - 1)) { in OsStrSeparate() 147 if (strncpy_s(nameLooking, CMD_MAX_PATH, strEnd + 1, CMD_MAX_PATH - 1)) { /* get cmp str */ in OsStrSeparate() 315 if (strncpy_s(strObj, CMD_MAX_PATH, readDir->d_name, CMD_MAX_PATH - 1)) { in OsExecNameMatch() 343 char *dirOpen = (char *)malloc(CMD_MAX_PATH * 3); /* 3:dirOpen\strOutput\strCmp */ in OsTabMatchFile() 348 (void)memset_s(dirOpen, CMD_MAX_PATH * 3, 0, CMD_MAX_PATH * 3); /* 3:dirOpen\strOutput\strCmp */ in OsTabMatchFile() 349 strOutput = dirOpen + CMD_MAX_PATH; in OsTabMatchFile() 350 strCmp = strOutput + CMD_MAX_PATH; in OsTabMatchFile()
|
/kernel/liteos_a/shell/full/src/base/ |
D | shcmd.c | 123 if (strncpy_s(strPath, CMD_MAX_PATH, shellWorkingDirectory, CMD_MAX_PATH - 1)) { in OsStrSeparate() 128 if (strncat_s(strPath, CMD_MAX_PATH, "/", CMD_MAX_PATH - strlen(strPath) - 1)) { in OsStrSeparate() 135 if (strncat_s(strPath, CMD_MAX_PATH, tabStr, CMD_MAX_PATH - strlen(strPath) - 1)) { in OsStrSeparate() 144 if (strncpy_s(nameLooking, CMD_MAX_PATH, strEnd + 1, CMD_MAX_PATH - 1)) { /* get cmp str */ in OsStrSeparate() 289 if (strncpy_s(strObj, CMD_MAX_PATH, readDir->d_name, CMD_MAX_PATH - 1)) { in OsExecNameMatch() 390 …CHAR *dirOpen = (CHAR *)LOS_MemAlloc(m_aucSysMem0, CMD_MAX_PATH * 3); /* 3:dirOpen\strOutput\strCm… in OsTabMatchFile() 395 (VOID)memset_s(dirOpen, CMD_MAX_PATH * 3, 0, CMD_MAX_PATH * 3); /* 3:dirOpen\strOutput\strCmp */ in OsTabMatchFile() 396 strOutput = dirOpen + CMD_MAX_PATH; in OsTabMatchFile() 397 strCmp = strOutput + CMD_MAX_PATH; in OsTabMatchFile()
|
/kernel/liteos_a/apps/shell/include/ |
D | shell.h | 55 #define CMD_MAX_PATH 256 macro
|
/kernel/liteos_m/components/shell/include/ |
D | shell.h | 67 #define CMD_MAX_PATH 256 macro
|
/kernel/liteos_a/shell/full/include/ |
D | shell.h | 68 #define CMD_MAX_PATH 256 macro
|