Lines Matching refs:statBuf
394 struct stat statBuf; in OsShellCmdDoCp() local
417 ret = stat(srcFullPath, &statBuf); in OsShellCmdDoCp()
422 srcMode = statBuf.st_mode; in OsShellCmdDoCp()
424 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
436 ret = stat(drcFullPath, &statBuf); in OsShellCmdDoCp()
439 if (S_ISDIR(statBuf.st_mode)) { in OsShellCmdDoCp()
700 struct stat statBuf; in OsWildcardExtractDirectory() local
709 ret = stat(fullpath, &statBuf); in OsWildcardExtractDirectory()
710 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
751 ret = stat(src, &statBuf); in OsWildcardExtractDirectory()
752 if (ret == 0 && (S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode))) { in OsWildcardExtractDirectory()
797 struct stat statBuf; in OsShellCmdCp() local
833 ret = stat(drcFullPath, &statBuf); in OsShellCmdCp()
841 if ((S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) && dst[strlen(dst) - 1] == '/') { in OsShellCmdCp()
848 if (ret < 0 || S_ISREG(statBuf.st_mode) || S_ISLNK(statBuf.st_mode)) { in OsShellCmdCp()