Searched defs:st (Results 26 - 50 of 74) sorted by relevance

123

/vbox/src/VBox/Runtime/r3/posix/
H A Dpipe-posix.cpp253 struct stat st; local
254 AssertReturn(fstat(hNative, &st) == 0, RTErrConvertFromErrno(errno));
255 AssertMsgReturn(S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode), ("%#x (%o)\n", st.st_mode, st.st_mode), VERR_INVALID_HANDLE);
H A Dfileio-posix.cpp398 struct stat st; local
399 int rc = fstat(fd, &st);
556 struct stat st; local
557 if (!fstat(RTFileToNative(hFile), &st))
559 *pcbSize = st.st_size;
560 if ( st.st_size != 0
562 || (!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode))
564 || !S_ISCHR(st.st_mode)
566 || !S_ISBLK(st
[all...]
/vbox/src/libs/xpcom18a4/ipc/ipcd/client/src/
H A DipcConnectionUnix.cpp85 struct stat st; local
86 if (fstat(unix_fd, &st) == -1) {
91 if (st.st_uid != getuid() && st.st_uid != geteuid()) {
99 if (st.st_uid != 0) {
103 if (stat(path, &st) == -1) {
107 if (st.st_uid != getuid() && st.st_uid != geteuid()) {
/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/
H A DipcdUnix.cpp128 struct stat st; local
129 if (stat(baseDir, &st) == -1)
135 if (st.st_uid != getuid() && st.st_uid != geteuid())
137 printf("Wrong owner (%d) of '%s'", st.st_uid, baseDir);
138 if ( !stat("/tmp", &st)
139 && (st.st_mode & 07777) != 01777)
141 st.st_mode & 07777);
146 if (st.st_mode != (S_IRUSR | S_IWUSR | S_IXUSR | S_IFDIR))
148 printf("Wrong mode (%o) of '%s'", st
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DPCCTSAST.cpp83 * to 1st sibling (child1). If root is not single node, return NULL.
124 _push(PCCTS_AST **st, int *sp, PCCTS_AST *e) argument
128 st[(*sp)] = e;
132 _pop(PCCTS_AST **st, int *sp) argument
134 PCCTS_AST *e = st[*sp];
H A DAParser.cpp142 guess(ANTLRParserState *st) argument
144 saveState(st);
366 consumeUntil(SetWordType *st) argument
370 while ( !set_el( (tmp=LA(1)), st) && tmp!=Eof) { consume(); } // MR1
H A DAParser.h191 virtual void guess_done(ANTLRParserState *st) { // MR9 27-Sep-97 make virtual argument
192 restoreState(st); } // MR9
269 void consumeUntil(SetWordType *st);
H A Derr.h122 zzconsumeUntil(SetWordType *st) argument
124 zzconsumeUntil(st)
125 SetWordType *st;
129 while ( !zzset_el( (tmp=LA(1)), st) && tmp!=1 /* Eof */) { /* MR7 */
/vbox/src/VBox/Devices/PC/BIOS/
H A Data.c406 uint8_t sc, sn, cl, ch, st; local
443 st = inb(iobase1+ATA_CB_STAT);
447 } else if ((cl==0x00) && (ch==0x00) && (st!=0x00)) {
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dipv4.c464 struct sockaddr_tcpip st; member in union:__anon15783
550 if ( ( rc = tcpip_rx ( iobuf, iphdr->protocol, &src.st,
551 &dest.st, pshdr_csum ) ) != 0 ) {
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libctf/common/
H A Dctf_lib.c315 struct stat64 st; local
329 if (fstat64(fd, &st) == -1)
344 ctfsect.cts_data = mmap64(NULL, st.st_size, PROT_READ,
353 ctfsect.cts_size = (size_t)st.st_size;
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageStorageController.cpp326 SessionType_T st; local
327 CHECK_ERROR_RET(a->session, COMGETTER(Type)(&st), 1);
332 bool fRunTime = (st == SessionType_Shared);
/vbox/src/VBox/RDP/client-1.8.3/
H A Dctrl.c261 struct stat st; local
291 if (stat(ctrlsock_name, &st) == 0)
/vbox/src/VBox/Additions/haiku/VBoxVideo/accelerant/
H A Daccelerant.cpp401 status_t vboxvideo_acquire_engine(uint32 capabilities, uint32 maxWait, sync_token *st, engine_token **et) argument
409 status_t vboxvideo_release_engine(engine_token *et, sync_token *st) argument
412 if (st != NULL)
413 st->engine_id = et->engine_id;
425 status_t vboxvideo_get_sync_token(engine_token *et, sync_token *st) argument
432 status_t vboxvideo_sync_to_token(sync_token *st) argument
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsFileSpecBeOS.cpp95 struct stat st; local
96 return !mPath.IsEmpty() && 0 == stat(mPath, &st);
103 struct stat st; local
104 if (!mPath.IsEmpty() && stat(mPath, &st) == 0)
105 outStamp = st.st_mtime;
114 struct stat st; local
115 if (!mPath.IsEmpty() && stat(mPath, &st) == 0)
116 return (PRUint32)st.st_size;
124 struct stat st; local
125 return !mPath.IsEmpty() && stat(mPath, &st)
132 struct stat st; local
157 struct stat st; local
[all...]
H A DnsFileSpecOS2.cpp260 struct stat st; local
261 return !mPath.IsEmpty() && 0 == stat(nsNSPRPath(*this), &st);
268 struct stat st; local
269 if (!mPath.IsEmpty() && stat(nsNSPRPath(*this), &st) == 0)
270 outStamp = st.st_mtime;
279 struct stat st; local
280 if (!mPath.IsEmpty() && stat(nsNSPRPath(*this), &st) == 0)
281 return (PRUint32)st.st_size;
289 struct stat st; local
291 return !mPath.IsEmpty() && 0 == stat(nsNSPRPath(*this), &st)
301 struct stat st; local
[all...]
H A DnsFileSpecUnix.cpp160 struct stat st; local
161 return !mPath.IsEmpty() && 0 == stat(mPath, &st);
168 struct stat st; local
169 if (!mPath.IsEmpty() && stat(mPath, &st) == 0)
170 outStamp = st.st_mtime;
179 struct stat st; local
180 if (!mPath.IsEmpty() && stat(mPath, &st) == 0)
181 return (PRUint32)st.st_size;
189 struct stat st; local
190 return !mPath.IsEmpty() && stat(mPath, &st)
197 struct stat st; local
225 struct stat st; local
[all...]
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgzlog.c351 struct stat st; local
357 if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) {
364 if (stat(log->path, &st) == 0)
365 log->lock = st.st_mtime;
374 struct stat st; local
378 if (stat(log->path, &st) == 0)
379 log->lock = st.st_mtime;
386 struct stat st; local
389 if (stat(log->path, &st) || s
743 struct stat st; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dconfig.c242 struct stat st; local
276 if (stat( config_dir, &st ) == -1)
290 if (stat( config_dir, &st ) == -1)
296 if (!S_ISDIR(st.st_mode)) fatal_error( "%s is not a directory\n", config_dir );
298 if (st.st_uid != getuid()) fatal_error( "%s is not owned by you\n", config_dir );
301 init_server_dir( st.st_dev, st.st_ino );
307 struct stat st; local
309 int ret = (stat( path, &st ) != -1);
318 struct stat st; local
424 struct stat st; local
[all...]
/vbox/src/VBox/Devices/Graphics/testcase/
H A Ddump-vmwgfx.c464 struct stat st; local
468 if (stat(szPath, &st) >= 0)
472 if (stat(szPath, &st) >= 0)
477 *pcbFifo = (uint32_t)st.st_size;
/vbox/src/VBox/ImageMounter/VBoxFUSE/
H A DVBoxFUSE.cpp920 struct stat st; local
925 vboxfuseNodeFillStat(&pDir->Node, &st);
926 rc = pfnFiller(pvBuf, ".", &st, offDir);
948 vboxfuseNodeFillStat(pNode, &st);
950 rc = pfnFiller(pvBuf, pNode->pszName, &st, offDir);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_module.c837 struct stat64 st; local
850 if ((fd = open(fname, O_RDONLY)) == -1 || fstat64(fd, &st) == -1 ||
920 dmp->dm_modid = (int)OBJFS_MODID(st.st_ino);
/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy_tftpd.c584 struct stat st; local
636 status = fstat(xfer->fd, &st);
641 if (!S_ISREG(st.st_mode)) {
645 xfer->tsize = st.st_size;
/vbox/src/VBox/Additions/haiku/SharedFolders/
H A Dvboxsf.c275 status_t vboxsf_read_stat(fs_volume* _volume, fs_vnode* _vnode, struct stat* st) argument
304 st->st_dev = 0;
305 st->st_ino = vnode->vnode;
306 st->st_mode = mode_from_fmode(params.Info.Attr.fMode);
307 st->st_nlink = 1;
308 st->st_uid = 0;
309 st->st_gid = 0;
310 st->st_rdev = 0;
311 st->st_size = params.Info.cbObject;
312 st
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprmwait.c475 PRStatus st; local
476 st = PR_WaitCondVar(group->new_business, PR_INTERVAL_NO_TIMEOUT);
482 if (_MW_ABORTED(st)) goto aborted;
838 PRInt32 st; local
839 st = _md_Associate(hFile);
840 PR_ASSERT(0 != st);
967 PRStatus st; local
970 st = PR_WaitCondVar(group->io_complete, PR_INTERVAL_NO_TIMEOUT);
976 if (_MW_ABORTED(st) || (NULL == group->poller)) break;
985 if (_MW_ABORTED(st))
[all...]

Completed in 108 milliseconds

123