/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_driver.c | 107 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 114 mnd_pefree(new_object, persistent); in MYSQLND_METHOD() 117 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() 253 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 256 pfc->persistent = pfc->data->persistent = persistent; in MYSQLND_METHOD() 278 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() 281 vio->persistent = vio->data->persistent = persistent; in MYSQLND_METHOD() 302 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_alloc.c | 131 ret = pemalloc_rel(REAL_SIZE(size), persistent); in _mysqlnd_pemalloc() 136 ret = pemalloc_rel(REAL_SIZE(size), persistent); in _mysqlnd_pemalloc() 212 ret = pecalloc_rel(nmemb, REAL_SIZE(size), persistent); in _mysqlnd_pecalloc() 359 pefree_rel(REAL_PTR(ptr), persistent); in _mysqlnd_pefree() 527 ret = pemalloc_rel(REAL_SIZE(length + 1), persistent); in _mysqlnd_pememdup() 663 return pemalloc_rel(size, persistent); in mysqlnd_zend_mm_pemalloc() 679 return pecalloc_rel(nmemb, size, persistent); in mysqlnd_zend_mm_pecalloc() 695 return perealloc_rel(ptr, new_size, persistent); in mysqlnd_zend_mm_perealloc() 711 pefree_rel(ptr, persistent); in mysqlnd_zend_mm_pefree() 751 char * dest = pemalloc_rel(length, persistent); in mysqlnd_zend_mm_pememdup() [all …]
|
H A D | mysqlnd_alloc.h | 31 void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D); 33 void * (*m_pecalloc)(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D); 35 void * (*m_perealloc)(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D); 37 void (*m_pefree)(void *ptr, zend_bool persistent MYSQLND_MEM_D); 42 char * (*m_pememdup)(const char * const ptr, size_t size, zend_bool persistent MYSQLND_MEM_D); 43 char * (*m_pestrndup)(const char * const ptr, size_t size, zend_bool persistent MYSQLND_MEM_D); 44 char * (*m_pestrdup)(const char * const ptr, zend_bool persistent MYSQLND_MEM_D); 71 static inline MYSQLND_STRING mnd_dup_cstring(const MYSQLND_CSTRING str, const zend_bool persistent) in mnd_dup_cstring() argument 73 const MYSQLND_STRING ret = {(char*) mnd_pemalloc(str.l + 1, persistent), str.l}; in mnd_dup_cstring()
|
H A D | mysqlnd_statistics.c | 217 mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const zend_bool persistent) in mysqlnd_stats_init() argument 219 *stats = pecalloc(1, sizeof(MYSQLND_STATS), persistent); in mysqlnd_stats_init() 220 (*stats)->values = pecalloc(statistic_count, sizeof(uint64_t), persistent); in mysqlnd_stats_init() 221 (*stats)->triggers = pecalloc(statistic_count, sizeof(mysqlnd_stat_trigger), persistent); in mysqlnd_stats_init() 233 mysqlnd_stats_end(MYSQLND_STATS * stats, const zend_bool persistent) in mysqlnd_stats_end() argument 238 pefree(stats->triggers, persistent); in mysqlnd_stats_end() 239 pefree(stats->values, persistent); in mysqlnd_stats_end() 241 pefree(stats, persistent); in mysqlnd_stats_end()
|
/PHP-7.4/main/streams/ |
H A D | php_streams_int.h | 31 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size… argument 32 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument 34 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument 35 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument
|
H A D | php_stream_filter_api.h | 132 …eam_filter_alloc(const php_stream_filter_ops *fops, void *abstract, uint8_t persistent STREAMS_DC); 134 …ine php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr),… argument 135 …php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr),… argument 143 …php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, uint8_t persistent… 150 …m_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint8_t persistent);
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | init.c | 43 _bc_new_num_ex (length, scale, persistent) in _bc_new_num_ex() argument 44 int length, scale, persistent; in _bc_new_num_ex() 52 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); 58 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); 69 _bc_free_num_ex (num, persistent) in _bc_free_num_ex() argument 71 int persistent; 78 pefree ((*num)->n_ptr, persistent); 79 pefree(*num, persistent);
|
/PHP-7.4/Zend/ |
H A D | zend_smart_str.h | 59 static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, zend_bool persistent) { in END_EXTERN_C() 66 if (persistent) { in END_EXTERN_C() 77 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex() 83 static zend_always_inline void smart_str_free_ex(smart_str *str, zend_bool persistent) { in smart_str_free_ex() argument 85 zend_string_release_ex(str->s, persistent); in smart_str_free_ex() 114 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() 120 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() 126 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex() 131 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex() 138 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex() [all …]
|
H A D | zend_smart_string.h | 56 …zend_always_inline size_t smart_string_alloc(smart_string *str, size_t len, zend_bool persistent) { in smart_string_alloc() argument 58 if (persistent) { in smart_string_alloc() 67 static zend_always_inline void smart_string_free_ex(smart_string *str, zend_bool persistent) { in smart_string_free_ex() argument 69 pefree(str->c, persistent); in smart_string_free_ex() 81 …end_always_inline void smart_string_appendc_ex(smart_string *dest, char ch, zend_bool persistent) { in smart_string_appendc_ex() argument 82 dest->len = smart_string_alloc(dest, 1, persistent); in smart_string_appendc_ex() 87 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() 93 …_inline void smart_string_append_long_ex(smart_string *dest, zend_long num, zend_bool persistent) { in smart_string_append_long_ex() argument 96 smart_string_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_string_append_long_ex() 99 …ne void smart_string_append_unsigned_ex(smart_string *dest, zend_ulong num, zend_bool persistent) { in smart_string_append_unsigned_ex() argument [all …]
|
H A D | zend_alloc.h | 193 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) argument 195 #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) argument 197 if (persistent) { \ 204 #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nme… argument 205 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… argument 210 #define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s)) argument 211 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument 213 #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) argument 214 #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) argument 216 #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_r… argument [all …]
|
H A D | zend_string.h | 134 static zend_always_inline zend_string *zend_string_alloc(size_t len, int persistent) in zend_string_alloc() argument 139 GC_TYPE_INFO(ret) = IS_STRING | ((persistent ? IS_STR_PERSISTENT : 0) << GC_FLAGS_SHIFT); in zend_string_alloc() 158 zend_string *ret = zend_string_alloc(len, persistent); in zend_string_init() 173 static zend_always_inline zend_string *zend_string_dup(zend_string *s, int persistent) in zend_string_dup() argument 178 return zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in zend_string_dup() 194 ret = zend_string_alloc(len, persistent); in zend_string_realloc() 215 ret = zend_string_alloc(len, persistent); in zend_string_extend() 236 ret = zend_string_alloc(len, persistent); in zend_string_truncate() 256 ret = zend_string_safe_alloc(n, m, l, persistent); in zend_string_safe_realloc() 289 static zend_always_inline void zend_string_release_ex(zend_string *s, int persistent) in zend_string_release_ex() argument [all …]
|
H A D | zend_ptr_stack.c | 24 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) in zend_ptr_stack_init_ex() argument 28 stack->persistent = persistent; in zend_ptr_stack_init_ex() 75 pefree(stack->elements, stack->persistent); in zend_ptr_stack_destroy() 106 pefree(stack->elements[i], stack->persistent); in zend_ptr_stack_clean()
|
H A D | zend_ts_hash.h | 38 …_zend_ts_hash_init(TsHashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent); 42 #define zend_ts_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ argument 43 _zend_ts_hash_init(ht, nSize, pDestructor, persistent) 44 #define zend_ts_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) \ argument 45 _zend_ts_hash_init(ht, nSize, pDestructor, persistent) 135 #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ argument 136 zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
|
H A D | zend_llist.c | 24 … void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent) in zend_llist_init() argument 31 l->persistent = persistent; in zend_llist_init() 36 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element() 54 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element() 84 pefree((current), (l)->persistent);\ 111 pefree(current, l->persistent); in zend_llist_destroy() 145 pefree(old_tail, l->persistent); in zend_llist_remove_tail() 153 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
|
/PHP-7.4/ext/standard/ |
H A D | filters.c | 189 inst->persistent = persistent; in php_strip_tags_filter_ctor() 336 int persistent; member 376 inst->persistent = persistent; in php_conv_base64_encode_ctor() 749 int persistent; member 985 inst->persistent = persistent; in php_conv_qprint_encode_ctor() 1001 int persistent; member 1198 inst->persistent = persistent; in php_conv_qprint_decode_ctor() 1205 int persistent; member 1431 inst->persistent = persistent; in php_convert_filter_ctor() 1822 data->persistent = persistent; in consumed_filter_create() [all …]
|
H A D | browscap.c | 232 if (persistent) { in browscap_intern_str() 254 interned = zend_string_dup(lcname, persistent); in browscap_intern_str_ci() 255 if (persistent) { in browscap_intern_str_ci() 306 int persistent = GC_FLAGS(bdata->htab) & IS_ARRAY_PERSISTENT; in php_browscap_parser_cb() local 352 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb() 370 if (persistent) { in php_browscap_parser_cb() 380 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb() 422 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file() 424 persistent ? browscap_entry_dtor_persistent : browscap_entry_dtor, persistent, 0); in browscap_read_file() 465 pefree(bdata->htab, persistent); in browscap_bdata_dtor() [all …]
|
/PHP-7.4/ext/zlib/ |
H A D | zlib_filter.c | 31 int persistent; member 154 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor() 155 pefree(data->outbuf, data->persistent); in php_zlib_inflate_dtor() 156 pefree(data, data->persistent); in php_zlib_inflate_dtor() 268 pefree(data->inbuf, data->persistent); in php_zlib_deflate_dtor() 269 pefree(data->outbuf, data->persistent); in php_zlib_deflate_dtor() 270 pefree(data, data->persistent); in php_zlib_deflate_dtor() 306 pefree(data, persistent); in php_zlib_filter_create() 313 pefree(data->inbuf, persistent); in php_zlib_filter_create() 314 pefree(data, persistent); in php_zlib_filter_create() [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 30 # define pemalloc(size, persistent) malloc(size) argument 31 # define pefree(ptr, persistent) free(ptr) argument 38 tree->persistent = 0; in phpdbg_btree_init() 163 …btree_branch *memory = *branch = pemalloc((i + 2) * sizeof(phpdbg_btree_branch), tree->persistent); in phpdbg_btree_insert_or_update() 205 pefree(tree->branch, tree->persistent); in phpdbg_btree_delete() 212 pefree(last_dual_branch->branches[!last_dual_branch_branch], tree->persistent); in phpdbg_btree_delete() 220 pefree(last_dual_branch->branches[last_dual_branch_branch], tree->persistent); in phpdbg_btree_delete() 229 …phpdbg_btree_clean_recursive(phpdbg_btree_branch *branch, zend_ulong depth, zend_bool persistent) { in phpdbg_btree_clean_recursive() argument 234 phpdbg_btree_clean_recursive(branch->branches[use_branch], depth, persistent); in phpdbg_btree_clean_recursive() 238 pefree(start, persistent); in phpdbg_btree_clean_recursive() [all …]
|
/PHP-7.4/ext/bz2/ |
H A D | bz2_filter.c | 46 int persistent; member 189 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor() 190 pefree(data->outbuf, data->persistent); in php_bz2_decompress_dtor() 191 pefree(data, data->persistent); in php_bz2_decompress_dtor() 297 pefree(data->inbuf, data->persistent); in php_bz2_compress_dtor() 298 pefree(data->outbuf, data->persistent); in php_bz2_compress_dtor() 299 pefree(data, data->persistent); in php_bz2_compress_dtor() 327 data->persistent = persistent; in php_bz2_filter_create() 397 pefree(data->strm.next_in, persistent); in php_bz2_filter_create() 398 pefree(data->strm.next_out, persistent); in php_bz2_filter_create() [all …]
|
/PHP-7.4/ext/oci8/tests/ |
H A D | persistent.phpt | 2 reusing persistent connections 20 resource(%d) of type (oci8 persistent connection) 21 resource(%d) of type (oci8 persistent connection) 22 resource(%d) of type (oci8 persistent connection)
|
H A D | password_2.phpt | 2 oci_password_change() for persistent connections 24 // Connect (persistent) and change the password 76 resource(%d) of type (oci8 persistent connection) 77 resource(%d) of type (oci8 persistent connection) 78 resource(%d) of type (oci8 persistent connection)
|
H A D | drcp_pconn_close1.phpt | 13 // Test will open a persistent connection 41 resource(%d) of type (oci8 persistent connection) 42 resource(%d) of type (oci8 persistent connection)
|
H A D | drcp_pconn_close2.phpt | 13 // Test will open a persistent connection 43 resource(%d) of type (oci8 persistent connection) 44 resource(%d) of type (oci8 persistent connection)
|
/PHP-7.4/main/ |
H A D | php_network.h | 325 …e php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument 326 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument 329 …p_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument 330 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument 331 …am_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (path… argument
|
/PHP-7.4/ext/oci8/ |
H A D | oci8_dtrace.d | 21 …try(char *username, char *dbname, char *charset, long session_mode, int persistent, int exclusive); 32 …probe oci8__connect__type(int persistent, int exclusive, void *connection, long num_persistent, lo…
|