Searched refs:curPath (Results 1 – 2 of 2) sorted by relevance
184 char curPath[PATH_MAX_LEN]; in CreateLogDir() local195 (void)memset_s(curPath, sizeof(curPath), 0, sizeof(curPath)); in CreateLogDir()196 curPath[idx++] = *dirPath++; in CreateLogDir()197 while (*dirPath != '\0' && idx < sizeof(curPath)) { in CreateLogDir()199 if (CreateNewDir(curPath) != 0) { in CreateLogDir()203 curPath[idx] = *dirPath; in CreateLogDir()212 return CreateNewDir(curPath); in CreateLogDir()
45 char curPath[1024] = { 0 }; /* 1024, buffer size */ in Testcase() local47 handle = getcwd(curPath, sizeof(curPath)); in Testcase()78 ret = chdir(curPath); in Testcase()87 ret = chdir(curPath); in Testcase()