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_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
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_ast.c28 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zval));
37 zend_ast *ast = emalloc(sizeof(zend_ast));
46 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*));
56 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 2);
67 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 3); /* use 4 children as deafult */
385 zend_ast *new = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1));
/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/ext/com_dotnet/
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));
H A Dcom_misc.c50 obj = emalloc(sizeof(*obj));
73 obj = emalloc(sizeof(*obj));
/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/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/gd/
H A Dgd_ctx.c141 ctx = emalloc(sizeof(gdIOCtx));
154 ctx = emalloc(sizeof(gdIOCtx));
/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);
355 context = emalloc(ops->context_size);
358 hash = emalloc(sizeof(php_hash_data));
365 char *K = emalloc(ops->block_size);
563 context = emalloc(hash->ops->context_size);
572 copy_hash = emalloc(sizeof(php_hash_data));
636 context = emalloc(ops->context_size);
639 K1 = emalloc(op
[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);
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/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));
312 node = emalloc(sizeof(zend_ast) + sizeof(zval));
318 node = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1));
357 ht->arData = (Bucket *) emalloc(ht->nTableSize * sizeof(Bucket));
382 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(zend_uint)));
435 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(zend_uint)));
512 ht->arData = (Bucket *) emalloc(ht->nTableSize * (sizeof(Bucket) + sizeof(zend_uint)));
606 ce->default_properties_table = emalloc(sizeof(zval) * old_ce->default_properties_count);
619 ce->default_static_members_table = emalloc(sizeo
[all...]
/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/standard/
H A Ddatetime.c60 str = emalloc(81);
/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 32 milliseconds

12345678