Lines Matching refs:srcFullPath
385 CHAR *srcFullPath = NULL;
408 ret = VfsNormalizePath(shellWorkingDirectory, srcFilePath, &srcFullPath);
417 ret = stat(srcFullPath, &statBuf);
419 PRINTK("cp %s error: %s\n", srcFullPath, strerror(errno));
425 PRINTK("cp %s error: Source file can't be a directory.\n", srcFullPath);
462 if (strcmp(srcFullPath, drcFullPath) == 0) {
463 PRINTK("cp error: '%s' and '%s' are the same file\n", srcFullPath, drcFullPath);
469 srcFd = open(srcFullPath, O_RDONLY);
471 PRINTK("cp error: can't open %s. %s.\n", srcFullPath, strerror(errno));
485 PRINTK("cp %s %s failed. %s.\n", srcFullPath, drcFullPath, strerror(errno));
490 PRINTK("cp %s %s failed. %s.\n", srcFullPath, drcFullPath, strerror(errno));
497 free(srcFullPath);
513 free(srcFullPath);
815 CHAR *srcFullPath = NULL;
831 ret = VfsNormalizePath(shellWorkingDirectory, src, &srcFullPath);
867 if (OsIsContainersWildcard(srcFullPath)) {
869 CHAR *srcCopy = strdup(srcFullPath);
881 ret = OsWildcardExtractDirectory(srcFullPath, drcFullPath, CP_FILE);
883 ret = OsShellCmdDoCp(srcFullPath, drcFullPath);
886 free(srcFullPath);
892 free(srcFullPath);