/vbox/src/libs/xpcom18a4/nsprpub/pr/include/private/ |
H A D | pprio.h | 94 NSPR_API(PRInt32) PR_FileDesc2NativeHandle(PRFileDesc *); 95 NSPR_API(void) PR_ChangeFileDescNativeHandle(PRFileDesc *, PRInt32); 96 NSPR_API(PRFileDesc*) PR_AllocFileDesc(PRInt32 osfd, 98 NSPR_API(void) PR_FreeFileDesc(PRFileDesc *fd); 102 NSPR_API(PRFileDesc*) PR_ImportFile(PRInt32 osfd); 103 NSPR_API(PRFileDesc*) PR_ImportPipe(PRInt32 osfd); 104 NSPR_API(PRFileDesc*) PR_ImportTCPSocket(PRInt32 osfd); 105 NSPR_API(PRFileDesc*) PR_ImportUDPSocket(PRInt32 osfd); 112 * Create a PRFileDesc wrapper for a native socket handle, for use with 118 * RETURN: PRFileDesc* [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/prstreams/ |
H A D | prstrms.h | 74 PRfilebuf(PRFileDesc *fd); 75 PRfilebuf(PRFileDesc *fd, char * buffptr, int bufflen); 83 PRfilebuf *attach(PRFileDesc *fd); 86 PRFileDesc *fd(){return _fd;} 89 PRFileDesc * _fd; 98 PRifstream(PRFileDesc *); 99 PRifstream(PRFileDesc *, char *, int); 105 void attach(PRFileDesc *fd); 106 PRFileDesc *fd() {return rdbuf()->fd();} 117 PRofstream(PRFileDesc *); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/include/ |
H A D | plerror.h | 65 PR_EXTERN(void) PL_FPrintError(PRFileDesc *output, const char *msg);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/ |
H A D | prio.h | 139 typedef struct PRFileDesc PRFileDesc; typedef in typeref:struct:PRFileDesc 161 struct PRFileDesc { struct 164 PRFileDesc *lower, *higher; /* pointers to adjacent layers */ 165 void (PR_CALLBACK *dtor)(PRFileDesc *fd); 390 NSPR_API(PRDescType) PR_GetDescType(PRFileDesc *file); 408 typedef PRStatus (PR_CALLBACK *PRCloseFN)(PRFileDesc *fd); 409 typedef PRInt32 (PR_CALLBACK *PRReadFN)(PRFileDesc *fd, void *buf, PRInt32 amount); 410 typedef PRInt32 (PR_CALLBACK *PRWriteFN)(PRFileDesc *fd, const void *buf, PRInt32 amount); 411 typedef PRInt32 (PR_CALLBACK *PRAvailableFN)(PRFileDesc *f [all...] |
H A D | prproces.h | 77 PRFileDesc *redirectFd 86 PRFileDesc *redirectFd 96 PRFileDesc *fd,
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | stdio.c | 60 PRFileDesc *out = PR_GetSpecialFD(PR_StandardOutput); 61 PRFileDesc *err = PR_GetSpecialFD(PR_StandardError);
|
H A D | op_filnf.c | 66 static PRFileDesc *t1;
|
H A D | op_noacc.c | 65 static PRFileDesc *err01;
|
H A D | ioconthr.c | 51 PRFileDesc *fd = (PRFileDesc *) arg; 81 PRFileDesc **fds; 86 fds = (PRFileDesc **) PR_MALLOC(2 * num_threads * sizeof(PRFileDesc *));
|
H A D | op_nofil.c | 70 static PRFileDesc *t1;
|
H A D | layer.c | 63 static PRFileDesc *logFile; 76 static PRFileDesc *PushLayer(PRFileDesc *stack) 78 PRFileDesc *layer = PR_CreateIOLayerStub(identity, &myMethods); 86 static PRFileDesc *PushNewLayers(PRFileDesc *stack) 89 PRFileDesc *layer; 121 static PRFileDesc *PopLayer(PRFileDesc *stack) 123 PRFileDesc *poppe [all...] |
H A D | fileio.c | 83 static PRFileDesc *t1, *t2; 98 nWritten = PR_Write((PRFileDesc*)t1, tbuf, TBSIZE); 120 nRead = PR_Read((PRFileDesc*)t2, tbuf, TBSIZE); 165 nbytes = PR_Read((PRFileDesc*)arg, buf[i].data, BSIZE); 183 nbytes = PR_Write((PRFileDesc*)arg, buf[i].data, nbytes);
|
H A D | multiacc.c | 60 PRFileDesc *listenSock = (PRFileDesc *) arg; 61 PRFileDesc *acceptSock; 88 PRFileDesc *dummySock; 89 PRFileDesc *listenSock; 90 PRFileDesc *clientSock;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/ |
H A D | probslet.h | 84 PRFileDesc *harray[PR_MAX_SELECT_DESC]; 167 NSPR_API(void) PR_FD_SET(PRFileDesc *fd, PR_fd_set *set); 168 NSPR_API(void) PR_FD_CLR(PRFileDesc *fd, PR_fd_set *set); 169 NSPR_API(PRInt32) PR_FD_ISSET(PRFileDesc *fd, PR_fd_set *set);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/ |
H A D | prio.c | 102 PR_IMPLEMENT(PRFileDesc*) PR_GetSpecialFD(PRSpecialFD osfd) 104 PRFileDesc *result = NULL; 120 PR_IMPLEMENT(PRFileDesc*) PR_AllocFileDesc( 123 PRFileDesc *fd; 134 /* Initialize the members of PRFileDesc and PRFilePrivate */ 146 PR_IMPLEMENT(void) PR_FreeFileDesc(PRFileDesc *fd) 167 PRFileDesc *fd, 199 PR_IMPLEMENT(void) PT_FPrintStats(PRFileDesc *debug_out, const char *msg)
|
H A D | prlayer.c | 51 static PRStatus _PR_DestroyIOLayer(PRFileDesc *stack); 53 void PR_CALLBACK pl_FDDestructor(PRFileDesc *fd) 64 static PRStatus PR_CALLBACK pl_TopClose (PRFileDesc *fd) 66 PRFileDesc *top, *lower; 104 static PRInt32 PR_CALLBACK pl_DefRead (PRFileDesc *fd, void *buf, PRInt32 amount) 113 PRFileDesc *fd, const void *buf, PRInt32 amount) 121 static PRInt32 PR_CALLBACK pl_DefAvailable (PRFileDesc *fd) 129 static PRInt64 PR_CALLBACK pl_DefAvailable64 (PRFileDesc *fd) 137 static PRStatus PR_CALLBACK pl_DefFsync (PRFileDesc *fd) 146 PRFileDesc *f [all...] |
H A D | prpolevt.c | 72 PR_IMPLEMENT(PRFileDesc *) PR_NewPollableEvent(void) 76 PRFileDesc *event; 102 PR_IMPLEMENT(PRStatus) PR_DestroyPollableEvent(PRFileDesc *event) 110 PR_IMPLEMENT(PRStatus) PR_SetPollableEvent(PRFileDesc *event) 124 PR_IMPLEMENT(PRStatus) PR_WaitForPollableEvent(PRFileDesc *event) 157 static PRStatus PR_CALLBACK _pr_MacPolEvtClose(PRFileDesc *fd); 160 PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags); 206 PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags) 230 static PRStatus PR_CALLBACK _pr_MacPolEvtClose(PRFileDesc *fd) 240 PR_IMPLEMENT(PRFileDesc *) PR_NewPollableEven [all...] |
H A D | priometh.c | 122 PRFileDesc *_PR_InvalidDesc(void) 129 PR_IMPLEMENT(PRDescType) PR_GetDescType(PRFileDesc *file) 134 PR_IMPLEMENT(PRStatus) PR_Close(PRFileDesc *fd) 139 PR_IMPLEMENT(PRInt32) PR_Read(PRFileDesc *fd, void *buf, PRInt32 amount) 144 PR_IMPLEMENT(PRInt32) PR_Write(PRFileDesc *fd, const void *buf, PRInt32 amount) 149 PR_IMPLEMENT(PRInt32) PR_Seek(PRFileDesc *fd, PRInt32 offset, PRSeekWhence whence) 154 PR_IMPLEMENT(PRInt64) PR_Seek64(PRFileDesc *fd, PRInt64 offset, PRSeekWhence whence) 159 PR_IMPLEMENT(PRInt32) PR_Available(PRFileDesc *fd) 164 PR_IMPLEMENT(PRInt64) PR_Available64(PRFileDesc *fd) 169 PR_IMPLEMENT(PRStatus) PR_GetOpenFileInfo(PRFileDesc *f [all...] |
H A D | pripv6.c | 98 static PRStatus PR_CALLBACK Ipv6ToIpv4SocketBind(PRFileDesc *fd, 103 PRFileDesc *lo = fd->lower; 121 PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout) 142 PRFileDesc *fd, const void *buf, PRInt32 amount, 164 static PRFileDesc* PR_CALLBACK Ipv6ToIpv4SocketAccept ( 165 PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout) 168 PRFileDesc *newfd; 169 PRFileDesc *newstack; 176 newstack = PR_NEW(PRFileDesc); 200 static PRInt32 PR_CALLBACK Ipv6ToIpv4SocketAcceptRead(PRFileDesc *s [all...] |
H A D | prfdcach.c | 50 ** finding misused file descriptors. Since file descritors (PRFileDesc) 67 PRFileDesc *head, *tail; 72 static PRFileDesc **stack2fd = &(((PRFileDesc*)NULL)->higher); 79 PRFileDesc *_PR_Getfd(void) 81 PRFileDesc *fd; 98 fd = (PRFileDesc*)((PRPtrdiff)pop - (PRPtrdiff)stack2fd); 141 fd = PR_NEW(PRFileDesc); 156 void _PR_Putfd(PRFileDesc *fd) 222 PRFileDesc *f [all...] |
H A D | prfile.c | 57 static PRInt32 PR_CALLBACK FileRead(PRFileDesc *fd, void *buf, PRInt32 amount) 86 static PRInt32 PR_CALLBACK FileWrite(PRFileDesc *fd, const void *buf, PRInt32 amount) 133 static PROffset32 PR_CALLBACK FileSeek(PRFileDesc *fd, PROffset32 offset, PRSeekWhence whence) 141 static PROffset64 PR_CALLBACK FileSeek64(PRFileDesc *fd, PROffset64 offset, PRSeekWhence whence) 152 static PRInt32 PR_CALLBACK FileAvailable(PRFileDesc *fd) 171 static PRInt64 PR_CALLBACK FileAvailable64(PRFileDesc *fd) 193 static PRInt32 PR_CALLBACK PipeAvailable(PRFileDesc *fd) 200 static PRInt64 PR_CALLBACK PipeAvailable64(PRFileDesc *fd) 207 static PRStatus PR_CALLBACK PipeSync(PRFileDesc *fd) 216 static PRStatus PR_CALLBACK FileGetInfo(PRFileDesc *f [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/ |
H A D | plerror.c | 49 PR_IMPLEMENT(void) PL_FPrintError(PRFileDesc *fd, const char *msg) 147 static PRFileDesc *fd = NULL;
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/ |
H A D | prdump.c | 52 PRFileDesc *_pr_dumpOut; 54 PRUint32 _PR_DumpPrintf(PRFileDesc *fd, const char *fmt, ...) 68 void _PR_DumpThread(PRFileDesc *fd, PRThread *thread) 98 static void DumpThreadQueue(PRFileDesc *fd, PRCList *list) 112 void _PR_DumpThreads(PRFileDesc *fd)
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/ |
H A D | _unixos.h | 309 extern void _MD_MakeNonblock(PRFileDesc *fd); 358 extern PRInt32 _MD_getopenfileinfo(const PRFileDesc *fd, PRFileInfo *info); 359 extern PRInt32 _MD_getopenfileinfo64(const PRFileDesc *fd, PRFileInfo64 *info); 366 extern PRInt32 _PR_UnixSendFile(PRFileDesc *sd, PRSendFileData *sfd, 378 extern PRInt32 _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount); 380 extern PRInt32 _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount); 401 extern PRInt32 _MD_connect(PRFileDesc *fd, const PRNetAddr *addr, 404 extern PRInt32 _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, 407 extern PRInt32 _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen); 409 extern PRInt32 _MD_listen(PRFileDesc *f [all...] |
H A D | _beos.h | 522 NSPR_API(void) _MD_make_nonblock(PRFileDesc *fd); 523 NSPR_API(void) _MD_init_fd_inheritable(PRFileDesc *fd, PRBool imported); 524 NSPR_API(void) _MD_query_fd_inheritable(PRFileDesc *fd); 527 NSPR_API(PRInt32) _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount); 528 NSPR_API(PRInt32) _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount); 529 NSPR_API(PRInt32) _MD_writev(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout); 530 NSPR_API(PRInt32) _MD_lseek(PRFileDesc *fd, PRInt32 offset, int whence); 531 NSPR_API(PRInt64) _MD_lseek64(PRFileDesc *fd, PRInt64 offset, int whence); 532 NSPR_API(PRInt32) _MD_fsync(PRFileDesc *fd); 536 NSPR_API(PRInt32) _MD_getopenfileinfo(const PRFileDesc *f [all...] |