Home
last modified time | relevance | path

Searched refs:safe_erealloc (Results 1 – 13 of 13) sorted by relevance

/PHP-7.0/Zend/
H A Dzend_stack.c41 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push()
H A Dzend_stream.c266 *buf = safe_erealloc(*buf, size, 2, 0);
273 *buf = safe_erealloc(*buf, size, 1, ZEND_MMAP_AHEAD);
H A Dzend_alloc.h169 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEN… macro
202 …istent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):safe_erealloc((ptr), (nmemb)…
H A Dzend_compile.c917 op_array->try_catch_array = safe_erealloc( in zend_add_try_element()
/PHP-7.0/ext/exif/
H A Dexif.c77 #ifndef safe_erealloc
78 # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) macro
1597 tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); in exif_file_sections_add()
1629 tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); in exif_file_sections_realloc()
1669 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_value()
1803 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_int()
1826 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_str()
1867 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_buffer()
2468 new_data = safe_erealloc(ImageInfo->Thumbnail.data, 1, ImageInfo->Thumbnail.size, new_size); in exif_thumbnail_build()
3002 …tmp_xp = (xp_field_type*)safe_erealloc(ImageInfo->xp_fields.list, (ImageInfo->xp_fields.count+1), … in exif_process_IFD_TAG()
/PHP-7.0/ext/intl/transliterator/
H A Dtransliterator_methods.c425 uresult = safe_erealloc( uresult, uresult_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
/PHP-7.0/ext/imap/
H A Dphp_imap.c3989 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3991 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
4018 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
4020 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
4044 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
4046 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
/PHP-7.0/ext/spl/
H A Dspl_fixedarray.c122 array->elements = safe_erealloc(array->elements, size, sizeof(zval), 0); in spl_fixedarray_resize()
H A Dspl_dllist.c548 intern->gc_data = safe_erealloc(intern->gc_data, intern->gc_data_count, sizeof(zval), 0); in spl_dllist_object_get_gc()
/PHP-7.0/main/
H A Drfc1867.c1137 lbuf = (char *) safe_erealloc(lbuf, llen, 1, MAX_SIZE_OF_INDEX + 1);
/PHP-7.0/ext/sockets/
H A Dconversions.c890 *control_buf = safe_erealloc(*control_buf, 2, req_space, *control_len); in from_zval_write_control()
/PHP-7.0/main/streams/
H A Dstreams.c2299 vector = (zend_string **) safe_erealloc(vector, vector_size, sizeof(char *), 0);
/PHP-7.0/ext/zip/
H A Dphp_zip.c1812 …ze_obj->buffers = (char **)safe_erealloc(ze_obj->buffers, sizeof(char *), (ze_obj->buffers_cnt+1),… in ZIPARCHIVE_METHOD()

Completed in 139 milliseconds