Searched refs:realSrc (Results 1 – 2 of 2) sorted by relevance
220 char* realSrc = (char *)malloc(PATH_MAX); in CopyFileImpl() local221 if (realSrc == NULL) { in CopyFileImpl()224 if (GetRealPath(src, realSrc, PATH_MAX) != NATIVE_SUCCESS) { in CopyFileImpl()225 free(realSrc); in CopyFileImpl()228 int fdSrc = open(realSrc, O_RDONLY, S_IRUSR); in CopyFileImpl()229 free(realSrc); in CopyFileImpl()230 realSrc = NULL; in CopyFileImpl()
376 char realSrc[PATH_MAX] = {}; in CopyDirectory() local378 if (realpath(srcFilePath.c_str(), realSrc) == nullptr || in CopyDirectory()383 FILE *srcFile = fopen(realSrc, "rb"); in CopyDirectory()