Home
last modified time | relevance | path

Searched refs:persistent (Results 26 – 50 of 126) sorted by relevance

123456

/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_vio.c128 if (persistent) { in MYSQLND_METHOD()
172 if (persistent) { in MYSQLND_METHOD()
343 zend_bool pers = net->persistent; in MYSQLND_METHOD()
352 zend_bool pers = net->persistent; in MYSQLND_METHOD()
361 zend_bool pers = net->persistent; in MYSQLND_METHOD()
370 zend_bool pers = net->persistent; in MYSQLND_METHOD()
379 zend_bool pers = net->persistent; in MYSQLND_METHOD()
388 zend_bool pers = net->persistent; in MYSQLND_METHOD()
614 zend_bool pers = net->persistent; in MYSQLND_METHOD()
650 zend_bool pers = net->persistent; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_protocol_frame_codec.h23 PHPAPI MYSQLND_PFC * mysqlnd_pfc_init(const zend_bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqln…
H A Dmysqlnd_vio.h23 PHPAPI MYSQLND_VIO * mysqlnd_vio_init(zend_bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_obje…
H A Dmysqlnd_protocol_frame_codec.c392 const zend_bool pers = pfc->persistent; in MYSQLND_METHOD()
406 pfc->cmd_buffer.buffer = mnd_pemalloc(pfc->cmd_buffer.length, pfc->persistent); in MYSQLND_METHOD()
408 …cmd_buffer.buffer = mnd_perealloc(pfc->cmd_buffer.buffer, pfc->cmd_buffer.length, pfc->persistent); in MYSQLND_METHOD()
432 mnd_pefree(pfc->data->sha256_server_public_key, pfc->persistent); in MYSQLND_METHOD()
466 mnd_pefree(pfc->cmd_buffer.buffer, pfc->persistent); in MYSQLND_METHOD()
470 mnd_pefree(pfc, pfc->persistent); in MYSQLND_METHOD()
502 mysqlnd_pfc_init(const zend_bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) *ob… in mysqlnd_pfc_init() argument
507 pfc = factory->get_protocol_frame_codec(persistent, stats, error_info); in mysqlnd_pfc_init()
H A Dmysqlnd_connection.c159 info->persistent = persistent; in mysqlnd_error_info_init()
224 zend_bool pers = conn->persistent; in MYSQLND_METHOD()
264 zend_bool pers = conn->persistent; in MYSQLND_METHOD()
364 mysqlnd_stats_end(conn->stats, conn->persistent); in MYSQLND_METHOD_PRIVATE()
367 mnd_pefree(conn, conn->persistent); in MYSQLND_METHOD_PRIVATE()
779 if (conn->persistent) {
1237 if (conn->persistent) {
1823 …nn->options->connect_attr, 0, NULL, conn->persistent ? ZVAL_INTERNAL_PTR_DTOR : ZVAL_PTR_DTOR, con…
1830 if (conn->persistent) {
2416 mnd_pefree(conn, conn->persistent);
[all …]
/PHP-7.4/ext/oci8/tests/
H A Dconn_attr_2.phpt2 Set and get of connection attributes across persistent connections and sysdba connection.
53 // Re-open a persistent connection and check for the attr values.
83 resource(%d) of type (oci8 persistent connection)
90 resource(%d) of type (oci8 persistent connection)
97 resource(%d) of type (oci8 persistent connection)
104 resource(%d) of type (oci8 persistent connection)
H A Ddrcp_connect1.phpt66 echo " Select with persistent connection 2\n";
92 resource(%d) of type (oci8 persistent connection)
96 resource(%d) of type (oci8 persistent connection)
97 Select with persistent connection 2
H A Ddrcp_scope3.phpt55 resource(%d) of type (oci8 persistent connection)
57 resource(%d) of type (oci8 persistent connection)
H A Ddrcp_scope4.phpt58 resource(%d) of type (oci8 persistent connection)
60 resource(%d) of type (oci8 persistent connection)
/PHP-7.4/Zend/
H A Dzend_multibyte.c51 … size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent) in dummy_encoding_list_parser() argument
53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
158 … size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent) in zend_multibyte_parse_encoding_list() argument
160 …tions.encoding_list_parser(encoding_list, encoding_list_len, return_list, return_size, persistent); in zend_multibyte_parse_encoding_list()
H A Dzend_ptr_stack.h27 zend_bool persistent; member
35 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent);
51 …ments = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->persistent); \ in END_EXTERN_C()
H A Dzend_llist.h41 unsigned char persistent; member
48 …void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent);
H A Dzend_multibyte.h32 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent);
69 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_pconn_kill.phpt2 Killing a persistent connection.
42 …printf("[005] Cannot find thread id of the persistent link, [%d] %s\n", mysqli_errno($link), mysql…
44 // Kill the persistent connection - don't use mysqli_kill, mysqlnd will catch that...
46 …printf("[006] Cannot kill persistent connection, [%d] %s\n", mysqli_errno($link), mysqli_error($li…
60 …printf("[008] Thread of the persistent connection should have been gone, [%d] %s\n", mysqli_errno(…
71 …printf("[012] New persistent connection cannot execute queries, [%d] %s\n", @mysqli_errno($plink),…
H A Dmysqli_pconn_max_links.phpt81 printf("[002] Cannot get # active persistent links from phpinfo()\n");
85 printf("[003] Cannot run query on persistent connection of second DB user, [%d] %s\n",
94 // change the password for the second DB user and kill the persistent connection
100 // change the password for the second DB user and kill the persistent connection
106 // persistent connections cannot be closed but only be killed
109 …printf("[007] Cannot KILL persistent connection of second DB user, [%d] %s\n", mysqli_errno($link)…
141 printf("[010] Cannot get # of active persistent links from phpinfo()\n");
158 printf("[013] Cannot run query on persistent connection of second DB user, [%d] %s\n",
168 printf("[015] Can open more persistent connections than allowed, [%d] %s\n",
179 printf("[016] Cannot get # of active persistent links from phpinfo()\n");
[all …]
H A Dbug73462.phpt13 /* Initial persistent connection */
24 /* Re-use persistent connection */
H A Dbug49442.phpt67 …nd makes a connection created through mysql_init()/mysqli_real_connect() always a 'persistent' one.
68 …At this point 'persistent' is not to be confused with what a user calls a 'persistent' - in this c…
69 … 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will
70 …not consider it as a 'persistent' connection in a user sense, ext/mysqli will not appy max_persist…
H A Dmysqli_pconn_reuse.phpt2 mysqli_pconnect() - reusing/caching persistent connections - TODO
25 …printf("[002] Cannot set user variable to check if we got the same persistent connection, [%d] %s\…
50 …printf("[006] Cannot set user variable to check if we got the same persistent connection, [%d] %s\…
62 /* reuse of existing persistent connection expected! */
H A Dmysqli_pconn_limits.phpt42 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
55 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
69 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
/PHP-7.4/ext/dba/libinifile/
H A Dinifile.h63 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent);
64 void inifile_free(inifile *dba, int persistent);
/PHP-7.4/ext/standard/
H A Dfsock.c30 static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent) in php_fsockopen_stream() argument
61 if (persistent) { in php_fsockopen_stream()
/PHP-7.4/ext/dba/
H A Ddba.c637 static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) in php_dba_open() argument
650 int persistent_flag = persistent ? STREAM_OPEN_PERSISTENT : 0; in php_dba_open()
681 if (persistent) { in php_dba_open()
867 info = pemalloc(sizeof(dba_info), persistent); in php_dba_open()
869 info->path = pestrdup(Z_STRVAL(args[0]), persistent); in php_dba_open()
919 pefree(info->path, persistent); in php_dba_open()
920 info->path = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
923 info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
983 pefree(info->lock.name, persistent); in php_dba_open()
1005 if (persistent) { in php_dba_open()
[all …]
/PHP-7.4/ext/iconv/
H A Diconv.c2570 int persistent; member
2584 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor()
2585 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()
2605 pefree(self->from_charset, persistent); in php_iconv_stream_filter_ctor()
2606 pefree(self->to_charset, persistent); in php_iconv_stream_filter_ctor()
2609 self->persistent = persistent; in php_iconv_stream_filter_ctor()
2621 int persistent) in php_iconv_stream_filter_append_bucket() argument
2794 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket()
2801 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket()
2897 pefree(inst, persistent); in php_iconv_stream_filter_factory_create()
[all …]
/PHP-7.4/ext/standard/tests/streams/
H A Dbug54623.phpt2 Bug #54623: Segfault when when writing to a persistent socket after closing a copy of the socket
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dbug70221.phpt2 Bug #70221 (persistent sqlite connection + custom function segfaults)

Completed in 56 milliseconds

123456