Lines Matching refs:stat64Info
485 static void PrintFileInfo64(const struct stat64 *stat64Info, const char *name) in PrintFileInfo64() argument
493 mode = stat64Info->st_mode >> (uint)(USER_MODE_SHIFT - i * UGO_NUMS); in PrintFileInfo64()
499 if (S_ISDIR(stat64Info->st_mode)) { in PrintFileInfo64()
501 } else if (S_ISLNK(stat64Info->st_mode)) { in PrintFileInfo64()
508 …str[0], str[1], str[UGO_NUMS - 1], stat64Info->st_size, stat64Info->st_uid, stat64Info->st_gid, na… in PrintFileInfo64()
539 struct stat64 stat64Info; in LsFile() local
542 if (stat64(path, &stat64Info) == 0) { in LsFile()
543 PrintFileInfo64(&stat64Info, path); in LsFile()
556 struct stat64 stat64Info = { 0 }; in LsDir() local
577 (void)memset_s(&stat64Info, sizeof(struct stat), 0, sizeof(struct stat)); in LsDir()
585 if (stat64(fullpath, &stat64Info) == 0) { in LsDir()
586 PrintFileInfo64(&stat64Info, pdirent->d_name); in LsDir()