/php-src/ext/iconv/ |
H A D | iconv.c | 2298 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-src/ext/reflection/tests/ |
H A D | ReflectionConstant_dump.phpt | 30 Constant [ <persistent> string ZEND_CONSTANT_A ] { global } 35 Constant [ <persistent, deprecated> int ZEND_TEST_DEPRECATED ] { 42 }
|
/php-src/sapi/cli/tests/ |
H A D | 006.phpt | 46 Constant [ <persistent> int PREG_PATTERN_ORDER ] { 1 } 47 Constant [ <persistent> int PREG_SET_ORDER ] { 2 } 48 Constant [ <persistent> int PREG_OFFSET_CAPTURE ] { 256 } 50 Constant [ <persistent> int PREG_SPLIT_NO_EMPTY ] { 1 } 53 Constant [ <persistent> int PREG_GREP_INVERT ] { 1 } 54 Constant [ <persistent> int PREG_NO_ERROR ] { 0 } 55 Constant [ <persistent> int PREG_INTERNAL_ERROR ] { 1 } 58 Constant [ <persistent> int PREG_BAD_UTF8_ERROR ] { 4 } 61 Constant [ <persistent> string PCRE_VERSION ] { %s } 62 Constant [ <persistent> int PCRE_VERSION_MAJOR ] { %d } [all …]
|
/php-src/Zend/ |
H A D | zend_constants.c | 554 bool persistent = (ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT) != 0; in zend_register_constant() local 562 lowercase_name = zend_string_init(ZSTR_VAL(c->name), ZSTR_LEN(c->name), persistent); in zend_register_constant() 572 || (!persistent && zend_get_special_const(ZSTR_VAL(name), ZSTR_LEN(name))) in zend_register_constant() 577 if (!persistent) { in zend_register_constant()
|
H A D | zend_alloc.h | 188 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size ZEND_FILE_LINE_CC ZEND_FILE_LIN… argument 190 #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) argument 191 #define pefree_size(ptr, size, persistent) do { \ argument 192 if (persistent) { \ 203 #define perealloc_recoverable(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc_… argument 205 #define pestrdup(s, persistent) ((persistent)?__zend_strdup(s):estrdup(s)) argument 206 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument 208 #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size ZEND_FILE_LINE_CC ZEND_FILE… argument 209 #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) argument 213 #define perealloc_recoverable_rel(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):ereal… argument [all …]
|
H A D | zend_opcode.c | 111 ZEND_API void zend_type_release(zend_type type, bool persistent) { in zend_type_release() argument 115 zend_type_release(*list_type, persistent); in zend_type_release() 118 pefree(ZEND_TYPE_LIST(type), persistent); in zend_type_release()
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 1108 int persistent = options & STREAM_OPEN_PERSISTENT; in _php_stream_fopen() local 1124 if (persistent) { in _php_stream_fopen()
|
H A D | streams.c | 1530 result = zend_string_alloc(maxlen, persistent); in _php_stream_copy_to_mem() 1547 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem() 1571 result = zend_string_alloc(buflen, persistent); in _php_stream_copy_to_mem() 1586 result = zend_string_extend(result, buflen, persistent); in _php_stream_copy_to_mem() 1593 result = zend_string_truncate(result, len, persistent); in _php_stream_copy_to_mem() 2184 int persistent = options & STREAM_OPEN_PERSISTENT; local 2259 pefree(stream->orig_path, persistent); 2261 copy_of_path = pestrdup(path, persistent); 2282 pefree(newstream->orig_path, persistent); 2284 newstream->orig_path = pestrdup(path, persistent); [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 2611 mysqlnd_protocol_payload_decoder_factory_init(MYSQLND_CONN_DATA * conn, const bool persistent) in mysqlnd_protocol_payload_decoder_factory_init() argument 2615 …S_METHOD_TABLE_NAME(mysqlnd_object_factory).get_protocol_payload_decoder_factory(conn, persistent); in mysqlnd_protocol_payload_decoder_factory_init() 2628 bool pers = factory->persistent; in mysqlnd_protocol_payload_decoder_factory_free()
|
H A D | mysqlnd_connection.c | 157 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 D | mysqlnd_structs.h | 149 bool persistent; member 411 …t_connection)(MYSQLND_CLASS_METHODS_TYPE(mysqlnd_object_factory) * factory, const bool persistent); 414 typedef MYSQLND_PFC * (*func_mysqlnd_object_factory__get_pfc)(const bool persistent, MYSQLND_STATS … 415 typedef MYSQLND_VIO * (*func_mysqlnd_object_factory__get_vio)(const bool persistent, MYSQLND_STATS … 852 bool persistent; member 862 bool persistent; member 955 bool persistent; member 962 bool persistent; member 1068 bool persistent; member 1134 bool persistent; member [all …]
|
H A D | mysqlnd.h | 81 #define mysqlnd_init(flags, persistent) mysqlnd_connection_init((flags), (persistent), NULL /*use … argument 85 PHPAPI MYSQLND * mysqlnd_connection_init(const size_t client_flags, const bool persistent, MYSQLND_…
|
H A D | mysqlnd_driver.c | 110 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 117 mnd_pefree(new_object, persistent); in MYSQLND_METHOD() 120 new_object->persistent = persistent; in MYSQLND_METHOD() 133 data->persistent = persistent; in MYSQLND_METHOD() 174 new_object->persistent = to_be_cloned->persistent; in MYSQLND_METHOD() 232 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 235 pfc->persistent = pfc->data->persistent = persistent; in MYSQLND_METHOD() 254 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 257 vio->persistent = vio->data->persistent = persistent; in MYSQLND_METHOD() 275 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_commands.c | 111 mysqlnd_set_persistent_string(&conn->connect_or_select_db, db.s, db.l, conn->persistent); in MYSQLND_METHOD() 615 conn->server_version = mnd_pestrdup(greet_packet.server_version, conn->persistent); in MYSQLND_METHOD()
|
/php-src/ext/standard/ |
H A D | user_filters.c | 222 zval *filterparams, uint8_t persistent) in user_filter_factory_create() argument 231 if (persistent) { in user_filter_factory_create()
|
/php-src/ext/mysqli/ |
H A D | mysqli_api.c | 253 if (!mysql->persistent) { in php_mysqli_close() 273 mysql->persistent = false; in php_mysqli_close()
|
H A D | mysqli_nonapi.c | 59 bool persistent = false, ssl = false; local 146 mysql->persistent = persistent = true; 215 if (persistent && MyG(max_persistent) != -1 && 223 if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_NO_FLAG, persistent))) { 286 if (persistent && (new_connection || is_real_connect)) { 307 mysql->persistent = false;
|
/php-src/ |
H A D | php.ini-development | 1121 ; Allow or prevent persistent links. 1122 ; https://php.net/odbc.allow-persistent 1126 ; https://php.net/odbc.check-persistent 1130 ; https://php.net/odbc.max-persistent 1133 ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1151 ; https://php.net/mysqli.max-persistent 1162 ; Allow or prevent persistent links. 1200 ; into the persistent connection pool. 1238 ; Allow or prevent persistent links. 1248 ; https://php.net/pgsql.max-persistent [all …]
|
H A D | php.ini-production | 1123 ; Allow or prevent persistent links. 1124 ; https://php.net/odbc.allow-persistent 1128 ; https://php.net/odbc.check-persistent 1132 ; https://php.net/odbc.max-persistent 1135 ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1153 ; https://php.net/mysqli.max-persistent 1164 ; Allow or prevent persistent links. 1202 ; into the persistent connection pool. 1240 ; Allow or prevent persistent links. 1250 ; https://php.net/pgsql.max-persistent [all …]
|
/php-src/ext/random/ |
H A D | random.c | 237 PHPAPI void *php_random_status_alloc(const php_random_algo *algo, const bool persistent) in php_random_status_alloc() argument 239 return algo->state_size > 0 ? pecalloc(1, algo->state_size, persistent) : NULL; in php_random_status_alloc() 247 PHPAPI void php_random_status_free(void *status, const bool persistent) in php_random_status_free() argument 249 pefree(status, persistent); in php_random_status_free()
|
H A D | php_random.h | 157 PHPAPI void *php_random_status_alloc(const php_random_algo *algo, const bool persistent); 159 PHPAPI void php_random_status_free(void *status, const bool persistent);
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_driver.c | 36 # define pdo_mysql_init(persistent) mysqlnd_init(MYSQLND_CLIENT_NO_FLAG, persistent) argument 38 # define pdo_mysql_init(persistent) mysql_init(NULL) argument
|
/php-src/main/ |
H A D | php_network.h | 347 …e php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument 348 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument 351 …p_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument 352 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument 353 …am_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (path… argument
|
/php-src/ext/ffi/ |
H A D | ffi_arginfo.h | 20 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false")
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 43 zend_string *string = ZSTR_INIT_LITERAL("Hello world!", /* persistent */ false); 50 ``zend_string_init(char *string, size_t length, bool persistent)`` that provides the length of the 51 string at compile time. The ``persistent`` parameter indicates whether the string is allocated using 52 ``malloc`` (``persistent == true``) or ``emalloc``, `PHPs custom allocator <todo>`__ (``persistent 70 - - Function/Macro [#persistent]_ 83 - Creates a non-persistent string by concatenating two character buffers. 100 .. [#persistent] 102 ``s`` = ``zend_string``, ``l`` = ``length``, ``p`` = ``persistent``. 178 ZSTR_INIT_LITERAL("MyClass", /* persistent */ false)); 182 ZSTR_INIT_LITERAL("MyClass", /* persistent */ false));
|