Searched defs:persistent_id (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c2181 const char *persistent_id, int options, int flags,
2188 sslsock = pemalloc(sizeof(php_openssl_netstream_data_t), persistent_id ? 1 : 0);
2207 stream = php_stream_alloc_rel(&php_openssl_socket_ops, sslsock, persistent_id, "r+");
2210 pefree(sslsock, persistent_id ? 1 : 0);
2257 sslsock->url_name = get_url_name(resourcename, resourcenamelen, !!persistent_id);
2179 php_openssl_ssl_socket_factory(const char *proto, size_t protolen, const char *resourcename, size_t resourcenamelen, const char *persistent_id, int options, int flags, struct timeval *timeout, php_stream_context *context STREAMS_DC) argument
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h482 const char *persistent_id; member in struct:_pdo_dbh_t
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c47 #define php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode), (persistent_id) STREAMS_CC)
48 #define php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode), (persistent_id) STREAMS_REL_CC)
161 static php_stream *_php_stream_fopen_from_fd_int(int fd, const char *mode, const char *persistent_id STREAMS_DC)
165 self = pemalloc_rel_orig(sizeof(*self), persistent_id);
174 return php_stream_alloc_rel(&php_stream_stdio_ops, self, persistent_id, mode);
231 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id STREAMS_DC)
233 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id);
935 char *persistent_id local
[all...]
H A Dstreams.c119 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream) argument
123 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), persistent_id, strlen(persistent_id))) != NULL) {
287 PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC) /* {{{ */ argument
291 ret = (php_stream*) pemalloc_rel_orig(sizeof(php_stream), persistent_id ? 1 : 0);
299 fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id);
304 ret->is_persistent = persistent_id ? 1 : 0;
316 if (persistent_id) {
321 if (NULL == zend_hash_str_update(&EG(persistent_list), persistent_id,
322 strlen(persistent_id),
[all...]
H A Dtransports.c53 int flags, const char *persistent_id,
74 if (persistent_id) {
75 switch(php_stream_from_persistent_id(persistent_id, &stream)) {
133 (char*)name, namelen, persistent_id, options, flags, timeout,
184 if (persistent_id) {
52 _php_stream_xport_create(const char *name, size_t namelen, int options, int flags, const char *persistent_id, struct timeval *timeout, php_stream_context *context, zend_string **error_string, int *error_code STREAMS_DC) argument
H A Dxp_socket.c835 const char *persistent_id, int options, int flags,
861 sock = pemalloc(sizeof(php_netstream_data_t), persistent_id ? 1 : 0);
872 stream = php_stream_alloc_rel(ops, sock, persistent_id, "r+");
875 pefree(sock, persistent_id ? 1 : 0);
833 php_stream_generic_socket_factory(const char *proto, size_t protolen, const char *resourcename, size_t resourcenamelen, const char *persistent_id, int options, int flags, struct timeval *timeout, php_stream_context *context STREAMS_DC) argument

Completed in 18 milliseconds