/dports/misc/ytree/ytree-2.03/ |
H A D | chgrp.c | 32 if( ( group_id = GetNewGroup( fe_ptr->stat_struct.st_gid ) ) >= 0 ) in ChangeFileGroup() 87 struct stat stat_struct; in SetFileGroup() local 99 fe_ptr->stat_struct.st_uid , in SetFileGroup() 106 if( STAT_( buffer, &stat_struct ) ) in SetFileGroup() 112 fe_ptr->stat_struct = stat_struct; in SetFileGroup() 141 if( ( group_id = GetNewGroup( de_ptr->stat_struct.st_gid ) ) >= 0 ) in ChangeDirGroup() 155 struct stat stat_struct; in SetDirGroup() local 163 de_ptr->stat_struct.st_uid , in SetDirGroup() 170 if( STAT_( buffer, &stat_struct ) ) in SetDirGroup() 176 de_ptr->stat_struct = stat_struct; in SetDirGroup()
|
H A D | chown.c | 32 if( ( owner_id = GetNewOwner( fe_ptr->stat_struct.st_uid ) ) >= 0 ) in ChangeFileOwner() 87 struct stat stat_struct; in SetFileOwner() local 100 fe_ptr->stat_struct.st_gid in SetFileOwner() 106 if( STAT_( buffer, &stat_struct ) ) in SetFileOwner() 112 fe_ptr->stat_struct = stat_struct; in SetFileOwner() 142 if( ( owner_id = GetNewOwner( de_ptr->stat_struct.st_uid ) ) >= 0 ) in ChangeDirOwner() 156 struct stat stat_struct; in SetDirOwner() local 165 de_ptr->stat_struct.st_gid in SetDirOwner() 171 if( STAT_( buffer, &stat_struct ) ) in SetDirOwner() 177 de_ptr->stat_struct = stat_struct; in SetDirOwner()
|
H A D | chmod.c | 33 (void) GetAttributes( fe_ptr->stat_struct.st_mode, modus ); in ChangeFileModus() 64 (void) GetAttributes( de_ptr->stat_struct.st_mode, modus ); in ChangeDirModus() 153 struct stat stat_struct; in SetFileModus() local 162 new_modus = GetNewModus( fe_ptr->stat_struct.st_mode, in SetFileModus() 166 new_modus = new_modus | ( fe_ptr->stat_struct.st_mode & in SetFileModus() 174 if( STAT_( buffer, &stat_struct ) ) in SetFileModus() 180 fe_ptr->stat_struct = stat_struct; in SetFileModus() 200 struct stat stat_struct; in SetDirModus() local 207 new_modus = GetNewModus( de_ptr->stat_struct.st_mode, in SetDirModus() 219 if( STAT_( buffer, &stat_struct ) ) in SetDirModus() [all …]
|
H A D | readtree.c | 26 struct stat stat_struct; in ReadTree() local 61 if( S_ISBLK( dir_entry->stat_struct.st_mode ) ) in ReadTree() 109 if( STAT_( new_path, &stat_struct ) ) in ReadTree() 117 if( S_ISDIR( stat_struct.st_mode ) ) in ReadTree() 134 (void) memcpy( &den_ptr->stat_struct, in ReadTree() 135 &stat_struct, in ReadTree() 136 sizeof( stat_struct ) in ReadTree() 184 if( S_ISLNK( stat_struct.st_mode ) ) in ReadTree() 227 (void) memcpy( &fen_ptr->stat_struct, in ReadTree() 228 &stat_struct, in ReadTree() [all …]
|
H A D | rename.c | 27 struct stat stat_struct; in RenameDirectory() local 73 if( STAT_( to_path, &stat_struct ) ) in RenameDirectory() 91 (void) memcpy( &den_ptr->stat_struct, in RenameDirectory() 92 &stat_struct, in RenameDirectory() 93 sizeof( stat_struct ) in RenameDirectory() 149 struct stat stat_struct; in RenameFile() local 182 if( STAT_( to_path, &stat_struct ) ) in RenameFile() 199 (void) memcpy( &fen_ptr->stat_struct, in RenameFile() 200 &stat_struct, in RenameFile() 201 sizeof( stat_struct ) in RenameFile()
|
H A D | filewin.c | 377 return( e1->file->stat_struct.st_mtime - e2->file->stat_struct.st_mtime ); in SortByModTime() 379 return( - (e1->file->stat_struct.st_mtime - e2->file->stat_struct.st_mtime ) ); in SortByModTime() 385 return( e1->file->stat_struct.st_ctime - e2->file->stat_struct.st_ctime ); in SortByChgTime() 387 return( - (e1->file->stat_struct.st_ctime - e2->file->stat_struct.st_ctime ) ); in SortByChgTime() 393 return( e1->file->stat_struct.st_atime - e2->file->stat_struct.st_atime ); in SortByAccTime() 395 return( - (e1->file->stat_struct.st_atime - e2->file->stat_struct.st_atime ) ); in SortByAccTime() 401 return( e1->file->stat_struct.st_size - e2->file->stat_struct.st_size ); in SortBySize() 403 return( - (e1->file->stat_struct.st_size - e2->file->stat_struct.st_size) ); in SortBySize() 627 fe_ptr->stat_struct.st_nlink, in PrintFileEntry() 643 fe_ptr->stat_struct.st_nlink, in PrintFileEntry() [all …]
|
H A D | move.c | 32 struct stat stat_struct; in MoveFile() local 140 if( STAT_( to_path, &stat_struct ) ) in MoveFile() 146 file_size = stat_struct.st_size; in MoveFile() 170 (void) memcpy( &fen_ptr->stat_struct, in MoveFile() 171 &stat_struct, in MoveFile() 172 sizeof( stat_struct ) in MoveFile()
|
H A D | copy.c | 36 struct stat stat_struct; in CopyFile() local 186 if( chmod( to_path, fe_ptr->stat_struct.st_mode ) == -1 ) in CopyFile() 189 to_path, GetAttributes(fe_ptr->stat_struct.st_mode, buffer) ); in CopyFile() 195 if( STAT_( to_path, &stat_struct ) ) in CopyFile() 201 file_size = stat_struct.st_size; in CopyFile() 223 (void) memcpy( &fen_ptr->stat_struct, in CopyFile() 224 &stat_struct, in CopyFile() 225 sizeof( stat_struct ) in CopyFile()
|
H A D | dirwin.c | 166 de_ptr->stat_struct.st_nlink, in PrintDirEntry() 173 de_ptr->stat_struct.st_nlink, in PrintDirEntry() 174 de_ptr->stat_struct.st_size, in PrintDirEntry() 201 de_ptr->stat_struct.st_ino, in PrintDirEntry() 646 dir_entry->tagged_bytes += fe_ptr->stat_struct.st_size; in HandleTagDir() 648 statistic.disk_tagged_bytes += fe_ptr->stat_struct.st_size; in HandleTagDir() 651 dir_entry->tagged_bytes -= fe_ptr->stat_struct.st_size; in HandleTagDir() 653 statistic.disk_tagged_bytes -= fe_ptr->stat_struct.st_size; in HandleTagDir() 679 dir_entry->tagged_bytes += fe_ptr->stat_struct.st_size; in HandleTagAllDirs() 681 statistic.disk_tagged_bytes += fe_ptr->stat_struct.st_size; in HandleTagAllDirs() [all …]
|
H A D | util.c | 69 if( S_ISLNK( file_entry->stat_struct.st_mode ) ) in GetRealFileNamePath() 79 if( S_ISLNK( file_entry->stat_struct.st_mode ) ) in GetRealFileNamePath() 933 if( fe_ptr && S_ISLNK( fe_ptr->stat_struct.st_mode ) ) in BuildUserFileEntry() 940 (void) GetAttributes( fe_ptr->stat_struct.st_mode, attributes); in BuildUserFileEntry() 942 (void) CTime( fe_ptr->stat_struct.st_mtime, modify_time ); in BuildUserFileEntry() 943 (void) CTime( fe_ptr->stat_struct.st_ctime, change_time ); in BuildUserFileEntry() 944 (void) CTime( fe_ptr->stat_struct.st_atime, access_time ); in BuildUserFileEntry() 946 owner_name_ptr = GetPasswdName(fe_ptr->stat_struct.st_uid); in BuildUserFileEntry() 947 group_name_ptr = GetGroupName(fe_ptr->stat_struct.st_gid); in BuildUserFileEntry() 980 n = sprintf(dptr, "%7d", fe_ptr->stat_struct.st_size); in BuildUserFileEntry() [all …]
|
H A D | mkdir.c | 49 struct stat stat_struct; in MakeDirEntry() local 113 if( STAT_( buffer, &stat_struct ) ) in MakeDirEntry() 119 (void) memcpy( &den_ptr->stat_struct, in MakeDirEntry() 120 &stat_struct, in MakeDirEntry() 121 sizeof( stat_struct ) in MakeDirEntry()
|
H A D | delete.c | 29 if( !S_ISLNK( fe_ptr->stat_struct.st_mode ) ) in DeleteFile() 41 fe_ptr->stat_struct.st_mode & 0777, fe_ptr->name); in DeleteFile() 93 file_size = fe_ptr->stat_struct.st_size; in RemoveFile()
|
H A D | archive.c | 75 (void) memcpy( (char *) &de_ptr->stat_struct, (char *) stat, sizeof( struct stat ) ); in InsertArchiveDirEntry() 172 struct stat stat_struct; in InsertArchiveFileEntry() local 190 (void) memset( (char *) &stat_struct, 0, sizeof( struct stat ) ); in InsertArchiveFileEntry() 191 stat_struct.st_mode = S_IFDIR; in InsertArchiveFileEntry() 193 if( TryInsertArchiveDirEntry( tree, dir, &stat_struct ) ) in InsertArchiveFileEntry() 218 (void) memcpy( (char *) &fe_ptr->stat_struct, (char *) stat, sizeof( struct stat ) ); in InsertArchiveFileEntry() 423 (void) memcpy( (char *) &tree->stat_struct, in MinimizeArchiveTree() 424 (char *) &de_ptr->stat_struct, in MinimizeArchiveTree()
|
H A D | login.c | 49 struct stat stat_struct; in LoginDisk() local 97 if( STAT_( path, &stat_struct ) ) in LoginDisk() 129 (void) memcpy( &statistic.tree->stat_struct, in LoginDisk() 130 &stat_struct, in LoginDisk() 131 sizeof( stat_struct ) in LoginDisk() 135 if( !S_ISDIR(stat_struct.st_mode ) ) in LoginDisk()
|
H A D | rpm.c | 82 (void) memset( (char *) &dir_entry->stat_struct, 0, sizeof( struct stat ) ); in ReadTreeFromRPM() 83 dir_entry->stat_struct.st_mode = S_IFDIR; in ReadTreeFromRPM()
|
H A D | rar.c | 63 (void) memset( (char *) &dir_entry->stat_struct, 0, sizeof( struct stat ) ); in ReadTreeFromRAR() 64 dir_entry->stat_struct.st_mode = S_IFDIR; in ReadTreeFromRAR()
|
H A D | arc.c | 63 (void) memset( (char *) &dir_entry->stat_struct, 0, sizeof( struct stat ) ); in ReadTreeFromARC() 64 dir_entry->stat_struct.st_mode = S_IFDIR; in ReadTreeFromARC()
|
/dports/devel/py-kazoo/kazoo-2.5.0/kazoo/protocol/ |
H A D | serialization.py | 23 stat_struct = struct.Struct('!qqqqiiiqiiq') variable 166 stat = ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 182 stat = ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 198 return ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 218 stat = ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 237 return ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 294 stat = ZnodeStat._make(stat_struct.unpack_from(bytes, offset)) 330 stat_struct.unpack_from(bytes, offset)) 331 offset += stat_struct.size 369 stat = ZnodeStat._make(stat_struct.unpack_from(bytes, offset))
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/artwork/ |
H A D | artwork_internal.c | 104 struct stat stat_struct; in check_dir() local 105 if (!stat (path, &stat_struct)) { in check_dir() 106 return S_ISDIR (stat_struct.st_mode); in check_dir()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/3rdparty/dmlc-core/src/io/ |
H A D | single_file_split.h | 19 #define stat_struct __stat64 macro 23 #define stat_struct stat macro 62 struct stat_struct buf; in GetTotalSize()
|
H A D | local_filesys.cc | 14 #define stat_struct stat macro 18 #define stat_struct __stat64 macro 70 struct stat_struct sb; in GetPathInfo()
|
/dports/devel/dmlc-core/dmlc-core-0.3-123-gb3a4c71/src/io/ |
H A D | single_file_split.h | 19 #define stat_struct __stat64 macro 23 #define stat_struct stat macro 62 struct stat_struct buf; in GetTotalSize()
|
H A D | local_filesys.cc | 14 #define stat_struct stat macro 18 #define stat_struct __stat64 macro 70 struct stat_struct sb; in GetPathInfo()
|
/dports/net/tcpick/tcpick-0.2.1/src/ |
H A D | write.c | 45 struct stat stat_struct; in avail_filename() local 60 if( stat(dir_name, &stat_struct) == -1 ) { in avail_filename() 133 while(! stat( test_name, &stat_struct )) { in avail_filename()
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/liboggedit/ |
H A D | oggedit_internal.c | 110 struct stat stat_struct; in ensure_directory() local 111 if (!stat(path, &stat_struct)) in ensure_directory() 112 return !S_ISDIR(stat_struct.st_mode); in ensure_directory() 145 struct stat stat_struct; in open_temp_file() local 146 if (!stat(fname, &stat_struct)) { in open_temp_file() 147 chmod(tempname, stat_struct.st_mode); in open_temp_file()
|