/php-src/ext/mysqli/ |
H A D | php_mysqli_structs.h | 68 bool persistent; member
|
H A D | mysqli_api.c | 240 if (!mysql->persistent) { in php_mysqli_close() 260 mysql->persistent = false; in php_mysqli_close()
|
/php-src/Zend/ |
H A D | zend_string.c | 198 static zend_string* ZEND_FASTCALL zend_init_string_for_interning(zend_string *str, bool persistent) in zend_init_string_for_interning() argument 203 str = zend_string_init(ZSTR_VAL(str), ZSTR_LEN(str), persistent); in zend_init_string_for_interning()
|
H A D | zend_hash.h | 104 …_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, bool persistent); 108 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ argument 109 _zend_hash_init((ht), (nSize), (pDestructor), (persistent)) 388 #define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \ in END_EXTERN_C() argument 389 zend_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent) in END_EXTERN_C()
|
H A D | zend_opcode.c | 112 ZEND_API void zend_type_release(zend_type type, bool persistent) { in zend_type_release() argument 116 zend_type_release(*list_type, persistent); in zend_type_release() 119 pefree(ZEND_TYPE_LIST(type), persistent); in zend_type_release()
|
H A D | zend_operators.h | 475 ZEND_API zend_string* ZEND_FASTCALL zend_string_tolower_ex(zend_string *str, bool persistent); 476 ZEND_API zend_string* ZEND_FASTCALL zend_string_toupper_ex(zend_string *str, bool persistent);
|
H A D | zend_operators.c | 3062 ZEND_API zend_string* ZEND_FASTCALL zend_string_tolower_ex(zend_string *str, bool persistent) /* {{… in zend_string_tolower_ex() argument 3073 zend_string *res = zend_string_alloc(length, persistent); in zend_string_tolower_ex() 3094 zend_string *res = zend_string_alloc(length, persistent); in zend_string_tolower_ex() 3111 ZEND_API zend_string* ZEND_FASTCALL zend_string_toupper_ex(zend_string *str, bool persistent) /* {{… in zend_string_toupper_ex() argument 3122 zend_string *res = zend_string_alloc(length, persistent); in zend_string_toupper_ex() 3143 zend_string *res = zend_string_alloc(length, persistent); in zend_string_toupper_ex()
|
H A D | zend_inheritance.c | 66 static void zend_type_copy_ctor(zend_type *const type, bool use_arena, bool persistent); 71 bool persistent in zend_type_list_copy_ctor() argument 76 ? zend_arena_alloc(&CG(arena), size) : pemalloc(size, persistent); in zend_type_list_copy_ctor() 86 zend_type_copy_ctor(list_type, use_arena, persistent); in zend_type_list_copy_ctor() 90 static void zend_type_copy_ctor(zend_type *const type, bool use_arena, bool persistent) { in zend_type_copy_ctor() argument 92 zend_type_list_copy_ctor(type, use_arena, persistent); in zend_type_copy_ctor()
|
H A D | zend_hash.c | 262 …e void _zend_hash_init_int(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, bool persistent) in _zend_hash_init_int() argument 265 …GC_TYPE_INFO(ht) = GC_ARRAY | (persistent ? ((GC_PERSISTENT|GC_NOT_COLLECTABLE) << GC_FLAGS_SHIFT)… in _zend_hash_init_int() 277 …D_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, bool persistent) in _zend_hash_init() argument 279 _zend_hash_init_int(ht, nSize, pDestructor, persistent); in _zend_hash_init()
|
H A D | zend_compile.h | 941 ZEND_API void zend_type_release(zend_type type, bool persistent);
|
H A D | zend_API.c | 3555 …_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, bool persistent) /* {{{ */ in zend_register_class_alias_ex() argument 3561 if (persistent && EG(current_module) && EG(current_module)->type == MODULE_TEMPORARY) { in zend_register_class_alias_ex() 3562 persistent = 0; in zend_register_class_alias_ex() 3566 lcname = zend_string_alloc(name_len-1, persistent); in zend_register_class_alias_ex() 3569 lcname = zend_string_alloc(name_len, persistent); in zend_register_class_alias_ex()
|
/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/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 102 mysqlnd_set_persistent_string(&conn->authentication_plugin_data, NULL, 0, conn->persistent); in mysqlnd_run_authentication() 104 …>authentication_plugin_data.s = mnd_pemalloc(conn->authentication_plugin_data.l, conn->persistent); in mysqlnd_run_authentication() 491 mysqlnd_set_persistent_string(&conn->username, user, user_len, conn->persistent); in mysqlnd_auth_change_user() 492 mysqlnd_set_persistent_string(&conn->password, passwd, passwd_len, conn->persistent); in mysqlnd_auth_change_user()
|
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()
|
H A D | mysqlnd_wireprotocol.c | 2628 mysqlnd_protocol_payload_decoder_factory_init(MYSQLND_CONN_DATA * conn, const bool persistent) in mysqlnd_protocol_payload_decoder_factory_init() argument 2632 …S_METHOD_TABLE_NAME(mysqlnd_object_factory).get_protocol_payload_decoder_factory(conn, persistent); in mysqlnd_protocol_payload_decoder_factory_init() 2645 bool pers = factory->persistent; in mysqlnd_protocol_payload_decoder_factory_free()
|
/php-src/ext/ffi/ |
H A D | php_ffi.h | 59 bool persistent; variable
|
H A D | ffi_arginfo.h | 20 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false")
|
/php-src/sapi/embed/ |
H A D | README.md | 131 ZVAL_NEW_STR(&ini_value, zend_string_init(ZEND_STRL("Embed SAPI error:"), /* persistent */ 1));
|
/php-src/ext/gd/libgd/ |
H A D | gd_avif.c | 238 reader->io.persistent = AVIF_FALSE; in createAvifIOFromCtx()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 40 static char * _pdo_pgsql_trim_message(const char *message, int persistent) in _pdo_pgsql_trim_message() argument 52 tmp = pemalloc(i + 1, persistent); in _pdo_pgsql_trim_message()
|
/php-src/sapi/fpm/tests/ |
H A D | fcgi.inc | 760 * rather than sequentially to guard against false-positives when using persistent sockets. 779 // Using persistent sockets implies you want them kept alive by server!
|
/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()
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 208 #define GC_PERSISTENT_LOCAL (1<<8) /* persistent, but thread-local */
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 183 if (!link->persistent) { in pgsql_link_free() 657 static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) in php_pgsql_do_connect() argument 681 if (persistent && PGG(allow_persistent)) { in php_pgsql_do_connect() 759 link->persistent = 1; in php_pgsql_do_connect() 806 link->persistent = 0; in php_pgsql_do_connect()
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 299 const mbfl_encoding ***return_list, size_t *return_size, bool persistent, uint32_t arg_num) in php_mb_parse_encoding_list() argument 320 list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); in php_mb_parse_encoding_list() 358 pefree(ZEND_VOIDP(list), persistent); in php_mb_parse_encoding_list() 475 …size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, bool persistent) in php_mb_zend_encoding_list_parser() argument 480 persistent, /* arg_num */ 0); in php_mb_zend_encoding_list_parser()
|