Searched refs:erealloc (Results 1 - 25 of 61) sorted by relevance

123

/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h17 #define gdRealloc(ptr, size) erealloc(ptr, size)
/PHP_TRUNK/Zend/
H A Dzend_dynamic_array.c47 da->array = (char *) erealloc(da->array, da->allocated*da->element_size);
H A Dzend_objects_API.c123 EG(objects_store).object_buckets = (zend_object **) erealloc(EG(objects_store).object_buckets, EG(objects_store).size * sizeof(zend_object*));
H A Dzend_static_allocator.c23 /* Not checking emalloc() and erealloc() return values as they are supposed to bailout */
61 sa->Blocks = (Block *) erealloc(sa->Blocks, ++sa->num_blocks);
H A Dzend_alloc.h148 #define erealloc(ptr, size) _erealloc((ptr), (size), 0 ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) macro
201 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr), (size)))
H A Dzend_opcode.c48 op_array->opcodes = erealloc(op_array->opcodes, size * sizeof(zend_op));
411 op_array->brk_cont_array = erealloc(op_array->brk_cont_array, sizeof(zend_brk_cont_element)*op_array->last_brk_cont);
691 op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var);
695 op_array->opcodes = (zend_op *) erealloc(op_array->opcodes, sizeof(zend_op)*op_array->last);
699 op_array->literals = (zval*)erealloc(op_array->literals, sizeof(zval) * op_array->last_literal);
H A Dzend_stream.c279 *buf = erealloc(*buf, ZEND_MMAP_AHEAD);
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c123 buf = erealloc(buf, buf_size);
149 buf = erealloc(buf, buf_size);
180 buf = erealloc(buf, buf_size);
198 buf = erealloc(buf, buf_size);
226 buf = erealloc(buf, buf_size);
244 buf = erealloc(buf, buf_size);
274 buf = erealloc(buf, buf_size);
286 buf = erealloc(buf, buf_size);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c934 erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) ==
1198 erealloc(filearr, mlen))) == NULL) {
1543 if ((nm = CAST(struct magic *, erealloc(me->mp,
H A Dfuncs.c356 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
420 erealloc(ms->c.li, len));
/PHP_TRUNK/ext/intl/
H A Dintl_common.h35 # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar))
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c681 return erealloc(ptr, new_size);
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c78 S->convbuf = erealloc(S->convbuf, S->convbufsize);
110 S->convbuf = erealloc(S->convbuf, S->convbufsize);
681 buf = erealloc(buf, used + 255+1);
685 buf = erealloc(buf, used + C->fetched_len+1);
/PHP_TRUNK/ext/standard/
H A Dphp_smart_str.h49 (b)->s = erealloc((buf)->s, _STR_HEADER_SIZE + (b)->a + 1); \
H A Dexec.c100 buf = erealloc(buf, buflen);
H A Dimage.c235 buf = (char *) erealloc(buf, szlength);
826 ifd_data = erealloc(ifd_data,ifd_size);
/PHP_TRUNK/main/streams/
H A Dmemory.c63 tmp = erealloc(ms->data, ms->fpos + count);
264 ms->data = erealloc(ms->data, newsize);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c625 argv = erealloc(argv, (argc * 2 + 1) * sizeof(char *));
636 SG(request_info).argv = erealloc(argv, ++argc * sizeof(char *));
/PHP_TRUNK/ext/enchant/
H A Denchant.c555 pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt);
607 pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt);
/PHP_TRUNK/ext/interbase/
H A Dibase_service.c321 heap_buf = (char*) erealloc(heap_buf, heap_buf_size);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c470 sortKeyBuf = erealloc( sortKeyBuf, sortKeyBufSize );
482 sortKeyIndxBuf = erealloc( sortKeyIndxBuf, sortKeyIndxBufSize );
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c74 op_array->vars = erealloc(op_array->vars, op_array->last_var * sizeof(zend_string*));
106 op_array->literals = (zval*)erealloc(op_array->literals, op_array->last_literal * sizeof(zval));
/PHP_TRUNK/ext/exif/
H A Dexif.c78 # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c))
1187 dump = erealloc(dump, len + 4 + 1);
1194 dump = erealloc(dump, len + 6 + 1);
1201 dump = erealloc(dump, len + 6 + 1);
1208 dump = erealloc(dump, len + 13 + 1);
1215 dump = erealloc(dump, len + 2 + 1);
1223 dump = erealloc(dump, len + 1 + 1);
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c649 code = erealloc(code, size);
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c312 tag_value = erealloc( tag_value , buflen );
545 disp_name = erealloc( disp_name , buflen * sizeof(UChar) );
730 kw_value = erealloc( kw_value , kw_value_len+1);
733 kw_value = erealloc( kw_value , kw_value_len+1);
1465 cur_arr[i*2] = erealloc(cur_arr[i*2], strlen(lang_tag)+1);

Completed in 42 milliseconds

123