Home
last modified time | relevance | path

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

/PHP-5.6/ext/standard/
H A Dmetaphone.c147 *phoned_word = safe_erealloc(*phoned_word, 2, sizeof(char), max_buffer_len); \
155 *phoned_word = safe_erealloc(*phoned_word, 1, sizeof(char), max_buffer_len); \
H A Dhtml.c1292 replaced = safe_erealloc(replaced, maxlen , 1, 128 + 1); in php_escape_html_entities_ex()
1425 replaced = safe_erealloc(replaced, maxlen, 1, ent_len + 128 + 1); in php_escape_html_entities_ex()
/PHP-5.6/Zend/
H A Dzend_stream.c267 *buf = safe_erealloc(*buf, size, 2, 0);
274 *buf = safe_erealloc(*buf, size, 1, ZEND_MMAP_AHEAD);
H A Dzend_alloc.h77 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEN… macro
129 …istent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):safe_erealloc((ptr), (nmemb)…
H A Dzend_operators.c1471 Z_STRVAL_P(result) = safe_erealloc(Z_STRVAL_P(result), res_len, 1, 1); in concat_function()
/PHP-5.6/ext/bz2/
H A Dbz2.c581 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION()
592 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION()
/PHP-5.6/ext/exif/
H A Dexif.c77 #ifndef safe_erealloc
78 # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) macro
1603 tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); in exif_file_sections_add()
1635 tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); in exif_file_sections_realloc()
1675 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_value()
1809 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_int()
1832 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_str()
1873 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_buffer()
2477 new_data = safe_erealloc(ImageInfo->Thumbnail.data, 1, ImageInfo->Thumbnail.size, new_size); in exif_thumbnail_build()
3013 …tmp_xp = (xp_field_type*)safe_erealloc(ImageInfo->xp_fields.list, (ImageInfo->xp_fields.count+1), … in exif_process_IFD_TAG()
/PHP-5.6/ext/intl/transliterator/
H A Dtransliterator_methods.c429 uresult = safe_erealloc( uresult, uresult_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
/PHP-5.6/ext/imap/
H A Dphp_imap.c3955 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3957 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3984 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3986 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
4010 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
4012 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
/PHP-5.6/main/
H A Drfc1867.c1128 lbuf = (char *) safe_erealloc(lbuf, llen, 1, MAX_SIZE_OF_INDEX + 1);
/PHP-5.6/ext/spl/
H A Dspl_fixedarray.c119 array->elements = safe_erealloc(array->elements, size, sizeof(zval *), 0); in spl_fixedarray_resize()
H A Dspl_heap.c245 …heap->elements = (void **) safe_erealloc(heap->elements, sizeof(spl_ptr_heap_element), (heap->max… in spl_ptr_heap_insert()
/PHP-5.6/ext/sockets/
H A Dconversions.c911 *control_buf = safe_erealloc(*control_buf, 2, req_space, *control_len); in from_zval_write_control()
/PHP-5.6/main/streams/
H A Dstreams.c2306 vector = (char **) safe_erealloc(vector, vector_size, sizeof(char *), 0);
/PHP-5.6/ext/sybase_ct/
H A Dphp_sybase_ct.c1209 …result->data = (zval **) safe_erealloc(result->data, SYBASE_ROWS_BLOCK*(++result->blocks_initializ… in php_sybase_fetch_result_row()
/PHP-5.6/ext/iconv/
H A Diconv.c600 out_buffer = (char *) safe_erealloc(out_buffer, out_size, 1, 8); in php_iconv_string()
/PHP-5.6/ext/zip/
H A Dphp_zip.c1918 …ze_obj->buffers = (char **)safe_erealloc(ze_obj->buffers, sizeof(char *), (ze_obj->buffers_cnt+1),… in ZIPARCHIVE_METHOD()

Completed in 153 milliseconds