Searched refs:strPath (Results 1 – 2 of 2) sorted by relevance
| /kernel/liteos_a/apps/shell/src/ |
| D | shcmd.c | 112 static int OsStrSeparate(const char *tabStr, char *strPath, char *nameLooking, unsigned int tabStrL… in OsStrSeparate() argument 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() 145 strEnd = strrchr(strPath, '/'); in OsStrSeparate() 153 cutPos = strrchr(strPath, '/'); in OsStrSeparate() 210 static int OsPrintMatchList(unsigned int count, const char *strPath, const char *nameLooking, unsig… in OsPrintMatchList() argument 231 openDir = opendir(strPath); in OsPrintMatchList() 299 static int OsExecNameMatch(const char *strPath, const char *nameLooking, char *strObj, unsigned int… in OsExecNameMatch() argument 305 openDir = opendir(strPath); in OsExecNameMatch()
|
| /kernel/liteos_a/shell/full/src/base/ |
| D | shcmd.c | 108 STATIC INT32 OsStrSeparate(CHAR *tabStr, CHAR *strPath, CHAR *nameLooking, UINT32 tabStrLen) in OsStrSeparate() argument 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() 141 strEnd = strrchr(strPath, '/'); in OsStrSeparate() 203 STATIC INT32 OsPrintMatchList(UINT32 count, const CHAR *strPath, const CHAR *nameLooking, UINT32 pr… in OsPrintMatchList() argument 224 openDir = opendir(strPath); in OsPrintMatchList() 273 STATIC INT32 OsExecNameMatch(const CHAR *strPath, const CHAR *nameLooking, CHAR *strObj, UINT32 *ma… in OsExecNameMatch() argument 279 openDir = opendir(strPath); in OsExecNameMatch()
|