Home
last modified time | relevance | path

Searched refs:persistent (Results 101 – 125 of 130) sorted by relevance

123456

/php-src/ext/mysqli/
H A Dphp_mysqli_structs.h68 bool persistent; member
H A Dmysqli_api.c240 if (!mysql->persistent) { in php_mysqli_close()
260 mysql->persistent = false; in php_mysqli_close()
/php-src/Zend/
H A Dzend_string.c198 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 Dzend_hash.h104 …_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 Dzend_opcode.c112 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 Dzend_operators.h475 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 Dzend_operators.c3062 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 Dzend_inheritance.c66 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 Dzend_hash.c262 …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 Dzend_compile.h941 ZEND_API void zend_type_release(zend_type type, bool persistent);
H A Dzend_API.c3555 …_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 Dmysql_driver.c36 # 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 Dmysqlnd_auth.c102 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 Dmysqlnd_commands.c111 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 Dmysqlnd_wireprotocol.c2628 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 Dphp_ffi.h59 bool persistent; variable
H A Dffi_arginfo.h20 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false")
/php-src/sapi/embed/
H A DREADME.md131 ZVAL_NEW_STR(&ini_value, zend_string_init(ZEND_STRL("Embed SAPI error:"), /* persistent */ 1));
/php-src/ext/gd/libgd/
H A Dgd_avif.c238 reader->io.persistent = AVIF_FALSE; in createAvifIOFromCtx()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c40 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 Dfcgi.inc760 * 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 Dplain_wrapper.c1108 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 Dreference-counting.rst208 #define GC_PERSISTENT_LOCAL (1<<8) /* persistent, but thread-local */
/php-src/ext/pgsql/
H A Dpgsql.c183 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 Dmbstring.c299 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()

Completed in 188 milliseconds

123456