persistent 195 Zend/zend_alloc.h #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) persistent 196 Zend/zend_alloc.h #define safe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe_emalloc(nmemb, size, offset)) persistent 197 Zend/zend_alloc.h #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) persistent 198 Zend/zend_alloc.h #define pefree_size(ptr, size, persistent) ((persistent)?free(ptr):efree_size(ptr, size)) persistent 199 Zend/zend_alloc.h #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nmemb), (size))) persistent 200 Zend/zend_alloc.h #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr), (size))) persistent 201 Zend/zend_alloc.h #define perealloc2(ptr, size, copy_size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc2((ptr), (size), (copy_size))) persistent 202 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 203 Zend/zend_alloc.h #define perealloc_recoverable(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc_recoverable((ptr), (size))) persistent 204 Zend/zend_alloc.h #define perealloc2_recoverable(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc2_recoverable((ptr), (size), (copy_size))) persistent 205 Zend/zend_alloc.h #define pestrdup(s, persistent) ((persistent)?strdup(s):estrdup(s)) persistent 206 Zend/zend_alloc.h #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) persistent 208 Zend/zend_alloc.h #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) persistent 209 Zend/zend_alloc.h #define pefree_rel(ptr, persistent) ((persistent)?free(ptr):efree_rel(ptr)) persistent 210 Zend/zend_alloc.h #define pecalloc_rel(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc_rel((nmemb), (size))) persistent 211 Zend/zend_alloc.h #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_rel((ptr), (size))) persistent 212 Zend/zend_alloc.h #define perealloc2_rel(ptr, size, copy_size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc2_rel((ptr), (size), (copy_size))) persistent 213 Zend/zend_alloc.h #define perealloc_recoverable_rel(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc_recoverable_rel((ptr), (size))) persistent 214 Zend/zend_alloc.h #define perealloc2_recoverable_rel(ptr, size, copy_size, persistent) ((persistent)?realloc((ptr), (size)):erealloc2_recoverable_rel((ptr), (size), (copy_size))) persistent 215 Zend/zend_alloc.h #define pestrdup_rel(s, persistent) ((persistent)?strdup(s):estrdup_rel(s)) persistent 173 Zend/zend_hash.c ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) persistent 177 Zend/zend_hash.c ht->u.flags = (persistent ? HASH_FLAG_PERSISTENT : 0) | HASH_FLAG_APPLY_PROTECTION | HASH_FLAG_STATIC_KEYS; persistent 242 Zend/zend_hash.c ZEND_API void ZEND_FASTCALL _zend_hash_init_ex(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) persistent 244 Zend/zend_hash.c _zend_hash_init(ht, nSize, pDestructor, persistent ZEND_FILE_LINE_RELAY_CC); persistent 57 Zend/zend_hash.h ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); persistent 58 Zend/zend_hash.h ZEND_API void ZEND_FASTCALL _zend_hash_init_ex(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC); persistent 61 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 62 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 246 Zend/zend_hash.h #define ZEND_INIT_SYMTABLE_EX(ht, n, persistent) \ persistent 247 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 38 Zend/zend_llist.c zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); persistent 56 Zend/zend_llist.c zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); persistent 86 Zend/zend_llist.c pefree((current), (l)->persistent);\ persistent 113 Zend/zend_llist.c pefree(current, l->persistent); persistent 147 Zend/zend_llist.c pefree(old_tail, l->persistent); persistent 155 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) 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) persistent 155 Zend/zend_multibyte.c return multibyte_functions.encoding_list_parser(encoding_list, encoding_list_len, return_list, return_size, persistent); 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); 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); 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 51 Zend/zend_smart_str.h static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, zend_bool persistent) { persistent 58 Zend/zend_smart_str.h if (persistent) { persistent 82 Zend/zend_smart_str.h static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent) { persistent 83 Zend/zend_smart_str.h size_t new_len = smart_str_alloc(dest, 1, persistent); persistent 88 Zend/zend_smart_str.h static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, zend_bool persistent) { persistent 89 Zend/zend_smart_str.h size_t new_len = smart_str_alloc(dest, len, persistent); persistent 94 Zend/zend_smart_str.h static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) { persistent 95 Zend/zend_smart_str.h smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); persistent 98 Zend/zend_smart_str.h static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, zend_bool persistent) { persistent 100 Zend/zend_smart_str.h smart_str_append_ex(dest, src->s, persistent); persistent 104 Zend/zend_smart_str.h static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) { persistent 107 Zend/zend_smart_str.h smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); persistent 110 Zend/zend_smart_str.h static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_bool persistent) { persistent 113 Zend/zend_smart_str.h smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); persistent 119 Zend/zend_string.h static zend_always_inline zend_string *zend_string_alloc(size_t len, int persistent) persistent 121 Zend/zend_string.h zend_string *ret = (zend_string *)pemalloc(ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); persistent 126 Zend/zend_string.h GC_TYPE_INFO(ret) = IS_STRING | ((persistent ? IS_STR_PERSISTENT : 0) << 8); persistent 129 Zend/zend_string.h GC_FLAGS(ret) = (persistent ? IS_STR_PERSISTENT : 0); persistent 137 Zend/zend_string.h static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, int persistent) persistent 139 Zend/zend_string.h zend_string *ret = (zend_string *)safe_pemalloc(n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), persistent); persistent 144 Zend/zend_string.h GC_TYPE_INFO(ret) = IS_STRING | ((persistent ? IS_STR_PERSISTENT : 0) << 8); persistent 147 Zend/zend_string.h GC_FLAGS(ret) = (persistent ? IS_STR_PERSISTENT : 0); persistent 155 Zend/zend_string.h static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) persistent 157 Zend/zend_string.h zend_string *ret = zend_string_alloc(len, persistent); persistent 172 Zend/zend_string.h static zend_always_inline zend_string *zend_string_dup(zend_string *s, int persistent) persistent 177 Zend/zend_string.h return zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); persistent 181 Zend/zend_string.h static zend_always_inline zend_string *zend_string_realloc(zend_string *s, size_t len, int persistent) persistent 187 Zend/zend_string.h ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); persistent 195 Zend/zend_string.h ret = zend_string_alloc(len, persistent); persistent 200 Zend/zend_string.h static zend_always_inline zend_string *zend_string_extend(zend_string *s, size_t len, int persistent) persistent 207 Zend/zend_string.h ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); persistent 215 Zend/zend_string.h ret = zend_string_alloc(len, persistent); persistent 220 Zend/zend_string.h static zend_always_inline zend_string *zend_string_truncate(zend_string *s, size_t len, int persistent) persistent 227 Zend/zend_string.h ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); persistent 235 Zend/zend_string.h ret = zend_string_alloc(len, persistent); persistent 240 Zend/zend_string.h static zend_always_inline zend_string *zend_string_safe_realloc(zend_string *s, size_t n, size_t m, size_t l, int persistent) persistent 246 Zend/zend_string.h ret = (zend_string *)safe_perealloc(s, n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), persistent); persistent 254 Zend/zend_string.h ret = zend_string_safe_alloc(n, m, l, persistent); persistent 62 Zend/zend_ts_hash.c ZEND_API void _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 _zend_hash_init(TS_HASH(ht), nSize, pDestructor, persistent ZEND_FILE_LINE_RELAY_CC); persistent 72 Zend/zend_ts_hash.c ZEND_API void _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 _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 void _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 void _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 145 Zend/zend_ts_hash.h #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ persistent 146 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 47 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) 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 408 ext/bz2/bz2_filter.c pefree(data->strm.next_in, persistent); persistent 409 ext/bz2/bz2_filter.c pefree(data->strm.next_out, persistent); persistent 410 ext/bz2/bz2_filter.c pefree(data, persistent); persistent 414 ext/bz2/bz2_filter.c return php_stream_filter_alloc(fops, data, persistent); persistent 631 ext/dba/dba.c static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 644 ext/dba/dba.c int persistent_flag = persistent ? STREAM_OPEN_PERSISTENT : 0; persistent 669 ext/dba/dba.c if (persistent) { persistent 833 ext/dba/dba.c info = pemalloc(sizeof(dba_info), persistent); persistent 835 ext/dba/dba.c info->path = pestrdup(Z_STRVAL(args[0]), persistent); persistent 839 ext/dba/dba.c info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSISTENT : 0); persistent 872 ext/dba/dba.c info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); persistent 882 ext/dba/dba.c pefree(info->path, persistent); persistent 883 ext/dba/dba.c info->path = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); persistent 886 ext/dba/dba.c info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); persistent 950 ext/dba/dba.c if (persistent) { persistent 962 ext/dba/dba.c RETVAL_RES(zend_register_resource(info, (persistent ? le_pdb : le_db))); persistent 82 ext/dba/libinifile/inifile.c inifile * inifile_alloc(php_stream *fp, int readonly, int persistent) 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 65 ext/dba/libinifile/inifile.h inifile * inifile_alloc(php_stream *fp, int readonly, int persistent); persistent 66 ext/dba/libinifile/inifile.h void inifile_free(inifile *dba, int persistent); persistent 2544 ext/iconv/iconv.c int persistent; persistent 2558 ext/iconv/iconv.c pefree(self->to_charset, self->persistent); persistent 2559 ext/iconv/iconv.c pefree(self->from_charset, self->persistent); persistent 2566 ext/iconv/iconv.c const char *from_charset, size_t from_charset_len, int persistent) persistent 2568 ext/iconv/iconv.c if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { persistent 2572 ext/iconv/iconv.c if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { persistent 2573 ext/iconv/iconv.c pefree(self->to_charset, persistent); persistent 2584 ext/iconv/iconv.c pefree(self->from_charset, persistent); persistent 2585 ext/iconv/iconv.c pefree(self->to_charset, persistent); persistent 2588 ext/iconv/iconv.c self->persistent = persistent; persistent 2600 ext/iconv/iconv.c int persistent) persistent 2618 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2662 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 2669 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2674 ext/iconv/iconv.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 2675 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 2739 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 2746 ext/iconv/iconv.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 2751 ext/iconv/iconv.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 2752 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 2785 ext/iconv/iconv.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 2790 ext/iconv/iconv.c pefree(out_buf, persistent); persistent 2797 ext/iconv/iconv.c pefree(out_buf, persistent); persistent 2853 ext/iconv/iconv.c pefree(Z_PTR(filter->abstract), ((php_iconv_stream_filter *)Z_PTR(filter->abstract))->persistent); persistent 2864 ext/iconv/iconv.c static php_stream_filter *php_iconv_stream_filter_factory_create(const char *name, zval *params, int persistent) persistent 2890 ext/iconv/iconv.c if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) { persistent 2894 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 2895 ext/iconv/iconv.c pefree(inst, persistent); persistent 2899 ext/iconv/iconv.c if (NULL == (retval = php_stream_filter_alloc(&php_iconv_stream_filter_ops, inst, persistent))) { persistent 2901 ext/iconv/iconv.c pefree(inst, persistent); persistent 1143 ext/imap/php_imap.c static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 884 ext/interbase/interbase.c static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) /* {{{ */ persistent 941 ext/interbase/interbase.c if ((!persistent && xlink->type == le_link) || xlink->type == le_plink) { persistent 987 ext/interbase/interbase.c if (!persistent || ((l = INI_INT("ibase.max_persistent") != -1) && IBG(num_persistent) >= l)) { persistent 688 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) persistent 725 ext/mbstring/mbstring.c list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); persistent 773 ext/mbstring/mbstring.c pefree(list, persistent); persistent 776 ext/mbstring/mbstring.c pefree(list, persistent); persistent 807 ext/mbstring/mbstring.c php_mb_parse_encoding_array(zval *array, const mbfl_encoding ***return_list, size_t *return_size, int persistent) persistent 819 ext/mbstring/mbstring.c list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); persistent 853 ext/mbstring/mbstring.c pefree(list, persistent); persistent 856 ext/mbstring/mbstring.c pefree(list, persistent); persistent 963 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) persistent 965 ext/mbstring/mbstring.c return php_mb_parse_encoding_list(encoding_list, encoding_list_len, (const mbfl_encoding ***)return_list, return_size, persistent); 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); persistent 114 ext/mcrypt/mcrypt_filter.c newbucket = php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent); 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) 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 683 ext/mysqli/mysqli_api.c if (!mysql->persistent) { persistent 709 ext/mysqli/mysqli_api.c mysql->persistent = FALSE; persistent 66 ext/mysqli/mysqli_nonapi.c zend_bool persistent = FALSE; persistent 157 ext/mysqli/mysqli_nonapi.c mysql->persistent = persistent = TRUE; persistent 209 ext/mysqli/mysqli_nonapi.c if (persistent && MyG(max_persistent) != -1 && persistent 220 ext/mysqli/mysqli_nonapi.c if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, persistent))) { persistent 275 ext/mysqli/mysqli_nonapi.c if (persistent && (new_connection || is_real_connect)) { persistent 298 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 202 ext/mysqlnd/mysqlnd.c mysqlnd_stats_end(conn->stats, conn->persistent); persistent 205 ext/mysqlnd/mysqlnd.c mnd_pefree(conn, conn->persistent); persistent 256 ext/mysqlnd/mysqlnd.c conn->persistent); persistent 419 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->last_message, conn->persistent); persistent 615 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->auth_plugin_data, conn->persistent); persistent 619 ext/mysqlnd/mysqlnd.c conn->auth_plugin_data = mnd_pemalloc(conn->auth_plugin_data_len, conn->persistent); persistent 804 ext/mysqlnd/mysqlnd.c if (FAIL == net->data->m.connect_ex(conn->net, conn->scheme, conn->scheme_len, conn->persistent, persistent 831 ext/mysqlnd/mysqlnd.c conn->server_version = mnd_pestrdup(greet_packet->server_version, conn->persistent); persistent 899 ext/mysqlnd/mysqlnd.c conn? conn->persistent:0, conn? CONN_GET_STATE(conn):-1); persistent 912 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 985 ext/mysqlnd/mysqlnd.c conn->scheme = mnd_pestrndup(transport, transport_len, conn->persistent); persistent 1014 ext/mysqlnd/mysqlnd.c conn->user = mnd_pestrndup(user, conn->user_len, conn->persistent); persistent 1015 ext/mysqlnd/mysqlnd.c conn->passwd = mnd_pestrndup(passwd, passwd_len, conn->persistent); persistent 1018 ext/mysqlnd/mysqlnd.c conn->connect_or_select_db = mnd_pestrndup(db, db_len, conn->persistent); persistent 1027 ext/mysqlnd/mysqlnd.c conn->host = mnd_pestrndup(host, host_len, conn->persistent); persistent 1040 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup(p, conn->persistent); persistent 1048 ext/mysqlnd/mysqlnd.c conn->unix_socket = mnd_pestrdup(socket_or_pipe, conn->persistent); persistent 1050 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup("Localhost via UNIX socket", conn->persistent); persistent 1058 ext/mysqlnd/mysqlnd.c conn->host_info = mnd_pestrdup(p, conn->persistent); persistent 1088 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 1506 ext/mysqlnd/mysqlnd.c result = conn->m->result_init(5000, conn->persistent); persistent 1519 ext/mysqlnd/mysqlnd.c result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, FALSE, result->persistent); persistent 1699 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->connect_or_select_db, conn->persistent); persistent 1701 ext/mysqlnd/mysqlnd.c conn->connect_or_select_db = mnd_pestrndup(db, db_len, conn->persistent); persistent 1911 ext/mysqlnd/mysqlnd.c if (conn->persistent) { persistent 2367 ext/mysqlnd/mysqlnd.c new_init_commands = mnd_perealloc(conn->options->init_commands, sizeof(char *) * (conn->options->num_commands + 1), conn->persistent); persistent 2372 ext/mysqlnd/mysqlnd.c new_command = mnd_pestrdup(value, conn->persistent); persistent 2397 ext/mysqlnd/mysqlnd.c new_charset_name = mnd_pestrdup(value, conn->persistent); persistent 2402 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->options->charset_name, conn->persistent); persistent 2435 ext/mysqlnd/mysqlnd.c char * new_auth_protocol = value? mnd_pestrdup(value, conn->persistent) : NULL; persistent 2440 ext/mysqlnd/mysqlnd.c mnd_pefree(conn->options->auth_protocol, conn->persistent); persistent 2506 ext/mysqlnd/mysqlnd.c conn->options->connect_attr = mnd_pemalloc(sizeof(HashTable), conn->persistent); persistent 2510 ext/mysqlnd/mysqlnd.c zend_hash_init(conn->options->connect_attr, 0, NULL, ZVAL_PTR_DTOR, conn->persistent); persistent 2977 ext/mysqlnd/mysqlnd.c mysqlnd_stats_init(&conn->stats, STAT_LAST, conn->persistent); persistent 2980 ext/mysqlnd/mysqlnd.c conn->net = mysqlnd_net_init(conn->persistent, conn->stats, conn->error_info); persistent 2981 ext/mysqlnd/mysqlnd.c conn->protocol = mysqlnd_protocol_init(conn->persistent); persistent 3107 ext/mysqlnd/mysqlnd.c mnd_pefree(conn, conn->persistent); persistent 3161 ext/mysqlnd/mysqlnd.c mysqlnd_init(unsigned int flags, zend_bool persistent) persistent 3165 ext/mysqlnd/mysqlnd.c ret = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_connection(persistent); persistent 86 ext/mysqlnd/mysqlnd.h PHPAPI MYSQLND * mysqlnd_init(unsigned int client_flags, zend_bool persistent); 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 zend_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 zend_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 zend_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(ZSTR_LEN(tmp_str.s) + sizeof(size_t)) : _emalloc(REAL_SIZE(ZSTR_LEN(tmp_str.s) + 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 114 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_connection)(zend_bool persistent) persistent 122 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 123 ext/mysqlnd/mysqlnd_driver.c new_object = mnd_pecalloc(1, alloc_size_ret, persistent); persistent 127 ext/mysqlnd/mysqlnd_driver.c new_object->data = mnd_pecalloc(1, alloc_size_ret_data, persistent); persistent 129 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(new_object, persistent); persistent 132 ext/mysqlnd/mysqlnd_driver.c new_object->persistent = persistent; persistent 140 ext/mysqlnd/mysqlnd_driver.c data->persistent = persistent; persistent 150 ext/mysqlnd/mysqlnd_driver.c data->error_info->error_list = mnd_pecalloc(1, sizeof(zend_llist), persistent); persistent 155 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 171 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", to_be_cloned->persistent); persistent 175 ext/mysqlnd/mysqlnd_driver.c new_object = mnd_pecalloc(1, alloc_size_ret, to_be_cloned->persistent); persistent 179 ext/mysqlnd/mysqlnd_driver.c new_object->persistent = to_be_cloned->persistent; persistent 197 ext/mysqlnd/mysqlnd_driver.c MYSQLND_STMT * ret = mnd_pecalloc(1, alloc_size, conn->persistent); persistent 206 ext/mysqlnd/mysqlnd_driver.c ret->persistent = conn->persistent; persistent 208 ext/mysqlnd/mysqlnd_driver.c stmt = ret->data = mnd_pecalloc(1, sizeof(MYSQLND_STMT_DATA), conn->persistent); persistent 213 ext/mysqlnd/mysqlnd_driver.c stmt->persistent = conn->persistent; persistent 218 ext/mysqlnd/mysqlnd_driver.c stmt->execute_cmd_buffer.buffer = mnd_pemalloc(stmt->execute_cmd_buffer.length, stmt->persistent); persistent 230 ext/mysqlnd/mysqlnd_driver.c stmt->error_info->error_list = mnd_pecalloc(1, sizeof(zend_llist), ret->persistent); persistent 235 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 252 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_io_channel)(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info) persistent 256 ext/mysqlnd/mysqlnd_driver.c MYSQLND_NET * net = mnd_pecalloc(1, net_alloc_size, persistent); persistent 257 ext/mysqlnd/mysqlnd_driver.c MYSQLND_NET_DATA * net_data = mnd_pecalloc(1, net_data_alloc_size, persistent); persistent 260 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 263 ext/mysqlnd/mysqlnd_driver.c net->persistent = net->data->persistent = persistent; persistent 272 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(net_data, persistent); persistent 276 ext/mysqlnd/mysqlnd_driver.c mnd_pefree(net, persistent); persistent 287 ext/mysqlnd/mysqlnd_driver.c MYSQLND_METHOD(mysqlnd_object_factory, get_protocol_decoder)(zend_bool persistent) persistent 290 ext/mysqlnd/mysqlnd_driver.c MYSQLND_PROTOCOL *ret = mnd_pecalloc(1, alloc_size, persistent); persistent 293 ext/mysqlnd/mysqlnd_driver.c DBG_INF_FMT("persistent=%u", persistent); persistent 295 ext/mysqlnd/mysqlnd_driver.c ret->persistent = persistent; persistent 133 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 145 ext/mysqlnd/mysqlnd_net.c if (persistent) { persistent 173 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 194 ext/mysqlnd/mysqlnd_net.c if (persistent) { persistent 324 ext/mysqlnd/mysqlnd_net.c const zend_bool persistent, persistent 337 ext/mysqlnd/mysqlnd_net.c php_stream * net_stream = open_stream(net, scheme, scheme_len, persistent, conn_stats, error_info); persistent 740 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_pemalloc(net->cmd_buffer.length, net->persistent); persistent 742 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_perealloc(net->cmd_buffer.buffer, net->cmd_buffer.length, net->persistent); persistent 756 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 765 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 774 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 783 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 792 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 801 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 843 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1044 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1089 ext/mysqlnd/mysqlnd_net.c zend_bool pers = net->persistent; persistent 1144 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net->cmd_buffer.buffer, net->persistent); persistent 1148 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net->data, net->data->persistent); persistent 1149 ext/mysqlnd/mysqlnd_net.c mnd_pefree(net, net->persistent); persistent 1219 ext/mysqlnd/mysqlnd_net.c mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info) persistent 1223 ext/mysqlnd/mysqlnd_net.c net = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_io_channel(persistent, stats, error_info); persistent 26 ext/mysqlnd/mysqlnd_net.h PHPAPI MYSQLND_NET * mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info); persistent 69 ext/mysqlnd/mysqlnd_priv.h #define SET_NEW_MESSAGE(buf, buf_len, message, len, persistent) \ persistent 72 ext/mysqlnd/mysqlnd_priv.h mnd_pefree((buf), (persistent)); \ persistent 75 ext/mysqlnd/mysqlnd_priv.h (buf) = mnd_pestrndup((message), (len), (persistent)); \ persistent 82 ext/mysqlnd/mysqlnd_priv.h #define SET_EMPTY_MESSAGE(buf, buf_len, persistent) \ persistent 85 ext/mysqlnd/mysqlnd_priv.h mnd_pefree((buf), (persistent)); \ persistent 92 ext/mysqlnd/mysqlnd_ps.c result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_count, TRUE, result->persistent); persistent 181 ext/mysqlnd/mysqlnd_ps.c result = conn->m->result_init(stmt->result->field_count, stmt->persistent); persistent 440 ext/mysqlnd/mysqlnd_ps.c MYSQLND_RES * result = stmt->conn->m->result_init(stmt_to_prepare->field_count, stmt_to_prepare->persistent); persistent 1528 ext/mysqlnd/mysqlnd_ps.c stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent); persistent 1670 ext/mysqlnd/mysqlnd_ps.c stmt->result_bind = mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent); persistent 1672 ext/mysqlnd/mysqlnd_ps.c stmt->result_bind = mnd_perealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIND), stmt->persistent); persistent 1847 ext/mysqlnd/mysqlnd_ps.c result = stmt->conn->m->result_init(stmt->field_count, stmt->persistent); persistent 1852 ext/mysqlnd/mysqlnd_ps.c result->unbuf = mysqlnd_result_unbuffered_init(stmt->field_count, TRUE, result->persistent); persistent 2111 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt->error_info->error_list, s->persistent); persistent 2226 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt->execute_cmd_buffer.buffer, stmt->persistent); persistent 2247 ext/mysqlnd/mysqlnd_ps.c zend_bool persistent = (s != NULL) ? s->persistent : 0; persistent 2257 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(stmt, persistent); persistent 2259 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(s, persistent); persistent 2276 ext/mysqlnd/mysqlnd_ps.c DBG_RETURN(mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent)); persistent 2290 ext/mysqlnd/mysqlnd_ps.c DBG_RETURN(mnd_pecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND), stmt->persistent)); persistent 2301 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(param_bind, stmt->persistent); persistent 2313 ext/mysqlnd/mysqlnd_ps.c mnd_pefree(result_bind, stmt->persistent); persistent 185 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result->lengths, result->persistent); persistent 201 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result, result->persistent); persistent 243 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set->initialized, set->persistent); persistent 271 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set->lengths, set->persistent); persistent 288 ext/mysqlnd/mysqlnd_result.c mnd_pefree(set, set->persistent); persistent 348 ext/mysqlnd/mysqlnd_result.c mnd_pefree(result, result->persistent); persistent 372 ext/mysqlnd/mysqlnd_result.c result->meta = result->m.result_meta_init(result->field_count, result->persistent); persistent 475 ext/mysqlnd/mysqlnd_result.c conn->persistent); persistent 490 ext/mysqlnd/mysqlnd_result.c SET_EMPTY_MESSAGE(conn->last_message, conn->last_message_len, conn->persistent); persistent 502 ext/mysqlnd/mysqlnd_result.c result = conn->current_result = conn->m->result_init(rset_header->field_count, conn->persistent); persistent 511 ext/mysqlnd/mysqlnd_result.c result = stmt->result = conn->m->result_init(rset_header->field_count, stmt->persistent); persistent 936 ext/mysqlnd/mysqlnd_result.c result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, ps, result->persistent); persistent 1413 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); persistent 1420 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); persistent 1460 ext/mysqlnd/mysqlnd_result.c set->initialized = mnd_pecalloc((set->row_count / 8) + 1, sizeof(zend_uchar), set->persistent); /* +1 for safety */ persistent 1897 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_init(unsigned int field_count, zend_bool persistent) persistent 1900 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 1908 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 1919 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_unbuffered_init(unsigned int field_count, zend_bool ps, zend_bool persistent) persistent 1922 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_UNBUFFERED * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 1930 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(zend_ulong), persistent))) { persistent 1931 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 1936 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 1940 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 1960 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_buffered_zval_init(unsigned int field_count, zend_bool ps, zend_bool persistent) persistent 1963 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_BUFFERED_ZVAL * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 1970 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(zend_ulong), persistent))) { persistent 1971 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 1976 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 1980 ext/mysqlnd/mysqlnd_result.c ret->persistent = persistent; persistent 2003 ext/mysqlnd/mysqlnd_result.c mysqlnd_result_buffered_c_init(unsigned int field_count, zend_bool ps, zend_bool persistent) persistent 2006 ext/mysqlnd/mysqlnd_result.c MYSQLND_RES_BUFFERED_C * ret = mnd_pecalloc(1, alloc_size, persistent); persistent 2013 ext/mysqlnd/mysqlnd_result.c if (!(ret->lengths = mnd_pecalloc(field_count, sizeof(zend_ulong), persistent))) { persistent 2014 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2019 ext/mysqlnd/mysqlnd_result.c mnd_pefree(ret, persistent); persistent 2023 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); 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); 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); 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); persistent 33 ext/mysqlnd/mysqlnd_result_meta.c php_mysqlnd_free_field_metadata(MYSQLND_FIELD *meta, zend_bool persistent) 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 65 ext/mysqlnd/mysqlnd_result_meta.c field_packet->persistent_alloc = meta->persistent; persistent 71 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->fields[i].root, meta->persistent); persistent 156 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", meta->persistent); persistent 162 ext/mysqlnd/mysqlnd_result_meta.c php_mysqlnd_free_field_metadata(fields++, meta->persistent); persistent 164 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->fields, meta->persistent); persistent 170 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta->zend_hash_keys, meta->persistent); persistent 174 ext/mysqlnd/mysqlnd_result_meta.c mnd_pefree(meta, meta->persistent); persistent 183 ext/mysqlnd/mysqlnd_result_meta.c MYSQLND_METHOD(mysqlnd_res_meta, clone_metadata)(const MYSQLND_RES_METADATA * const meta, zend_bool persistent) persistent 193 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", persistent); persistent 195 ext/mysqlnd/mysqlnd_result_meta.c new_meta = mnd_pecalloc(1, sizeof(MYSQLND_RES_METADATA), persistent); persistent 199 ext/mysqlnd/mysqlnd_result_meta.c new_meta->persistent = persistent; persistent 202 ext/mysqlnd/mysqlnd_result_meta.c new_fields = mnd_pecalloc(meta->field_count + 1, sizeof(MYSQLND_FIELD), persistent); persistent 207 ext/mysqlnd/mysqlnd_result_meta.c new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); persistent 220 ext/mysqlnd/mysqlnd_result_meta.c new_fields[i].root = mnd_pemalloc(orig_fields[i].root_len, persistent); persistent 254 ext/mysqlnd/mysqlnd_result_meta.c new_fields[i].def = mnd_pemalloc(orig_fields[i].def_length + 1, persistent); persistent 355 ext/mysqlnd/mysqlnd_result_meta.c mysqlnd_result_meta_init(unsigned int field_count, zend_bool persistent) persistent 358 ext/mysqlnd/mysqlnd_result_meta.c MYSQLND_RES_METADATA *ret = mnd_pecalloc(1, alloc_size, persistent); persistent 360 ext/mysqlnd/mysqlnd_result_meta.c DBG_INF_FMT("persistent=%u", persistent); persistent 368 ext/mysqlnd/mysqlnd_result_meta.c ret->persistent = persistent; persistent 371 ext/mysqlnd/mysqlnd_result_meta.c ret->fields = mnd_pecalloc(field_count + 1, sizeof(MYSQLND_FIELD), ret->persistent); persistent 372 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); persistent 234 ext/mysqlnd/mysqlnd_statistics.c mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count, int persistent) persistent 236 ext/mysqlnd/mysqlnd_statistics.c *stats = pecalloc(1, sizeof(MYSQLND_STATS), persistent); persistent 240 ext/mysqlnd/mysqlnd_statistics.c (*stats)->values = pecalloc(statistic_count, sizeof(uint64_t), persistent); persistent 241 ext/mysqlnd/mysqlnd_statistics.c (*stats)->triggers = pecalloc(statistic_count, sizeof(mysqlnd_stat_trigger), persistent); persistent 253 ext/mysqlnd/mysqlnd_statistics.c mysqlnd_stats_end(MYSQLND_STATS * stats, int persistent) persistent 258 ext/mysqlnd/mysqlnd_statistics.c pefree(stats->triggers, persistent); persistent 259 ext/mysqlnd/mysqlnd_statistics.c pefree(stats->values, persistent); persistent 261 ext/mysqlnd/mysqlnd_statistics.c pefree(stats, persistent); persistent 162 ext/mysqlnd/mysqlnd_statistics.h PHPAPI void mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count, int persistent); persistent 163 ext/mysqlnd/mysqlnd_statistics.h PHPAPI void mysqlnd_stats_end(MYSQLND_STATS * stats, int persistent); persistent 302 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); persistent 304 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); persistent 365 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_greet * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 366 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_auth * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 367 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); persistent 368 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); persistent 369 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 370 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_command * (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 371 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_eof * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 372 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); persistent 373 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); persistent 374 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_row * (*func_mysqlnd_protocol__get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 375 ext/mysqlnd/mysqlnd_structs.h typedef struct st_mysqlnd_packet_stats * (*func_mysqlnd_protocol__get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent); persistent 376 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); persistent 377 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); persistent 378 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); persistent 379 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); persistent 405 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND * (*func_mysqlnd_object_factory__get_connection)(zend_bool persistent); persistent 408 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); persistent 409 ext/mysqlnd/mysqlnd_structs.h typedef MYSQLND_PROTOCOL * (*func_mysqlnd_object_factory__get_protocol_decoder)(zend_bool persistent); persistent 473 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 669 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 791 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 832 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 920 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 998 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(_packet, ((MYSQLND_PACKET_EOF *)_packet)->header.persistent); persistent 1075 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1197 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1428 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1890 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_INF_FMT("stack_allocation=%u persistent=%u", (int)stack_allocation, (int)p->header.persistent); persistent 1899 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 1938 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2030 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2118 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2147 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2201 ext/mysqlnd/mysqlnd_wireprotocol.c mnd_pefree(p, p->header.persistent); persistent 2307 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2309 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_greet * packet = mnd_pecalloc(1, packet_methods[PROT_GREET_PACKET].struct_size, persistent); persistent 2313 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2322 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2324 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_auth * packet = mnd_pecalloc(1, packet_methods[PROT_AUTH_PACKET].struct_size, persistent); persistent 2328 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2337 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2339 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 2343 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2352 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2354 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 2358 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2367 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2369 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_ok * packet = mnd_pecalloc(1, packet_methods[PROT_OK_PACKET].struct_size, persistent); persistent 2373 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2382 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2384 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_eof * packet = mnd_pecalloc(1, packet_methods[PROT_EOF_PACKET].struct_size, persistent); persistent 2388 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2397 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2399 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_command * packet = mnd_pecalloc(1, packet_methods[PROT_CMD_PACKET].struct_size, persistent); persistent 2403 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2412 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2414 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 2418 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2427 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2429 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 2433 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2442 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2444 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_row * packet = mnd_pecalloc(1, packet_methods[PROT_ROW_PACKET].struct_size, persistent); persistent 2448 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2457 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2459 ext/mysqlnd/mysqlnd_wireprotocol.c struct st_mysqlnd_packet_stats * packet = mnd_pecalloc(1, packet_methods[PROT_STATS_PACKET].struct_size, persistent); persistent 2463 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2472 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_prepare_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2474 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 2478 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2487 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_change_user_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2489 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 2493 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2502 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_sha256_pk_request_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2504 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 2508 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2517 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_METHOD(mysqlnd_protocol, get_sha256_pk_request_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent) persistent 2519 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 2523 ext/mysqlnd/mysqlnd_wireprotocol.c packet->header.persistent = persistent; persistent 2552 ext/mysqlnd/mysqlnd_wireprotocol.c mysqlnd_protocol_init(zend_bool persistent) persistent 2556 ext/mysqlnd/mysqlnd_wireprotocol.c ret = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_protocol_decoder(persistent); persistent 2569 ext/mysqlnd/mysqlnd_wireprotocol.c zend_bool pers = protocol->persistent; persistent 64 ext/mysqlnd/mysqlnd_wireprotocol.h zend_bool persistent; persistent 323 ext/mysqlnd/mysqlnd_wireprotocol.h PHPAPI MYSQLND_PROTOCOL * mysqlnd_protocol_init(zend_bool persistent); persistent 1750 ext/oci8/oci8.c void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclusive) persistent 1766 ext/oci8/oci8.c DTRACE_OCI8_CONNECT_ENTRY(username, dbname, charset, session_mode, persistent, exclusive); persistent 1774 ext/oci8/oci8.c connection = php_oci_do_connect_ex(username, (int) username_len, password, (int) password_len, NULL, 0, dbname, (int) dbname_len, charset, session_mode, persistent, exclusive); persistent 1796 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, zend_long session_mode, int persistent, int exclusive) persistent 1837 ext/oci8/oci8.c persistent = 0; persistent 1923 ext/oci8/oci8.c if (persistent) { persistent 1933 ext/oci8/oci8.c if (persistent && ((zvp = zend_hash_find(&EG(persistent_list), hashed_details.s))) != NULL) { persistent 1941 ext/oci8/oci8.c } else if (!persistent && ((zvp = zend_hash_find(&EG(regular_list), hashed_details.s)) != NULL)) { persistent 2044 ext/oci8/oci8.c if (persistent){ persistent 2067 ext/oci8/oci8.c if (persistent) { persistent 2078 ext/oci8/oci8.c if (persistent) { persistent 424 ext/oci8/php_oci8_int.h void php_oci_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent, int exclusive); persistent 425 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, zend_long session_mode, int persistent, int exclusive); persistent 63 ext/odbc/php_odbc.c void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent); persistent 2433 ext/odbc/php_odbc.c int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent) persistent 2437 ext/odbc/php_odbc.c *conn = (odbc_connection *)pemalloc(sizeof(odbc_connection), persistent); persistent 2438 ext/odbc/php_odbc.c (*conn)->persistent = persistent; persistent 2498 ext/odbc/php_odbc.c pefree(*conn, persistent); persistent 2543 ext/odbc/php_odbc.c pefree((*conn), persistent); persistent 2565 ext/odbc/php_odbc.c void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 2595 ext/odbc/php_odbc.c persistent = 0; persistent 2609 ext/odbc/php_odbc.c if (persistent) { persistent 3120 ext/odbc/php_odbc.c if (conn->persistent) { persistent 226 ext/odbc/php_odbc_includes.h int persistent; 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 1273 ext/pgsql/pgsql.c static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) persistent 1332 ext/pgsql/pgsql.c if (persistent && PGG(allow_persistent)) { persistent 225 ext/pgsql/php_pgsql.h static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent); persistent 74 ext/standard/browscap.c static void convert_browscap_pattern(zval *pattern, int persistent) /* {{{ */ persistent 81 ext/standard/browscap.c res = zend_string_safe_alloc(Z_STRLEN_P(pattern), 2, 4, persistent); persistent 137 ext/standard/browscap.c int persistent = bdata->htab->u.flags & HASH_FLAG_PERSISTENT; persistent 165 ext/standard/browscap.c ZVAL_NEW_STR(&new_property, zend_string_init("1", sizeof("1")-1, persistent)); persistent 173 ext/standard/browscap.c ZVAL_NEW_STR(&new_property, zend_string_init("", sizeof("")-1, persistent)); persistent 175 ext/standard/browscap.c ZVAL_STR(&new_property, zend_string_dup(Z_STR_P(arg2), persistent)); persistent 177 ext/standard/browscap.c new_key = zend_string_dup(Z_STR_P(arg1), persistent); persistent 188 ext/standard/browscap.c if (persistent) { persistent 194 ext/standard/browscap.c (dtor_func_t) (persistent?browscap_entry_dtor_persistent persistent 196 ext/standard/browscap.c persistent); persistent 198 ext/standard/browscap.c pefree(bdata->current_section_name, persistent); persistent 201 ext/standard/browscap.c Z_STRLEN_P(arg1), persistent); persistent 206 ext/standard/browscap.c ZVAL_STR(&unprocessed, zend_string_dup(Z_STR_P(arg1), persistent)); persistent 208 ext/standard/browscap.c convert_browscap_pattern(&processed, persistent); persistent 217 ext/standard/browscap.c static int browscap_read_file(char *filename, browser_data *browdata, int persistent) /* {{{ */ persistent 225 ext/standard/browscap.c browdata->htab = pemalloc(sizeof *browdata->htab, persistent); persistent 231 ext/standard/browscap.c (dtor_func_t) (persistent?browscap_entry_dtor_persistent persistent 233 ext/standard/browscap.c persistent, 0); persistent 240 ext/standard/browscap.c pefree(browdata->htab, persistent); persistent 251 ext/standard/browscap.c pefree(browdata->current_section_name, persistent); persistent 270 ext/standard/browscap.c static void browscap_bdata_dtor(browser_data *bdata, int persistent) /* {{{ */ persistent 274 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) 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) 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) 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, size_t 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(Z_PTR(thisfilter->abstract), ((php_strip_tags_filter *)Z_PTR(thisfilter->abstract))->persistent); persistent 247 ext/standard/filters.c static php_stream_filter *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent) persistent 252 ext/standard/filters.c inst = pemalloc(sizeof(php_strip_tags_filter), persistent); persistent 277 ext/standard/filters.c if (php_strip_tags_filter_ctor(inst, ZSTR_VAL(tags_ss.s), ZSTR_LEN(tags_ss.s), persistent) != SUCCESS) { persistent 279 ext/standard/filters.c pefree(inst, persistent); persistent 285 ext/standard/filters.c return php_stream_filter_alloc(&strfilter_strip_tags_ops, inst, persistent); persistent 331 ext/standard/filters.c int persistent; persistent 357 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 365 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 371 ext/standard/filters.c inst->persistent = persistent; persistent 379 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 744 ext/standard/filters.c int persistent; persistent 759 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 964 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 974 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 980 ext/standard/filters.c inst->persistent = persistent; persistent 996 ext/standard/filters.c int persistent; persistent 1005 ext/standard/filters.c pefree((void *)inst->lbchars, inst->persistent); persistent 1179 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 1187 ext/standard/filters.c inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); persistent 1194 ext/standard/filters.c inst->persistent = persistent; persistent 1201 ext/standard/filters.c int persistent; persistent 1212 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 1222 ext/standard/filters.c if (NULL == (*pretval = pemalloc(ZSTR_LEN(str) + 1, persistent))) { persistent 1279 ext/standard/filters.c #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ persistent 1280 ext/standard/filters.c php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent) persistent 1291 ext/standard/filters.c static php_conv *php_conv_open(int conv_mode, const HashTable *options, int persistent) persistent 1318 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_base64_encode), persistent); persistent 1320 ext/standard/filters.c if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent)) { persistent 1328 ext/standard/filters.c if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, 0, NULL, 0, 0, persistent)) { persistent 1335 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_base64_decode), persistent); persistent 1370 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); persistent 1372 ext/standard/filters.c if (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { persistent 1378 ext/standard/filters.c if (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, 0, NULL, 0, 0, opts, persistent)) { persistent 1393 ext/standard/filters.c retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); persistent 1395 ext/standard/filters.c if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, lbchars, lbchars_len, 1, persistent)) { persistent 1401 ext/standard/filters.c if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, NULL, 0, 0, persistent)) { persistent 1415 ext/standard/filters.c pefree(retval, persistent); persistent 1427 ext/standard/filters.c const char *filtername, int persistent) persistent 1429 ext/standard/filters.c inst->persistent = persistent; persistent 1430 ext/standard/filters.c inst->filtername = pestrdup(filtername, persistent); persistent 1433 ext/standard/filters.c if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { persistent 1442 ext/standard/filters.c pefree(inst->cd, persistent); persistent 1445 ext/standard/filters.c pefree(inst->filtername, persistent); persistent 1454 ext/standard/filters.c pefree(inst->cd, inst->persistent); persistent 1458 ext/standard/filters.c pefree(inst->filtername, inst->persistent); persistent 1468 ext/standard/filters.c int persistent) persistent 1488 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1536 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 1543 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1548 ext/standard/filters.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 1549 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 1608 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 1615 ext/standard/filters.c if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { persistent 1620 ext/standard/filters.c if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { persistent 1621 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 1648 ext/standard/filters.c if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { persistent 1653 ext/standard/filters.c pefree(out_buf, persistent); persistent 1660 ext/standard/filters.c pefree(out_buf, persistent); persistent 1718 ext/standard/filters.c pefree(Z_PTR(thisfilter->abstract), ((php_convert_filter *)Z_PTR(thisfilter->abstract))->persistent); persistent 1727 ext/standard/filters.c static php_stream_filter *strfilter_convert_create(const char *filtername, zval *filterparams, int persistent) persistent 1745 ext/standard/filters.c inst = pemalloc(sizeof(php_convert_filter), persistent); persistent 1759 ext/standard/filters.c filtername, persistent) != SUCCESS) { persistent 1763 ext/standard/filters.c retval = php_stream_filter_alloc(&strfilter_convert_ops, inst, persistent); persistent 1766 ext/standard/filters.c pefree(inst, persistent); persistent 1781 ext/standard/filters.c int persistent; persistent 1820 ext/standard/filters.c pefree(data, data->persistent); persistent 1830 ext/standard/filters.c static php_stream_filter *consumed_filter_create(const char *filtername, zval *filterparams, int persistent) persistent 1840 ext/standard/filters.c data = pecalloc(1, sizeof(php_consumed_filter_data), persistent); persistent 1845 ext/standard/filters.c data->persistent = persistent; persistent 1850 ext/standard/filters.c return php_stream_filter_alloc(fops, data, persistent); persistent 1876 ext/standard/filters.c int persistent; persistent 2028 ext/standard/filters.c pefree(data, data->persistent); persistent 2038 ext/standard/filters.c static php_stream_filter *chunked_filter_create(const char *filtername, zval *filterparams, int persistent) persistent 2048 ext/standard/filters.c data = (php_chunked_filter_data *)pecalloc(1, sizeof(php_chunked_filter_data), persistent); persistent 2055 ext/standard/filters.c data->persistent = persistent; persistent 2058 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 58 ext/standard/fsock.c if (persistent) { persistent 264 ext/standard/user_filters.c zval *filterparams, int persistent) persistent 274 ext/standard/user_filters.c if (persistent) { persistent 33 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 273 ext/zlib/zlib_filter.c pefree(data->inbuf, data->persistent); persistent 274 ext/zlib/zlib_filter.c pefree(data->outbuf, data->persistent); persistent 275 ext/zlib/zlib_filter.c pefree(data, data->persistent); persistent 289 ext/zlib/zlib_filter.c static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent) persistent 296 ext/zlib/zlib_filter.c data = pecalloc(1, sizeof(php_zlib_filter_data), persistent); persistent 308 ext/zlib/zlib_filter.c data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); persistent 311 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 315 ext/zlib/zlib_filter.c data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); persistent 318 ext/zlib/zlib_filter.c pefree(data->inbuf, persistent); persistent 319 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 415 ext/zlib/zlib_filter.c pefree(data->strm.next_in, persistent); persistent 416 ext/zlib/zlib_filter.c pefree(data->strm.next_out, persistent); persistent 417 ext/zlib/zlib_filter.c pefree(data, persistent); persistent 421 ext/zlib/zlib_filter.c return php_stream_filter_alloc(fops, data, persistent); persistent 314 main/php_network.h #define php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_CC) persistent 315 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) persistent 318 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) persistent 319 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) persistent 320 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) persistent 64 main/php_streams.h #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC) persistent 66 main/php_streams.h #define php_stream_copy_to_mem_rel(src, maxlen, persistent) _php_stream_copy_to_mem((src), (buf), (maxlen), (persistent) STREAMS_REL_CC) persistent 459 main/php_streams.h PHPAPI zend_string *_php_stream_copy_to_mem(php_stream *src, size_t maxlen, int persistent STREAMS_DC); persistent 460 main/php_streams.h #define php_stream_copy_to_mem(src, maxlen, persistent) _php_stream_copy_to_mem((src), (maxlen), (persistent) STREAMS_CC) persistent 250 main/streams/filter.c PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent) persistent 261 main/streams/filter.c filter = factory->create_filter(filtername, filterparams, persistent); persistent 273 main/streams/filter.c filter = factory->create_filter(filtername, filterparams, persistent); persistent 293 main/streams/filter.c PHPAPI php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent STREAMS_DC) persistent 297 main/streams/filter.c filter = (php_stream_filter*) pemalloc_rel_orig(sizeof(php_stream_filter), persistent); persistent 302 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); 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) 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) persistent 145 main/streams/php_stream_filter_api.h php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent); persistent 152 main/streams/php_stream_filter_api.h PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent); 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 957 main/streams/plain_wrapper.c int persistent = options & STREAM_OPEN_PERSISTENT; persistent 975 main/streams/plain_wrapper.c if (persistent) { persistent 1419 main/streams/streams.c PHPAPI zend_string *_php_stream_copy_to_mem(php_stream *src, size_t maxlen, int persistent STREAMS_DC) persistent 1438 main/streams/streams.c result = zend_string_alloc(maxlen, persistent); persistent 1470 main/streams/streams.c result = zend_string_alloc(max_len, persistent); persistent 1476 main/streams/streams.c result = zend_string_extend(result, max_len + step, persistent); persistent 1484 main/streams/streams.c result = zend_string_truncate(result, len, persistent); persistent 2021 main/streams/streams.c int persistent = options & STREAM_OPEN_PERSISTENT; persistent 2085 main/streams/streams.c pefree(stream->orig_path, persistent); persistent 2087 main/streams/streams.c copy_of_path = pestrdup(path, persistent); persistent 2108 main/streams/streams.c pefree(newstream->orig_path, persistent); persistent 2110 main/streams/streams.c newstream->orig_path = pestrdup(path, persistent); persistent 2149 main/streams/streams.c pefree(copy_of_path, persistent); persistent 323 sapi/cli/php_cli_server.c static void append_http_status_line(smart_str *buffer, int protocol_version, int response_code, int persistent) /* {{{ */ persistent 328 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "HTTP", 4, persistent); persistent 329 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, '/', persistent); persistent 330 sapi/cli/php_cli_server.c smart_str_append_long_ex(buffer, protocol_version / 100, persistent); persistent 331 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, '.', persistent); persistent 332 sapi/cli/php_cli_server.c smart_str_append_long_ex(buffer, protocol_version % 100, persistent); persistent 333 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, ' ', persistent); persistent 334 sapi/cli/php_cli_server.c smart_str_append_long_ex(buffer, response_code, persistent); persistent 335 sapi/cli/php_cli_server.c smart_str_appendc_ex(buffer, ' ', persistent); persistent 336 sapi/cli/php_cli_server.c smart_str_appends_ex(buffer, get_status_string(response_code), persistent); persistent 337 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "\r\n", 2, persistent); persistent 340 sapi/cli/php_cli_server.c static void append_essential_headers(smart_str* buffer, php_cli_server_client *client, int persistent) /* {{{ */ persistent 345 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "Host", sizeof("Host") - 1, persistent); persistent 346 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, ": ", sizeof(": ") - 1, persistent); persistent 347 sapi/cli/php_cli_server.c smart_str_appends_ex(buffer, val, persistent); persistent 348 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "\r\n", 2, persistent); persistent 351 sapi/cli/php_cli_server.c smart_str_appendl_ex(buffer, "Connection: close\r\n", sizeof("Connection: close\r\n") - 1, persistent); persistent 1457 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 1465 sapi/cli/php_cli_server.c decoded_vpath = pestrndup(vpath, vpath_len, persistent); persistent 281 sapi/phpdbg/phpdbg_wait.c pefree(elm, zend_extensions.persistent);