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

12345678

/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h16 #define gdMalloc(size) emalloc(size)
/PHP_TRUNK/ext/intl/
H A Dintl_convert.c130 dst_buf = emalloc( dst_len+1 );
H A Dintl_convertcpp.cpp65 *res = (char*)emalloc(1);
71 *res = (char*)emalloc(capacity);
/PHP_TRUNK/Zend/
H A Dzend_dynamic_array.c36 da->array = (char *) emalloc(size*element_size);
H A Dzend_arena.h36 zend_arena *arena = (zend_arena*)emalloc(size);
69 zend_arena *new_arena = (zend_arena*)emalloc(arena_size);
H A Dzend_objects_API.c30 objects->object_buckets = (zend_object **) emalloc(init_size * sizeof(zend_object*));
244 *object_clone = emalloc(sizeof(zend_proxy_object));
253 zend_proxy_object *obj = emalloc(sizeof(zend_proxy_object));
H A Dzend_static_allocator.c23 /* Not checking emalloc() and erealloc() return values as they are supposed to bailout */
27 block->pos = block->bp = (char *) emalloc(block_size);
47 sa->Blocks = (Block *) emalloc(sizeof(Block));
H A Dzend_static_allocator.h28 #define emalloc(s) malloc(s) macro
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c110 char *buf = emalloc(buf_size);
166 char *buf = emalloc(buf_size);
216 char *buf = emalloc(buf_size);
264 char *buf = emalloc(buf_size);
/PHP_TRUNK/main/streams/
H A Dphp_streams_int.h39 # define emalloc_rel_orig(size) emalloc((size))
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c96 tmp_variable_buf = (char *) emalloc(variable_len);
179 combined_headers = (char *) emalloc(total_length+1);
254 char *tmp_variable_buf = (char *) emalloc(variable_len+1);
301 variable_buf = (char *) emalloc(variable_len);
/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));
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_misc.c50 obj = emalloc(sizeof(*obj));
73 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/dom/
H A Ddom_iterators.c90 iter = emalloc(sizeof(nodeIterator));
111 iter = emalloc(sizeof(notationIterator));
261 iterator = emalloc(sizeof(php_dom_iterator));
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c243 tmp_ptr = emalloc(*len + 1);
259 tmp_ptr = emalloc(*len + 1);
270 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));
608 S->cols[colno].data = emalloc(colsize+1);
623 S->cols[colno].data = emalloc(256);
667 buf2 = emalloc(256);
749 *ptr = emalloc(ulen + 1);
/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);
477 h = emalloc(sizeof(sdlSoapBindingFunctionHeader));
535 h->headerfaults = emalloc(sizeof(HashTable));
600 x_param = emalloc(sizeof(sdlParam));
637 binding->headers = emalloc(sizeof(HashTable));
675 parameters = emalloc(sizeof(HashTable));
694 param = emalloc(sizeof(sdlParam));
731 ctx.sdl = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c75 zend_persistent_script *persistent_script = (zend_persistent_script *) emalloc(sizeof(zend_persistent_script));
267 Z_ARR_P(src) = emalloc(sizeof(zend_array));
311 zend_ast_zval *copy = emalloc(sizeof(zend_ast_zval));
319 zend_ast_list *copy = emalloc(
334 zend_ast *copy = emalloc(sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
373 ht->arData = (Bucket *) emalloc(ht->nTableSize * sizeof(Bucket));
398 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(uint32_t)));
451 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(uint32_t)));
528 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(uint32_t)));
622 ce->default_properties_table = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd_ctx.c141 ctx = emalloc(sizeof(gdIOCtx));
154 ctx = emalloc(sizeof(gdIOCtx));
/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);
824 var->sqldata = emalloc(sizeof(short));
827 var->sqldata = emalloc(sizeof(ISC_LONG));
830 var->sqldata = emalloc(sizeof(float));
833 var->sqldata = emalloc(sizeof(double));
836 var->sqldata = emalloc(sizeof(ISC_INT64));
839 var->sqldata = emalloc(sizeof(ISC_TIMESTAMP));
842 var->sqldata = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/standard/
H A Ddatetime.c60 str = emalloc(81);
/PHP_TRUNK/ext/hash/
H A Dhash.c149 context = emalloc(ops->context_size);
264 context = emalloc(ops->context_size);
266 K = emalloc(ops->block_size);
356 context = emalloc(ops->context_size);
359 hash = emalloc(sizeof(php_hash_data));
366 char *K = emalloc(ops->block_size);
564 context = emalloc(hash->ops->context_size);
573 copy_hash = emalloc(sizeof(php_hash_data));
637 context = emalloc(ops->context_size);
640 K1 = emalloc(op
[all...]
/PHP_TRUNK/win32/
H A Dregistry.c38 reg_key = emalloc(main_key_len + sub_key_len + 1);
70 char *name = (char*)emalloc(max_name+1);
71 char *value = (char*)emalloc(max_value+1);
115 char *name = (char*)emalloc(max_key+1);
116 char *new_path = (char*)emalloc(path_len+max_key+2);
280 reg_location = emalloc(MAXPATHLEN+1);

Completed in 23 milliseconds

12345678