Home
last modified time | relevance | path

Searched refs:safe_emalloc (Results 51 – 75 of 84) sorted by relevance

1234

/PHP-8.0/ext/xml/
H A Dcompat.c172 attrs = safe_emalloc((nb_attributes * 2) + 1, sizeof(int *), 0); in _start_element_handler_ns()
H A Dxml.c1311 parser->ltags = safe_emalloc(XML_MAXLEVEL, sizeof(char *), 0); in PHP_FUNCTION()
/PHP-8.0/ext/standard/
H A Darray.c4752 lists = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
4753 ptrs = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
5126 lists = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
5127 ptrs = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
5610 indirect = (Bucket **)safe_emalloc(array_size, sizeof(Bucket *), 0);
5612 indirect[i] = (Bucket *)safe_emalloc((num_arrays + 1), sizeof(Bucket), 0);
6089 zval *params = (zval *)safe_emalloc(n_arrays, sizeof(zval), 0);
H A Dfilestat.c820 gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0); in php_stat()
H A Dproc_open.c620 *argv = safe_emalloc(sizeof(char *), num_elems + 1, 0); in get_command_from_array()
/PHP-8.0/ext/hash/
H A Dhash.c1036 result = safe_emalloc(loops, ops->digest_size, 0); in PHP_FUNCTION()
1038 computed_salt = safe_emalloc(salt_len, 1, 4); in PHP_FUNCTION()
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_driver.c329 *quoted = safe_emalloc(2, unquotedlen, 3 + (use_national_character_set ? 1 : 0)); in mysql_handle_quoter()
/PHP-8.0/ext/spl/
H A Dspl_fixedarray.c107 array->elements = safe_emalloc(size, sizeof(zval), 0); in spl_fixedarray_init()
H A Dspl_heap.c350 heap->elements = safe_emalloc(from->elem_size, from->max_size, 0); in spl_ptr_heap_clone()
/PHP-8.0/ext/soap/
H A Dphp_sdl.c1374 elements = safe_emalloc((i+1), sizeof(sdlTypePtr), 0); in sdl_deserialize_type()
1603 types = safe_emalloc((i+1), sizeof(sdlTypePtr), 0); in get_sdl_from_cache()
1616 encoders = safe_emalloc((i+1), sizeof(encodePtr), 0); in get_sdl_from_cache()
1674 bindings = safe_emalloc(num_bindings, sizeof(sdlBindingPtr), 0); in get_sdl_from_cache()
1700 functions = safe_emalloc(num_func, sizeof(sdlFunctionPtr), 0); in get_sdl_from_cache()
H A Dsoap.c1016 service->soap_class.argv = safe_emalloc(sizeof(zval), service->soap_class.argc, 0); in PHP_METHOD()
2587 real_args = safe_emalloc(sizeof(zval), arg_count, 0);
3006 tmp_parameters = safe_emalloc(num_of_params, sizeof(zval), 0);
3044 tmp_parameters = safe_emalloc(num_of_params, sizeof(zval), 0);
/PHP-8.0/ext/intl/converter/
H A Dconverter.c642 temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar)); in php_converter_do_convert()
/PHP-8.0/ext/odbc/
H A Dphp_odbc.c619 result->values = (odbc_result_value *) safe_emalloc(sizeof(odbc_result_value), result->numcols, 0); in odbc_bindcols()
942 …result->param_info = (odbc_param_info *) safe_emalloc(sizeof(odbc_param_info), result->numparams, … in PHP_FUNCTION()
1008 params = (odbc_params_t *)safe_emalloc(sizeof(odbc_params_t), result->numparams, 0); in PHP_FUNCTION()
/PHP-8.0/ext/mbstring/
H A Dmbstring.c3186 int *convmap = (int *)safe_emalloc(n_elems, sizeof(int), 0); in make_conversion_map()
4233 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list()
4239 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list()
/PHP-8.0/ext/mysqli/
H A Dmysqli_api.c247 stmt->param.vars = safe_emalloc(num_vars, sizeof(zval), 0); in mysqli_stmt_bind_param_do_bind()
515 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0); in mysqli_stmt_bind_result_do_bind()
/PHP-8.0/ext/pdo/
H A Dpdo_stmt.c740 fci->params = safe_emalloc(sizeof(zval), num_args, 0); in make_callable_ex()
754 stmt->fetch.func.values = safe_emalloc(sizeof(zval), stmt->column_count, 0); in do_fetch_func_prepare()
/PHP-8.0/ext/zip/
H A Dphp_zip.c1664 s=(char *)safe_emalloc(dirname_len, 1, 2);
1908 ze_obj->buffers[pos] = (char *)safe_emalloc(ZSTR_LEN(buffer), 1, 1);
/PHP-8.0/ext/phar/
H A Dfunc_interceptors.c466 gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0); in phar_fancy_stat()
H A Dtar.c167 metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1); in phar_tar_process_metadata()
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.c371 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter()
/PHP-8.0/Zend/
H A Dzend_compile.c5224 jmp_opnums = safe_emalloc(sizeof(uint32_t), list->children - 1, 0); in zend_compile_if()
5361 jmpnz_opnums = safe_emalloc(sizeof(uint32_t), cases->children, 0); in zend_compile_switch()
5547 jmpnz_opnums = safe_emalloc(sizeof(uint32_t), num_conds, 0); in zend_compile_match()
5584 uint32_t *jmp_end_opnums = safe_emalloc(sizeof(uint32_t), arms->children, 0); in zend_compile_match()
5691 uint32_t *jmp_opnums = safe_emalloc(sizeof(uint32_t), catches->children, 0); in zend_compile_try()
5743 uint32_t *jmp_multicatch = safe_emalloc(sizeof(uint32_t), classes->children - 1, 0); in zend_compile_try()
6347 arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children + 1, 0); in zend_compile_params()
6363 arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children, 0); in zend_compile_params()
/PHP-8.0/ext/zlib/
H A Dzlib.c127 return (voidpf)safe_emalloc(items, size, 0); in php_zlib_alloc()
/PHP-8.0/ext/dom/
H A Dnode.c1661 inclusive_ns_prefixes = safe_emalloc(zend_hash_num_elements(Z_ARRVAL_P(ns_prefixes)) + 1, in dom_canonicalization()
/PHP-8.0/ext/sockets/
H A Dconversions.c125 void *ret = safe_emalloc(nmemb, alloc_size, offset); in accounted_safe_ecalloc()
/PHP-8.0/ext/gd/libgd/
H A Dgd.c1965 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()

Completed in 234 milliseconds

1234