/PHP-8.0/ext/xml/ |
H A D | compat.c | 172 attrs = safe_emalloc((nb_attributes * 2) + 1, sizeof(int *), 0); in _start_element_handler_ns()
|
H A D | xml.c | 1311 parser->ltags = safe_emalloc(XML_MAXLEVEL, sizeof(char *), 0); in PHP_FUNCTION()
|
/PHP-8.0/ext/standard/ |
H A D | array.c | 4752 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 D | filestat.c | 820 gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0); in php_stat()
|
H A D | proc_open.c | 620 *argv = safe_emalloc(sizeof(char *), num_elems + 1, 0); in get_command_from_array()
|
/PHP-8.0/ext/hash/ |
H A D | hash.c | 1036 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 D | mysql_driver.c | 329 *quoted = safe_emalloc(2, unquotedlen, 3 + (use_national_character_set ? 1 : 0)); in mysql_handle_quoter()
|
/PHP-8.0/ext/spl/ |
H A D | spl_fixedarray.c | 107 array->elements = safe_emalloc(size, sizeof(zval), 0); in spl_fixedarray_init()
|
H A D | spl_heap.c | 350 heap->elements = safe_emalloc(from->elem_size, from->max_size, 0); in spl_ptr_heap_clone()
|
/PHP-8.0/ext/soap/ |
H A D | php_sdl.c | 1374 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 D | soap.c | 1016 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 D | converter.c | 642 temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar)); in php_converter_do_convert()
|
/PHP-8.0/ext/odbc/ |
H A D | php_odbc.c | 619 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 D | mbstring.c | 3186 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 D | mysqli_api.c | 247 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 D | pdo_stmt.c | 740 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 D | php_zip.c | 1664 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 D | func_interceptors.c | 466 gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0); in phar_fancy_stat()
|
H A D | tar.c | 167 metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1); in phar_tar_process_metadata()
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 371 *quoted = safe_emalloc(2, unquotedlen, 3); in pgsql_handle_quoter()
|
/PHP-8.0/Zend/ |
H A D | zend_compile.c | 5224 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 D | zlib.c | 127 return (voidpf)safe_emalloc(items, size, 0); in php_zlib_alloc()
|
/PHP-8.0/ext/dom/ |
H A D | node.c | 1661 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 D | conversions.c | 125 void *ret = safe_emalloc(nmemb, alloc_size, offset); in accounted_safe_ecalloc()
|
/PHP-8.0/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()
|