Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 137) sorted by relevance

123456

/PHP-5.3/ext/pcre/pcrelib/
H A Dpcre_globals.c64 return malloc(aSize); in LocalPcreMalloc()
70 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc;
77 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc;
79 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc;
H A Dpcre_maketables.c84 yield = (unsigned char*)(PUBL(malloc))(tables_length); in pcre_maketables()
86 yield = (unsigned char*)malloc(tables_length); in pcre_maketables()
/PHP-5.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.h37 void *(*malloc)(unsigned int); member
48 #define mbfl_malloc (__mbfl_allocators->malloc)
H A Dmbfl_allocators.c76 return malloc(sz); in __mbfl__malloc()
/PHP-5.3/TSRM/
H A Dtsrm_config_common.h59 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))
66 # define tsrm_do_alloca(p, use_heap) malloc(p)
H A DTSRM.c253 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()
/PHP-5.3/ext/date/lib/
H A Dparse_tz.c91 buffer = (int32_t*) malloc(tz->timecnt * sizeof(int32_t)); in read_transistions()
101 cbuffer = (unsigned char*) malloc(tz->timecnt * sizeof(unsigned char)); in read_transistions()
120 buffer = (unsigned char*) malloc(tz->typecnt * sizeof(unsigned char) * 6); in read_types()
127 tz->type = (ttinfo*) malloc(tz->typecnt * sizeof(struct ttinfo)); in read_types()
141 tz->timezone_abbr = (char*) malloc(tz->charcnt); in read_types()
149 leap_buffer = (int32_t *) malloc(tz->leapcnt * 2 * sizeof(int32_t)); in read_types()
156 tz->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in read_types()
169 buffer = (unsigned char*) malloc(tz->ttisstdcnt * sizeof(unsigned char)); in read_types()
183 buffer = (unsigned char*) malloc(tz->ttisgmtcnt * sizeof(unsigned char)); in read_types()
210 tz->location.comments = malloc(comments_len + 1); in read_location()
H A Dtimelib.c124 tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t)); in timelib_tzinfo_clone()
125 tmp->trans_idx = (unsigned char*) malloc(tz->timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
129 tmp->type = (ttinfo*) malloc(tz->typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()
132 tmp->timezone_abbr = (char*) malloc(tz->charcnt); in timelib_tzinfo_clone()
135 tmp->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
/PHP-5.3/Zend/
H A DREADME.ZEND_MM11 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
39 variables. Default values are "malloc" and "256K". Dependent on target system you
H A Dzend_static_allocator.h28 #define emalloc(s) malloc(s)
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dtable.c77 z = malloc( strlen(colv[i])+1 ); in sqlite_get_table_cb()
101 z = malloc( strlen(argv[i])+1 ); in sqlite_get_table_cb()
146 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
/PHP-5.3/win32/
H A Dreaddir.c35 filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1); in opendir()
46 dp = (DIR *) malloc(sizeof(DIR)); in opendir()
148 filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); in rewinddir()
/PHP-5.3/ext/zip/lib/
H A Dzip_memdup.c46 ret = malloc(len); in _zip_memdup()
H A Dzip_new.c51 za = (struct zip *)malloc(sizeof(struct zip)); in _zip_new()
H A Dzip_source_function.c66 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { in _zip_source_new()
H A Dzip_add_dir.c67 if ((s=(char *)malloc(len+2)) == NULL) { in zip_add_dir()
H A Dzip_entry_new.c47 ze = (struct zip_entry *)malloc(sizeof(struct zip_entry)); in _zip_entry_new()
H A Dzip_error_strerror.c78 if ((s=(char *)malloc(strlen(ss) in _zip_error_strerror()
/PHP-5.3/ext/mysqli/tests/
H A Dbug49442.phpt69 '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-5.3/sapi/fpm/fpm/
H A Dfpm_env.c28 char *malloc(); in setenv()
36 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { in setenv()
257 if ((new_environ = malloc((1U + env_nb) * sizeof (char *))) == NULL) { in fpm_env_init_main()
H A Dfpm_worker_pool.c57 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
/PHP-5.3/ext/xmlrpc/libxmlrpc/
H A Dbase64.h35 #define malloc(s) _malloc_real(s,__FILE__,__LINE__) macro
/PHP-5.3/sapi/fpm/fpm/events/
H A Ddevpoll.c89 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
102 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
H A Dpoll.c81 pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
94 active_pollfds = malloc(sizeof(struct pollfd) * max); in fpm_event_poll_init()
/PHP-5.3/main/streams/
H A Dphp_streams_int.h34 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size…

Completed in 111 milliseconds

123456