Searched defs:FileStat (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/PosixLib/Gen/
H A Daccess.c51 struct stat FileStat; local
66 retval = stat(Path, &FileStat);
68 /* Path exists. FileStat now holds valid information. */
70 DirMatch = (! WantDir && (! S_ISDIR(FileStat.st_mode)));
85 if((FileStat.st_mode & READ_PERMS) == 0) {
94 if((FileStat.st_mode & WRITE_PERMS) == 0) {
/vbox/src/bldprogs/
H A Dfilesplitter.cpp160 struct stat FileStat; local
163 if (stat(pcszFile, &FileStat))
170 *ppszFile = (char *)malloc(FileStat.st_size + 1);
174 size_t cbRead = fread(*ppszFile, 1, FileStat.st_size, pFile);
175 if ( cbRead <= (size_t)FileStat.st_size
178 if (ftell(pFile) == FileStat.st_size) /* (\r\n vs \n in the DOS world) */
194 rc = printErr("Failed to allocate %lu bytes\n", (unsigned long)(FileStat.st_size + 1));
211 struct stat FileStat; local
212 if (stat(pcszFilename, &FileStat))
214 if ((size_t)FileStat
[all...]
/vbox/src/VBox/Devices/Audio/
H A Dsolaudio.c483 struct stat FileStat; local
496 if (stat(g_pszAudioDev, &FileStat) < 0)
502 if (!S_ISCHR(FileStat.st_mode))

Completed in 34 milliseconds