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

123456789

/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/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);
130 char *name = (char*)emalloc(max_key+1);
131 char *new_path = (char*)emalloc(path_len+max_key+2);
288 reg_location = emalloc(MAXPATHLEN+1);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c86 taken_T = (char *) emalloc(T);
87 start_of_T = (zend_op **) emalloc(T * sizeof(zend_op *));
88 valid_T = (char *) emalloc(T);
89 map_T = (int *) emalloc(T * sizeof(int));
/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_string.h77 char *buf = (char *) emalloc(new_len);
H A Dzend_ast.c28 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zval));
38 zend_ast *ast = emalloc(sizeof(zend_ast));
47 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*));
57 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 2);
68 zend_ast *ast = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * 3); /* use 4 children as deafult */
359 zend_ast *new = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1));
/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/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/ext/gd/
H A Dgd_ctx.c136 ctx = emalloc(sizeof(gdIOCtx));
149 ctx = emalloc(sizeof(gdIOCtx));
/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/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.c85 char *nscat = emalloc(len + 1);
118 nscat = emalloc(len + 1);
137 enc_nscat = emalloc(enc_len + 1);
297 Z_STRVAL(new_header) = emalloc(Z_STRLEN_PP(header) + 1);
480 h = emalloc(sizeof(sdlSoapBindingFunctionHeader));
538 h->headerfaults = emalloc(sizeof(HashTable));
605 x_param = emalloc(sizeof(sdlParam));
643 binding->headers = emalloc(sizeof(HashTable));
681 parameters = emalloc(sizeof(HashTable));
700 param = emalloc(sizeo
[all...]
/PHP_TRUNK/ext/standard/
H A Ddatetime.c60 str = emalloc(81);
H A Dquot_print.c99 retval = emalloc(buf_size + 1);
218 str_out = emalloc(arg1_len + 1);
/PHP_TRUNK/main/streams/
H A Dphp_streams_int.h39 # define emalloc_rel_orig(size) emalloc((size))
/PHP_TRUNK/ext/hash/
H A Dhash.c155 context = emalloc(ops->context_size);
170 digest = emalloc(ops->digest_size + 1);
268 context = emalloc(ops->context_size);
270 K = emalloc(ops->block_size);
271 digest = emalloc(ops->digest_size + 1);
359 context = emalloc(ops->context_size);
362 hash = emalloc(sizeof(php_hash_data));
369 char *K = emalloc(ops->block_size);
505 digest = emalloc(digest_len + 1);
567 context = emalloc(has
[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/pdo_odbc/
H A Dodbc_stmt.c228 buf = emalloc(8192);
337 P = emalloc(sizeof(*P));
364 P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1));
592 S->cols[colno].data = emalloc(colsize+1);
607 S->cols[colno].data = emalloc(256);
651 buf2 = emalloc(256);
733 *ptr = emalloc(ulen + 1);
/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/opcache/
H A Dzend_accelerator_util_funcs.c76 zend_persistent_script *persistent_script = (zend_persistent_script *) emalloc(sizeof(zend_persistent_script));
232 node = emalloc(sizeof(zend_ast) + sizeof(zval));
258 node = emalloc(sizeof(zend_ast) + sizeof(zend_ast*) * (ast->children - 1));
362 q = (Bucket *) emalloc(sizeof(Bucket));
365 q = (Bucket *) emalloc(sizeof(Bucket));
368 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
373 q = (Bucket *) emalloc(sizeof(Bucket) - 1 + p->nKeyLength);
489 q = (Bucket *) emalloc(sizeof(Bucket));
492 q = (Bucket *) emalloc(sizeof(Bucket));
495 q = (Bucket *) emalloc(sizeo
[all...]

Completed in 22 milliseconds

123456789