Searched refs:malloc (Results 1 – 25 of 142) sorted by relevance
123456
64 return malloc(aSize); in LocalPcreMalloc()70 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc;78 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc;80 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc;
84 yield = (unsigned char*)(PUBL(malloc))(tables_length); in pcre_maketables()86 yield = (unsigned char*)malloc(tables_length); in pcre_maketables()
37 void *(*malloc)(unsigned int); member48 #define mbfl_malloc (__mbfl_allocators->malloc)
76 return malloc(sz); in __mbfl__malloc()
59 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))66 # define tsrm_do_alloca(p, use_heap) malloc(p)
253 p->storage[j] = (void *) malloc(resource_types_table[j].size); in ts_allocate_id()275 (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); in allocate_new_resource()276 (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); in allocate_new_resource()292 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource()595 mutexp = malloc(sizeof(CRITICAL_SECTION)); in tsrm_mutex_alloc()598 mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); in tsrm_mutex_alloc()601 mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in tsrm_mutex_alloc()610 mutexp = (beos_ben*)malloc(sizeof(beos_ben)); in tsrm_mutex_alloc()
11 but it has "--enable-malloc-mm" instead. It is enabled by default in DEBUG13 between malloc and emalloc at runtime so you can use internal and external memory40 variables. Default values are "malloc" and "256K". Dependent on target system you
28 #define emalloc(s) malloc(s)
104 buffer = (int32_t*) malloc(tz->bit32.timecnt * sizeof(int32_t)); in read_transistions()114 cbuffer = (unsigned char*) malloc(tz->bit32.timecnt * sizeof(unsigned char)); in read_transistions()148 buffer = (unsigned char*) malloc(tz->bit32.typecnt * sizeof(unsigned char) * 6); in read_types()155 tz->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in read_types()169 tz->timezone_abbr = (char*) malloc(tz->bit32.charcnt); in read_types()177 leap_buffer = (int32_t *) malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); in read_types()184 tz->leap_times = (tlinfo*) malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in read_types()197 buffer = (unsigned char*) malloc(tz->bit32.ttisstdcnt * sizeof(unsigned char)); in read_types()211 buffer = (unsigned char*) malloc(tz->bit32.ttisgmtcnt * sizeof(unsigned char)); in read_types()250 tz->location.comments = malloc(comments_len + 1); in read_location()
126 tmp->trans = (int32_t *) malloc(tz->bit32.timecnt * sizeof(int32_t)); in timelib_tzinfo_clone()127 tmp->trans_idx = (unsigned char*) malloc(tz->bit32.timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()131 tmp->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()134 tmp->timezone_abbr = (char*) malloc(tz->bit32.charcnt); in timelib_tzinfo_clone()137 tmp->leap_times = (tlinfo*) malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
35 filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1); in opendir()46 dp = (DIR *) malloc(sizeof(DIR)); in opendir()149 filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); in rewinddir()
46 ret = malloc(len); in _zip_memdup()
51 za = (struct zip *)malloc(sizeof(struct zip)); in _zip_new()
66 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { in _zip_source_new()
67 if ((s=(char *)malloc(len+2)) == NULL) { in zip_add_dir()
47 ze = (struct zip_entry *)malloc(sizeof(struct zip_entry)); in _zip_entry_new()
78 if ((s=(char *)malloc(strlen(ss) in _zip_error_strerror()
69 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will71 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…
185 new_environ = (char **) malloc((i + 1) * sizeof(char *)); in save_ps_args()186 frozen_environ = (char **) malloc((i + 1) * sizeof(char *)); in save_ps_args()217 new_argv = (char **) malloc((argc + 1) * sizeof(char *)); in save_ps_args()
28 char *malloc(); in setenv()36 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()
57 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
35 #define malloc(s) _malloc_real(s,__FILE__,__LINE__) macro
89 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()102 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
81 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()94 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
34 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size…
Completed in 38 milliseconds