Home
last modified time | relevance | path

Searched refs:emalloc (Results 1 – 25 of 193) sorted by last modified time

12345678

/PHP-7.4/ext/gd/
H A Dgd.c1455 font = (gdFontPtr) emalloc(sizeof(gdFont)); in PHP_FUNCTION()
1505 font->data = emalloc(body_size); in PHP_FUNCTION()
4585 colors = emalloc(num_colors * sizeof(int)); in php_image_filter_scatter()
/PHP-7.4/ext/phar/
H A Dphar.c739 buffer = (char *)emalloc(manifest_len); in phar_parse_pharfile()
815 sig = (char *) emalloc(signature_len); in phar_parse_pharfile()
2096 newpath = emalloc(strlen(path) + newpath_len + 1); in phar_fix_filepath()
2099 newpath = emalloc(strlen(path) + 2); in phar_fix_filepath()
H A Dphar_object.c619 path_info = emalloc(Z_STRLEN_P(z_script_name) + entry_len + 1); in PHP_METHOD()
4159 new_state.cwd = (char*)emalloc(2); in phar_extract_file()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c1901 pgsql_result_handle *pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
2036 pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
2120 pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
2233 pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
3459 pgsql_lofp = (pgLofp *) emalloc(sizeof(pgLofp));
4292 query = (char *)emalloc(ZSTR_LEN(tmp) + 2);
4317 query = (char *)emalloc(ZSTR_LEN(tmp) + 2);
4490 buffer = (unsigned char *) emalloc(buflen); /* isn't NULL terminated */
5254 pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
6779 … pgsql_result_handle *pgsql_handle = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle));
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c430 char * new_auth_plugin_data = emalloc(packet->authentication_plugin_data.l); in php_mysqlnd_greet_read()
/PHP-7.4/ext/filter/
H A Dlogical_filters.c388 num = p = emalloc(len+1); in php_filter_float()
/PHP-7.4/main/streams/
H A Dstreams.c192 msg = emalloc(l + 1); in php_stream_display_wrapper_errors()
551 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer()
/PHP-7.4/Zend/
H A Dzend_closures.c167 ptr = emalloc(sizeof(void*) + my_function.op_array.cache_size); in ZEND_METHOD()
386 zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); in zend_get_closure_invoke_method()
493 closure = emalloc(sizeof(zend_closure)); in zend_closure_new()
736 ptr = emalloc(sizeof(void*) + func->op_array.cache_size); in zend_create_closure()
H A Dzend_smart_str.c155 str->c = emalloc(SMART_STRING_START_LEN + 1); in _smart_string_alloc()
162 str->c = emalloc(str->a + 1); in _smart_string_alloc()
H A Dzend_vm_execute.h1803 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
1807 gen_execute_data = (zend_execute_data*)emalloc(used_stack); in ZEND_GENERATOR_CREATE_SPEC_HANDLER()
46611 zend_reference *ref = (zend_reference*)emalloc(sizeof(zend_reference)); in ZEND_BIND_STATIC_SPEC_CV_UNUSED_HANDLER()
H A Dzend_vm_def.h4449 gen_execute_data = (zend_execute_data*)emalloc(used_stack);
4453 gen_execute_data = (zend_execute_data*)emalloc(used_stack);
8457 zend_reference *ref = (zend_reference*)emalloc(sizeof(zend_reference));
H A Dzend_operators.c2649 return zend_str_tolower_copy((char *)emalloc(length+1), source, length); in zend_str_tolower_dup()
2672 char *res = (char*)emalloc(length + 1); in zend_str_tolower_dup_ex()
/PHP-7.4/ext/libxml/
H A Dlibxml.c1052 LIBXML(error_list) = (zend_llist *) emalloc(sizeof(zend_llist)); in PHP_FUNCTION()
1268 object->node = emalloc(sizeof(php_libxml_node_ptr)); in php_libxml_increment_node_ptr()
1308 object->document = emalloc(sizeof(php_libxml_ref_obj)); in php_libxml_increment_doc_ref()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c625 return emalloc(sz); in ZEND_GET_MODULE()
1116 char *result = emalloc(len + 2); in php_mb_rfc1867_substring_conf()
5113 buf = (char *) emalloc(buf_len + 1); in php_mb_chr()
/PHP-7.4/ext/date/
H A Dphp_date.c2034 iterator = emalloc(sizeof(date_period_it)); in date_object_period_get_iterator()
2980 char *tmp = emalloc(Z_STRLEN_P(z_date) + Z_STRLEN_P(z_timezone) + 2); in php_date_initialize_from_hash()
/PHP-7.4/main/
H A Dmain.c1544 pwbuf = emalloc(pwbuflen); in php_get_current_user()
/PHP-7.4/ext/standard/
H A Duser_filters.c589 BG(user_filter_map) = (HashTable*) emalloc(sizeof(HashTable)); in PHP_FUNCTION()
H A Dfilestat.c320 grbuf = emalloc(grbuflen); in php_get_gid_by_name()
456 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name()
/PHP-7.4/ext/zip/
H A Dphp_zip.c132 # define CWD_STATE_ALLOC(l) emalloc(l)
1174 rsrc_int = (zip_rsrc *)emalloc(sizeof(zip_rsrc)); in PHP_NAMED_FUNCTION()
1231 zr_rsrc = emalloc(sizeof(zip_read_rsrc)); in PHP_NAMED_FUNCTION()
1848 ze_obj->buffers = (char **)emalloc(sizeof(char *));
/PHP-7.4/ext/spl/
H A Dspl_fixedarray.c1005 iterator = emalloc(sizeof(spl_fixedarray_it)); in spl_fixedarray_get_iterator()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch120 + if ((ml = CAST(struct mlist *, emalloc(sizeof(*ml)))) == NULL)
200 + if ((ms->c.li = CAST(struct level_info *, emalloc(len))) == NULL)
437 + if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
559 + if ((m = CAST(struct magic *, emalloc(len))) == NULL) {
756 + map->p = CAST(void *, emalloc(map->len));
800 + map->p = emalloc(sizeof(php_magic_database));
992 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
1049 + if ((b->ebuf = emalloc(b->elen)) == NULL)
1122 +#define CDF_MALLOC(n) emalloc(n)
2452 + emalloc(len) :
[all …]
/PHP-7.4/ext/xml/
H A Dxml.c385 return emalloc(sz); in php_xml_malloc_wrapper()
/PHP-7.4/ext/curl/
H A Dinterface.c1903 ch->clone = emalloc(sizeof(uint32_t)); in alloc_curl_handle()
1912 ch->to_free->slist = emalloc(sizeof(HashTable)); in alloc_curl_handle()
2242 cb_arg = emalloc(sizeof *cb_arg); in build_mime_structure_from_hash()
/PHP-7.4/ext/sysvmsg/
H A Dsysvmsg.c281 mq = (sysvmsg_queue_t *) emalloc(sizeof(sysvmsg_queue_t)); in PHP_FUNCTION()
/PHP-7.4/ext/imap/
H A Dphp_imap.c1275 imap_le_struct = emalloc(sizeof(pils)); in php_imap_do_open()
2901 out = emalloc(outlen + 1); in PHP_FUNCTION()
3940 tmp = emalloc(SENDBUFLEN + 1); in PHP_FUNCTION()
3951 tempstring = emalloc(l); in PHP_FUNCTION()
3964 mystring = emalloc(l + CRLF_LEN + 1); in PHP_FUNCTION()

Completed in 365 milliseconds

12345678