/PHP-7.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_allocators.h | 38 void *(*malloc)(size_t); member 49 #define mbfl_malloc (__mbfl_allocators->malloc)
|
H A D | mbfl_allocators.c | 60 return malloc(sz); in __mbfl__malloc()
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_context.c | 59 return malloc(size); in default_malloc() 89 void *yield = (memctl == NULL)? malloc(size) : in PRIV() 90 memctl->malloc(size, memctl->memory_data); in PRIV() 95 newmemctl->malloc = default_malloc; in PRIV() 123 gcontext->memctl.malloc = private_malloc; in pcre2_general_context_create() 232 gcontext->memctl.malloc(sizeof(pcre2_real_general_context), in pcre2_general_context_copy() 244 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy() 256 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy() 269 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
|
H A D | pcre2_maketables.c | 78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH); 85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) : 86 malloc(TABLES_LENGTH));
|
H A D | pcre2_serialize.c | 109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data); in pcre2_serialize_encode() 192 tables = memctl->malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), memctl->memory_data); in pcre2_serialize_decode()
|
/PHP-7.4/ext/fileinfo/ |
H A D | config.m4 | 27 s0 = (char *) malloc(42); 28 s1 = (char *) malloc(8);
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug49442.phpt | 69 … 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will 71 Its only about malloc() vs. emalloc(). 73 …However, the bug is about malloc() and efree(). You can make make mysqlnd use malloc() by either u…
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | base64.h | 35 #define malloc(s) _malloc_real(s,__FILE__,__LINE__) macro
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_parser.y | 25 #define YYMALLOC malloc 95 $$.file.name = malloc($1.len + $2.len + 1); 105 $$.file.name = malloc($1.len + $2.len + 1);
|
/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | devpoll.c | 87 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init() 100 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
|
H A D | poll.c | 79 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init() 92 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
|
H A D | port.c | 81 events = malloc(sizeof(port_event_t) * max); in fpm_event_port_init()
|
H A D | kqueue.c | 84 kevents = malloc(sizeof(struct kevent) * max); in fpm_event_kqueue_init()
|
/PHP-7.4/sapi/cli/ |
H A D | ps_title.c | 189 new_environ = (char **) malloc((i + 1) * sizeof(char *)); in save_ps_args() 190 frozen_environ = (char **) malloc((i + 1) * sizeof(char *)); in save_ps_args() 221 new_argv = (char **) malloc((argc + 1) * sizeof(char *)); in save_ps_args()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_env.c | 26 char *malloc(); in setenv() 34 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { in setenv() 259 if ((new_environ = malloc((1U + env_nb) * sizeof (char *))) == NULL) { in fpm_env_init_main()
|
H A D | fpm_worker_pool.c | 69 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
|
H A D | fpm_arrays.h | 21 a = malloc(sizeof(struct fpm_array_s)); in fpm_array_init()
|
H A D | fpm_children.c | 45 ret = malloc(sizeof(struct fpm_child_s)); in fpm_child_alloc() 456 wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); in fpm_children_create_initial() 480 last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); in fpm_children_init_main()
|
/PHP-7.4/TSRM/ |
H A D | TSRM.c | 281 p->storage[j] = (void *) malloc(resource_types_table[j].size); in tsrm_update_active_threads() 396 …(*thread_resources_ptr) = (tsrm_tls_entry *) malloc(TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + ts… in allocate_new_resource() 399 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource() 419 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource() 666 mutexp = malloc(sizeof(CRITICAL_SECTION)); in tsrm_mutex_alloc() 669 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc() 672 mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in tsrm_mutex_alloc()
|
/PHP-7.4/main/streams/ |
H A D | php_streams_int.h | 31 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size…
|
/PHP-7.4/main/ |
H A D | php_scandir.c | 94 newdp = (struct dirent *) malloc(dsize); in php_scandir()
|
/PHP-7.4/win32/ |
H A D | readdir.c | 51 filespecw = (wchar_t *)malloc((filespecw_len + 1)*sizeof(wchar_t)); in opendir() 170 filespecw = (wchar_t *)malloc((filespecw_len + 1)*sizeof(wchar_t)); in rewinddir()
|
H A D | wsyslog.c | 154 PW32G(log_header) = malloc(header_len*sizeof(char)); in openlog()
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | pdo_odbc.c | 92 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); in PHP_INI_END()
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 2447 pheaders = malloc(sizeof(HashTable)); in make_persistent_sdl_function_headers() 2511 pparams = malloc(sizeof(HashTable)); in make_persistent_sdl_parameters() 2515 pparam = malloc(sizeof(sdlParam)); in make_persistent_sdl_parameters() 2553 pfaults = malloc(sizeof(HashTable)); in make_persistent_sdl_function_faults() 2557 pfault = malloc(sizeof(sdlFault)); in make_persistent_sdl_function_faults() 2598 pattr = malloc(sizeof(sdlAttribute)); in make_persistent_sdl_attribute() 2705 ptype = malloc(sizeof(sdlType)); in make_persistent_sdl_type() 2829 penc = malloc(sizeof(encode)); in make_persistent_sdl_encoder() 2852 pbind = malloc(sizeof(sdlBinding)); in make_persistent_sdl_binding() 2880 pfunc = malloc(sizeof(sdlFunction)); in make_persistent_sdl_function() [all …]
|