Home
last modified time | relevance | path

Searched refs:persistent (Results 1 – 25 of 121) sorted by relevance

12345

/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_driver.c121 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
128 mnd_pefree(new_object, persistent); in MYSQLND_METHOD()
131 new_object->persistent = persistent; in MYSQLND_METHOD()
139 data->persistent = persistent; in MYSQLND_METHOD()
178 new_object->persistent = to_be_cloned->persistent; in MYSQLND_METHOD()
205 ret->persistent = conn->persistent; in MYSQLND_METHOD()
212 stmt->persistent = conn->persistent; in MYSQLND_METHOD()
262 net->persistent = net->data->persistent = persistent; in MYSQLND_METHOD()
271 mnd_pefree(net_data, persistent); in MYSQLND_METHOD()
275 mnd_pefree(net, persistent); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_alloc.c117 void * _mysqlnd_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D) in _mysqlnd_pemalloc()
145 TRACE_ALLOC_INF_FMT("size=%lu ptr=%p persistent=%u", size, ret, persistent); in _mysqlnd_pemalloc()
306 ret = perealloc(REAL_PTR(ptr), REAL_SIZE(new_size), persistent); in _mysqlnd_perealloc()
359 void _mysqlnd_pefree(void *ptr, zend_bool persistent MYSQLND_MEM_D) in _mysqlnd_pefree()
371 TRACE_ALLOC_INF_FMT("ptr=%p persistent=%u", ptr, persistent); in _mysqlnd_pefree()
657 return pemalloc(size, persistent); in mysqlnd_zend_mm_pemalloc()
673 return pecalloc(nmemb, size, persistent); in mysqlnd_zend_mm_pecalloc()
689 return perealloc(ptr, new_size, persistent); in mysqlnd_zend_mm_perealloc()
705 pefree(ptr, persistent); in mysqlnd_zend_mm_pefree()
745 return pestrndup(ptr, length, persistent); in mysqlnd_zend_mm_pestrndup()
[all …]
H A Dmysqlnd_result_meta.c36 mnd_pefree(meta->root, persistent); in php_mysqlnd_free_field_metadata()
40 mnd_pefree(meta->def, persistent); in php_mysqlnd_free_field_metadata()
64 field_packet->persistent_alloc = meta->persistent; in MYSQLND_METHOD()
70 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD()
155 DBG_INF_FMT("persistent=%u", meta->persistent); in MYSQLND_METHOD()
163 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD()
173 mnd_pefree(meta, meta->persistent); in MYSQLND_METHOD()
192 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
198 new_meta->persistent = persistent; in MYSQLND_METHOD()
359 DBG_INF_FMT("persistent=%u", persistent); in mysqlnd_result_meta_init()
[all …]
H A Dmysqlnd_result.h24 PHPAPI MYSQLND_RES * mysqlnd_result_init(unsigned int field_count, zend_bool persistent);
25 …RED * mysqlnd_result_unbuffered_init(unsigned int field_count, zend_bool ps, zend_bool persistent);
26 … * mysqlnd_result_buffered_zval_init(unsigned int field_count, zend_bool ps, zend_bool persistent);
27 …D_C * mysqlnd_result_buffered_c_init(unsigned int field_count, zend_bool ps, zend_bool persistent);
H A Dmysqlnd_alloc.h32 void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D);
34 void * (*m_pecalloc)(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D);
36 void * (*m_perealloc)(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D);
38 void (*m_pefree)(void *ptr, 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);
53 PHPAPI void * _mysqlnd_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D);
55 PHPAPI void * _mysqlnd_pecalloc(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D…
57 PHPAPI void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D);
59 PHPAPI void _mysqlnd_pefree(void *ptr, zend_bool persistent MYSQLND_MEM_D);
[all …]
H A Dmysqlnd_statistics.c233 mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count, int persistent) in mysqlnd_stats_init() argument
235 *stats = pecalloc(1, sizeof(MYSQLND_STATS), persistent); in mysqlnd_stats_init()
239 (*stats)->values = pecalloc(statistic_count, sizeof(uint64_t), persistent); in mysqlnd_stats_init()
240 (*stats)->triggers = pecalloc(statistic_count, sizeof(mysqlnd_stat_trigger), persistent); in mysqlnd_stats_init()
252 mysqlnd_stats_end(MYSQLND_STATS * stats, int persistent) in mysqlnd_stats_end() argument
257 pefree(stats->triggers, persistent); in mysqlnd_stats_end()
258 pefree(stats->values, persistent); in mysqlnd_stats_end()
260 pefree(stats, persistent); in mysqlnd_stats_end()
H A Dmysqlnd_wireprotocol.c2348 packet->header.persistent = persistent; in MYSQLND_METHOD()
2363 packet->header.persistent = persistent; in MYSQLND_METHOD()
2378 packet->header.persistent = persistent; in MYSQLND_METHOD()
2393 packet->header.persistent = persistent; in MYSQLND_METHOD()
2408 packet->header.persistent = persistent; in MYSQLND_METHOD()
2423 packet->header.persistent = persistent; in MYSQLND_METHOD()
2438 packet->header.persistent = persistent; in MYSQLND_METHOD()
2453 packet->header.persistent = persistent; in MYSQLND_METHOD()
2468 packet->header.persistent = persistent; in MYSQLND_METHOD()
2483 packet->header.persistent = persistent; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_structs.h871 zend_bool persistent; member
890 zend_bool persistent; member
900 zend_bool persistent; member
986 zend_bool persistent; member
993 zend_bool persistent; member
1019 zend_bool persistent; member
1039 zend_bool persistent; \
1095 zend_bool persistent; member
1113 zend_bool persistent; member
1147 zend_bool persistent; member
[all …]
/PHP-7.0/main/streams/
H A Dphp_streams_int.h34 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size… argument
35 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument
37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument
38 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument
H A Dphp_stream_filter_api.h134 … *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC);
136 …ine php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr),… argument
137 …php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr),… argument
145 php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent);
152 …tream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent);
/PHP-7.0/ext/bcmath/libbcmath/src/
H A Dinit.c48 _bc_new_num_ex (length, scale, persistent) in _bc_new_num_ex() argument
49 int length, scale, persistent; in _bc_new_num_ex()
57 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent);
63 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
72 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent);
84 _bc_free_num_ex (num, persistent) in _bc_free_num_ex() argument
86 int persistent;
93 pefree ((*num)->n_ptr, persistent);
94 pefree(*num, persistent);
/PHP-7.0/Zend/
H A Dzend_smart_str.h51 static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, zend_bool persistent) { in END_EXTERN_C()
58 if (persistent) { in END_EXTERN_C()
82 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent)… in smart_str_appendc_ex() argument
83 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
89 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
94 …ys_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) { in smart_str_append_ex() argument
95 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
100 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
104 …always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) { in smart_str_append_long_ex() argument
107 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
[all …]
H A Dzend_alloc.h195 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) argument
197 #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) argument
198 #define pefree_size(ptr, size, persistent) ((persistent)?free(ptr):efree_size(ptr, size)) argument
199 #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nme… argument
200 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… argument
205 #define pestrdup(s, persistent) ((persistent)?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):emalloc_rel(size)) argument
209 #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) argument
211 #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_r… argument
[all …]
H A Dzend_string.h119 static zend_always_inline zend_string *zend_string_alloc(size_t len, int persistent) in zend_string_alloc() argument
126 GC_TYPE_INFO(ret) = IS_STRING | ((persistent ? IS_STR_PERSISTENT : 0) << 8); in zend_string_alloc()
129 GC_FLAGS(ret) = (persistent ? IS_STR_PERSISTENT : 0); in zend_string_alloc()
144 GC_TYPE_INFO(ret) = IS_STRING | ((persistent ? IS_STR_PERSISTENT : 0) << 8); in zend_string_safe_alloc()
147 GC_FLAGS(ret) = (persistent ? IS_STR_PERSISTENT : 0); in zend_string_safe_alloc()
157 zend_string *ret = zend_string_alloc(len, persistent); in zend_string_init()
177 return zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in zend_string_dup()
195 ret = zend_string_alloc(len, persistent); in zend_string_realloc()
215 ret = zend_string_alloc(len, persistent); in zend_string_extend()
235 ret = zend_string_alloc(len, persistent); in zend_string_truncate()
[all …]
H A Dzend_ptr_stack.c28 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) in zend_ptr_stack_init_ex() argument
32 stack->persistent = persistent; in zend_ptr_stack_init_ex()
79 pefree(stack->elements, stack->persistent); in zend_ptr_stack_destroy()
101 pefree(stack->elements[i], stack->persistent); in zend_ptr_stack_clean()
H A Dzend_ts_hash.h40 …h_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_D…
41 …nit_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bAppl…
45 #define zend_ts_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ argument
46 _zend_ts_hash_init(ht, nSize, pDestructor, persistent ZEND_FILE_LINE_CC)
47 #define zend_ts_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) \ argument
48 _zend_ts_hash_init_ex(ht, nSize, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_CC)
145 #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ argument
146 zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
H A Dzend_llist.c26 … void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent) in zend_llist_init() argument
33 l->persistent = persistent; in zend_llist_init()
38 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element()
56 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
86 pefree((current), (l)->persistent);\
113 pefree(current, l->persistent); in zend_llist_destroy()
147 pefree(old_tail, l->persistent); in zend_llist_remove_tail()
155 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
/PHP-7.0/ext/standard/
H A Dfilters.c176 int persistent; member
191 inst->persistent = persistent; in php_strip_tags_filter_ctor()
331 int persistent; member
371 inst->persistent = persistent; in php_conv_base64_encode_ctor()
744 int persistent; member
980 inst->persistent = persistent; in php_conv_qprint_encode_ctor()
996 int persistent; member
1194 inst->persistent = persistent; in php_conv_qprint_decode_ctor()
1429 inst->persistent = persistent; in php_convert_filter_ctor()
1845 data->persistent = persistent; in consumed_filter_create()
[all …]
H A Dbrowscap.c255 interned = zend_string_dup(lcname, persistent); in browscap_intern_str_ci()
306 int persistent = bdata->htab->u.flags & HASH_FLAG_PERSISTENT; in php_browscap_parser_cb() local
351 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb()
370 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb()
413 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
419 persistent ? browscap_entry_dtor_persistent : browscap_entry_dtor, persistent, 0); in browscap_read_file()
429 ctx.str_empty = zend_string_init("", sizeof("")-1, persistent); in browscap_read_file()
430 ctx.str_one = zend_string_init("1", sizeof("1")-1, persistent); in browscap_read_file()
431 zend_hash_init(&ctx.str_interned, 8, NULL, NULL, persistent); in browscap_read_file()
464 pefree(bdata->htab, persistent); in browscap_bdata_dtor()
[all …]
/PHP-7.0/ext/bz2/
H A Dbz2_filter.c47 int persistent; member
190 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor()
191 pefree(data->outbuf, data->persistent); in php_bz2_decompress_dtor()
192 pefree(data, data->persistent); in php_bz2_decompress_dtor()
294 pefree(data->inbuf, data->persistent); in php_bz2_compress_dtor()
296 pefree(data, data->persistent); in php_bz2_compress_dtor()
328 data->persistent = persistent; in php_bz2_filter_create()
333 pefree(data, persistent); in php_bz2_filter_create()
340 pefree(data->inbuf, persistent); in php_bz2_filter_create()
341 pefree(data, persistent); in php_bz2_filter_create()
[all …]
/PHP-7.0/ext/zlib/
H A Dzlib_filter.c33 int persistent; member
164 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor()
165 pefree(data->outbuf, data->persistent); in php_zlib_inflate_dtor()
166 pefree(data, data->persistent); in php_zlib_inflate_dtor()
273 pefree(data->inbuf, data->persistent); in php_zlib_deflate_dtor()
274 pefree(data->outbuf, data->persistent); in php_zlib_deflate_dtor()
275 pefree(data, data->persistent); in php_zlib_deflate_dtor()
311 pefree(data, persistent); in php_zlib_filter_create()
318 pefree(data->inbuf, persistent); in php_zlib_filter_create()
319 pefree(data, persistent); in php_zlib_filter_create()
[all …]
/PHP-7.0/ext/mcrypt/
H A Dmcrypt_filter.c33 char persistent; member
66 outchunk = pemalloc(chunklen, data->persistent); in php_mcrypt_filter()
83 newbucket = php_stream_bucket_new(stream, outchunk, n, 1, data->persistent); in php_mcrypt_filter()
114 …ewbucket = php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent); in php_mcrypt_filter()
133 pefree(data->block_buffer, data->persistent); in php_mcrypt_filter_dtor()
139 pefree(data, data->persistent); in php_mcrypt_filter_dtor()
152 …stream_filter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int persistent) in php_mcrypt_filter_create() argument
255 data = pemalloc(sizeof(php_mcrypt_filter_data), persistent); in php_mcrypt_filter_create()
260 data->block_buffer = pemalloc(data->blocksize, persistent); in php_mcrypt_filter_create()
266 data->persistent = persistent; in php_mcrypt_filter_create()
[all …]
/PHP-7.0/ext/oci8/tests/
H A Dpersistent.phpt2 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 Dpassword_2.phpt2 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)
/PHP-7.0/main/
H A Dphp_network.h326 …e php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument
327 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument
330 …p_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument
331 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument
332 …am_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (path… argument

Completed in 135 milliseconds

12345