/PHP-8.3/main/streams/ |
H A D | php_stream_plain_wrapper.h | 35 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id, b… 36 …define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
|
H A D | php_stream_transport.h | 28 const char *persistent_id, int options, int flags, 47 int flags, const char *persistent_id, 54 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument 55 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco…
|
H A D | plain_wrapper.c | 46 … php_stream_fopen_from_fd_int(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode),… argument 47 …stream_fopen_from_fd_int_rel(fd, mode, persistent_id) _php_stream_fopen_from_fd_int((fd), (mode),… argument 181 self = pemalloc_rel_orig(sizeof(*self), persistent_id); in _php_stream_fopen_from_fd_int() 1109 char *persistent_id = NULL; in _php_stream_fopen() local 1126 switch (php_stream_from_persistent_id(persistent_id, &ret)) { in _php_stream_fopen() 1135 efree(persistent_id); in _php_stream_fopen() 1147 ret = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); in _php_stream_fopen() 1161 if (persistent_id) { in _php_stream_fopen() 1162 efree(persistent_id); in _php_stream_fopen() 1199 if (persistent_id) { in _php_stream_fopen() [all …]
|
H A D | transports.c | 53 int flags, const char *persistent_id, in _php_stream_xport_create() argument 76 if (persistent_id) { in _php_stream_xport_create() 77 switch(php_stream_from_persistent_id(persistent_id, &stream)) { in _php_stream_xport_create() 133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create() 139 stream->orig_path = pestrdup(orig_path, persistent_id ? 1 : 0); in _php_stream_xport_create() 186 if (persistent_id) { in _php_stream_xport_create()
|
H A D | streams.c | 111 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream) in php_stream_from_persistent_id() argument 115 …if ((le = zend_hash_str_find_ptr(&EG(persistent_list), persistent_id, strlen(persistent_id))) != N… in php_stream_from_persistent_id() 278 …p_stream_alloc(const php_stream_ops *ops, void *abstract, const char *persistent_id, const char *m… in _php_stream_alloc() argument 282 ret = (php_stream*) pemalloc_rel_orig(sizeof(php_stream), persistent_id ? 1 : 0); in _php_stream_alloc() 290 fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id); in _php_stream_alloc() 295 ret->is_persistent = persistent_id ? 1 : 0; in _php_stream_alloc() 307 if (persistent_id) { in _php_stream_alloc() 308 …if (NULL == zend_register_persistent_resource(persistent_id, strlen(persistent_id), ret, le_pstrea… in _php_stream_alloc() 314 ret->res = zend_register_resource(ret, persistent_id ? le_pstream : le_stream); in _php_stream_alloc()
|
H A D | xp_socket.c | 930 const char *persistent_id, int options, int flags, in php_stream_generic_socket_factory() argument 956 sock = pemalloc(sizeof(php_netstream_data_t), persistent_id ? 1 : 0); in php_stream_generic_socket_factory() 967 stream = php_stream_alloc_rel(ops, sock, persistent_id, "r+"); in php_stream_generic_socket_factory() 970 pefree(sock, persistent_id ? 1 : 0); in php_stream_generic_socket_factory()
|
/PHP-8.3/main/ |
H A D | php_streams.h | 68 …tream_fopen_from_fd_rel(fd, mode, persistent_id, zero_position) _php_stream_fopen_from_fd((fd), (… argument 265 const char *persistent_id, const char *mode STREAMS_DC); 267 #define php_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (pe… argument 297 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream);
|
H A D | network.c | 1086 PHPAPI php_stream *_php_stream_sock_open_from_socket(php_socket_t socket, const char *persistent_id… 1091 sock = pemalloc(sizeof(php_netstream_data_t), persistent_id ? 1 : 0); 1099 stream = php_stream_alloc_rel(&php_stream_generic_socket_ops, sock, persistent_id, "r+"); 1102 pefree(sock, persistent_id ? 1 : 0); 1111 int socktype, struct timeval *timeout, const char *persistent_id STREAMS_DC) 1120 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, persistent_id, timeout, NULL, NULL, NULL);
|
H A D | php_network.h | 327 PHPAPI php_stream *_php_stream_sock_open_from_socket(php_socket_t socket, const char *persistent_id… 330 int socktype, struct timeval *timeout, const char *persistent_id STREAMS_DC);
|
/PHP-8.3/ext/pdo/ |
H A D | pdo_dbh.c | 345 pdbh->persistent_id = pemalloc(plen + 1, 1); in PHP_METHOD() 346 memcpy((char *)pdbh->persistent_id, hashkey, plen+1); in PHP_METHOD() 397 (char*)dbh->persistent_id, dbh->persistent_id_len, dbh, php_pdo_list_entry())) == NULL) { in PHP_METHOD() 1401 if (dbh->persistent_id) { in dbh_free() 1402 pefree((char *)dbh->persistent_id, dbh->is_persistent); in dbh_free()
|
H A D | php_pdo_driver.h | 479 const char *persistent_id; member
|
/PHP-8.3/ext/openssl/ |
H A D | xp_ssl.c | 2767 const char *persistent_id, int options, int flags, in php_openssl_ssl_socket_factory() argument 2774 sslsock = pemalloc(sizeof(php_openssl_netstream_data_t), persistent_id ? 1 : 0); in php_openssl_ssl_socket_factory() 2797 stream = php_stream_alloc_rel(&php_openssl_socket_ops, sslsock, persistent_id, "r+"); in php_openssl_ssl_socket_factory() 2800 pefree(sslsock, persistent_id ? 1 : 0); in php_openssl_ssl_socket_factory() 2859 sslsock->url_name = php_openssl_get_url_name(resourcename, resourcenamelen, !!persistent_id); in php_openssl_ssl_socket_factory()
|