Home
last modified time | relevance | path

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

1234

/PHP-7.4/ext/com_dotnet/
H A Dcom_dotnet.c129 stuff = malloc(sizeof(*stuff)); in dotnet_init()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dis_json.c451 if ((p = malloc(st.st_size)) == NULL) in main()
H A Dcompress.c770 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
/PHP-7.4/main/
H A Dnetwork.c1260 *tmphstbuf = (char *)malloc (*hstbuflen);
1286 *tmphstbuf = (char *)malloc (*hstbuflen);
1304 *tmphstbuf = (char *)malloc (*hstbuflen);
H A Dmergesort.c127 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in php_mergesort()
/PHP-7.4/Zend/
H A Dzend_ini_parser.y43 #define YYMALLOC malloc
H A Dzend_types.h845 (zend_array *) malloc(sizeof(zend_array)); \
878 (zend_resource *) malloc(sizeof(zend_resource)); \
932 (zend_reference *) malloc(sizeof(zend_reference)); \
H A Dzend_constants.c101 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants()
H A Dzend_alloc.c2648 p = (char *) malloc(length + 1);
2748 zend_mm_heap *mm_heap = alloc_globals->mm_heap = malloc(sizeof(zend_mm_heap));
2761 mm_heap->tracked_allocs = malloc(sizeof(HashTable));
2982 void *tmp = malloc(len);
H A Dzend_virtual_cwd.c409 realpath_cache_bucket *bucket = malloc(size); in realpath_cache_add()
777 substitutename = malloc((len + 1) * sizeof(char)); in tsrm_realpath_r()
/PHP-7.4/ext/iconv/
H A Dconfig.m4170 char *out = malloc(out_left);
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch119 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL)
199 - if ((ms->c.li = CAST(struct level_info *, malloc(len))) == NULL)
436 - if ((*ma = CAST(struct magic *, malloc(slen))) == NULL) {
558 - if ((m = CAST(struct magic *, malloc(len))) == NULL) {
750 - if ((map->p = CAST(void *, malloc(map->len))) == NULL) {
988 /* malloc size is a conservative overestimate; could be
1048 - if ((b->ebuf = malloc(b->elen)) == NULL)
1100 - return malloc(n);
2450 - malloc(len) :
3352 - if ((copy = malloc(len + 1)) == NULL)
[all …]
/PHP-7.4/win32/
H A Dglob.c719 malloc(newsize);
741 if ((copy = malloc(len)) != NULL) {
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_events.c166 if (!(elt = malloc(sizeof(struct fpm_event_queue_s)))) { in fpm_event_queue_add()
H A Dfpm_process_ctl.c271 saved_argv = malloc(sizeof(char *) * (saved_argc + 1)); in fpm_pctl_init_main()
H A Dfpm_conf.c554 kv = malloc(sizeof(*kv)); in fpm_conf_set_array()
607 wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); in fpm_worker_pool_config_alloc()
1075 wp->limit_extensions = malloc(sizeof(char *) * (nb_ext + 1)); in fpm_conf_process_all_pools()
H A Dfpm_unix.c425 new_con = malloc(strlen(con) + strlen(wp->config->apparmor_hat) + 3); // // + 0 Byte in fpm_unix_init_child()
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitConfigInternal.h238 #define SLJIT_MALLOC(size, allocator_data) malloc(size)
/PHP-7.4/ext/date/lib/
H A Dtimelib.h318 # define timelib_malloc malloc
/PHP-7.4/ext/readline/
H A Dreadline.c562 matches = malloc(sizeof(char *) * 2); in _readline_completion_cb()
/PHP-7.4/ext/opcache/
H A Dzend_shared_alloc.c271 tmp_shared_segments = malloc(shared_segments_array_size); in zend_shared_alloc_shutdown()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c624 buf = (char *) malloc(len); in _sapi_cgi_putenv()
765 char *buf = malloc(len+2); in sapi_cgi_log_message()
2470 s = malloc(len);
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.c1406 …PHPDBG_G(watchlist_mem) = malloc(phpdbg_pagesize > sizeof(HashTable) ? phpdbg_pagesize : sizeof(Ha…
1408 …PHPDBG_G(watchlist_mem_backup) = malloc(phpdbg_pagesize > sizeof(HashTable) ? phpdbg_pagesize : si…
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1195 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy()
1230 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy_with_tables()
1235 newtables = code->memctl.malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables()
4579 cb->cx->memctl.malloc(newsize * sizeof(named_group), in parse_regex()
10019 uint32_t *heap_parsed_pattern = ccontext->memctl.malloc( in pcre2_compile()
10046 cb.groupinfo = ccontext->memctl.malloc( in pcre2_compile()
10125 ccontext->memctl.malloc(re_blocksize, ccontext->memctl.memory_data); in pcre2_compile()
/PHP-7.4/sapi/cli/
H A Dphp_cli.c1318 ini_entries = malloc(sizeof(HARDCODED_INI)); in WinMain()

Completed in 134 milliseconds

1234