Home
last modified time | relevance | path

Searched refs:PRFileDesc (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/net/third_party/nss/ssl/
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 *fd, CERTCertDBHandle *dbHandle);
214 PRFileDesc *fd,
223 SSL_IMPORT SECStatus SSL_SetNextProtoCallback(PRFileDesc *fd,
245 SSL_IMPORT SECStatus SSL_SetNextProtoNego(PRFileDesc *fd,
263 SSL_IMPORT SECStatus SSL_GetNextProto(PRFileDesc *fd,
[all …]
Dssldef.c22 PRFileDesc *lower = ss->fd->lower; in ssl_DefConnect()
31 PRFileDesc *lower = ss->fd->lower; in ssl_DefBind()
40 PRFileDesc *lower = ss->fd->lower; in ssl_DefListen()
49 PRFileDesc *lower = ss->fd->lower; in ssl_DefShutdown()
58 PRFileDesc *lower = ss->fd->lower; in ssl_DefRecv()
81 PRFileDesc *lower = ss->fd->lower; in ssl_DefSend()
120 PRFileDesc *lower = ss->fd->lower; in ssl_DefRead()
133 PRFileDesc *lower = ss->fd->lower; in ssl_DefWrite()
158 PRFileDesc *lower = ss->fd->lower; in ssl_DefGetpeername()
167 PRFileDesc *lower = ss->fd->lower; in ssl_DefGetsockname()
[all …]
Dsslauth.c14 SSL_PeerCertificate(PRFileDesc *fd) in SSL_PeerCertificate()
32 SSL_PeerCertificateChain(PRFileDesc *fd) in SSL_PeerCertificateChain()
72 SSL_LocalCertificate(PRFileDesc *fd) in SSL_LocalCertificate()
97 SSL_SecurityStatus(PRFileDesc *fd, int *op, char **cp, int *kp0, int *kp1, in SSL_SecurityStatus()
183 SSL_AuthCertificateHook(PRFileDesc *s, SSLAuthCertificate func, void *arg) in SSL_AuthCertificateHook()
202 SSL_GetClientAuthDataHook(PRFileDesc *s, SSLGetClientAuthData func, in SSL_GetClientAuthDataHook()
220 SSL_SetClientChannelIDCallback(PRFileDesc *fd, in SSL_SetClientChannelIDCallback()
240 SSL_GetPlatformClientAuthDataHook(PRFileDesc *s, in SSL_GetPlatformClientAuthDataHook()
261 SSL_SetPKCS11PinArg(PRFileDesc *s, void *arg) in SSL_SetPKCS11PinArg()
282 SSL_AuthCertificate(void *arg, PRFileDesc *fd, PRBool checkSig, PRBool isServer) in SSL_AuthCertificate()
Dsslsock.c140 static PRStatus ssl_PushIOLayer(sslSocket *ns, PRFileDesc *stack,
151 ssl_GetPrivate(PRFileDesc *fd) in ssl_GetPrivate()
176 ssl_FindSocket(PRFileDesc *fd) in ssl_FindSocket()
178 PRFileDesc *layer; in ssl_FindSocket()
439 PRFileDesc * osfd = ss->fd->lower; in ssl_EnableNagleDelay()
472 SSL_Enable(PRFileDesc *fd, int which, PRBool on) in SSL_Enable()
570 SSL_OptionSet(PRFileDesc *fd, PRInt32 which, PRBool on) in SSL_OptionSet()
819 SSL_OptionGet(PRFileDesc *fd, PRInt32 which, PRBool *pOn) in SSL_OptionGet()
1271 SSL_CipherPrefSet(PRFileDesc *fd, PRInt32 which, PRBool enabled) in SSL_CipherPrefSet()
1295 SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers, unsigned int len) in SSL_CipherOrderSet()
[all …]
Dsslreveal.c17 SSL_RevealCert(PRFileDesc * fd) in SSL_RevealCert()
36 SSL_RevealPinArg(PRFileDesc * fd) in SSL_RevealPinArg()
55 SSL_RevealURL(PRFileDesc * fd) in SSL_RevealURL()
74 SSL_HandshakeNegotiatedExtension(PRFileDesc * socket, in SSL_HandshakeNegotiatedExtension()
Dsslsecur.c169 ssl_SetTimeout(PRFileDesc *fd, PRIntervalTime timeout) in ssl_SetTimeout()
194 SSL_ResetHandshake(PRFileDesc *s, PRBool asServer) in SSL_ResetHandshake()
262 SSL_ReHandshake(PRFileDesc *fd, PRBool flushCache) in SSL_ReHandshake()
296 SSL_IMPORT SECStatus SSL_ReHandshakeWithTimeout(PRFileDesc *fd, in SSL_ReHandshakeWithTimeout()
307 SSL_RedoHandshake(PRFileDesc *fd) in SSL_RedoHandshake()
316 SSL_HandshakeCallback(PRFileDesc *fd, SSLHandshakeCallback cb, in SSL_HandshakeCallback()
349 SSL_SetCanFalseStartCallback(PRFileDesc *fd, SSLCanFalseStartCallback cb, in SSL_SetCanFalseStartCallback()
379 SSL_RecommendedCanFalseStart(PRFileDesc *fd, PRBool *canFalseStart) in SSL_RecommendedCanFalseStart()
421 SSL_ForceHandshake(PRFileDesc *fd) in SSL_ForceHandshake()
480 SSL_IMPORT SECStatus SSL_ForceHandshakeWithTimeout(PRFileDesc *fd, in SSL_ForceHandshakeWithTimeout()
[all …]
Dprelib.c20 PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *inHeader, in SSL_PreencryptedStreamToFile()
27 PEHeader *SSL_PreencryptedFileToStream(PRFileDesc *fd, PEHeader *header, in SSL_PreencryptedFileToStream()
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
Dprio.h59 typedef struct PRFileDesc PRFileDesc; typedef
81 struct PRFileDesc { struct
84 PRFileDesc *lower, *higher; /* pointers to adjacent layers */ argument
85 void (PR_CALLBACK *dtor)(PRFileDesc *fd); argument
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 *fd);
332 typedef PRInt64 (PR_CALLBACK *PRAvailable64FN)(PRFileDesc *fd);
[all …]
Dprproces.h59 PRFileDesc *redirectFd
68 PRFileDesc *redirectFd
78 PRFileDesc *fd,
Dprprf.h103 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/third_party/npapi/npspy/extern/nspr/private/
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);
94 NSPR_API(PRFileDesc*) PR_CreateSocketPollFd(PRInt32 osfd);
112 NSPR_API(PRStatus) PR_DestroySocketPollFd(PRFileDesc *fd);
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnssstreamadapter.cc89 static PRStatus StreamClose(PRFileDesc *socket) { in StreamClose()
95 static PRInt32 StreamRead(PRFileDesc *socket, void *buf, PRInt32 length) { in StreamRead()
117 static PRInt32 StreamWrite(PRFileDesc *socket, const void *buf, in StreamWrite()
139 static PRInt32 StreamAvailable(PRFileDesc *socket) { in StreamAvailable()
144 PRInt64 StreamAvailable64(PRFileDesc *socket) { in StreamAvailable64()
149 static PRStatus StreamSync(PRFileDesc *socket) { in StreamSync()
154 static PROffset32 StreamSeek(PRFileDesc *socket, PROffset32 offset, in StreamSeek()
160 static PROffset64 StreamSeek64(PRFileDesc *socket, PROffset64 offset, in StreamSeek64()
166 static PRStatus StreamFileInfo(PRFileDesc *socket, PRFileInfo *info) { in StreamFileInfo()
171 static PRStatus StreamFileInfo64(PRFileDesc *socket, PRFileInfo64 *info) { in StreamFileInfo64()
[all …]
Dnssstreamadapter.h112 static SECStatus AuthCertificateHook(void *arg, PRFileDesc *fd,
114 static SECStatus GetClientAuthDataHook(void *arg, PRFileDesc *fd,
119 PRFileDesc *ssl_fd_; // NSS's SSL file descriptor
/external/chromium_org/third_party/webrtc/base/
Dnssstreamadapter.cc71 static PRStatus StreamClose(PRFileDesc *socket) { in StreamClose()
77 static PRInt32 StreamRead(PRFileDesc *socket, void *buf, PRInt32 length) { in StreamRead()
99 static PRInt32 StreamWrite(PRFileDesc *socket, const void *buf, in StreamWrite()
121 static PRInt32 StreamAvailable(PRFileDesc *socket) { in StreamAvailable()
126 PRInt64 StreamAvailable64(PRFileDesc *socket) { in StreamAvailable64()
131 static PRStatus StreamSync(PRFileDesc *socket) { in StreamSync()
136 static PROffset32 StreamSeek(PRFileDesc *socket, PROffset32 offset, in StreamSeek()
142 static PROffset64 StreamSeek64(PRFileDesc *socket, PROffset64 offset, in StreamSeek64()
148 static PRStatus StreamFileInfo(PRFileDesc *socket, PRFileInfo *info) { in StreamFileInfo()
153 static PRStatus StreamFileInfo64(PRFileDesc *socket, PRFileInfo64 *info) { in StreamFileInfo64()
[all …]
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/
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 *fd, PRIntn backlog);
[all …]
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 t…
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 *fd, PRFileInfo *info);
[all …]
/external/chromium_org/net/third_party/nss/patches/
Dsessioncache.patch17 SSL_IMPORT SECStatus SSL_InvalidateSession(PRFileDesc *fd);
22 +SSL_IMPORT SECStatus SSL_CacheSession(PRFileDesc *fd);
29 +SSL_IMPORT SECStatus SSL_CacheSessionUnlocked(PRFileDesc *fd);
34 SSL_IMPORT SECItem *SSL_GetSessionID(PRFileDesc *fd);
38 @@ -1469,6 +1469,49 @@ SSL_InvalidateSession(PRFileDesc *fd)
54 +SSL_CacheSession(PRFileDesc *fd)
73 +SSL_CacheSessionUnlocked(PRFileDesc *fd)
86 SSL_GetSessionID(PRFileDesc *fd)
Dsecretexporterlocks.patch4 @@ -350,8 +350,13 @@ SSL_ExportKeyingMaterial(PRFileDesc *fd,
18 @@ -362,13 +367,17 @@ SSL_ExportKeyingMaterial(PRFileDesc *fd,
36 @@ -389,6 +398,8 @@ SSL_ExportKeyingMaterial(PRFileDesc *fd,
Ddidhandshakeresume.patch8 +SSL_IMPORT SECStatus SSL_HandshakeResumedSession(PRFileDesc *fd,
17 @@ -1855,6 +1855,20 @@ SSL_PeerStapledOCSPResponses(PRFileDesc
22 +SSL_HandshakeResumedSession(PRFileDesc *fd, PRBool *handshake_resumed) {
/external/chromium_org/net/base/
Dnss_memio.c194 static PRStatus PR_CALLBACK memio_Close(PRFileDesc *fd) in memio_Close()
204 static PRStatus PR_CALLBACK memio_Shutdown(PRFileDesc *fd, PRIntn how) in memio_Shutdown()
214 static int PR_CALLBACK memio_Recv(PRFileDesc *fd, void *buf, PRInt32 len, in memio_Recv()
252 static int PR_CALLBACK memio_Read(PRFileDesc *fd, void *buf, PRInt32 len) in memio_Read()
258 static int PR_CALLBACK memio_Send(PRFileDesc *fd, const void *buf, PRInt32 len, in memio_Send()
286 static int PR_CALLBACK memio_Write(PRFileDesc *fd, const void *buf, PRInt32 len) in memio_Write()
292 static PRStatus PR_CALLBACK memio_GetPeerName(PRFileDesc *fd, PRNetAddr *addr) in memio_GetPeerName()
300 static PRStatus memio_GetSocketOption(PRFileDesc *fd, PRSocketOptionData *data) in memio_GetSocketOption()
374 PRFileDesc *memio_CreateIOLayer(int readbufsize, int writebufsize) in memio_CreateIOLayer()
376 PRFileDesc *fd; in memio_CreateIOLayer()
[all …]
Dnss_memio.h40 PRFileDesc *memio_CreateIOLayer(int readbufsize, int writebufsize);
43 void memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername);
51 memio_Private *memio_GetSecret(PRFileDesc *fd);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/
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/wpa_supplicant_8/src/crypto/
Dtls_nss.c34 PRFileDesc *fd;
43 static PRStatus nss_io_close(PRFileDesc *fd) in nss_io_close()
50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) in nss_io_read()
57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) in nss_io_write()
64 static PRInt32 nss_io_writev(PRFileDesc *fd, const PRIOVec *iov, in nss_io_writev()
72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, in nss_io_recv()
104 static PRInt32 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, in nss_io_send()
127 static PRInt32 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, in nss_io_recvfrom()
136 static PRInt32 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, in nss_io_sendto()
145 static PRStatus nss_io_getpeername(PRFileDesc *fd, PRNetAddr *addr) in nss_io_getpeername()
[all …]
/external/chromium_org/net/socket/
Dssl_server_socket_nss.h97 PRFileDesc* socket,
100 static void HandshakeCallback(PRFileDesc* socket, void* arg);
125 PRFileDesc* nss_fd_;

123