Home
last modified time | relevance | path

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

/PHP-5.4/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.c1280 replaced = safe_erealloc(replaced, maxlen , 1, 128 + 1); in php_escape_html_entities_ex()
1413 replaced = safe_erealloc(replaced, maxlen, 1, ent_len + 128 + 1); in php_escape_html_entities_ex()
/PHP-5.4/Zend/
H A Dzend_alloc.h75 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEN… macro
127 …istent) ((persistent)?_safe_realloc((ptr), (nmemb), (size), (offset)):safe_erealloc((ptr), (nmemb)…
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_language_scanner.l661 str->value.str.val = safe_erealloc(str->value.str.val, 1, str->value.str.len, ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
H A Dzend_operators.c1267 Z_STRVAL_P(result) = safe_erealloc(Z_STRVAL_P(result), res_len, 1, 1); in concat_function()
H A Dzend_language_scanner.c663 str->value.str.val = safe_erealloc(str->value.str.val, 1, str->value.str.len, ZEND_MMAP_AHEAD); in zend_prepare_string_for_scanning()
/PHP-5.4/ext/bz2/
H A Dbz2.c572 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION()
578 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION()
/PHP-5.4/ext/exif/
H A Dexif.c87 #ifndef safe_erealloc
88 # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) macro
1613 tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); in exif_file_sections_add()
1645 tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); in exif_file_sections_realloc()
1685 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_value()
1815 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_int()
1838 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_str()
1879 …list = safe_erealloc(image_info->info_list[section_index].list, (image_info->info_list[section_ind… in exif_iif_add_buffer()
2483 new_data = safe_erealloc(ImageInfo->Thumbnail.data, 1, ImageInfo->Thumbnail.size, new_size); in exif_thumbnail_build()
2987 …tmp_xp = (xp_field_type*)safe_erealloc(ImageInfo->xp_fields.list, (ImageInfo->xp_fields.count+1), … in exif_process_IFD_TAG()
/PHP-5.4/ext/intl/transliterator/
H A Dtransliterator_methods.c429 uresult = safe_erealloc( uresult, uresult_len, sizeof( UChar ), 1 * sizeof( UChar ) ); in PHP_FUNCTION()
/PHP-5.4/ext/imap/
H A Dphp_imap.c3930 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3932 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3959 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3961 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3985 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3987 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
/PHP-5.4/main/
H A Drfc1867.c1118 lbuf = (char *) safe_erealloc(lbuf, llen, 1, MAX_SIZE_OF_INDEX + 1);
/PHP-5.4/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.4/main/streams/
H A Dstreams.c2380 vector = (char **) safe_erealloc(vector, vector_size, sizeof(char *), 0);
/PHP-5.4/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.4/ext/iconv/
H A Diconv.c517 out_buffer = (char *) safe_erealloc(out_buffer, out_size, 1, 8); in php_iconv_string()

Completed in 132 milliseconds