Home
last modified time | relevance | path

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

12345

/PHP-8.2/Zend/
H A Dzend_ptr_stack.h27 bool persistent; member
35 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent);
51 … = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack->persistent); \ in END_EXTERN_C()
H A Dzend_multibyte.c51 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool 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, bool 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_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 …ize_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent);
69 …ize_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent);
/PHP-8.2/ext/dba/libinifile/
H A Dinifile.h61 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent);
62 void inifile_free(inifile *dba, int persistent);
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_pconn_max_links.phpt85 printf("[002] Cannot get # active persistent links from phpinfo()\n");
89 printf("[003] Cannot run query on persistent connection of second DB user, [%d] %s\n",
98 // change the password for the second DB user and kill the persistent connection
104 // change the password for the second DB user and kill the persistent connection
110 // persistent connections cannot be closed but only be killed
113 …printf("[007] Cannot KILL persistent connection of second DB user, [%d] %s\n", mysqli_errno($link)…
145 printf("[010] Cannot get # of active persistent links from phpinfo()\n");
162 printf("[013] Cannot run query on persistent connection of second DB user, [%d] %s\n",
172 printf("[015] Can open more persistent connections than allowed, [%d] %s\n",
183 printf("[016] Cannot get # of active persistent links from phpinfo()\n");
[all …]
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 apply max_persis…
H A Dbug73462.phpt13 /* Initial persistent connection */
28 /* Re-use persistent connection */
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.phpt39 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
52 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
66 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
H A Dmysqli_real_connect_pconn.phpt2 mysqli_real_connect() - persistent connections
119 printf("[022] Usage of mysqli.default_host=p:%s (persistent) failed\n", $host) ;
121 if (!$res = mysqli_query($link, "SELECT 'mysqli.default_host (persistent)' AS 'testing'"))
124 if ($tmp['testing'] !== 'mysqli.default_host (persistent)') {
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_connection.c157 info->persistent = persistent; in mysqlnd_error_info_init()
222 bool pers = conn->persistent; in MYSQLND_METHOD()
266 bool pers = conn->persistent; in MYSQLND_METHOD()
343 mysqlnd_stats_end(conn->stats, conn->persistent); in MYSQLND_METHOD_PRIVATE()
346 mnd_pefree(conn, conn->persistent); in MYSQLND_METHOD_PRIVATE()
719 if (conn->persistent) {
1064 if (conn->persistent) {
1556 …nn->options->connect_attr, 0, NULL, conn->persistent ? ZVAL_INTERNAL_PTR_DTOR : ZVAL_PTR_DTOR, con…
1563 if (conn->persistent) {
2040 mnd_pefree(conn, conn->persistent);
[all …]
H A Dmysqlnd_protocol_frame_codec.h21 PHPAPI MYSQLND_PFC * mysqlnd_pfc_init(const bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_obj…
H A Dmysqlnd_vio.h21 PHPAPI MYSQLND_VIO * mysqlnd_vio_init(bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_fa…
H A Dmysqlnd_protocol_frame_codec.c391 const 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 bool persistent, MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) *object_… in mysqlnd_pfc_init() argument
507 pfc = factory->get_protocol_frame_codec(persistent, stats, error_info); in mysqlnd_pfc_init()
H A Dmysqlnd_statistics.h95 …id mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const bool persistent);
96 PHPAPI void mysqlnd_stats_end(MYSQLND_STATS * stats, const bool persistent);
/PHP-8.2/ext/dba/
H A Ddba.c460 if (ZSTR_IS_INTERNED(s) && !persistent) { in php_dba_zend_string_dup_safe()
463 zend_string *duplicated_str = zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in php_dba_zend_string_dup_safe()
464 if (persistent) { in php_dba_zend_string_dup_safe()
475 static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, bool persistent) in php_dba_open() argument
484 int persistent_flag = persistent ? STREAM_OPEN_PERSISTENT : 0; in php_dba_open()
528 if (persistent) { in php_dba_open()
739 info = pemalloc(sizeof(dba_info), persistent); in php_dba_open()
741 info->path = php_dba_zend_string_dup_safe(path, persistent); in php_dba_open()
794 info->path = php_dba_zend_string_dup_safe(opened_path, persistent); in php_dba_open()
880 if (persistent) { in php_dba_open()
[all …]
/PHP-8.2/ext/standard/
H A Dfsock.c28 static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent) in php_fsockopen_stream() argument
64 if (persistent) { in php_fsockopen_stream()
/PHP-8.2/ext/iconv/
H A Diconv.c2298 int persistent; member
2312 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor()
2313 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()
2333 pefree(self->from_charset, persistent); in php_iconv_stream_filter_ctor()
2334 pefree(self->to_charset, persistent); in php_iconv_stream_filter_ctor()
2337 self->persistent = persistent; in php_iconv_stream_filter_ctor()
2349 int persistent) in php_iconv_stream_filter_append_bucket() argument
2508 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket()
2515 pefree(out_buf, persistent); in php_iconv_stream_filter_append_bucket()
2611 pefree(inst, persistent); in php_iconv_stream_filter_factory_create()
[all …]
/PHP-8.2/ext/pdo_mysql/tests/
H A Dconstruct_persistent_failure.phpt2 Failure when creating persistent connection
H A Dbug77289.phpt2 Bug #77289: PDO MySQL segfaults with persistent connection
/PHP-8.2/ext/pcre/tests/
H A Dpreg_replace_callback_fatal_error_leak.phpt2 preg_replace_callback() should not leak persistent memory on fatal error
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dbug70221.phpt2 Bug #70221 (persistent sqlite connection + custom function segfaults)
/PHP-8.2/ext/bcmath/libbcmath/src/
H A Dbcmath.h90 bc_num _bc_new_num_ex(size_t length, size_t scale, bool persistent);
92 void _bc_free_num_ex(bc_num *num, bool persistent);
/PHP-8.2/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

Completed in 98 milliseconds

12345