Home
last modified time | relevance | path

Searched refs:emalloc (Results 51 – 75 of 192) sorted by last modified time

12345678

/php-src/ext/tidy/
H A Dtidy.c196 return emalloc(len); in ZEND_GET_MODULE()
312 errbuf = emalloc(sizeof(TidyBuffer)); in php_tidy_quick_repair()
416 intern->ptdoc = emalloc(sizeof(PHPTidyDoc)); in tidy_object_new()
420 intern->ptdoc->errbuf = emalloc(sizeof(TidyBuffer)); in tidy_object_new()
/php-src/ext/zlib/
H A Dzlib.c210 output_context->out.data = emalloc(output_context->out.size); in php_zlib_output_handler_ex()
797 *dict = emalloc(ZSTR_LEN(str)); in zlib_create_dictionary_string()
808 zend_string **strings = emalloc(sizeof(zend_string *) * zend_hash_num_elements(dictionary)); in zlib_create_dictionary_string()
842 dictptr = *dict = emalloc(*dictlen); in zlib_create_dictionary_string()
/php-src/ext/posix/
H A Dposix.c232 gidlist = emalloc(sizeof(gid_t) * result); in PHP_FUNCTION()
486 p = emalloc(buflen); in PHP_FUNCTION()
807 buf = emalloc(buflen); in PHP_FUNCTION()
869 grbuf = emalloc(grbuflen); in PHP_FUNCTION()
947 buf = emalloc(buflen); in PHP_FUNCTION()
1007 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION()
/php-src/main/
H A Dmain.c1475 pwbuf = emalloc(pwbuflen); in php_get_current_user()
/php-src/main/streams/
H A Dplain_wrapper.c1690 pathbuf = (char *) emalloc(exec_fname_length + path_length +1 +1); in _php_stream_fopen_with_path()
H A Dxp_socket.c874 php_netstream_data_t *clisockdata = (php_netstream_data_t*) emalloc(sizeof(*clisockdata)); in php_tcp_sockop_accept()
H A Dstreams.c192 msg = emalloc(l + 1); in php_stream_display_wrapper_errors()
555 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer()
/php-src/Zend/
H A Dzend_closures.c171 fake_closure = emalloc(sizeof(zend_closure)); in ZEND_METHOD()
197 ptr = emalloc(my_function->op_array.cache_size); in ZEND_METHOD()
465 zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); in zend_get_closure_invoke_method()
542 closure = emalloc(sizeof(zend_closure)); in zend_closure_new()
794 ptr = emalloc(func->op_array.cache_size); in zend_create_closure_ex()
H A Dzend_fibers.c265 zend_fiber_stack *stack = emalloc(sizeof(zend_fiber_stack)); in zend_fiber_stack_allocate()
700 zend_fiber *fiber = emalloc(sizeof(zend_fiber)); in zend_fiber_object_create()
1052 context->stack = emalloc(sizeof(zend_fiber_stack)); in zend_fiber_init()
H A Dzend_generators.c73 stack = emalloc(used_stack * sizeof(zval)); in zend_generator_freeze_call_stack()
407 zend_generator *generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
486 HashTable *ht = emalloc(sizeof(HashTable)); in zend_generator_add_child()
1116 iterator = emalloc(sizeof(zend_object_iterator)); in zend_generator_get_iterator()
H A Dzend_gc.c325 gc_stack *segment = emalloc(sizeof(gc_stack)); in gc_stack_next()
H A Dzend_object_handlers.c592 ptr = (uint32_t*)emalloc(sizeof(uint32_t)); in zend_get_property_guard()
1559 …ZEND_MAP_PTR_SET(class_type->static_members_table, emalloc(sizeof(zval) * class_type->default_stat… in zend_class_init_statics()
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c429 char * new_auth_plugin_data = emalloc(packet->authentication_plugin_data.l); in php_mysqlnd_greet_read()
/php-src/ext/standard/
H A Duser_filters.c517 BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable)); in PHP_FUNCTION()
H A Dproc_open.c1421 proc = (php_process_handle*) emalloc(sizeof(php_process_handle)); in PHP_FUNCTION()
1423 proc->pipes = emalloc(sizeof(zend_resource *) * ndesc); in PHP_FUNCTION()
H A Dvar_unserializer.re64 d = emalloc(sizeof(struct php_unserialize_data));
124 var_hash = emalloc(sizeof(var_entries));
168 var_hash = emalloc(sizeof(var_dtor_entries));
699 (*var_hash)->ref_props = emalloc(sizeof(HashTable));
/php-src/ext/sockets/
H A Dsockets.c2382 res->addrinfo.ai_addr = emalloc(rp->ai_addrlen);
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c943 new_sql = emalloc(ZSTR_LEN(sql)+1); in php_firebird_alloc_prepare_stmt()
/php-src/ext/openssl/
H A Dxp_ssl.c1616 out = emalloc(strlen(in) + 1); in php_openssl_alpn_protos_parse()
2346 …php_openssl_netstream_data_t *clisockdata = (php_openssl_netstream_data_t*) emalloc(sizeof(*clisoc… in php_openssl_tcp_sockop_accept()
/php-src/ext/xsl/
H A Dxsltprocessor.c335 intern->doc = emalloc(sizeof(php_libxml_node_object)); in php_xsl_apply_stylesheet()
/php-src/ext/dom/
H A Dxpath_callbacks.c195 zend_fcall_info_cache* fcc = emalloc(sizeof(zend_fcall_info)); in php_dom_xpath_callback_ns_update_method_handler()
238 zend_fcall_info_cache* fcc = emalloc(sizeof(zend_fcall_info)); in php_dom_xpath_callback_ns_update_method_handler()
266 registry->php_ns = emalloc(sizeof(php_dom_xpath_callback_ns)); in php_dom_xpath_callbacks_ensure_ns()
277 namespace = emalloc(sizeof(php_dom_xpath_callback_ns)); in php_dom_xpath_callbacks_ensure_ns()
298 zend_fcall_info_cache* allocated_fcc = emalloc(sizeof(zend_fcall_info)); in php_dom_xpath_callbacks_update_single_method_handler()
/php-src/ext/pdo/
H A Dpdo_dbh.c1363 lc_name = emalloc(namelen+1); in pdo_hash_methods()
/php-src/ext/opcache/
H A DZendAccelerator.c1923 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in file_cache_compile_file()
2206 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in persistent_compile_file()
3846 dynamic_func_defs = emalloc(sizeof(zend_op_array*) * op_array->num_dynamic_func_defs);
4343 preload_scripts = emalloc(sizeof(HashTable));
4480 script->script.main_op_array.literals = (zval*)emalloc(sizeof(zval));
/php-src/ext/date/
H A Dphp_date.c1717 iterator = emalloc(sizeof(date_period_it)); in date_object_period_get_iterator()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c1161 zval *literals = emalloc(sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()

Completed in 163 milliseconds

12345678