Home
last modified time | relevance | path

Searched refs:malloc (Results 51 – 75 of 107) sorted by relevance

12345

/PHP-8.3/sapi/apache2handler/
H A Dapache_config.c143 php_dir_entry *npe = malloc(sizeof(php_dir_entry)); in config_entry_ctor()
/PHP-8.3/ext/zend_test/
H A Dtest.c680 ZT_G(zend_test_heap) = malloc(4096); in PHP_INI_MH()
770 char *buf = malloc(size); in ZEND_FUNCTION()
1098 zend_type_list *intersection_list = malloc(ZEND_TYPE_LIST_SIZE(2)); in create_test_dnf_type()
1102 zend_type_list *union_list = malloc(ZEND_TYPE_LIST_SIZE(2)); in create_test_dnf_type()
H A Dtest_arginfo.h611 zend_type_list *property_classUnionProp_type_list = malloc(ZEND_TYPE_LIST_SIZE(2)); in register_class__ZendTestClass()
624 zend_type_list *property_classIntersectionProp_type_list = malloc(ZEND_TYPE_LIST_SIZE(2)); in register_class__ZendTestClass()
733 zend_type_list *property_classUnionProp_type_list = malloc(ZEND_TYPE_LIST_SIZE(2)); in register_class__ZendTestTrait()
H A Dobserver.c401 zend_test_globals->observer_observe_function_names = malloc(sizeof(HashTable)); in zend_test_observer_ginit()
/PHP-8.3/ext/fileinfo/libmagic/
H A Dcompress.c634 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompressbzlib()
677 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompressxzlib()
989 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
H A Dis_json.c489 if ((p = CAST(char *, malloc(st.st_size))) == NULL) in main()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch38 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL)
336 - if ((*ma = CAST(struct magic *, malloc(slen))) == NULL) {
470 - if ((m = CAST(struct magic *, malloc(len))) == NULL) {
635 - if ((map->p = CAST(void *, malloc(map->len))) == NULL) {
878 /* malloc size is a conservative overestimate; could be
956 - if ((b->ebuf = malloc(b->elen)) == NULL)
1001 - return malloc(n);
2009 - malloc(len) :
2981 - if ((copy = CAST(char *, malloc(len + 1))) == NULL)
3008 - ms->c.li = CAST(struct level_info *, malloc(len));
[all …]
/PHP-8.3/Zend/
H A Dzend_list.c270 lde = malloc(sizeof(zend_rsrc_list_dtors_entry)); in zend_register_list_destructors_ex()
H A Dzend_ini_parser.y41 #define YYMALLOC malloc
H A Dzend_ini.c101 registered_zend_ini_directives = (HashTable *) malloc(sizeof(HashTable)); in zend_ini_startup()
169 EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); in zend_copy_ini_directives()
H A Dzend_constants.c104 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
H A Dzend_types.h1121 (zend_array *) malloc(sizeof(zend_array)); \
1162 (zend_resource *) malloc(sizeof(zend_resource)); \
1216 (zend_reference *) malloc(sizeof(zend_reference)); \
/PHP-8.3/win32/
H A Dglob.c685 malloc(newsize); in globextend()
707 if ((copy = malloc(len)) != NULL) { in globextend()
H A Dioutil.h194 ret = (wchar_t *) malloc((mb_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW + 1) * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w()
664 resolved = (char *) malloc(reta_len + 1); in php_win32_ioutil_realpath_ex0()
/PHP-8.3/main/
H A Dnetwork.c1270 *tmphstbuf = (char *)malloc (*hstbuflen);
1296 *tmphstbuf = (char *)malloc (*hstbuflen);
1314 *tmphstbuf = (char *)malloc (*hstbuflen);
/PHP-8.3/ext/json/
H A Djson_parser.y30 #define YYMALLOC malloc
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_stdio.c194 log_stream = child->log_stream = malloc(sizeof(struct zlog_stream));
H A Dfpm_events.c174 if (!(elt = malloc(sizeof(struct fpm_event_queue_s)))) { in fpm_event_queue_add()
H A Dfpm_process_ctl.c275 saved_argv = malloc(sizeof(char *) * (saved_argc + 1)); in fpm_pctl_init_main()
H A Dfpm_conf.c571 kv = malloc(sizeof(*kv)); in fpm_conf_set_array()
626 wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); in fpm_worker_pool_config_alloc()
743 config->name = malloc(strlen(shared_config->name) + sizeof("_status")); in fpm_worker_pool_shared_status_alloc()
1176 wp->limit_extensions = malloc(sizeof(char *) * (nb_ext + 1)); in fpm_conf_process_all_pools()
/PHP-8.3/ext/com_dotnet/
H A Dcom_dotnet.c165 stuff = malloc(sizeof(*stuff)); in dotnet_init()
/PHP-8.3/ext/date/lib/
H A Dparse_posix.c49 result = (char*)malloc(len + 1); in timelib_strndup()
H A Dtimelib.h365 # define timelib_malloc malloc
/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitConfigInternal.h245 #define SLJIT_MALLOC(size, allocator_data) malloc(size)
/PHP-8.3/ext/opcache/
H A Dzend_shared_alloc.c310 tmp_shared_segments = malloc(shared_segments_array_size); in zend_shared_alloc_shutdown()

Completed in 150 milliseconds

12345