Searched refs:emalloc (Results 1 - 25 of 188) sorted by relevance

12345678

/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h16 #define gdMalloc(size) emalloc(size)
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c153 ResourceBundle_iterator *iterator = emalloc( sizeof( ResourceBundle_iterator ) );
/PHP_TRUNK/Zend/
H A Dzend_arena.h36 zend_arena *arena = (zend_arena*)emalloc(size);
69 zend_arena *new_arena = (zend_arena*)emalloc(arena_size);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_misc.c54 obj = emalloc(sizeof(*obj));
77 obj = emalloc(sizeof(*obj));
H A Dcom_olechar.c50 This should be fixed by reallocating the olestring, but as emalloc is used, that doesn't
58 olestring = (OLECHAR*)emalloc(sizeof(OLECHAR));
87 string = (char*)emalloc(sizeof(char));
/PHP_TRUNK/ext/standard/
H A Ddatetime.c60 str = emalloc(81);
H A Dphp_var.h66 (d) = (php_serialize_data_t) emalloc(sizeof(struct php_serialize_data)); \
H A Dcrypt.c174 output = emalloc(PHP_MAX_SALT_LEN);
189 output = emalloc(PHP_MAX_SALT_LEN);
H A Dhttp.c89 newprefix = emalloc(newprefix_len + 1);
115 newprefix = emalloc(newprefix_len + 1);
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c110 char *buf = emalloc(buf_size);
160 char *buf = emalloc(buf_size);
205 char *buf = emalloc(buf_size);
248 char *buf = emalloc(buf_size);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_btree.c28 # define emalloc malloc macro
157 phpdbg_btree_branch *memory = *branch = emalloc((i + 2) * sizeof(phpdbg_btree_branch));
H A Dphpdbg_eol.c104 out = (char *)emalloc(out_len);
145 out = (char *)emalloc(out_len);
H A Dphpdbg_list.c247 data.buf = emalloc(data.len + 1);
263 *(dataptr = emalloc(sizeof(phpdbg_file_source) + sizeof(uint) * data.len)) = data;
319 dataptr->op_array->refcount = emalloc(sizeof(uint32_t));
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c238 tmp_ptr = emalloc(*len + 1);
254 tmp_ptr = emalloc(*len + 1);
264 tmp_ptr = emalloc(tmp_len);
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c234 buf = emalloc(8192);
344 P = emalloc(sizeof(*P));
371 P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1));
607 S->cols[colno].data = emalloc(colsize+1);
622 S->cols[colno].data = emalloc(256);
666 buf2 = emalloc(256);
748 *ptr = emalloc(ulen + 1);
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c238 self = emalloc(sizeof(*self));
316 self = emalloc(sizeof(*self));
/PHP_TRUNK/win32/
H A Dregistry.c56 reg_key = emalloc(main_key_len + sub_key_len + 1);
88 char *name = (char*)emalloc(max_name+1);
89 char *value = (char*)emalloc(max_value+1);
139 char *name = (char*)emalloc(max_key+1);
140 char *new_path = (char*)emalloc(path_len+max_key+2);
291 reg_location = emalloc(MAXPATHLEN+1);
/PHP_TRUNK/main/streams/
H A Dphp_streams_int.h39 # define emalloc_rel_orig(size) emalloc((size))
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c90 iter = emalloc(sizeof(nodeIterator));
111 iter = emalloc(sizeof(notationIterator));
268 iterator = emalloc(sizeof(php_dom_iterator));
/PHP_TRUNK/ext/hash/
H A Dhash.c150 context = emalloc(ops->context_size);
269 context = emalloc(ops->context_size);
271 K = emalloc(ops->block_size);
361 context = emalloc(ops->context_size);
364 hash = emalloc(sizeof(php_hash_data));
371 char *K = emalloc(ops->block_size);
572 context = emalloc(hash->ops->context_size);
581 copy_hash = emalloc(sizeof(php_hash_data));
645 context = emalloc(ops->context_size);
648 K1 = emalloc(op
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c55 sdl->encoders = emalloc(sizeof(HashTable));
72 enc = emalloc(sizeof(encode));
169 ctx->sdl->types = emalloc(sizeof(HashTable));
173 ctx->attributes = emalloc(sizeof(HashTable));
177 ctx->attributeGroups = emalloc(sizeof(HashTable));
320 newType = emalloc(sizeof(sdlType));
334 sdl->encoders = emalloc(sizeof(HashTable));
337 cur_type->encode = emalloc(sizeof(encode));
351 newType = emalloc(sizeof(sdlType));
361 cur_type->elements = emalloc(sizeo
[all...]
H A Dphp_sdl.c86 char *nscat = emalloc(len + 1);
119 nscat = emalloc(len + 1);
138 enc_nscat = emalloc(enc_len + 1);
476 h = emalloc(sizeof(sdlSoapBindingFunctionHeader));
534 h->headerfaults = emalloc(sizeof(HashTable));
599 x_param = emalloc(sizeof(sdlParam));
636 binding->headers = emalloc(sizeof(HashTable));
674 parameters = emalloc(sizeof(HashTable));
693 param = emalloc(sizeof(sdlParam));
730 ctx.sdl = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c345 ib_query->out_sqlda = (XSQLDA *) emalloc(XSQLDA_LENGTH(1));
375 ib_query->in_sqlda = emalloc(XSQLDA_LENGTH(1));
774 void *array_data = emalloc(ar->ar_size);
823 var->sqldata = emalloc(sizeof(short));
826 var->sqldata = emalloc(sizeof(ISC_LONG));
829 var->sqldata = emalloc(sizeof(float));
832 var->sqldata = emalloc(sizeof(double));
835 var->sqldata = emalloc(sizeof(ISC_INT64));
838 var->sqldata = emalloc(sizeof(ISC_TIMESTAMP));
841 var->sqldata = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd_ctx.c143 ctx = emalloc(sizeof(gdIOCtx));
156 ctx = emalloc(sizeof(gdIOCtx));
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c72 zend_persistent_script *persistent_script = (zend_persistent_script *) emalloc(sizeof(zend_persistent_script));
193 zend_ast_zval *copy = emalloc(sizeof(zend_ast_zval));
200 zend_ast_list *copy = emalloc(
215 zend_ast *copy = emalloc(sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
249 HT_SET_DATA_ADDR(ht, emalloc(HT_SIZE(ht)));
294 HT_SET_DATA_ADDR(ht, emalloc(HT_SIZE(ht)));
352 HT_SET_DATA_ADDR(ht, emalloc(HT_SIZE(ht)));
401 ce->default_properties_table = emalloc(sizeof(zval) * old_ce->default_properties_count);
415 ce->default_static_members_table = emalloc(sizeof(zval) * old_ce->default_static_members_count);
435 ce->interfaces = emalloc(sizeo
[all...]

Completed in 46 milliseconds

12345678