Searched defs:stat (Results 1 - 25 of 54) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Deinfo.c26 #include <sys/stat.h>
56 struct stat stat; local
69 if ( fstat ( fd, &stat ) < 0 ) {
70 eprintf ( "Cannot stat \"%s\": %s\n",
74 len = stat.st_size;
H A Diccfix.c10 #include <sys/stat.h>
84 struct stat stat; local
97 if ( fstat ( fd, &stat ) < 0 ) {
103 elf = mmap ( NULL, stat.st_size, ( PROT_READ | PROT_WRITE ),
128 munmap ( elf, stat.st_size );
H A Dzbin.c2 #include <sys/stat.h>
76 struct stat stat; local
85 if ( fstat ( fileno ( file ), &stat ) < 0 ) {
86 fprintf ( stderr, "Could not stat %s: %s\n", filename,
91 *len = stat.st_size;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/
H A DInstallPkg.py24 import stat namespace
627 chmod(ToFile, stat.S_IREAD)
629 chmod(ToFile, stat.S_IREAD|stat.S_IEXEC)
631 chmod(ToFile, stat.S_IREAD|stat.S_IWRITE|stat.S_IEXEC)
633 chmod(ToFile, stat.S_IREAD|stat.S_IWRITE)
704 chmod(ToFile, stat
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/sys/
H A Dstat.h72 struct stat { struct
192 static inline int fstat(int fd, struct stat* ptr) { return _fstat(fd, (struct _stat*)ptr); }
193 static inline int stat(const char* path, struct stat* ptr) { return _stat(path, (struct _stat*)ptr); } function
/vbox/src/VBox/Additions/linux/sharedfolders/
H A Dvfsmod.c273 LogFunc(("could not stat root of share\n"));
442 static int sf_statfs(struct super_block *sb, STRUCT_STATFS *stat) argument
444 return sf_get_volume_info(sb, stat);
447 static int sf_statfs(struct dentry *dentry, STRUCT_STATFS *stat) argument
450 return sf_get_volume_info(sb, stat);
H A Dutils.c830 int sf_get_volume_info(struct super_block *sb, STRUCT_STATFS *stat) argument
844 stat->f_type = NFS_SUPER_MAGIC; /* XXX vboxsf type? */
845 stat->f_bsize = SHFLVolumeInfo.ulBytesPerAllocationUnit;
846 stat->f_blocks = SHFLVolumeInfo.ullTotalAllocationBytes
848 stat->f_bfree = SHFLVolumeInfo.ullAvailableAllocationBytes
850 stat->f_bavail = SHFLVolumeInfo.ullAvailableAllocationBytes
852 stat->f_files = 1000;
853 stat->f_ffree = 1000; /* don't return 0 here since the guest may think
855 stat->f_fsid.val[0] = 0;
856 stat
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/sys/
H A Dstat.h82 struct stat { struct
157 static inline int fstat(int fd, struct stat* ptr) { return _fstat(fd, (struct _stat*)ptr); }
158 static inline int stat(const char* path, struct stat* ptr) { return _stat(path, (struct _stat*)ptr); } function
/vbox/src/libs/xpcom18a4/xpcom/base/
H A DnsMemoryImpl.cpp360 MEMORYSTATUS stat; local
361 GlobalMemoryStatus(&stat);
362 *result = ((float)stat.dwAvailPageFile / stat.dwTotalPageFile) < 0.1;
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXw32defs.h8 # define lstat stat
46 # define stat _stat macro
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Dstat.h44 stat.h 8.12 (Berkeley) 8/17/94
45 NetBSD: stat.h,v 1.54 2006/02/24 22:01:30 thorpej Exp
54 struct stat { struct
149 #define S_BLKSIZE 512 ///< block size used in the stat struct
186 int fstat (int, struct stat *);
190 int lstat (const char *, struct stat *);
194 int stat (const char *, struct stat *);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/
H A DSysCalls.c32 #include <sys/stat.h>
886 The buf argument is a pointer to a stat structure, as defined
887 in <sys/stat.h>, into which information is placed concerning the file.
894 into the stat structure.
899 The stat structure members which don't have direct analogs to EFI file
916 fstat (int fd, struct stat *statbuf)
941 stat (const char *path, struct stat *statbuf) function
956 /** Same as stat since EFI doesn't have symbolic links. **/
958 lstat (const char *path, struct stat *statbu
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_stream.c868 ClientStatus stat = crServerServiceClient(q); local
869 if (stat == CLIENT_NEXT && cr_server.run_queue->next) {
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/
H A DOpenSslSupport.h120 struct stat { struct
183 int stat (const char *, struct stat *);
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/SysCall/
H A DCrtWrapper.c427 int stat (const char *c, struct stat *s) function
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/
H A Dwchar.h137 struct stat { struct
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_proc.c833 int stat = prp ? prp->pr_wstat : 0; local
840 } else if (WIFSIGNALED(stat)) {
843 "from signal %d\n", pid, WTERMSIG(stat));
847 "with status %d\n", pid, WEXITSTATUS(stat));
/vbox/src/VBox/Additions/haiku/SharedFolders/
H A Dvboxsf.c275 status_t vboxsf_read_stat(fs_volume* _volume, fs_vnode* _vnode, struct stat* st)
800 status_t vboxsf_write_stat(fs_volume *volume, fs_vnode *vnode, const struct stat *stat, uint32 statMask) argument
802 /* The host handles updating the stat info - in the guest, this is a no-op */
/vbox/src/VBox/Additions/solaris/SharedFolders/
H A Dvboxfs_prov.c32 #include <sys/stat.h>
296 sfprov_stat_from_info(sfp_mount_t *mnt, sffs_stat_t *stat, SHFLFSOBJINFO *info) argument
298 sfprov_mode_from_fmode(mnt, &stat->sf_mode, info->Attr.fMode);
299 stat->sf_size = info->cbObject;
300 stat->sf_alloc = info->cbAllocated;
301 sfprov_ftime_from_timespec(&stat->sf_atime, &info->AccessTime);
302 sfprov_ftime_from_timespec(&stat->sf_mtime, &info->ModificationTime);
303 sfprov_ftime_from_timespec(&stat->sf_ctime, &info->ChangeTime);
323 sffs_stat_t *stat)
356 sfprov_stat_from_info(mnt, stat,
318 sfprov_create( sfp_mount_t *mnt, char *path, mode_t mode, sfp_file_t **fp, sffs_stat_t *stat) argument
754 sfprov_mkdir( sfp_mount_t *mnt, char *path, mode_t mode, sfp_file_t **fp, sffs_stat_t *stat) argument
842 sfprov_symlink( sfp_mount_t *mnt, char *linkname, char *target, sffs_stat_t *stat) argument
[all...]
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dcontext.c899 Status stat; local
902 stat = XQueryTree( dpy, window, &root, &parent,
904 if (!stat || window == root)
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/
H A Dwchar.h147 struct stat { struct
/vbox/src/VBox/ValidationKit/common/
H A Dutils.py38 import stat; namespace
1363 oStat = os.stat(sFile);
1367 os.chmod(sFile, oStat.st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH);
/vbox/src/VBox/ValidationKit/testdriver/
H A Dbase.py38 import stat namespace
925 if stat.S_ISDIR(oStat.st_mode):
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Ddmx.h180 DMXStatInfo *stat; /**< Statistics about XSync */ member in struct:_DMXScreenInfo
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Ddmx.h180 DMXStatInfo *stat; /**< Statistics about XSync */ member in struct:_DMXScreenInfo

Completed in 127 milliseconds

123