persistent 122 Zend/zend_alloc.h #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) persistent 123 Zend/zend_alloc.h #define safe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe_emalloc(nmemb, size, offset)) persistent 124 Zend/zend_alloc.h #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) persistent 125 Zend/zend_alloc.h #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nmemb), (size))) persistent 126 Zend/zend_alloc.h #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr), (size))) persistent 127 Zend/zend_alloc.h #define safe_perealloc(ptr, nmemb, size, offset, persistent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):safe_erealloc((ptr), (nmemb), (size), (offset))) persistent 128 Zend/zend_alloc.h #define perealloc_recoverable(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_recoverable((ptr), (size))) persistent 129 Zend/zend_alloc.h #define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s)) persistent 130 Zend/zend_alloc.h #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) persistent 132 Zend/zend_alloc.h #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) persistent 133 Zend/zend_alloc.h #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) persistent 134 Zend/zend_alloc.h #define pecalloc_rel(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc_rel((nmemb), (size))) persistent 135 Zend/zend_alloc.h #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_rel((ptr), (size))) persistent 136 Zend/zend_alloc.h #define perealloc_recoverable_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_recoverable_rel((ptr), (size))) persistent 137 Zend/zend_alloc.h #define pestrdup_rel(s, persistent) ((persistent)?strdup(s):estrdup_rel(s)) persistent 116 Zend/zend_hash.c pefree_rel((p)->pData, (ht)->persistent); \ persistent 122 Zend/zend_hash.c (p)->pData = (void *) pemalloc_rel(nDataSize, (ht)->persistent); \ persistent 125 Zend/zend_hash.c (p)->pData = (void *) perealloc_rel((p)->pData, nDataSize, (ht)->persistent); \ persistent 136 Zend/zend_hash.c (p)->pData = (void *) pemalloc_rel(nDataSize, (ht)->persistent);\ persistent 143 Zend/zend_hash.c (ht)->arBuckets = (Bucket **) pecalloc((ht)->nTableSize, sizeof(Bucket *), (ht)->persistent); \ persistent 185 Zend/zend_hash.c pefree(p->pData, ht->persistent); persistent 187 Zend/zend_hash.c pefree(p, ht->persistent); persistent 195 Zend/zend_hash.c ZEND_API int _zend_hash_init(HashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) persistent 219 Zend/zend_hash.c ht->persistent = persistent; persistent 226 Zend/zend_hash.c ZEND_API int _zend_hash_init_ex(HashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) persistent 228 Zend/zend_hash.c int retval = _zend_hash_init(ht, nSize, pDestructor, persistent ZEND_FILE_LINE_CC); persistent 283 Zend/zend_hash.c p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); persistent 286 Zend/zend_hash.c p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); persistent 346 Zend/zend_hash.c p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); persistent 349 Zend/zend_hash.c p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); persistent 419 Zend/zend_hash.c p = (Bucket *) pemalloc_rel(sizeof(Bucket), ht->persistent); persistent 454 Zend/zend_hash.c t = (Bucket **) perealloc(ht->arBuckets, (ht->nTableSize << 1) * sizeof(Bucket *), ht->persistent); persistent 551 Zend/zend_hash.c pefree(q->pData, ht->persistent); persistent 553 Zend/zend_hash.c pefree(q, ht->persistent); persistent 556 Zend/zend_hash.c pefree(ht->arBuckets, ht->persistent); persistent 587 Zend/zend_hash.c pefree(q->pData, ht->persistent); persistent 589 Zend/zend_hash.c pefree(q, ht->persistent); persistent 602 Zend/zend_hash.c pefree(ht->arBuckets, ht->persistent); persistent 617 Zend/zend_hash.c pefree(ht->arBuckets, ht->persistent); persistent 1245 Zend/zend_hash.c q = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); persistent 1247 Zend/zend_hash.c q = (Bucket *) pemalloc(sizeof(Bucket) + str_length, ht->persistent); persistent 1266 Zend/zend_hash.c pefree(p, ht->persistent); persistent 1343 Zend/zend_hash.c Bucket *q = pemalloc_rel(sizeof(Bucket), ht->persistent); persistent 1377 Zend/zend_hash.c arTmp = (Bucket **) pemalloc(ht->nNumOfElements * sizeof(Bucket *), ht->persistent); persistent 1407 Zend/zend_hash.c pefree(arTmp, ht->persistent); persistent 77 Zend/zend_hash.h zend_bool persistent; persistent 100 Zend/zend_hash.h ZEND_API int _zend_hash_init(HashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); persistent 101 Zend/zend_hash.h ZEND_API int _zend_hash_init_ex(HashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC); persistent 104 Zend/zend_hash.h #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pDestructor), (persistent) ZEND_FILE_LINE_CC) persistent 105 Zend/zend_hash.h #define zend_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) _zend_hash_init_ex((ht), (nSize), (pDestructor), (persistent), (bApplyProtection) ZEND_FILE_LINE_CC) persistent 312 Zend/zend_hash.h #define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \ persistent 313 Zend/zend_hash.h zend_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent) persistent 26 Zend/zend_llist.c ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent) persistent 33 Zend/zend_llist.c l->persistent = persistent; persistent 39 Zend/zend_llist.c zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); persistent 57 Zend/zend_llist.c zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); persistent 87 Zend/zend_llist.c pefree((current), (l)->persistent);\ persistent 114 Zend/zend_llist.c pefree(current, l->persistent); persistent 147 Zend/zend_llist.c pefree(old_tail, l->persistent); persistent 162 Zend/zend_llist.c zend_llist_init(dst, src->size, src->dtor, src->persistent); persistent 43 Zend/zend_llist.h unsigned char persistent; persistent 50 Zend/zend_llist.h ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent); persistent 53 Zend/zend_multibyte.c static int dummy_encoding_list_parser(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) persistent 55 Zend/zend_multibyte.c *return_list = pemalloc(0, persistent); persistent 153 Zend/zend_multibyte.c ZEND_API int zend_multibyte_parse_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) persistent 155 Zend/zend_multibyte.c return multibyte_functions.encoding_list_parser(encoding_list, encoding_list_len, return_list, return_size, persistent TSRMLS_CC); persistent 34 Zend/zend_multibyte.h typedef int (*zend_encoding_list_parser)(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC); persistent 70 Zend/zend_multibyte.h ZEND_API int zend_multibyte_parse_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC); persistent 28 Zend/zend_ptr_stack.c ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) persistent 32 Zend/zend_ptr_stack.c stack->persistent = persistent; persistent 79 Zend/zend_ptr_stack.c pefree(stack->elements, stack->persistent); persistent 101 Zend/zend_ptr_stack.c pefree(stack->elements[i], stack->persistent); persistent 29 Zend/zend_ptr_stack.h zend_bool persistent; persistent 37 Zend/zend_ptr_stack.h ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent); persistent 52 Zend/zend_ptr_stack.h stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->persistent); \ persistent 58 Zend/zend_string.c CG(interned_strings).arBuckets = (Bucket **) pecalloc(CG(interned_strings).nTableSize, sizeof(Bucket *), CG(interned_strings).persistent); persistent 159 Zend/zend_string.c Bucket **t = (Bucket **) perealloc_recoverable(CG(interned_strings).arBuckets, (CG(interned_strings).nTableSize << 1) * sizeof(Bucket *), CG(interned_strings).persistent); persistent 62 Zend/zend_ts_hash.c ZEND_API int _zend_ts_hash_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) persistent 69 Zend/zend_ts_hash.c return _zend_hash_init(TS_HASH(ht), nSize, pDestructor, persistent ZEND_FILE_LINE_RELAY_CC); persistent 72 Zend/zend_ts_hash.c ZEND_API int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) persistent 79 Zend/zend_ts_hash.c return _zend_hash_init_ex(TS_HASH(ht), nSize, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_RELAY_CC); persistent 40 Zend/zend_ts_hash.h ZEND_API int _zend_ts_hash_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); persistent 41 Zend/zend_ts_hash.h ZEND_API int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC); persistent 45 Zend/zend_ts_hash.h #define zend_ts_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \ persistent 46 Zend/zend_ts_hash.h _zend_ts_hash_init(ht, nSize, pDestructor, persistent ZEND_FILE_LINE_CC) persistent 47 Zend/zend_ts_hash.h #define zend_ts_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) \ persistent 48 Zend/zend_ts_hash.h _zend_ts_hash_init_ex(ht, nSize, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_CC) persistent 124 Zend/zend_ts_hash.h #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ persistent 125 Zend/zend_ts_hash.h zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent) persistent 104 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(bc_num _bc_new_num_ex, (int length, int scale, int persistent)); persistent 106 ext/bcmath/libbcmath/src/bcmath.h _PROTOTYPE(void _bc_free_num_ex, (bc_num *num, int persistent)); persistent 48 ext/bcmath/libbcmath/src/init.c _bc_new_num_ex (length, scale, persistent) persistent 49 ext/bcmath/libbcmath/src/init.c int length, scale, persistent; persistent 54 ext/bcmath/libbcmath/src/init.c temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); persistent 60 ext/bcmath/libbcmath/src/init.c temp = (bc_num) pemalloc (sizeof(bc_struct), persistent); persistent 69 ext/bcmath/libbcmath/src/init.c temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); persistent 81 ext/bcmath/libbcmath/src/init.c _bc_free_num_ex (num, persistent) persistent 83 ext/bcmath/libbcmath/src/init.c int persistent; persistent 90 ext/bcmath/libbcmath/src/init.c pefree ((*num)->n_ptr, persistent); persistent 91 ext/bcmath/libbcmath/src/init.c pefree(*num, persistent); persistent 37 ext/bz2/bz2_filter.c int persistent; persistent 56 ext/bz2/bz2_filter.c return (void *)safe_pemalloc(items, size, 0, ((php_bz2_filter_data*)opaque)->persistent); persistent 61 ext/bz2/bz2_filter.c pefree((void *)address, ((php_bz2_filter_data*)opaque)->persistent); persistent 190 ext/bz2/bz2_filter.c pefree(data->inbuf, data->persistent); persistent 191 ext/bz2/bz2_filter.c pefree(data->outbuf, data->persistent); persistent 192 ext/bz2/bz2_filter.c pefree(data, data->persistent); persistent 294 ext/bz2/bz2_filter.c pefree(data->inbuf, data->persistent); persistent 295 ext/bz2/bz2_filter.c pefree(data->outbuf, data->persistent); persistent 296 ext/bz2/bz2_filter.c pefree(data, data->persistent); persistent 310 ext/bz2/bz2_filter.c static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 317 ext/bz2/bz2_filter.c data = pecalloc(1, sizeof(php_bz2_filter_data), persistent); persistent 328 ext/bz2/bz2_filter.c data->persistent = persistent; persistent 330 ext/bz2/bz2_filter.c data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); persistent 333 ext/bz2/bz2_filter.c pefree(data, persistent); persistent 337 ext/bz2/bz2_filter.c data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); persistent 340 ext/bz2/bz2_filter.c pefree(data->inbuf, persistent); persistent 341 ext/bz2/bz2_filter.c pefree(data, persistent); persistent 430 ext/bz2/bz2_filter.c pefree(data->strm.next_in, persistent); persistent 431 ext/bz2/bz2_filter.c pefree(data->strm.next_out, persistent); persistent 432 ext/bz2/bz2_filter.c pefree(data, persistent); persistent 436 ext/bz2/bz2_filter.c return php_stream_filter_alloc(fops, data, persistent); persistent 614 ext/dba/dba.c static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 627 ext/dba/dba.c int persistent_flag = persistent ? STREAM_OPEN_PERSISTENT : 0; persistent 648 ext/dba/dba.c if (persistent) { persistent 811 ext/dba/dba.c info = pemalloc(sizeof(dba_info), persistent); persistent 813 ext/dba/dba.c info->path = pestrdup(Z_STRVAL_PP(args[0]), persistent); persistent 817 ext/dba/dba.c info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSISTENT : 0); persistent 849 ext/dba/dba.c if (!persistent) { persistent 853 ext/dba/dba.c info->lock.name = pestrdup(opened_path, persistent); persistent 864 ext/dba/dba.c pefree(info->path, persistent); persistent 865 ext/dba/dba.c info->path = pestrdup(opened_path, persistent); persistent 868 ext/dba/dba.c if (!persistent) { persistent 871 ext/dba/dba.c info->lock.name = pestrdup(opened_path, persistent); persistent 936 ext/dba/dba.c if (persistent) { persistent 949 ext/dba/dba.c ZEND_REGISTER_RESOURCE(return_value, info, (persistent ? le_pdb : le_db)); persistent 82 ext/dba/libinifile/inifile.c inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC) persistent 93 ext/dba/libinifile/inifile.c dba = pemalloc(sizeof(inifile), persistent); persistent 102 ext/dba/libinifile/inifile.c void inifile_free(inifile *dba, int persistent) persistent 107 ext/dba/libinifile/inifile.c pefree(dba, persistent); persistent 63 ext/dba/libinifile/inifile.h inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC); persistent 64 ext/dba/libinifile/inifile.h void inifile_free(inifile *dba, int persistent); persistent 2568 ext/iconv/iconv.c int persistent; persistent 2582 ext/iconv/iconv.c pefree(self->to_charset, self->persistent); persistent 2583 ext/iconv/iconv.c pefree(self->from_charset, self->persistent); persistent 2590 ext/iconv/iconv.c const char *from_charset, size_t from_charset_len, int persistent) persistent 2592 ext/iconv/iconv.c if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { persistent 2596 ext/iconv/iconv.c if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { persistent 2597 ext/iconv/iconv.c pefree(self->to_charset, persistent); persistent 2608 ext/iconv/iconv.c pefree(self->from_charset, persistent); persistent 2609 ext/iconv/iconv.c pefree(self->to_charset, persistent); persistent 2612 ext/iconv/iconv.c self->persistent = persistent; persistent 2624 ext/iconv/iconv.c int persistent TSRMLS_DC) persistent 2642 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2686 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 2693 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2698 ext/iconv/iconv.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 2699 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 2763 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 2770 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2775 ext/iconv/iconv.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 2776 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 2809 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 2814 ext/iconv/iconv.c pefree(out_buf, persistent); persistent 2821 ext/iconv/iconv.c pefree(out_buf, persistent); persistent 2877 ext/iconv/iconv.c pefree(filter->abstract, ((php_iconv_stream_filter *)filter->abstract)->persistent); persistent 2888 ext/iconv/iconv.c static php_stream_filter *php_iconv_stream_filter_factory_create(const char *name, zval *params, int persistent TSRMLS_DC) persistent 2914 ext/iconv/iconv.c if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) { persistent 2918 ext/iconv/iconv.c if (php_iconv_stream_filter_ctor(inst, to_charset, to_charset_len, from_charset, from_charset_len, persistent) != PHP_ICONV_ERR_SUCCESS) { persistent 2919 ext/iconv/iconv.c pefree(inst, persistent); persistent 2923 ext/iconv/iconv.c if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) { persistent 2925 ext/iconv/iconv.c pefree(inst, persistent); persistent 1146 ext/imap/php_imap.c static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 893 ext/interbase/interbase.c static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) /* {{{ */ persistent 950 ext/interbase/interbase.c if (zend_list_find(xlink, &type) && ((!persistent && type == le_link) || type == le_plink)) { persistent 994 ext/interbase/interbase.c if (!persistent || ((l = INI_INT("ibase.max_persistent") != -1) && IBG(num_persistent) >= l)) { persistent 693 ext/mbstring/mbstring.c php_mb_parse_encoding_list(const char *value, size_t value_length, const mbfl_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) persistent 730 ext/mbstring/mbstring.c list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); persistent 778 ext/mbstring/mbstring.c pefree(list, persistent); persistent 781 ext/mbstring/mbstring.c pefree(list, persistent); persistent 812 ext/mbstring/mbstring.c php_mb_parse_encoding_array(zval *array, const mbfl_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) persistent 825 ext/mbstring/mbstring.c list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); persistent 863 ext/mbstring/mbstring.c pefree(list, persistent); persistent 866 ext/mbstring/mbstring.c pefree(list, persistent); persistent 973 ext/mbstring/mbstring.c static int php_mb_zend_encoding_list_parser(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) persistent 975 ext/mbstring/mbstring.c return php_mb_parse_encoding_list(encoding_list, encoding_list_len, (const mbfl_encoding ***)return_list, return_size, persistent TSRMLS_CC); persistent 33 ext/mcrypt/mcrypt_filter.c char persistent; persistent 66 ext/mcrypt/mcrypt_filter.c outchunk = pemalloc(chunklen, data->persistent); persistent 83 ext/mcrypt/mcrypt_filter.c newbucket = php_stream_bucket_new(stream, outchunk, n, 1, data->persistent TSRMLS_CC); persistent 114 ext/mcrypt/mcrypt_filter.c newbucket = php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent TSRMLS_CC); persistent 133 ext/mcrypt/mcrypt_filter.c pefree(data->block_buffer, data->persistent); persistent 139 ext/mcrypt/mcrypt_filter.c pefree(data, data->persistent); persistent 152 ext/mcrypt/mcrypt_filter.c static php_stream_filter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 255 ext/mcrypt/mcrypt_filter.c data = pemalloc(sizeof(php_mcrypt_filter_data), persistent); persistent 260 ext/mcrypt/mcrypt_filter.c data->block_buffer = pemalloc(data->blocksize, persistent); persistent 266 ext/mcrypt/mcrypt_filter.c data->persistent = persistent; persistent 268 ext/mcrypt/mcrypt_filter.c return php_stream_filter_alloc(&php_mcrypt_filter_ops, data, persistent); persistent 544 ext/mssql/php_mssql.c static void php_mssql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 637 ext/mssql/php_mssql.c persistent=0; persistent 639 ext/mssql/php_mssql.c if (persistent) { persistent 720 ext/mysql/php_mysql.c static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 777 ext/mysql/php_mysql.c if (persistent) { persistent 848 ext/mysql/php_mysql.c persistent=0; persistent 850 ext/mysql/php_mysql.c if (persistent) { persistent 882 ext/mysql/php_mysql.c mysql->conn = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, persistent); persistent 1001 ext/mysql/php_mysql.c mysql->conn = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, persistent); persistent 708 ext/mysqli/mysqli_api.c if (!mysql->persistent) { persistent 734 ext/mysqli/mysqli_api.c mysql->persistent = FALSE; persistent 67 ext/mysqli/mysqli_nonapi.c zend_bool persistent = FALSE; persistent 159 ext/mysqli/mysqli_nonapi.c mysql->persistent = persistent = TRUE; persistent 211 ext/mysqli/mysqli_nonapi.c if (persistent && MyG(max_persistent) != -1 && persistent 222 ext/mysqli/mysqli_nonapi.c if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, persistent))) { persistent 277 ext/mysqli/mysqli_nonapi.c if (persistent && (new_connection || is_real_connect)) { persistent 300 ext/mysqli/mysqli_nonapi.c mysql->persistent = FALSE; persistent 131 ext/mysqli/php_mysqli_structs.h zend_bool persistent; persistent 72 ext/mysqlnd/mysqlnd.c zend_bool pers = conn->persistent; persistent 112 ext/mysqlnd/mysqlnd.c zend_bool pers = conn->persistent; persistent 206 ext/mysqlnd/mysqlnd.c mnd_pefree(conn, conn->persistent); persistent 257 ext/mysqlnd/mysqlnd.c conn->persistent); persistent 420 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->last_message, conn->persistent); persistent 618 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->auth_plugin_data, conn->persistent); persistent 622 ext/mysqlnd/mysqlnd.c conn->auth_plugin_data = mnd_pemalloc(conn->auth_plugin_data_len, conn->persistent); persistent 807 ext/mysqlnd/mysqlnd.c if (FAIL == net->data->m.connect_ex(conn->net, conn->scheme, conn->scheme_len, conn->persistent, persistent 834 ext/mysqlnd/mysqlnd.c conn->server_version = mnd_pestrdup(greet_packet->server_version, conn->persistent); persistent 902 ext/mysqlnd/mysqlnd.c conn? conn->persistent:0, conn? CONN_GET_STATE(conn):-1); persistent 915 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 988 ext/mysqlnd/mysqlnd.c conn->scheme = mnd_pestrndup(transport, transport_len, conn->persistent); persistent 1016 ext/mysqlnd/mysqlnd.c conn->user = mnd_pestrdup(user, conn->persistent); persistent 1018 ext/mysqlnd/mysqlnd.c conn->passwd = mnd_pestrndup(passwd, passwd_len, conn->persistent); persistent 1021 ext/mysqlnd/mysqlnd.c conn->connect_or_select_db = mnd_pestrndup(db, db_len, conn->persistent); persistent 1030 ext/mysqlnd/mysqlnd.c conn->host = mnd_pestrdup(host, conn->persistent); persistent 1043 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup(p, conn->persistent); persistent 1051 ext/mysqlnd/mysqlnd.c conn->unix_socket = mnd_pestrdup(socket_or_pipe, conn->persistent); persistent 1053 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup("Localhost via UNIX socket", conn->persistent); persistent 1061 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup(p, conn->persistent); persistent 1091 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 1508 ext/mysqlnd/mysqlnd.c result = conn->m->result_init(5000, conn->persistent TSRMLS_CC); persistent 1521 ext/mysqlnd/mysqlnd.c result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, FALSE, result->persistent TSRMLS_CC); persistent 1701 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->connect_or_select_db, conn->persistent); persistent 1703 ext/mysqlnd/mysqlnd.c conn->connect_or_select_db = mnd_pestrndup(db, db_len, conn->persistent); persistent 1914 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 2370 ext/mysqlnd/mysqlnd.c new_init_commands = mnd_perealloc(conn->options->init_commands, sizeof(char *) * (conn->options->num_commands + 1), conn->persistent); persistent 2375 ext/mysqlnd/mysqlnd.c new_command = mnd_pestrdup(value, conn->persistent); persistent 2400 ext/mysqlnd/mysqlnd.c new_charset_name = mnd_pestrdup(value, conn->persistent); persistent 2405 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->options->charset_name, conn->persistent); persistent 2438 ext/mysqlnd/mysqlnd.c char * new_auth_protocol = value? mnd_pestrdup(value, conn->persistent) : NULL; persistent 2443 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->options->auth_protocol, conn->persistent); persistent 2537 ext/mysqlnd/mysqlnd.c conn->options->connect_attr = mnd_pemalloc(sizeof(HashTable), conn->persistent); persistent 2541 ext/mysqlnd/mysqlnd.c zend_hash_init(conn->options->connect_attr, 0, NULL, conn->persistent? connect_attr_item_pdtor:connect_attr_item_edtor, conn->persistent); persistent 2545 ext/mysqlnd/mysqlnd.c const char * copyv = mnd_pestrdup(value, conn->persistent); persistent 3013 ext/mysqlnd/mysqlnd.c conn->net = mysqlnd_net_init(conn->persistent, conn->stats, conn->error_info TSRMLS_CC); persistent 3014 ext/mysqlnd/mysqlnd.c conn->protocol = mysqlnd_protocol_init(conn->persistent TSRMLS_CC); persistent 3140 ext/mysqlnd/mysqlnd.c mnd_pefree(conn, conn->persistent); persistent 3194 ext/mysqlnd/mysqlnd.c _mysqlnd_init(unsigned int flags, zend_bool persistent TSRMLS_DC) persistent 3198 ext/mysqlnd/mysqlnd.c ret = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_connection(persistent TSRMLS_CC); persistent 88 ext/mysqlnd/mysqlnd.h #define mysqlnd_init(client_flags, persistent) _mysqlnd_init((client_flags), (persistent) TSRMLS_CC) persistent 89 ext/mysqlnd/mysqlnd.h PHPAPI MYSQLND * _mysqlnd_init(unsigned int client_flags, zend_bool persistent TSRMLS_DC); persistent 117 ext/mysqlnd/mysqlnd_alloc.c void * _mysqlnd_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D) persistent 122 ext/mysqlnd/mysqlnd_alloc.c long * threshold = persistent? &MYSQLND_G(debug_malloc_fail_threshold):&MYSQLND_G(debug_emalloc_fail_threshold); persistent 137 ext/mysqlnd/mysqlnd_alloc.c ret = (persistent) ? __zend_malloc(REAL_SIZE(size)) : _emalloc(REAL_SIZE(size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); persistent 145 ext/mysqlnd/mysqlnd_alloc.c TRACE_ALLOC_INF_FMT("size=%lu ptr=%p persistent=%u", size, ret, persistent); persistent 148 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_MALLOC_COUNT:STAT_MEM_EMALLOC_COUNT; persistent 149 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_MALLOC_AMOUNT:STAT_MEM_EMALLOC_AMOUNT; persistent 201 ext/mysqlnd/mysqlnd_alloc.c void * _mysqlnd_pecalloc(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D) persistent 206 ext/mysqlnd/mysqlnd_alloc.c long * threshold = persistent? &MYSQLND_G(debug_calloc_fail_threshold):&MYSQLND_G(debug_ecalloc_fail_threshold); persistent 220 ext/mysqlnd/mysqlnd_alloc.c ret = (persistent) ? __zend_calloc(nmemb, REAL_SIZE(size)) : _ecalloc(nmemb, REAL_SIZE(size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); persistent 231 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_CALLOC_COUNT:STAT_MEM_ECALLOC_COUNT; persistent 232 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_CALLOC_AMOUNT:STAT_MEM_ECALLOC_AMOUNT; persistent 284 ext/mysqlnd/mysqlnd_alloc.c void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) persistent 290 ext/mysqlnd/mysqlnd_alloc.c long * threshold = persistent? &MYSQLND_G(debug_realloc_fail_threshold):&MYSQLND_G(debug_erealloc_fail_threshold); persistent 300 ext/mysqlnd/mysqlnd_alloc.c TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, persistent); persistent 306 ext/mysqlnd/mysqlnd_alloc.c ret = perealloc(REAL_PTR(ptr), REAL_SIZE(new_size), persistent); persistent 317 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_REALLOC_COUNT:STAT_MEM_EREALLOC_COUNT; persistent 318 ext/mysqlnd/mysqlnd_alloc.c enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_REALLOC_AMOUNT:STAT_MEM_EREALLOC_AMOUNT; persistent 359 ext/mysqlnd/mysqlnd_alloc.c void _mysqlnd_pefree(void *ptr, zend_bool persistent MYSQLND_MEM_D) persistent 371 ext/mysqlnd/mysqlnd_alloc.c TRACE_ALLOC_INF_FMT("ptr=%p persistent=%u", ptr, persistent); persistent 378 ext/mysqlnd/mysqlnd_alloc.c (persistent) ? free(REAL_PTR(ptr)) : _efree(REAL_PTR(ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); persistent 382 ext/mysqlnd/mysqlnd_alloc.c MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(persistent? STAT_MEM_FREE_COUNT:STAT_MEM_EFREE_COUNT, 1, persistent 383 ext/mysqlnd/mysqlnd_alloc.c persistent? STAT_MEM_FREE_AMOUNT:STAT_MEM_EFREE_AMOUNT, free_amount); persistent 546 ext/mysqlnd/mysqlnd_alloc.c char * _mysqlnd_pestrndup(const char * const ptr, size_t length, zend_bool persistent MYSQLND_MEM_D) persistent 560 ext/mysqlnd/mysqlnd_alloc.c ret = (persistent) ? __zend_malloc(REAL_SIZE(length + 1)) : _emalloc(REAL_SIZE(length + 1) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); persistent 573 ext/mysqlnd/mysqlnd_alloc.c MYSQLND_INC_GLOBAL_STATISTIC(persistent? STAT_MEM_STRNDUP_COUNT : STAT_MEM_ESTRNDUP_COUNT); persistent 582 ext/mysqlnd/mysqlnd_alloc.c char * _mysqlnd_pestrdup(const char * const ptr, zend_bool persistent MYSQLND_MEM_D) persistent 600 ext/mysqlnd/mysqlnd_alloc.c ret = (persistent) ? __zend_malloc(tmp_str.len + sizeof(size_t)) : _emalloc(REAL_SIZE(tmp_str.len + sizeof(size_t)) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); persistent 605 ext/mysqlnd/mysqlnd_alloc.c MYSQLND_INC_GLOBAL_STATISTIC(persistent? STAT_MEM_STRDUP_COUNT : STAT_MEM_ESTRDUP_COUNT); persistent 655 ext/mysqlnd/mysqlnd_alloc.c static void * mysqlnd_zend_mm_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D) persistent 657 ext/mysqlnd/mysqlnd_alloc.c return pemalloc(size, persistent); persistent 671 ext/mysqlnd/mysqlnd_alloc.c static void * mysqlnd_zend_mm_pecalloc(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D) persistent 673 ext/mysqlnd/mysqlnd_alloc.c return pecalloc(nmemb, size, persistent); persistent 687 ext/mysqlnd/mysqlnd_alloc.c static void * mysqlnd_zend_mm_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) persistent 689 ext/mysqlnd/mysqlnd_alloc.c return perealloc(ptr, new_size, persistent); persistent 703 ext/mysqlnd/mysqlnd_alloc.c static void mysqlnd_zend_mm_pefree(void * ptr, zend_bool persistent MYSQLND_MEM_D) persistent 705 ext/mysqlnd/mysqlnd_alloc.c pefree(ptr, persistent); persistent 743 ext/mysqlnd/mysqlnd_alloc.c static char * mysqlnd_zend_mm_pestrndup(const char * const ptr, size_t length, zend_bool persistent MYSQLND_MEM_D) persistent 745 ext/mysqlnd/mysqlnd_alloc.c return pestrndup(ptr, length, persistent); persistent 751 ext/mysqlnd/mysqlnd_alloc.c static char * mysqlnd_zend_mm_pestrdup(const char * const ptr, zend_bool persistent MYSQLND_MEM_D) persistent 753 ext/mysqlnd/mysqlnd_alloc.c return pestrdup(ptr, persistent); persistent 35 ext/mysqlnd/mysqlnd_alloc.h void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 37 ext/mysqlnd/mysqlnd_alloc.h void * (*m_pecalloc)(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 39 ext/mysqlnd/mysqlnd_alloc.h void * (*m_perealloc)(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D); persistent 41 ext/mysqlnd/mysqlnd_alloc.h void (*m_pefree)(void *ptr, zend_bool persistent MYSQLND_MEM_D); persistent 46 ext/mysqlnd/mysqlnd_alloc.h char * (*m_pestrndup)(const char * const ptr, size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 47 ext/mysqlnd/mysqlnd_alloc.h char * (*m_pestrdup)(const char * const ptr, zend_bool persistent MYSQLND_MEM_D); persistent 56 ext/mysqlnd/mysqlnd_alloc.h PHPAPI void * _mysqlnd_pemalloc(size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 58 ext/mysqlnd/mysqlnd_alloc.h PHPAPI void * _mysqlnd_pecalloc(unsigned int nmemb, size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 60 ext/mysqlnd/mysqlnd_alloc.h PHPAPI void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D); persistent 62 ext/mysqlnd/mysqlnd_alloc.h PHPAPI void _mysqlnd_pefree(void *ptr, zend_bool persistent MYSQLND_MEM_D); persistent 67 ext/mysqlnd/mysqlnd_alloc.h PHPAPI char * _mysqlnd_pestrndup(const char * const ptr, size_t size, zend_bool persistent MYSQLND_MEM_D); persistent 68 ext/mysqlnd/mysqlnd_alloc.h PHPAPI char * _mysqlnd_pestrdup(const char * const ptr, zend_bool persistent MYSQLND_MEM_D); persistent 142 ext/mysqlnd/mysqlnd_auth.c SET_NEW_MESSAGE(conn->last_message, conn->last_message_len, auth_resp_packet->message, auth_resp_packet->message_len, conn->persistent); persistent 276 ext/mysqlnd/mysqlnd_auth.c tmp = mnd_pestrndup(user, user_len, conn->persistent); persistent 278 ext/mysqlnd/mysqlnd_auth.c mnd_pefree(conn->user, conn->persistent); persistent 282 ext/mysqlnd/mysqlnd_auth.c tmp = mnd_pestrdup(passwd, conn->persistent); persistent 284 ext/mysqlnd/mysqlnd_auth.c mnd_pefree(conn->passwd, conn->persistent); persistent 289 ext/mysqlnd/mysqlnd_auth.c mnd_pefree(conn->last_message, conn->persistent); persistent 116 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_connection)(zend_bool persistent TSRMLS_DC) persistent 124 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 125 ext/mysqlnd/mysqlnd_driver.c new_object = mnd_pecalloc(1, alloc_size_ret, persistent); persistent 129 ext/mysqlnd/mysqlnd_driver.c new_object->data = mnd_pecalloc(1, alloc_size_ret_data, persistent); persistent 131 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(new_object, persistent); persistent 134 ext/mysqlnd/mysqlnd_driver.c new_object->persistent = persistent; persistent 142 ext/mysqlnd/mysqlnd_driver.c data->persistent = persistent; persistent 152 ext/mysqlnd/mysqlnd_driver.c data->error_info->error_list = mnd_pecalloc(1, sizeof(zend_llist), persistent); persistent 157 ext/mysqlnd/mysqlnd_driver.c zend_llist_init(data->error_info->error_list, sizeof(MYSQLND_ERROR_LIST_ELEMENT), (llist_dtor_func_t)mysqlnd_error_list_pdtor, persistent); persistent 173 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", to_be_cloned->persistent); persistent 177 ext/mysqlnd/mysqlnd_driver.c new_object = mnd_pecalloc(1, alloc_size_ret, to_be_cloned->persistent); persistent 181 ext/mysqlnd/mysqlnd_driver.c new_object->persistent = to_be_cloned->persistent; persistent 199 ext/mysqlnd/mysqlnd_driver.c MYSQLND_STMT * ret = mnd_pecalloc(1, alloc_size, conn->persistent); persistent 208 ext/mysqlnd/mysqlnd_driver.c ret->persistent = conn->persistent; persistent 210 ext/mysqlnd/mysqlnd_driver.c stmt = ret->data = mnd_pecalloc(1, sizeof(MYSQLND_STMT_DATA), conn->persistent); persistent 215 ext/mysqlnd/mysqlnd_driver.c stmt->persistent = conn->persistent; persistent 220 ext/mysqlnd/mysqlnd_driver.c stmt->execute_cmd_buffer.buffer = mnd_pemalloc(stmt->execute_cmd_buffer.length, stmt->persistent); persistent 232 ext/mysqlnd/mysqlnd_driver.c stmt->error_info->error_list = mnd_pecalloc(1, sizeof(zend_llist), ret->persistent); persistent 237 ext/mysqlnd/mysqlnd_driver.c zend_llist_init(stmt->error_info->error_list, sizeof(MYSQLND_ERROR_LIST_ELEMENT), (llist_dtor_func_t) mysqlnd_error_list_pdtor, conn->persistent); persistent 254 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_io_channel)(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC) persistent 258 ext/mysqlnd/mysqlnd_driver.c MYSQLND_NET * net = mnd_pecalloc(1, net_alloc_size, persistent); persistent 259 ext/mysqlnd/mysqlnd_driver.c MYSQLND_NET_DATA * net_data = mnd_pecalloc(1, net_data_alloc_size, persistent); persistent 262 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 265 ext/mysqlnd/mysqlnd_driver.c net->persistent = net->data->persistent = persistent; persistent 274 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(net_data, persistent); persistent 278 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(net, persistent); persistent 289 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_protocol_decoder)(zend_bool persistent TSRMLS_DC) persistent 292 ext/mysqlnd/mysqlnd_driver.c MYSQLND_PROTOCOL *ret = mnd_pecalloc(1, alloc_size, persistent); persistent 295 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 297 ext/mysqlnd/mysqlnd_driver.c ret->persistent = persistent; persistent 132 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 143 ext/mysqlnd/mysqlnd_net.c if (persistent) { persistent 170 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 190 ext/mysqlnd/mysqlnd_net.c if (persistent) { persistent 316 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 329 ext/mysqlnd/mysqlnd_net.c php_stream * net_stream = open_stream(net, scheme, scheme_len, persistent, conn_stats, error_info TSRMLS_CC); persistent 732 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_pemalloc(net->cmd_buffer.length, net->persistent); persistent 734 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_perealloc(net->cmd_buffer.buffer, net->cmd_buffer.length, net->persistent); persistent 748 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 757 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 766 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 775 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 784 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 793 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 835 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1024 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1069 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1124 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net->cmd_buffer.buffer, net->persistent); persistent 1128 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net->data, net->data->persistent); persistent 1129 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net, net->persistent); persistent 1199 ext/mysqlnd/mysqlnd_net.c mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC) persistent 1203 ext/mysqlnd/mysqlnd_net.c net = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_io_channel(persistent, stats, error_info TSRMLS_CC); persistent 26 ext/mysqlnd/mysqlnd_net.h PHPAPI MYSQLND_NET * mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC); persistent 41 ext/mysqlnd/mysqlnd_priv.h #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) persistent 90 ext/mysqlnd/mysqlnd_priv.h #define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \ persistent 93 ext/mysqlnd/mysqlnd_priv.h mnd_pefree((buf), (persistent)); \ persistent 96 ext/mysqlnd/mysqlnd_priv.h (buf) = mnd_pestrndup((message), (len), (persistent)); \ persistent 103 ext/mysqlnd/mysqlnd_priv.h #define SET_EMPTY_MESSAGE(buf, buf_len, persistent) \ persistent 106 ext/mysqlnd/mysqlnd_priv.h mnd_pefree((buf), (persistent)); \ persistent 91 ext/mysqlnd/mysqlnd_ps.c result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_count, TRUE, result->persistent TSRMLS_CC); persistent 180 ext/mysqlnd/mysqlnd_ps.c result = conn->m->result_init(stmt->result->field_count, stmt->persistent TSRMLS_CC); persistent 439 ext/mysqlnd/mysqlnd_ps.c MYSQLND_RES * result = stmt->conn->m->result_init(stmt_to_prepare->field_count, stmt_to_prepare->persistent TSRMLS_CC); persistent 1497 ext/mysqlnd/mysqlnd_ps.c stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent); persistent 1639 ext/mysqlnd/mysqlnd_ps.c stmt->result_bind = mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent); persistent 1641 ext/mysqlnd/mysqlnd_ps.c stmt->result_bind = mnd_perealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIND), stmt->persistent); persistent 1816 ext/mysqlnd/mysqlnd_ps.c result = stmt->conn->m->result_init(stmt->field_count, stmt->persistent TSRMLS_CC); persistent 1821 ext/mysqlnd/mysqlnd_ps.c result->unbuf = mysqlnd_result_unbuffered_init(stmt->field_count, TRUE, result->persistent TSRMLS_CC); persistent 2114 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt->error_info->error_list, s->persistent); persistent 2231 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt->execute_cmd_buffer.buffer, stmt->persistent); persistent 2252 ext/mysqlnd/mysqlnd_ps.c zend_bool persistent = (s != NULL) ? s->persistent : 0; persistent 2262 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt, persistent); persistent 2264 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(s, persistent); persistent 2281 ext/mysqlnd/mysqlnd_ps.c DBG_RETURN(mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent)); persistent 2295 ext/mysqlnd/mysqlnd_ps.c DBG_RETURN(mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent)); persistent 2306 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(param_bind, stmt->persistent); persistent 2318 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(result_bind, stmt->persistent); persistent 243 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result->lengths, result->persistent); persistent 259 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result, result->persistent); persistent 313 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set->initialized, set->persistent); persistent 341 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set->lengths, set->persistent); persistent 358 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set, set->persistent); persistent 418 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result, result->persistent); persistent 442 ext/mysqlnd/mysqlnd_result.c result->meta = result->m.result_meta_init(result->field_count, result->persistent TSRMLS_CC); persistent 545 ext/mysqlnd/mysqlnd_result.c conn->persistent); persistent 560 ext/mysqlnd/mysqlnd_result.c SET_EMPTY_MESSAGE(conn->last_message, conn->last_message_len, conn->persistent); persistent 572 ext/mysqlnd/mysqlnd_result.c result = conn->current_result = conn->m->result_init(rset_header->field_count, conn->persistent TSRMLS_CC); persistent 581 ext/mysqlnd/mysqlnd_result.c result = stmt->result = conn->m->result_init(rset_header->field_count, stmt->persistent TSRMLS_CC); persistent 1019 ext/mysqlnd/mysqlnd_result.c result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, ps, result->persistent TSRMLS_CC); persistent 1508 ext/mysqlnd/mysqlnd_result.c result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_count, flags & MYSQLND_STORE_PS, result->persistent TSRMLS_CC); persistent 1515 ext/mysqlnd/mysqlnd_result.c result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_c_init(result->field_count, flags & MYSQLND_STORE_PS, result->persistent TSRMLS_CC); persistent 1555 ext/mysqlnd/mysqlnd_result.c set->initialized = mnd_pecalloc((set->row_count / 8) + 1, sizeof(zend_uchar), set->persistent); /* +1 for safety */ persistent 1996 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_init(unsigned int field_count, zend_bool persistent TSRMLS_DC) persistent 1999 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 2007 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 2018 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_unbuffered_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) persistent 2021 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_UNBUFFERED * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 2029 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(unsigned long), persistent))) { persistent 2030 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2035 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2039 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 2059 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_buffered_zval_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) persistent 2062 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_BUFFERED_ZVAL * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 2069 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(unsigned long), persistent))) { persistent 2070 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2075 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2079 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 2102 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_buffered_c_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) persistent 2105 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_BUFFERED_C * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 2112 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(unsigned long), persistent))) { persistent 2113 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2118 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2122 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 26 ext/mysqlnd/mysqlnd_result.h PHPAPI MYSQLND_RES * mysqlnd_result_init(unsigned int field_count, zend_bool persistent TSRMLS_DC); persistent 27 ext/mysqlnd/mysqlnd_result.h PHPAPI MYSQLND_RES_UNBUFFERED * mysqlnd_result_unbuffered_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC); persistent 28 ext/mysqlnd/mysqlnd_result.h PHPAPI MYSQLND_RES_BUFFERED_ZVAL * mysqlnd_result_buffered_zval_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC); persistent 29 ext/mysqlnd/mysqlnd_result.h PHPAPI MYSQLND_RES_BUFFERED_C * mysqlnd_result_buffered_c_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC); persistent 33 ext/mysqlnd/mysqlnd_result_meta.c php_mysqlnd_free_field_metadata(MYSQLND_FIELD *meta, zend_bool persistent TSRMLS_DC) persistent 37 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->root, persistent); persistent 41 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->def, persistent); persistent 109 ext/mysqlnd/mysqlnd_result_meta.c field_packet->persistent_alloc = meta->persistent; persistent 115 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->fields[i].root, meta->persistent); persistent 208 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", meta->persistent); persistent 214 ext/mysqlnd/mysqlnd_result_meta.c php_mysqlnd_free_field_metadata(fields++, meta->persistent TSRMLS_CC); persistent 216 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->fields, meta->persistent); persistent 222 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->zend_hash_keys, meta->persistent); persistent 226 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta, meta->persistent); persistent 235 ext/mysqlnd/mysqlnd_result_meta.c MYSQLND_METHOD(mysqlnd_res_meta, clone_metadata)(const MYSQLND_RES_METADATA * const meta, zend_bool persistent TSRMLS_DC) persistent 245 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", persistent); persistent 247 ext/mysqlnd/mysqlnd_result_meta.c new_meta = mnd_pecalloc(1, sizeof(MYSQLND_RES_METADATA), persistent); persistent 251 ext/mysqlnd/mysqlnd_result_meta.c new_meta->persistent = persistent; persistent 254 ext/mysqlnd/mysqlnd_result_meta.c new_fields = mnd_pecalloc(meta->field_count + 1, sizeof(MYSQLND_FIELD), persistent); persistent 259 ext/mysqlnd/mysqlnd_result_meta.c new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); persistent 272 ext/mysqlnd/mysqlnd_result_meta.c new_fields[i].root = mnd_pemalloc(orig_fields[i].root_len, persistent); persistent 302 ext/mysqlnd/mysqlnd_result_meta.c new_fields[i].def = mnd_pemalloc(orig_fields[i].def_length + 1, persistent); persistent 401 ext/mysqlnd/mysqlnd_result_meta.c mysqlnd_result_meta_init(unsigned int field_count, zend_bool persistent TSRMLS_DC) persistent 404 ext/mysqlnd/mysqlnd_result_meta.c MYSQLND_RES_METADATA *ret = mnd_pecalloc(1, alloc_size, persistent); persistent 406 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", persistent); persistent 414 ext/mysqlnd/mysqlnd_result_meta.c ret->persistent = persistent; persistent 417 ext/mysqlnd/mysqlnd_result_meta.c ret->fields = mnd_pecalloc(field_count + 1, sizeof(MYSQLND_FIELD), ret->persistent); persistent 418 ext/mysqlnd/mysqlnd_result_meta.c ret->zend_hash_keys = mnd_pecalloc(field_count, sizeof(struct mysqlnd_field_hash_key), ret->persistent); persistent 26 ext/mysqlnd/mysqlnd_result_meta.h PHPAPI MYSQLND_RES_METADATA * mysqlnd_result_meta_init(unsigned int field_count, zend_bool persistent TSRMLS_DC); persistent 303 ext/mysqlnd/mysqlnd_structs.h typedef enum_func_status (*func_mysqlnd_net__connect_ex)(MYSQLND_NET * const net, const char * const scheme, const size_t scheme_len, const zend_bool persistent, MYSQLND_STATS * const conn_stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC); persistent 305 ext/mysqlnd/mysqlnd_structs.h typedef php_stream * (*func_mysqlnd_net__open_stream)(MYSQLND_NET * const net, const char * const scheme, const size_t scheme_len, const zend_bool persistent, MYSQLND_STATS * const conn_stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC); persistent 366 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_greet * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 367 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_auth * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 368 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_auth_response *(*func_mysqlnd_protocol__get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 369 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_change_auth_response * (*func_mysqlnd_protocol__get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 370 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 371 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_command * (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 372 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_eof * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 373 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_rset_header * (*func_mysqlnd_protocol__get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 374 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_res_field * (*func_mysqlnd_protocol__get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 375 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_row * (*func_mysqlnd_protocol__get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 376 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_stats * (*func_mysqlnd_protocol__get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 377 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_prepare_response *(*func_mysqlnd_protocol__get_prepare_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 378 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_chg_user_resp*(*func_mysqlnd_protocol__get_change_user_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 379 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_sha256_pk_request *(*func_mysqlnd_protocol__get_sha256_pk_request_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 380 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_sha256_pk_request_response *(*func_mysqlnd_protocol__get_sha256_pk_request_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); persistent 406 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND * (*func_mysqlnd_object_factory__get_connection)(zend_bool persistent TSRMLS_DC); persistent 409 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_NET * (*func_mysqlnd_object_factory__get_io_channel)(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC); persistent 410 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_PROTOCOL * (*func_mysqlnd_object_factory__get_protocol_decoder)(zend_bool persistent TSRMLS_DC); persistent 491 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_RES * (*func_mysqlnd_conn_data__result_init)(unsigned int field_count, zend_bool persistent TSRMLS_DC); persistent 661 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_RES_METADATA * (*func_mysqlnd_res__result_meta_init)(unsigned int field_count, zend_bool persistent TSRMLS_DC); persistent 740 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_RES_METADATA * (*func_mysqlnd_res_meta__clone_metadata)(const MYSQLND_RES_METADATA * const meta, zend_bool persistent TSRMLS_DC); persistent 475 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 633 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 755 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 796 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 884 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 962 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(_packet, ((MYSQLND_PACKET_EOF *)_packet)->header.persistent); persistent 1039 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1161 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1388 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1900 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("stack_allocation=%u persistent=%u", (int)stack_allocation, (int)p->header.persistent); persistent 1909 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1948 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2040 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2128 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2157 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2211 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2317 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2319 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_greet * packet = mnd_pecalloc(1, packet_methods[PROT_GREET_PACKET].struct_size, persistent); persistent 2323 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2332 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2334 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_auth * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_PACKET].struct_size, persistent); persistent 2338 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2347 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2349 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_RESP_PACKET].struct_size, persistent); persistent 2353 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2362 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2364 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_change_auth_response * packet = mnd_pecalloc(1, packet_methods[PROT_CHANGE_AUTH_RESP_PACKET].struct_size, persistent); persistent 2368 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2377 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2379 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_ok * packet = mnd_pecalloc(1, packet_methods[PROT_OK_PACKET].struct_size, persistent); persistent 2383 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2392 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2394 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_eof * packet = mnd_pecalloc(1, packet_methods[PROT_EOF_PACKET].struct_size, persistent); persistent 2398 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2407 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2409 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_command * packet = mnd_pecalloc(1, packet_methods[PROT_CMD_PACKET].struct_size, persistent); persistent 2413 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2422 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2424 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_rset_header * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_HEADER_PACKET].struct_size, persistent); persistent 2428 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2437 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2439 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_res_field * packet = mnd_pecalloc(1, packet_methods[PROT_RSET_FLD_PACKET].struct_size, persistent); persistent 2443 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2452 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2454 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_row * packet = mnd_pecalloc(1, packet_methods[PROT_ROW_PACKET].struct_size, persistent); persistent 2458 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2467 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2469 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_stats * packet = mnd_pecalloc(1, packet_methods[PROT_STATS_PACKET].struct_size, persistent); persistent 2473 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2482 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_prepare_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2484 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_prepare_response * packet = mnd_pecalloc(1, packet_methods[PROT_PREPARE_RESP_PACKET].struct_size, persistent); persistent 2488 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2497 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_change_user_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2499 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_chg_user_resp * packet = mnd_pecalloc(1, packet_methods[PROT_CHG_USER_RESP_PACKET].struct_size, persistent); persistent 2503 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2512 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_sha256_pk_request_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2514 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_sha256_pk_request * packet = mnd_pecalloc(1, packet_methods[PROT_SHA256_PK_REQUEST_PACKET].struct_size, persistent); persistent 2518 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2527 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_sha256_pk_request_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) persistent 2529 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_sha256_pk_request_response * packet = mnd_pecalloc(1, packet_methods[PROT_SHA256_PK_REQUEST_RESPONSE_PACKET].struct_size, persistent); persistent 2533 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2562 ext/mysqlnd/mysqlnd_wireprotocol.c mysqlnd_protocol_init(zend_bool persistent TSRMLS_DC) persistent 2566 ext/mysqlnd/mysqlnd_wireprotocol.c ret = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_protocol_decoder(persistent TSRMLS_CC); persistent 2579 ext/mysqlnd/mysqlnd_wireprotocol.c zend_bool pers = protocol->persistent; persistent 64 ext/mysqlnd/mysqlnd_wireprotocol.h zend_bool persistent; persistent 324 ext/mysqlnd/mysqlnd_wireprotocol.h PHPAPI MYSQLND_PROTOCOL * mysqlnd_protocol_init(zend_bool persistent TSRMLS_DC); persistent 1755 ext/oci8/oci8.c void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclusive) persistent 1771 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive); persistent 1779 ext/oci8/oci8.c connection = php_oci_do_connect_ex(username, username_len, password, password_len, NULL, 0, dbname, dbname_len, charset, session_mode, persistent, exclusive TSRMLS_CC); persistent 1801 ext/oci8/oci8.c php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, char *dbname, int dbname_len, char *charset, long session_mode, int persistent, int exclusive TSRMLS_DC) persistent 1841 ext/oci8/oci8.c persistent = 0; persistent 1933 ext/oci8/oci8.c if (persistent && zend_hash_find(&EG(persistent_list), hashed_details.c, hashed_details.len+1, (void **) &le) == SUCCESS) { persistent 1939 ext/oci8/oci8.c } else if (!persistent && zend_hash_find(&EG(regular_list), hashed_details.c, hashed_details.len+1, (void **) &le) == SUCCESS) { persistent 2035 ext/oci8/oci8.c if (persistent){ persistent 2059 ext/oci8/oci8.c if (persistent) { persistent 2070 ext/oci8/oci8.c if (persistent) { persistent 409 ext/oci8/php_oci8_int.h void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclusive); persistent 410 ext/oci8/php_oci8_int.h php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, char *dbname, int dbname_len, char *charset, long session_mode, int persistent, int exclusive TSRMLS_DC); persistent 63 ext/odbc/php_odbc.c void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent); persistent 2411 ext/odbc/php_odbc.c int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent TSRMLS_DC) persistent 2415 ext/odbc/php_odbc.c *conn = (odbc_connection *)pemalloc(sizeof(odbc_connection), persistent); persistent 2416 ext/odbc/php_odbc.c (*conn)->persistent = persistent; persistent 2476 ext/odbc/php_odbc.c pefree(*conn, persistent); persistent 2521 ext/odbc/php_odbc.c pefree((*conn), persistent); persistent 2543 ext/odbc/php_odbc.c void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 2573 ext/odbc/php_odbc.c persistent = 0; persistent 2587 ext/odbc/php_odbc.c if (persistent) { persistent 3079 ext/odbc/php_odbc.c if (conn->persistent) { persistent 226 ext/odbc/php_odbc_includes.h int persistent; persistent 115 ext/opcache/zend_accelerator_util_funcs.c t = (Bucket **)pemalloc(nSize * sizeof(Bucket *), ht->persistent); persistent 120 ext/opcache/zend_accelerator_util_funcs.c pefree(ht->arBuckets, ht->persistent); persistent 337 ext/opcache/zend_accelerator_util_funcs.c ht->persistent = 0; persistent 465 ext/opcache/zend_accelerator_util_funcs.c ht->persistent = 0; persistent 576 ext/opcache/zend_accelerator_util_funcs.c ht->persistent = 0; persistent 40 ext/pdo_mysql/mysql_driver.c # define pdo_mysql_init(persistent) mysqlnd_init(MYSQLND_CLIENT_NO_FLAG, persistent) persistent 42 ext/pdo_mysql/mysql_driver.c # define pdo_mysql_init(persistent) mysql_init(NULL) persistent 47 ext/pdo_pgsql/pgsql_driver.c static char * _pdo_pgsql_trim_message(const char *message, int persistent) persistent 59 ext/pdo_pgsql/pgsql_driver.c tmp = pemalloc(i + 1, persistent); persistent 1271 ext/pgsql/pgsql.c static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 1326 ext/pgsql/pgsql.c if (persistent && PGG(allow_persistent)) { persistent 222 ext/pgsql/php_pgsql.h static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent); persistent 2717 ext/standard/array.c arTmp = (struct bucketindex *) pemalloc((Z_ARRVAL_P(array)->nNumOfElements + 1) * sizeof(struct bucketindex), Z_ARRVAL_P(array)->persistent); persistent 2752 ext/standard/array.c pefree(arTmp, Z_ARRVAL_P(array)->persistent); persistent 3027 ext/standard/array.c list = (Bucket **) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket *), hash->persistent); persistent 3165 ext/standard/array.c pefree(lists[i], hash->persistent); persistent 3444 ext/standard/array.c list = (Bucket **) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket *), hash->persistent); persistent 3578 ext/standard/array.c pefree(lists[i], hash->persistent); persistent 85 ext/standard/browscap.c static void convert_browscap_pattern(zval *pattern, int persistent) /* {{{ */ persistent 92 ext/standard/browscap.c t = (char *) safe_pemalloc(Z_STRLEN_P(pattern), 2, 5, persistent); persistent 144 ext/standard/browscap.c int persistent = bdata->htab->persistent; persistent 167 ext/standard/browscap.c new_property = (zval *) pemalloc(sizeof(zval), persistent); persistent 176 ext/standard/browscap.c Z_STRVAL_P(new_property) = pestrndup("1", 1, persistent); persistent 184 ext/standard/browscap.c Z_STRVAL_P(new_property) = pestrndup("", 0, persistent); persistent 188 ext/standard/browscap.c Z_STRLEN_P(arg2), persistent); persistent 191 ext/standard/browscap.c new_key = pestrndup(Z_STRVAL_P(arg1), Z_STRLEN_P(arg1), persistent); persistent 194 ext/standard/browscap.c pefree(new_key, persistent); persistent 203 ext/standard/browscap.c bdata->current_section = (zval *) pemalloc(sizeof(zval), persistent); persistent 205 ext/standard/browscap.c processed = (zval *) pemalloc(sizeof(zval), persistent); persistent 207 ext/standard/browscap.c unprocessed = (zval *) pemalloc(sizeof(zval), persistent); persistent 210 ext/standard/browscap.c section_properties = (HashTable *) pemalloc(sizeof(HashTable), persistent); persistent 212 ext/standard/browscap.c (dtor_func_t) (persistent?browscap_entry_dtor_persistent persistent 214 ext/standard/browscap.c persistent); persistent 218 ext/standard/browscap.c pefree(bdata->current_section_name, persistent); persistent 221 ext/standard/browscap.c Z_STRLEN_P(arg1), persistent); persistent 231 ext/standard/browscap.c Z_STRVAL_P(unprocessed) = pestrndup(Z_STRVAL_P(unprocessed), Z_STRLEN_P(unprocessed), persistent); persistent 233 ext/standard/browscap.c convert_browscap_pattern(processed, persistent); persistent 242 ext/standard/browscap.c static int browscap_read_file(char *filename, browser_data *browdata, int persistent TSRMLS_DC) /* {{{ */ persistent 250 ext/standard/browscap.c browdata->htab = pemalloc(sizeof *browdata->htab, persistent); persistent 256 ext/standard/browscap.c (dtor_func_t) (persistent?browscap_entry_dtor_persistent persistent 258 ext/standard/browscap.c persistent, 0) == FAILURE) { persistent 259 ext/standard/browscap.c pefree(browdata->htab, persistent); persistent 269 ext/standard/browscap.c pefree(browdata->htab, persistent); persistent 280 ext/standard/browscap.c pefree(browdata->current_section_name, persistent); persistent 299 ext/standard/browscap.c static void browscap_bdata_dtor(browser_data *bdata, int persistent TSRMLS_DC) /* {{{ */ persistent 303 ext/standard/browscap.c pefree(bdata->htab, persistent); persistent 70 ext/standard/filters.c static php_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 72 ext/standard/filters.c return php_stream_filter_alloc(&strfilter_rot13_ops, NULL, persistent); persistent 152 ext/standard/filters.c static php_stream_filter *strfilter_toupper_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 154 ext/standard/filters.c return php_stream_filter_alloc(&strfilter_toupper_ops, NULL, persistent); persistent 157 ext/standard/filters.c static php_stream_filter *strfilter_tolower_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 159 ext/standard/filters.c return php_stream_filter_alloc(&strfilter_tolower_ops, NULL, persistent); persistent 176 ext/standard/filters.c int persistent; persistent 179 ext/standard/filters.c static int php_strip_tags_filter_ctor(php_strip_tags_filter *inst, const char *allowed_tags, int allowed_tags_len, int persistent) persistent 182 ext/standard/filters.c if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) { persistent 191 ext/standard/filters.c inst->persistent = persistent; persistent 199 ext/standard/filters.c pefree((void *)inst->allowed_tags, inst->persistent); persistent 238 ext/standard/filters.c pefree(thisfilter->abstract, ((php_strip_tags_filter *)thisfilter->abstract)->persistent); persistent 247 ext/standard/filters.c static php_stream_filter *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 252 ext/standard/filters.c inst = pemalloc(sizeof(php_strip_tags_filter), persistent); persistent 283 ext/standard/filters.c if (php_strip_tags_filter_ctor(inst, tags_ss.c, tags_ss.len, persistent) != SUCCESS) { persistent 287 ext/standard/filters.c pefree(inst, persistent); persistent 295 ext/standard/filters.c return php_stream_filter_alloc(&strfilter_strip_tags_ops, inst, persistent); persistent 342 ext/standard/filters.c int persistent; persistent 367 ext/standard/filters.c static php_conv_err_t php_conv_base64_encode_ctor(php_conv_base64_encode *inst, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) persistent 375 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 381 ext/standard/filters.c inst->persistent = persistent; persistent 389 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 754 ext/standard/filters.c int persistent; persistent 769 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 973 ext/standard/filters.c static php_conv_err_t php_conv_qprint_encode_ctor(php_conv_qprint_encode *inst, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int opts, int persistent) persistent 983 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 989 ext/standard/filters.c inst->persistent = persistent; persistent 1005 ext/standard/filters.c int persistent; persistent 1014 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 1188 ext/standard/filters.c static php_conv_err_t php_conv_qprint_decode_ctor(php_conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) persistent 1196 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 1203 ext/standard/filters.c inst->persistent = persistent; persistent 1210 ext/standard/filters.c int persistent; persistent 1221 ext/standard/filters.c static php_conv_err_t php_conv_get_string_prop_ex(const HashTable *ht, char **pretval, size_t *pretval_len, char *field_name, size_t field_name_len, int persistent) persistent 1234 ext/standard/filters.c if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { persistent 1242 ext/standard/filters.c if (NULL == (*pretval = pemalloc(Z_STRLEN_PP(tmpval) + 1, persistent))) { persistent 1355 ext/standard/filters.c #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ persistent 1356 ext/standard/filters.c php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent) persistent 1367 ext/standard/filters.c static php_conv *php_conv_open(int conv_mode, const HashTable *options, int persistent) persistent 1394 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_base64_encode), persistent); persistent 1396 ext/standard/filters.c if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent)) { persistent 1404 ext/standard/filters.c if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, 0, NULL, 0, 0, persistent)) { persistent 1411 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_base64_decode), persistent); persistent 1446 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); persistent 1448 ext/standard/filters.c if (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { persistent 1454 ext/standard/filters.c if (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, 0, NULL, 0, 0, opts, persistent)) { persistent 1469 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); persistent 1471 ext/standard/filters.c if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, lbchars, lbchars_len, 1, persistent)) { persistent 1477 ext/standard/filters.c if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, NULL, 0, 0, persistent)) { persistent 1491 ext/standard/filters.c pefree(retval, persistent); persistent 1503 ext/standard/filters.c const char *filtername, int persistent) persistent 1505 ext/standard/filters.c inst->persistent = persistent; persistent 1506 ext/standard/filters.c inst->filtername = pestrdup(filtername, persistent); persistent 1509 ext/standard/filters.c if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { persistent 1518 ext/standard/filters.c pefree(inst->cd, persistent); persistent 1521 ext/standard/filters.c pefree(inst->filtername, persistent); persistent 1530 ext/standard/filters.c pefree(inst->cd, inst->persistent); persistent 1534 ext/standard/filters.c pefree(inst->filtername, inst->persistent); persistent 1544 ext/standard/filters.c int persistent TSRMLS_DC) persistent 1564 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1612 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 1619 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1624 ext/standard/filters.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 1625 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 1684 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 1691 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1696 ext/standard/filters.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 1697 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 1724 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { persistent 1729 ext/standard/filters.c pefree(out_buf, persistent); persistent 1736 ext/standard/filters.c pefree(out_buf, persistent); persistent 1794 ext/standard/filters.c pefree(thisfilter->abstract, ((php_convert_filter *)thisfilter->abstract)->persistent); persistent 1803 ext/standard/filters.c static php_stream_filter *strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 1821 ext/standard/filters.c inst = pemalloc(sizeof(php_convert_filter), persistent); persistent 1835 ext/standard/filters.c filtername, persistent) != SUCCESS) { persistent 1839 ext/standard/filters.c retval = php_stream_filter_alloc(&strfilter_convert_ops, inst, persistent); persistent 1842 ext/standard/filters.c pefree(inst, persistent); persistent 1855 ext/standard/filters.c int persistent; persistent 1896 ext/standard/filters.c pefree(data, data->persistent); persistent 1906 ext/standard/filters.c static php_stream_filter *consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 1916 ext/standard/filters.c data = pecalloc(1, sizeof(php_consumed_filter_data), persistent); persistent 1921 ext/standard/filters.c data->persistent = persistent; persistent 1926 ext/standard/filters.c return php_stream_filter_alloc(fops, data, persistent); persistent 1952 ext/standard/filters.c int persistent; persistent 2104 ext/standard/filters.c pefree(data, data->persistent); persistent 2114 ext/standard/filters.c static php_stream_filter *chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 2124 ext/standard/filters.c data = (php_chunked_filter_data *)pecalloc(1, sizeof(php_chunked_filter_data), persistent); persistent 2131 ext/standard/filters.c data->persistent = persistent; persistent 2134 ext/standard/filters.c return php_stream_filter_alloc(fops, data, persistent); persistent 32 ext/standard/fsock.c static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 54 ext/standard/fsock.c if (persistent) { persistent 284 ext/standard/user_filters.c zval *filterparams, int persistent TSRMLS_DC) persistent 294 ext/standard/user_filters.c if (persistent) { persistent 729 ext/sybase_ct/php_sybase_ct.c static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 738 ext/sybase_ct/php_sybase_ct.c if (persistent) { persistent 759 ext/sybase_ct/php_sybase_ct.c persistent=0; persistent 761 ext/sybase_ct/php_sybase_ct.c if (persistent) { persistent 28 ext/zlib/zlib_filter.c int persistent; persistent 43 ext/zlib/zlib_filter.c return (voidpf)safe_pemalloc(items, size, 0, ((php_zlib_filter_data*)opaque)->persistent); persistent 48 ext/zlib/zlib_filter.c pefree((void*)address, ((php_zlib_filter_data*)opaque)->persistent); persistent 164 ext/zlib/zlib_filter.c pefree(data->inbuf, data->persistent); persistent 165 ext/zlib/zlib_filter.c pefree(data->outbuf, data->persistent); persistent 166 ext/zlib/zlib_filter.c pefree(data, data->persistent); persistent 271 ext/zlib/zlib_filter.c pefree(data->inbuf, data->persistent); persistent 272 ext/zlib/zlib_filter.c pefree(data->outbuf, data->persistent); persistent 273 ext/zlib/zlib_filter.c pefree(data, data->persistent); persistent 287 ext/zlib/zlib_filter.c static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 294 ext/zlib/zlib_filter.c data = pecalloc(1, sizeof(php_zlib_filter_data), persistent); persistent 306 ext/zlib/zlib_filter.c data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); persistent 309 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 313 ext/zlib/zlib_filter.c data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); persistent 316 ext/zlib/zlib_filter.c pefree(data->inbuf, persistent); persistent 317 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 425 ext/zlib/zlib_filter.c pefree(data->strm.next_in, persistent); persistent 426 ext/zlib/zlib_filter.c pefree(data->strm.next_out, persistent); persistent 427 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 431 ext/zlib/zlib_filter.c return php_stream_filter_alloc(fops, data, persistent); persistent 306 main/php_network.h #define php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_CC TSRMLS_CC) persistent 307 main/php_network.h #define php_stream_sock_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype), (timeout), (persistent) STREAMS_CC TSRMLS_CC) persistent 310 main/php_network.h #define php_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_REL_CC TSRMLS_CC) persistent 311 main/php_network.h #define php_stream_sock_open_host_rel(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype), (timeout), (persistent) STREAMS_REL_CC TSRMLS_CC) persistent 312 main/php_network.h #define php_stream_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (pathlen), (persistent), (timeval) STREAMS_REL_CC TSRMLS_CC) persistent 62 main/php_streams.h #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC TSRMLS_CC) persistent 64 main/php_streams.h #define php_stream_copy_to_mem_rel(src, buf, maxlen, persistent) _php_stream_copy_to_mem((src), (buf), (maxlen), (persistent) STREAMS_REL_CC TSRMLS_CC) persistent 448 main/php_streams.h int persistent STREAMS_DC TSRMLS_DC); persistent 449 main/php_streams.h #define php_stream_copy_to_mem(src, buf, maxlen, persistent) _php_stream_copy_to_mem((src), (buf), (maxlen), (persistent) STREAMS_CC TSRMLS_CC) persistent 252 main/streams/filter.c PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) persistent 263 main/streams/filter.c filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC); persistent 275 main/streams/filter.c filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC); persistent 295 main/streams/filter.c PHPAPI php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC TSRMLS_DC) persistent 299 main/streams/filter.c filter = (php_stream_filter*) pemalloc_rel_orig(sizeof(php_stream_filter), persistent); persistent 304 main/streams/filter.c filter->is_persistent = persistent; persistent 134 main/streams/php_stream_filter_api.h PHPAPI php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC TSRMLS_DC); persistent 136 main/streams/php_stream_filter_api.h #define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC TSRMLS_CC) persistent 137 main/streams/php_stream_filter_api.h #define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC TSRMLS_CC) persistent 145 main/streams/php_stream_filter_api.h php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent TSRMLS_DC); persistent 152 main/streams/php_stream_filter_api.h PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC); persistent 34 main/streams/php_streams_int.h #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size))) persistent 35 main/streams/php_streams_int.h #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc_rel_orig((ptr), (size))) persistent 37 main/streams/php_streams_int.h # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) persistent 38 main/streams/php_streams_int.h # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) persistent 924 main/streams/plain_wrapper.c int persistent = options & STREAM_OPEN_PERSISTENT; persistent 942 main/streams/plain_wrapper.c if (persistent) { persistent 1425 main/streams/streams.c PHPAPI size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen, int persistent STREAMS_DC TSRMLS_DC) persistent 1443 main/streams/streams.c ptr = *buf = pemalloc_rel_orig(maxlen + 1, persistent); persistent 1455 main/streams/streams.c pefree(*buf, persistent); persistent 1473 main/streams/streams.c ptr = *buf = pemalloc_rel_orig(max_len, persistent); persistent 1478 main/streams/streams.c *buf = perealloc_rel_orig(*buf, max_len + step, persistent); persistent 1486 main/streams/streams.c *buf = perealloc_rel_orig(*buf, len + 1, persistent); persistent 1489 main/streams/streams.c pefree(*buf, persistent); persistent 2025 main/streams/streams.c int persistent = options & STREAM_OPEN_PERSISTENT; persistent 2089 main/streams/streams.c pefree(stream->orig_path, persistent); persistent 2091 main/streams/streams.c copy_of_path = pestrdup(path, persistent); persistent 2112 main/streams/streams.c pefree(newstream->orig_path, persistent); persistent 2114 main/streams/streams.c newstream->orig_path = pestrdup(path, persistent); persistent 2153 main/streams/streams.c pefree(copy_of_path, persistent); persistent 58 sapi/apache_hooks/mod_php5.c int top, max, persistent; persistent 115 sapi/apache_hooks/mod_php5.c int sapi_stack_init_ex(sapi_stack *stack, int persistent) persistent 118 sapi/apache_hooks/mod_php5.c stack->persistent = persistent; persistent 119 sapi/apache_hooks/mod_php5.c stack->elements = (void **) pemalloc(sizeof(void **) * STACK_BLOCK_SIZE, persistent); persistent 131 sapi/apache_hooks/mod_php5.c (sizeof(void **) * (stack->max += STACK_BLOCK_SIZE)), stack->persistent); persistent 438 sapi/cli/php_cli_server.c static void append_http_status_line(smart_str *buffer, int protocol_version, int response_code, int persistent) /* {{{ */ persistent 443 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "HTTP", 4, persistent); persistent 444 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, '/', persistent); persistent 445 sapi/cli/php_cli_server.c smart_str_append_generic_ex(buffer, protocol_version / 100, persistent, int, _unsigned); persistent 446 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, '.', persistent); persistent 447 sapi/cli/php_cli_server.c smart_str_append_generic_ex(buffer, protocol_version % 100, persistent, int, _unsigned); persistent 448 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, ' ', persistent); persistent 449 sapi/cli/php_cli_server.c smart_str_append_generic_ex(buffer, response_code, persistent, int, _unsigned); persistent 450 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, ' ', persistent); persistent 451 sapi/cli/php_cli_server.c smart_str_appends_ex(buffer, get_status_string(response_code), persistent); persistent 452 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "\r\n", 2, persistent); persistent 455 sapi/cli/php_cli_server.c static void append_essential_headers(smart_str* buffer, php_cli_server_client *client, int persistent) /* {{{ */ persistent 460 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "Host", sizeof("Host") - 1, persistent); persistent 461 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, ": ", sizeof(": ") - 1, persistent); persistent 462 sapi/cli/php_cli_server.c smart_str_appends_ex(buffer, *val, persistent); persistent 463 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "\r\n", 2, persistent); persistent 466 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "Connection: close\r\n", sizeof("Connection: close\r\n") - 1, persistent); persistent 1568 sapi/cli/php_cli_server.c static void normalize_vpath(char **retval, size_t *retval_len, const char *vpath, size_t vpath_len, int persistent) /* {{{ */ persistent 1576 sapi/cli/php_cli_server.c decoded_vpath = pestrndup(vpath, vpath_len, persistent); persistent 56 sapi/thttpd/thttpd.c # define do_keep_alive persistent