Searched refs:PRFileDesc (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/npapi/npspy/extern/nspr/private/
H A Dpprio.h62 NSPR_API(PRInt32) PR_FileDesc2NativeHandle(PRFileDesc *);
63 NSPR_API(void) PR_ChangeFileDescNativeHandle(PRFileDesc *, PRInt32);
64 NSPR_API(PRFileDesc*) PR_AllocFileDesc(PRInt32 osfd,
66 NSPR_API(void) PR_FreeFileDesc(PRFileDesc *fd);
70 NSPR_API(PRFileDesc*) PR_ImportFile(PRInt32 osfd);
71 NSPR_API(PRFileDesc*) PR_ImportPipe(PRInt32 osfd);
72 NSPR_API(PRFileDesc*) PR_ImportTCPSocket(PRInt32 osfd);
73 NSPR_API(PRFileDesc*) PR_ImportUDPSocket(PRInt32 osfd);
80 * Create a PRFileDesc wrapper for a native socket handle, for use with
86 * RETURN: PRFileDesc*
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dprelib.c20 PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *inHeader,
27 PEHeader *SSL_PreencryptedFileToStream(PRFileDesc *fd, PEHeader *header,
H A Dssl.h47 SSL_IMPORT PRFileDesc *SSL_ImportFD(PRFileDesc *model, PRFileDesc *fd);
53 SSL_IMPORT PRFileDesc *DTLS_ImportFD(PRFileDesc *model, PRFileDesc *fd);
191 SSL_IMPORT SECStatus SSL_Enable(PRFileDesc *fd, int option, PRBool on);
196 SSL_IMPORT SECStatus SSL_OptionSet(PRFileDesc *fd, PRInt32 option, PRBool on);
197 SSL_IMPORT SECStatus SSL_OptionGet(PRFileDesc *fd, PRInt32 option, PRBool *on);
200 SSL_IMPORT SECStatus SSL_CertDBHandleSet(PRFileDesc *f
[all...]
H A Dsslreveal.c13 /* given PRFileDesc, returns a copy of certificate associated with the socket
17 SSL_RevealCert(PRFileDesc * fd)
33 /* given PRFileDesc, returns a pointer to PinArg associated with the socket
36 SSL_RevealPinArg(PRFileDesc * fd)
51 /* given PRFileDesc, returns a pointer to the URL associated with the socket
55 SSL_RevealURL(PRFileDesc * fd)
69 /* given PRFileDesc, returns status information related to extensions
74 SSL_HandshakeNegotiatedExtension(PRFileDesc * socket,
H A Dssldef.c22 PRFileDesc *lower = ss->fd->lower;
31 PRFileDesc *lower = ss->fd->lower;
40 PRFileDesc *lower = ss->fd->lower;
49 PRFileDesc *lower = ss->fd->lower;
58 PRFileDesc *lower = ss->fd->lower;
81 PRFileDesc *lower = ss->fd->lower;
120 PRFileDesc *lower = ss->fd->lower;
133 PRFileDesc *lower = ss->fd->lower;
158 PRFileDesc *lower = ss->fd->lower;
167 PRFileDesc *lowe
[all...]
H A Dsslauth.c14 SSL_PeerCertificate(PRFileDesc *fd)
32 SSL_PeerCertificateChain(PRFileDesc *fd)
72 SSL_LocalCertificate(PRFileDesc *fd)
97 SSL_SecurityStatus(PRFileDesc *fd, int *op, char **cp, int *kp0, int *kp1,
183 SSL_AuthCertificateHook(PRFileDesc *s, SSLAuthCertificate func, void *arg)
202 SSL_GetClientAuthDataHook(PRFileDesc *s, SSLGetClientAuthData func,
220 SSL_SetClientChannelIDCallback(PRFileDesc *fd,
240 SSL_GetPlatformClientAuthDataHook(PRFileDesc *s,
261 SSL_SetPKCS11PinArg(PRFileDesc *s, void *arg)
282 SSL_AuthCertificate(void *arg, PRFileDesc *f
[all...]
H A Dsslsock.c140 static PRStatus ssl_PushIOLayer(sslSocket *ns, PRFileDesc *stack,
151 ssl_GetPrivate(PRFileDesc *fd)
176 ssl_FindSocket(PRFileDesc *fd)
178 PRFileDesc *layer;
439 PRFileDesc * osfd = ss->fd->lower;
472 SSL_Enable(PRFileDesc *fd, int which, PRBool on)
570 SSL_OptionSet(PRFileDesc *fd, PRInt32 which, PRBool on)
819 SSL_OptionGet(PRFileDesc *fd, PRInt32 which, PRBool *pOn)
1271 SSL_CipherPrefSet(PRFileDesc *fd, PRInt32 which, PRBool enabled)
1295 SSL_CipherOrderSet(PRFileDesc *f
[all...]
H A Dsslsecur.c169 ssl_SetTimeout(PRFileDesc *fd, PRIntervalTime timeout)
194 SSL_ResetHandshake(PRFileDesc *s, PRBool asServer)
262 SSL_ReHandshake(PRFileDesc *fd, PRBool flushCache)
296 SSL_IMPORT SECStatus SSL_ReHandshakeWithTimeout(PRFileDesc *fd,
307 SSL_RedoHandshake(PRFileDesc *fd)
316 SSL_HandshakeCallback(PRFileDesc *fd, SSLHandshakeCallback cb,
349 SSL_SetCanFalseStartCallback(PRFileDesc *fd, SSLCanFalseStartCallback cb,
379 SSL_RecommendedCanFalseStart(PRFileDesc *fd, PRBool *canFalseStart)
421 SSL_ForceHandshake(PRFileDesc *fd)
480 SSL_IMPORT SECStatus SSL_ForceHandshakeWithTimeout(PRFileDesc *f
[all...]
H A Dpreenc.h108 PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *,
111 PEHeader *SSL_PreencryptedFileToStream(PRFileDesc *fd, PEHeader *,
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprio.h59 typedef struct PRFileDesc PRFileDesc; typedef in typeref:struct:PRFileDesc
81 struct PRFileDesc { struct
84 PRFileDesc *lower, *higher; /* pointers to adjacent layers */
85 void (PR_CALLBACK *dtor)(PRFileDesc *fd);
310 NSPR_API(PRDescType) PR_GetDescType(PRFileDesc *file);
328 typedef PRStatus (PR_CALLBACK *PRCloseFN)(PRFileDesc *fd);
329 typedef PRInt32 (PR_CALLBACK *PRReadFN)(PRFileDesc *fd, void *buf, PRInt32 amount);
330 typedef PRInt32 (PR_CALLBACK *PRWriteFN)(PRFileDesc *fd, const void *buf, PRInt32 amount);
331 typedef PRInt32 (PR_CALLBACK *PRAvailableFN)(PRFileDesc *f
[all...]
H A Dplerror.h57 PR_EXTERN(void) PL_FPrintError(PRFileDesc *output, const char *msg);
H A Dprproces.h59 PRFileDesc *redirectFd
68 PRFileDesc *redirectFd
78 PRFileDesc *fd,
H A Dprprf.h101 ** fprintf to a PRFileDesc
103 NSPR_API(PRUint32) PR_fprintf(struct PRFileDesc* fd, const char *fmt, ...);
112 NSPR_API(PRUint32) PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap);
/external/chromium_org/net/base/
H A Dnss_memio.h40 PRFileDesc *memio_CreateIOLayer(int readbufsize, int writebufsize);
43 void memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername);
46 * four functions. (We could have passed a PRFileDesc to
51 memio_Private *memio_GetSecret(PRFileDesc *fd);
H A Dnss_memio.c40 /* The 'secret' field of a PRFileDesc created by memio_CreateIOLayer points
194 static PRStatus PR_CALLBACK memio_Close(PRFileDesc *fd)
204 static PRStatus PR_CALLBACK memio_Shutdown(PRFileDesc *fd, PRIntn how)
214 static int PR_CALLBACK memio_Recv(PRFileDesc *fd, void *buf, PRInt32 len,
252 static int PR_CALLBACK memio_Read(PRFileDesc *fd, void *buf, PRInt32 len)
258 static int PR_CALLBACK memio_Send(PRFileDesc *fd, const void *buf, PRInt32 len,
286 static int PR_CALLBACK memio_Write(PRFileDesc *fd, const void *buf, PRInt32 len)
292 static PRStatus PR_CALLBACK memio_GetPeerName(PRFileDesc *fd, PRNetAddr *addr)
300 static PRStatus memio_GetSocketOption(PRFileDesc *fd, PRSocketOptionData *data)
374 PRFileDesc *memio_CreateIOLaye
[all...]
/external/chromium_org/net/socket/
H A Dnss_ssl_util.h34 PRFileDesc* GetNSSModelSocket();
H A Dssl_server_socket_nss.h97 PRFileDesc* socket,
100 static void HandshakeCallback(PRFileDesc* socket, void* arg);
125 PRFileDesc* nss_fd_;
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/
H A Dprobslet.h68 PRFileDesc *harray[PR_MAX_SELECT_DESC];
151 NSPR_API(void) PR_FD_SET(PRFileDesc *fd, PR_fd_set *set);
152 NSPR_API(void) PR_FD_CLR(PRFileDesc *fd, PR_fd_set *set);
153 NSPR_API(PRInt32) PR_FD_ISSET(PRFileDesc *fd, PR_fd_set *set);
/external/chromium_org/third_party/webrtc/base/
H A Dnssstreamadapter.cc71 static PRStatus StreamClose(PRFileDesc *socket) {
77 static PRInt32 StreamRead(PRFileDesc *socket, void *buf, PRInt32 length) {
99 static PRInt32 StreamWrite(PRFileDesc *socket, const void *buf,
121 static PRInt32 StreamAvailable(PRFileDesc *socket) {
126 PRInt64 StreamAvailable64(PRFileDesc *socket) {
131 static PRStatus StreamSync(PRFileDesc *socket) {
136 static PROffset32 StreamSeek(PRFileDesc *socket, PROffset32 offset,
142 static PROffset64 StreamSeek64(PRFileDesc *socket, PROffset64 offset,
148 static PRStatus StreamFileInfo(PRFileDesc *socket, PRFileInfo *info) {
153 static PRStatus StreamFileInfo64(PRFileDesc *socke
[all...]
H A Dnssstreamadapter.h94 static SECStatus AuthCertificateHook(void *arg, PRFileDesc *fd,
96 static SECStatus GetClientAuthDataHook(void *arg, PRFileDesc *fd,
101 PRFileDesc *ssl_fd_; // NSS's SSL file descriptor
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_unixos.h295 extern void _MD_MakeNonblock(PRFileDesc *fd);
344 extern PRInt32 _MD_getopenfileinfo(const PRFileDesc *fd, PRFileInfo *info);
345 extern PRInt32 _MD_getopenfileinfo64(const PRFileDesc *fd, PRFileInfo64 *info);
352 extern PRInt32 _PR_UnixSendFile(PRFileDesc *sd, PRSendFileData *sfd,
364 extern PRInt32 _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount);
366 extern PRInt32 _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount);
387 extern PRInt32 _MD_connect(PRFileDesc *fd, const PRNetAddr *addr,
390 extern PRInt32 _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen,
393 extern PRInt32 _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen);
395 extern PRInt32 _MD_listen(PRFileDesc *f
[all...]
H A D_beos.h519 NSPR_API(void) _MD_make_nonblock(PRFileDesc *fd);
520 NSPR_API(void) _MD_init_fd_inheritable(PRFileDesc *fd, PRBool imported);
521 NSPR_API(void) _MD_query_fd_inheritable(PRFileDesc *fd);
524 NSPR_API(PRInt32) _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount);
525 NSPR_API(PRInt32) _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount);
526 NSPR_API(PRInt32) _MD_writev(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout);
527 NSPR_API(PRInt32) _MD_lseek(PRFileDesc *fd, PRInt32 offset, int whence);
528 NSPR_API(PRInt64) _MD_lseek64(PRFileDesc *fd, PRInt64 offset, int whence);
529 NSPR_API(PRInt32) _MD_fsync(PRFileDesc *fd);
533 NSPR_API(PRInt32) _MD_getopenfileinfo(const PRFileDesc *f
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_nss.c34 PRFileDesc *fd;
43 static PRStatus nss_io_close(PRFileDesc *fd)
50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount)
57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount)
64 static PRInt32 nss_io_writev(PRFileDesc *fd, const PRIOVec *iov,
72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount,
104 static PRInt32 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount,
127 static PRInt32 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount,
136 static PRInt32 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount,
145 static PRStatus nss_io_getpeername(PRFileDesc *f
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dtls_nss.c34 PRFileDesc *fd;
43 static PRStatus nss_io_close(PRFileDesc *fd)
50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount)
57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount)
64 static PRInt32 nss_io_writev(PRFileDesc *fd, const PRIOVec *iov,
72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount,
104 static PRInt32 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount,
127 static PRInt32 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount,
136 static PRInt32 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount,
145 static PRStatus nss_io_getpeername(PRFileDesc *f
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_nss.c34 PRFileDesc *fd;
43 static PRStatus nss_io_close(PRFileDesc *fd)
50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount)
57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount)
64 static PRInt32 nss_io_writev(PRFileDesc *fd, const PRIOVec *iov,
72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount,
104 static PRInt32 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount,
127 static PRInt32 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount,
136 static PRInt32 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount,
145 static PRStatus nss_io_getpeername(PRFileDesc *f
[all...]

Completed in 313 milliseconds

12