Searched defs:osfd (Results 26 - 40 of 40) sorted by relevance

12

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprinit.c596 /* The length of osfd (PRInt32) printed in hexadecimal with 0x prefix */
655 name, (PRIntn)fd->methods->file_type, fd->secret->md.osfd);
658 name, (PRIntn)fd->methods->file_type, fd->secret->md.osfd);
671 PRInt32 osfd; local
685 PR_sscanf(ptr, "%d:0x%lx", &fileType, &osfd);
688 fd = PR_ImportFile(osfd);
691 fd = PR_ImportPipe(osfd);
694 fd = PR_ImportTCPSocket(osfd);
697 fd = PR_ImportUDPSocket(osfd);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw95io.c303 rv = ReadFile((HANDLE)fd->secret->md.osfd,
327 PRInt32 f = fd->secret->md.osfd;
367 rv = SetFilePointer((HANDLE)fd->secret->md.osfd, offset, NULL, moveMethod);
402 li.LowPart = SetFilePointer((HANDLE)fd->secret->md.osfd,
438 BOOL ok = FlushFileBuffers((HANDLE)fd->secret->md.osfd);
451 _MD_CloseFile(PRInt32 osfd) argument
455 rv = (CloseHandle((HANDLE)osfd))?0:-1;
883 rv = GetFileInformationByHandle((HANDLE)fd->secret->md.osfd, &hinfo);
928 (HANDLE)fd->secret->md.osfd,
954 if (GetHandleInformation((HANDLE)fd->secret->md.osfd,
[all...]
H A Dntio.c176 union { SOCKET osfd; } arg1; /* #1 - the op's fd */ member in union:pt_Continuation::__anon17231
222 SOCKET osfd, const void *buf,
225 static PRInt32 pt_RecvFrom(SOCKET osfd, void *buf, PRInt32 amount,
1156 PRInt32 osfd; member in struct:connect_data_s
1167 cd->status = connect(cd->osfd, cd->addr, cd->addrlen);
1180 PRInt32 osfd = fd->secret->md.osfd; local
1187 rv = _md_MakeNonblock((HANDLE)osfd);
1192 if ((rv = connect(osfd, (struct sockaddr *) addr, addrlen)) == -1) {
1206 rv = ioctlsocket((SOCKET)osfd, FIONBI
1276 PRInt32 osfd = fd->secret->md.osfd; local
1710 PRInt32 osfd = fd->secret->md.osfd; local
1809 PRInt32 osfd = fd->secret->md.osfd; local
1904 PRInt32 osfd = fd->secret->md.osfd; local
1922 PRInt32 osfd = fd->secret->md.osfd; local
1940 PRInt32 osfd = fd->secret->md.osfd; local
2616 _PR_MD_CLOSE(PRInt32 osfd, PRBool socket) argument
3797 PRInt32 osfd = fd->secret->md.osfd; local
3856 PRInt32 osfd = fd->secret->md.osfd; local
3909 PRInt32 osfd = fd->secret->md.osfd; local
3953 PRInt32 osfd = fd->secret->md.osfd; local
4049 PRInt32 osfd = fd->secret->md.osfd; local
4114 PRInt32 osfd = fd->secret->md.osfd; local
4612 pt_SendTo( SOCKET osfd, const void *buf, PRInt32 amount, PRInt32 flags, const PRNetAddr *addr, PRIntn addrlen, PRIntervalTime timeout) argument
4650 pt_RecvFrom(SOCKET osfd, void *buf, PRInt32 amount, PRInt32 flags, PRNetAddr *addr, PRIntn *addr_len, PRIntervalTime timeout) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/
H A D_beos.h158 PRInt32 osfd; member in struct:_MDFileDesc
526 NSPR_API(PRInt32) _MD_close_file(PRInt32 osfd); variable
546 NSPR_API(PRInt32) _MD_close_socket(PRInt32 osfd); variable
564 NSPR_API(PRInt32) _MD_socketpair(int af, int type, int flags, PRInt32 *osfd);
608 NSPR_API(PRStatus) _MD_lockfile(PRInt32 osfd); variable
609 NSPR_API(PRStatus) _MD_tlockfile(PRInt32 osfd); variable
610 NSPR_API(PRStatus) _MD_unlockfile(PRInt32 osfd); variable
H A D_macos.h123 PRInt32 osfd; member in struct:_MDFileDesc
409 extern PRStatus _MD_LockFile(PRInt32 osfd);
411 extern PRStatus _MD_TLockFile(PRInt32 osfd);
413 extern PRStatus _MD_UnlockFile(PRInt32 osfd);
502 #define _MD_SEND(fd,buf,amount,flags,timeout) macsock_send(fd->secret->md.osfd,buf,amount,flags)
503 #define _MD_SENDTO(fd,buf,amount,flags,addr,addrlen,timeout) macsock_sendto(fd->secret->md.osfd,buf,amount,flags,(struct sockaddr *)addr,addrlen)
504 #define _MD_RECV(fd,buf,amount,flags,timeout) macsock_recv(fd->secret->md.osfd,buf,amount,flags)
505 #define _MD_RECVFROM(fd,buf,amount,flags,addr,addrlen,timeout) macsock_recvfrom(fd->secret->md.osfd,buf,amount,flags,(struct sockaddr *)addr,addrlen)
509 #define _MD_ACCEPT(fd,addr,addrlen,timeout) macsock_accept(fd->secret->md.osfd,(struct sockaddr *)addr,addrlen)
510 #define _MD_CONNECT(fd,name,namelen,timeout) macsock_connect(fd->secret->md.osfd,(struc
[all...]
H A D_unixos.h116 PRInt32 osfd; member in struct:_PRUnixPollDesc
150 int osfd; member in struct:_MDFileDesc
342 extern PRInt32 _MD_AvailableSocket(PRInt32 osfd);
369 extern PRStatus _MD_LockFile(PRInt32 osfd);
370 extern PRStatus _MD_TLockFile(PRInt32 osfd);
371 extern PRStatus _MD_UnlockFile(PRInt32 osfd);
443 extern PRInt32 _MD_close(PRInt32 osfd);
452 extern PRInt32 _MD_socketpair(int af, int type, int flags, PRInt32 *osfd);
490 extern int _MD_unix_get_nonblocking_connect_error(int osfd);
620 typedef PRIntn (*_MD_Fstat64)(PRIntn osfd, _MDStat6
[all...]
H A D_os2.h207 PRInt32 osfd; /* The osfd can come from one of three spaces: member in struct:_MDFileDesc
232 extern PRInt32 _MD_CloseFile(PRInt32 osfd);
288 extern PRInt32 _MD_CloseSocket(PRInt32 osfd);
599 extern int _MD_os2_get_nonblocking_connect_error(int osfd);
H A D_win16.h85 PRInt32 osfd; member in struct:_PRWin16PollDesc
103 NSPR_API(PRInt32) _PR_WaitForFD(PRInt32 osfd, PRUintn how,
174 PRInt32 osfd; member in struct:_MDFileDesc
H A D_win95.h195 PRInt32 osfd; /* The osfd can come from one of three spaces: member in struct:_MDFileDesc
235 extern PRInt32 _MD_CloseFile(PRInt32 osfd);
292 extern PRInt32 _MD_CloseSocket(PRInt32 osfd);
H A D_winnt.h218 PRInt32 osfd; /* The osfd can come from one of three spaces: member in struct:_MDFileDesc
227 * for this osfd has been committed and
228 * cannot be changed. The osfd has been
231 PRBool sync_file_io; /* Use synchronous file I/O on the osfd
268 extern PRInt32 _PR_MD_CLOSE(PRInt32 osfd, PRBool socket);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmacsockotpt.c287 static void PrepareForAsyncCompletion(PRThread * thread, PRInt32 osfd) argument
290 thread->io_fd = osfd;
322 EndpointRef endpoint = (EndpointRef)secret->md.osfd;
583 EndpointRef endpoint = (EndpointRef) fd->secret->md.osfd;
613 PrepareForAsyncCompletion(me, fd->secret->md.osfd);
648 PRInt32 osfd = fd->secret->md.osfd; local
650 EndpointRef endpoint = (EndpointRef) osfd;
676 PrepareForAsyncCompletion(me, fd->secret->md.osfd);
689 PrepareForAsyncCompletion(me, fd->secret->md.osfd);
1054 PRInt32 osfd = fd->secret->md.osfd; local
1685 _MD_closesocket(PRInt32 osfd) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dirix.c440 PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, PRIntervalTime timeout)
446 rv = connect(osfd, addr, addrlen);
439 _MD_irix_connect( PRInt32 osfd, const PRNetAddr *addr, PRInt32 addrlen, PRIntervalTime timeout) argument
H A Dunix.c126 static PRInt32 local_io_wait(PRInt32 osfd, PRInt32 wait_flag,
321 PRInt32 osfd = fd->secret->md.osfd; local
325 FD_SET(osfd, &rd);
327 pfd.fd = osfd;
330 while ((rv = read(osfd,buf,amount)) == -1) {
337 if ((rv = local_io_wait(osfd, _PR_UNIX_POLL_READ,
342 while ((rv = _MD_SELECT(osfd + 1, &rd, NULL, NULL, NULL))
385 PRInt32 osfd = fd->secret->md.osfd; local
452 _MD_close(PRInt32 osfd) argument
466 PRInt32 osfd, err; local
511 socket_io_wait(PRInt32 osfd, PRInt32 fd_type, PRIntervalTime timeout) argument
629 socket_io_wait(PRInt32 osfd, PRInt32 fd_type, PRIntervalTime timeout) argument
758 local_io_wait( PRInt32 osfd, PRInt32 wait_flag, PRIntervalTime timeout) argument
790 PRInt32 osfd = fd->secret->md.osfd; local
833 PRInt32 osfd = fd->secret->md.osfd; local
876 PRInt32 osfd = fd->secret->md.osfd; local
955 PRInt32 osfd = fd->secret->md.osfd; local
1003 PRInt32 osfd = fd->secret->md.osfd; local
1066 PRInt32 osfd = fd->secret->md.osfd; local
1111 PRInt32 osfd = fd->secret->md.osfd; local
1237 _MD_socketpair(int af, int type, int flags, PRInt32 *osfd) argument
1373 PRInt32 osfd = pds->osfd; local
1403 PRInt32 osfd = pds->osfd; local
1816 PRInt32 osfd = pds->osfd; local
1851 PRInt32 osfd = pds->osfd; local
2193 PRInt32 osfd = fd->secret->md.osfd; local
2660 _MD_solaris25_fstat64(PRIntn osfd, _MDStat64 *buf) argument
2707 _MD_Unix_lseek64(PRIntn osfd, PROffset64 offset, PRIntn whence) argument
3060 PRInt32 osfd = unixpd->osfd; local
3120 PRInt32 osfd = unixpd->osfd; local
3213 _MD_unix_get_nonblocking_connect_error(int osfd) argument
3631 int osfd = filedes[i].fd; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c237 PRIntn osfd, PRDescType type, PRBool isAcceptedSocket, PRBool imported);
333 union { PRIntn osfd; } arg1; /* #1 - the op's fd */ member in union:pt_Continuation::__anon17246
452 PR_ASSERT(op->arg1.osfd < FD_SETSIZE);
464 FD_SET(op->arg1.osfd, &rd);
470 FD_SET(op->arg1.osfd, &wr);
475 rv = select(op->arg1.osfd + 1, rdp, wrp, NULL, &tv);
493 if ((op->event & POLLIN) && FD_ISSET(op->arg1.osfd, &rd))
495 if ((op->event & POLLOUT) && FD_ISSET(op->arg1.osfd, &wr))
517 FD_SET(op->arg1.osfd, &rd);
523 FD_SET(op->arg1.osfd,
1174 int osfd; local
1217 PR_GetSpecialFD(PRSpecialFD osfd) argument
1629 PRInt32 osfd; local
1671 PRIntn syserrno, osfd = -1; local
3276 pt_MakeFdNonblock(PRIntn osfd) argument
3299 pt_MakeSocketNonblock(PRIntn osfd) argument
3308 pt_SetMethods( PRIntn osfd, PRDescType type, PRBool isAcceptedSocket, PRBool imported) argument
3379 PR_AllocFileDesc( PRInt32 osfd, const PRIOMethods *methods) argument
3410 PRInt32 osfd; local
3442 PRIntn osfd; local
3523 PRIntn syserrno, osfd = -1, osflags = 0;; local
4363 PRInt32 osfd[2]; local
4453 PR_ImportFile(PRInt32 osfd) argument
4463 PR_ImportPipe(PRInt32 osfd) argument
4473 PR_ImportTCPSocket(PRInt32 osfd) argument
4486 PR_ImportUDPSocket(PRInt32 osfd) argument
4496 PR_CreateSocketPollFd(PRInt32 osfd) argument
4530 PRInt32 osfd = -1; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/
H A Dprimpl.h1111 extern PRInt32 _PR_MD_CLOSE_FILE(PRInt32 osfd);
1171 extern PRInt32 _PR_MD_CLOSE_SOCKET(PRInt32 osfd);
1262 extern PRInt32 _PR_MD_SOCKETPAIR(int af, int type, int flags, PRInt32 *osfd);
1280 * If 'imported' is false, the osfd (i.e., fd->secret->md.osfd)
1282 * inheritable attribute. If 'imported' is true, the osfd was
1972 extern PRStatus _PR_MD_LOCKFILE(PRInt32 osfd);
1975 extern PRStatus _PR_MD_TLOCKFILE(PRInt32 osfd);
1978 extern PRStatus _PR_MD_UNLOCKFILE(PRInt32 osfd);
2127 PRInt32 osfd; member in struct:_ConnectListNode
[all...]

Completed in 194 milliseconds

12