Lines Matching refs:fullpath
154 char *fullpath = NULL;
173 ret = vfs_normalize_path((const char *)NULL, path, &fullpath);
178 fullpath_bak = fullpath;
179 ret = stat(fullpath, &statBuff);
198 ret = SetWorkDir(fullpath, strlen(fullpath));
444 char *fullpath = NULL;
449 fullpath = (char *)malloc(strlen(path) + strlen(pdirent->d_name) + 2);
450 if (fullpath == NULL) {
455 ret = snprintf_s(fullpath, strlen(path) + strlen(pdirent->d_name) + 2,
458 free(fullpath);
464 fullpath = (char *)malloc(strlen(pdirent->d_name) + 2);
465 if (fullpath == NULL) {
470 ret = snprintf_s(fullpath, strlen(pdirent->d_name) + 2, strlen(pdirent->d_name) + 1,
473 free(fullpath);
478 return fullpath;
580 char *fullpath = NULL;
601 fullpath = ls_get_fullpath(path, pdirent);
602 if (fullpath == NULL) {
607 fullpath_bak = fullpath;
608 if (stat64(fullpath, &stat64Info) == 0) {
610 readlink(fullpath, linkName, NAME_MAX);
613 } else if (stat(fullpath, &statInfo) == 0) {
615 readlink(fullpath, linkName, NAME_MAX);