/PHP-7.4/Zend/ |
H A D | zend_alloc.h | 160 #define safe_emalloc(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LINE_CC… macro 194 …, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe_emalloc(nmemb, size, of…
|
H A D | zend_compile.c | 4726 jmp_opnums = safe_emalloc(sizeof(uint32_t), list->children - 1, 0); in zend_compile_if() 4857 jmpnz_opnums = safe_emalloc(sizeof(uint32_t), cases->children, 0); in zend_compile_switch() 4961 uint32_t *jmp_opnums = safe_emalloc(sizeof(uint32_t), catches->children, 0); in zend_compile_try() 5013 uint32_t *jmp_multicatch = safe_emalloc(sizeof(uint32_t), classes->children - 1, 0); in zend_compile_try() 5350 arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children + 1, 0); in zend_compile_params() 5366 arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children, 0); in zend_compile_params()
|
H A D | zend_stream.c | 153 *buf = safe_emalloc(1, file_size, ZEND_MMAP_AHEAD); in zend_stream_fixup()
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | div.c | 129 num1 = (unsigned char *) safe_emalloc (1, n1->n_len+n1->n_scale, extra+2); in bc_divide() 134 num2 = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide() 164 mval = (unsigned char *) safe_emalloc (1, len2, 1); in bc_divide()
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_com.c | 507 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_byref() 519 byref_vals = (VARIANT*)safe_emalloc(sizeof(VARIANT), byref_count, 0); in php_com_do_invoke_byref() 617 vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0); in php_com_do_invoke_by_id()
|
H A D | com_handlers.c | 397 args = (zval *)safe_emalloc(sizeof(zval), nargs, 0); in com_call_method()
|
H A D | com_olechar.c | 46 olestring = (OLECHAR*)safe_emalloc(string_len, sizeof(OLECHAR), 0); in php_com_string_to_olestring() 81 string = (char*)safe_emalloc(length, sizeof(char), 0); in php_com_olestring_to_string()
|
H A D | com_saproxy.c | 104 args = safe_emalloc(proxy->dimensions + 1, sizeof(zval), 0); in saproxy_read_dimension() 169 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension() 221 zval *args = safe_emalloc(proxy->dimensions + 2, sizeof(zval), 0); in saproxy_write_dimension() 247 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension() 401 cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval), 0); in saproxy_clone() 451 proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval), 0); in php_com_saproxy_create() 564 I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0); in php_com_saproxy_iter_get()
|
H A D | com_typeinfo.c | 543 names = (BSTR*)safe_emalloc((func->cParams + 1), sizeof(BSTR), 0); in php_com_process_typeinfo()
|
H A D | com_wrapper.c | 265 params = (zval *)safe_emalloc(sizeof(zval), pdp->cArgs, 0); in disp_invokeex()
|
/PHP-7.4/ext/dba/ |
H A D | dba.c | 663 args = safe_emalloc(ac, sizeof(zval), 0); in php_dba_open() 685 key = safe_emalloc(keylen, 1, 1); in php_dba_open()
|
H A D | dba_cdb.c | 164 new_entry = safe_emalloc(len, 1, 1); in DBA_FETCH_FUNC() 269 key = safe_emalloc(klen, 1, 1); in DBA_FIRSTKEY_FUNC() 301 key = safe_emalloc(klen, 1, 1); in DBA_NEXTKEY_FUNC()
|
/PHP-7.4/ext/dba/libcdb/ |
H A D | cdb_make.c | 174 c->split = (struct cdb_hp *) safe_emalloc(memsize, sizeof(struct cdb_hp), 0); in cdb_make_finish()
|
/PHP-7.4/ext/dba/libflatfile/ |
H A D | flatfile.c | 93 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch()
|
/PHP-7.4/ext/dom/ |
H A D | node.c | 1801 inclusive_ns_prefixes = safe_emalloc(zend_hash_num_elements(Z_ARRVAL_P(ns_prefixes)) + 1, in dom_canonicalization()
|
H A D | xpath.c | 113 fci.params = safe_emalloc(fci.param_count, sizeof(zval), 0); in dom_xpath_ext_function_php()
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 1928 sections = safe_emalloc(ml, 1, 1); in exif_get_sectionlist() 2094 data = safe_emalloc(size, 1, 0); in exif_file_sections_add() 2227 info_value->list = safe_emalloc(length, sizeof(image_info_value), 0); in exif_iif_add_value() 2375 info_data->value.s = safe_emalloc(length, 1, 1); in exif_iif_add_buffer() 2803 value_ptr = safe_emalloc(max(byte_count, 4), 1, 0); in exif_ifd_make_value() 3016 (*result) = safe_emalloc(byte_count, 1, 1); in exif_process_string_raw() 3349 value_ptr = safe_emalloc(byte_count, 1, 0); in exif_process_IFD_TAG_impl() 4234 ImageInfo->Thumbnail.data = safe_emalloc(ImageInfo->Thumbnail.size, 1, 0); in exif_process_IFD_in_TIFF_impl() 4271 ImageInfo->Thumbnail.data = safe_emalloc(ImageInfo->Thumbnail.size, 1, 0); in exif_process_IFD_in_TIFF_impl()
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 2071 ret = safe_emalloc((lines + 1), sizeof(char*), size); in ftp_genlist()
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 1559 stylearr = safe_emalloc(sizeof(int), num_styles, 0); in PHP_FUNCTION() 3541 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); in php_imagepolygon()
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd.c | 1965 stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1); in gdImageFill() 2033 stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1); in _gdImageFillTiled()
|
H A D | gd_color_match.c | 31 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * gdMaxColors, 0); in gdImageColorMatch()
|
H A D | gd_gd2.c | 718 chunkData = safe_emalloc(cs * bytesPerPixel, cs, 0); in _gdImageGd2() 733 chunkIdx = safe_emalloc(idxSize, sizeof(t_chunk_info), 0); in _gdImageGd2()
|
H A D | gd_gif_in.c | 361 tmp = safe_emalloc(3 * rv, sizeof(char), 1); in GetDataBlock()
|
H A D | gd_jpeg.c | 225 row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0); in _gdImageJpegCtx() 470 row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0); in gdImageCreateFromJpegCtxEx()
|
H A D | gd_png.c | 343 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0); in gdImageCreateFromPngCtx() 345 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx() 716 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx() 719 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0); in gdImagePngCtxEx() 752 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
|