Searched refs:malloc (Results 1 – 25 of 130) sorted by relevance
123456
/PHP-7.3/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 | 76 return malloc(sz); in __mbfl__malloc()
|
/PHP-7.3/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() 230 gcontext->memctl.malloc(sizeof(pcre2_real_general_context), in pcre2_general_context_copy() 242 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy() 254 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy() 267 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
|
H A D | pcre2_maketables.c | 76 uint8_t *yield = (uint8_t *)malloc(tables_length); 83 gcontext->memctl.malloc(tables_length, gcontext->memctl.memory_data) : 84 malloc(tables_length));
|
/PHP-7.3/TSRM/ |
H A D | tsrm_config_common.h | 60 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size)) 67 # define tsrm_do_alloca(p, use_heap) malloc(p)
|
H A D | TSRM.c | 273 p->storage[j] = (void *) malloc(resource_types_table[j].size); in ts_allocate_id() 295 (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); in allocate_new_resource() 298 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource() 315 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource() 600 mutexp = malloc(sizeof(CRITICAL_SECTION)); in tsrm_mutex_alloc() 603 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc() 606 mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in tsrm_mutex_alloc()
|
/PHP-7.3/Zend/ |
H A D | README.ZEND_MM | 11 but it has "--enable-malloc-mm" instead. It is enabled by default in DEBUG 13 between malloc and emalloc at runtime so you can use internal and external memory 40 variables. Default values are "malloc" and "256K". Dependent on target system you
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_memdup.c | 48 ret = malloc(len); in _zip_memdup()
|
H A D | zip_source_buffer.c | 95 if ((ctx=(struct read_data *)malloc(sizeof(*ctx))) == NULL) { in zip_source_buffer_create() 264 if ((buffer = malloc(sizeof(*buffer))) == NULL) { in buffer_new() 292 if ((buffer->fragments = malloc(sizeof(*(buffer->fragments)))) == NULL) { in buffer_new_read() 316 if ((buffer->fragments = malloc(sizeof(*(buffer->fragments)))) == NULL) { in buffer_new_write() 408 if ((buffer->fragments[buffer->nfragments] = malloc(buffer->fragment_size)) == NULL) { in buffer_write()
|
H A D | zip_string.c | 152 if ((s=(zip_string_t *)malloc(sizeof(*s))) == NULL) { in _zip_string_new() 157 if ((s->raw=(zip_uint8_t *)malloc((size_t)(length+1))) == NULL) { in _zip_string_new()
|
H A D | zip_error_strerror.c | 75 if ((s=(char *)malloc(strlen(ss) in zip_error_strerror()
|
H A D | zip_new.c | 49 za = (zip_t *)malloc(sizeof(struct zip)); in _zip_new()
|
H A D | zip_fopen_index_encrypted.c | 75 if ((zf=(zip_file_t *)malloc(sizeof(struct zip_file))) == NULL) { in _zip_file_new()
|
H A D | zip_source_win32utf8.c | 69 if ((wfname = (wchar_t *)malloc(sizeof(wchar_t) * size)) == NULL) { in zip_source_file_create()
|
H A D | zip_dir_add.c | 65 if ((s=(char *)malloc(len+2)) == NULL) { in zip_dir_add()
|
/PHP-7.3/ext/fileinfo/ |
H A D | config.m4 | 26 s0 = (char *) malloc(42); 27 s1 = (char *) malloc(8);
|
/PHP-7.3/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.3/sapi/phpdbg/ |
H A D | phpdbg_parser.y | 25 #define YYMALLOC malloc 98 $$.file.name = malloc($1.len + $2.len + 1); 108 $$.file.name = malloc($1.len + $2.len + 1);
|
/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | base64.h | 35 #define malloc(s) _malloc_real(s,__FILE__,__LINE__) macro
|
/PHP-7.3/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 | 57 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
|
/PHP-7.3/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.3/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()
|
/PHP-7.3/main/streams/ |
H A D | php_streams_int.h | 31 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size…
|
Completed in 110 milliseconds
123456