Home
last modified time | relevance | path

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

12345

/PHP-5.4/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()
257 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
259 net->persistent = persistent; in MYSQLND_METHOD()
280 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_alloc.c136 ret = pemalloc(REAL_SIZE(size), persistent); in _mysqlnd_pemalloc()
218 ret = pecalloc(nmemb, REAL_SIZE(size), persistent); in _mysqlnd_pecalloc()
365 DBG_INF_FMT("ptr=%p persistent=%u", ptr, persistent); in _mysqlnd_pefree()
372 pefree(REAL_PTR(ptr), persistent); in _mysqlnd_pefree()
548 ret = pemalloc(REAL_SIZE(length) + 1, persistent); in _mysqlnd_pestrndup()
645 return pemalloc(size, persistent); in mysqlnd_zend_mm_pemalloc()
661 return pecalloc(nmemb, size, persistent); in mysqlnd_zend_mm_pecalloc()
677 return perealloc(ptr, new_size, persistent); in mysqlnd_zend_mm_perealloc()
693 pefree(ptr, persistent); in mysqlnd_zend_mm_pefree()
733 return pestrndup(ptr, length, persistent); in mysqlnd_zend_mm_pestrndup()
[all …]
H A Dmysqlnd_alloc.h35 void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D);
37 void * (*m_pecalloc)(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D);
39 void * (*m_perealloc)(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D);
41 void (*m_pefree)(void *ptr, zend_bool persistent MYSQLND_MEM_D);
46 char * (*m_pestrndup)(const char * const ptr, size_t size, zend_bool persistent MYSQLND_MEM_D);
47 char * (*m_pestrdup)(const char * const ptr, zend_bool persistent MYSQLND_MEM_D);
56 PHPAPI void * _mysqlnd_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D);
58 PHPAPI void * _mysqlnd_pecalloc(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D…
60 PHPAPI void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D);
62 PHPAPI void _mysqlnd_pefree(void *ptr, zend_bool persistent MYSQLND_MEM_D);
[all …]
H A Dmysqlnd_result_meta.c37 mnd_pefree(meta->root, persistent); in php_mysqlnd_free_field_metadata()
41 mnd_pefree(meta->def, persistent); in php_mysqlnd_free_field_metadata()
157 field_packet->persistent_alloc = meta->persistent; in MYSQLND_METHOD()
163 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD()
272 DBG_INF_FMT("persistent=%u", meta->persistent); in MYSQLND_METHOD()
280 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD()
299 mnd_pefree(meta, meta->persistent); in MYSQLND_METHOD()
318 DBG_INF_FMT("persistent=%u", persistent); in MYSQLND_METHOD()
324 new_meta->persistent = persistent; in MYSQLND_METHOD()
476 DBG_INF_FMT("persistent=%u", persistent); in mysqlnd_result_meta_init()
[all …]
H A Dmysqlnd_wireprotocol.c2181 packet->header.persistent = persistent; in MYSQLND_METHOD()
2196 packet->header.persistent = persistent; in MYSQLND_METHOD()
2211 packet->header.persistent = persistent; in MYSQLND_METHOD()
2226 packet->header.persistent = persistent; in MYSQLND_METHOD()
2241 packet->header.persistent = persistent; in MYSQLND_METHOD()
2256 packet->header.persistent = persistent; in MYSQLND_METHOD()
2271 packet->header.persistent = persistent; in MYSQLND_METHOD()
2286 packet->header.persistent = persistent; in MYSQLND_METHOD()
2301 packet->header.persistent = persistent; in MYSQLND_METHOD()
2316 packet->header.persistent = persistent; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_priv.h47 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument
105 #define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \ argument
108 mnd_pefree((buf), (persistent)); \
111 (buf) = mnd_pestrndup((message), (len), (persistent)); \
118 #define SET_EMPTY_MESSAGE(buf, buf_len, persistent) \ argument
121 mnd_pefree((buf), (persistent)); \
H A Dmysqlnd_structs.h377 typedef MYSQLND * (*func_mysqlnd_object_factory__get_connection)(zend_bool persistent TSRMLS_DC);
381 …ND_PROTOCOL * (*func_mysqlnd_object_factory__get_protocol_decoder)(zend_bool persistent TSRMLS_DC);
462 … (*func_mysqlnd_conn_data__result_init)(unsigned int field_count, zend_bool persistent TSRMLS_DC);
793 zend_bool persistent; member
801 zend_bool persistent; member
871 zend_bool persistent; member
887 zend_bool persistent; member
912 zend_bool persistent; member
965 zend_bool persistent; member
999 zend_bool persistent; member
[all …]
/PHP-5.4/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 …p_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC TSRML…
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 TSR…
152 …er *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC);
/PHP-5.4/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()
54 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent);
60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
69 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent);
81 _bc_free_num_ex (num, persistent) in _bc_free_num_ex() argument
83 int persistent;
90 pefree ((*num)->n_ptr, persistent);
91 pefree(*num, persistent);
/PHP-5.4/Zend/
H A Dzend_alloc.h122 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) argument
124 #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) argument
125 #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nme… argument
126 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… argument
129 #define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s)) argument
130 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument
132 #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) argument
133 #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) argument
134 #define pecalloc_rel(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc_… argument
135 #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_r… argument
[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_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()
39 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element()
57 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
87 pefree((current), (l)->persistent);\
116 pefree(current, l->persistent); in zend_llist_destroy()
149 pefree(old_tail, l->persistent); in zend_llist_remove_tail()
164 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
H A Dzend_ts_hash.h40 …t nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_D…
41 …t nSize, hash_func_t pHashFunction, 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, pHashFunction, 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, pHashFunction, pDestructor, persistent, bApplyProtection ZEND_FIL…
124 #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ argument
125 zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
H A Dzend_hash.c172 ht->persistent = persistent; in _zend_hash_init()
536 pefree(p, ht->persistent); in zend_hash_del_key_or_index()
563 pefree(q->pData, ht->persistent); in zend_hash_destroy()
565 pefree(q, ht->persistent); in zend_hash_destroy()
601 pefree(q, ht->persistent); in zend_hash_clean()
653 pefree(p->pData, ht->persistent); in zend_hash_apply_deleter()
656 pefree(p, ht->persistent); in zend_hash_apply_deleter()
1311 pefree(p, ht->persistent); in zend_hash_update_current_key_ex()
1346 pefree(q, ht->persistent); in zend_hash_update_current_key_ex()
1394 pefree(p, ht->persistent); in zend_hash_update_current_key_ex()
[all …]
/PHP-5.4/ext/standard/
H A Dbrowscap.c144 int persistent = bdata->htab->persistent; in php_browscap_parser_cb() local
188 Z_STRLEN_P(arg2), persistent); in php_browscap_parser_cb()
194 pefree(new_key, persistent); in php_browscap_parser_cb()
214 persistent); in php_browscap_parser_cb()
218 pefree(bdata->current_section_name, persistent); in php_browscap_parser_cb()
221 Z_STRLEN_P(arg1), persistent); in php_browscap_parser_cb()
233 convert_browscap_pattern(processed, persistent); in php_browscap_parser_cb()
258 persistent, 0) == FAILURE) { in browscap_read_file()
259 pefree(browdata->htab, persistent); in browscap_read_file()
269 pefree(browdata->htab, persistent); in browscap_read_file()
[all …]
H A Dfilters.c176 int persistent; member
191 inst->persistent = persistent; in php_strip_tags_filter_ctor()
342 int persistent; member
381 inst->persistent = persistent; in php_conv_base64_encode_ctor()
754 int persistent; member
989 inst->persistent = persistent; in php_conv_qprint_encode_ctor()
1005 int persistent; member
1203 inst->persistent = persistent; in php_conv_qprint_decode_ctor()
1505 inst->persistent = persistent; in php_convert_filter_ctor()
1921 data->persistent = persistent; in consumed_filter_create()
[all …]
/PHP-5.4/ext/bz2/
H A Dbz2_filter.c37 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()
296 pefree(data->inbuf, data->persistent); in php_bz2_compress_dtor()
298 pefree(data, data->persistent); in php_bz2_compress_dtor()
330 data->persistent = persistent; in php_bz2_filter_create()
335 pefree(data, persistent); in php_bz2_filter_create()
342 pefree(data->inbuf, persistent); in php_bz2_filter_create()
343 pefree(data, persistent); in php_bz2_filter_create()
[all …]
/PHP-5.4/ext/zlib/
H A Dzlib_filter.c28 int persistent; member
168 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor()
169 pefree(data->outbuf, data->persistent); in php_zlib_inflate_dtor()
170 pefree(data, data->persistent); in php_zlib_inflate_dtor()
279 pefree(data->inbuf, data->persistent); in php_zlib_deflate_dtor()
280 pefree(data->outbuf, data->persistent); in php_zlib_deflate_dtor()
281 pefree(data, data->persistent); in php_zlib_deflate_dtor()
317 pefree(data, persistent); in php_zlib_filter_create()
324 pefree(data->inbuf, persistent); in php_zlib_filter_create()
325 pefree(data, persistent); in php_zlib_filter_create()
[all …]
/PHP-5.4/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 TSRMLS_CC); in php_mcrypt_filter()
114 … php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent TSRMLS_CC); 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 …ter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in php_mcrypt_filter_create()
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-5.4/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)
H A Dconn_attr_2.phpt2 Set and get of connection attributes across persistent connections and sysdba connection.
53 // Re-open a persistent connection and check for the attr values.
76 resource(%d) of type (oci8 persistent connection)
83 resource(%d) of type (oci8 persistent connection)
90 resource(%d) of type (oci8 persistent connection)
97 resource(%d) of type (oci8 persistent connection)
H A Ddrcp_pconn_close1.phpt13 // Test will open a persistent connection
41 resource(%d) of type (oci8 persistent connection)
42 resource(%d) of type (oci8 persistent connection)
/PHP-5.4/main/
H A Dphp_network.h304 …e php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument
305 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument
308 …p_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket),… argument
309 …(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype),… argument
310 …am_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (path… argument

Completed in 93 milliseconds

12345