Home
last modified time | relevance | path

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

123456789

/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c307 q = (Bucket *) emalloc(sizeof(Bucket));
310 q = (Bucket *) emalloc(sizeof(Bucket));
313 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
427 q = (Bucket *) emalloc(sizeof(Bucket));
430 q = (Bucket *) emalloc(sizeof(Bucket));
433 q = (Bucket *) emalloc(sizeof(Bucket) + p->nKeyLength);
462 q->pData = (void *) emalloc(sizeof(zend_function));
538 q = (Bucket *) emalloc(sizeof(Bucket));
541 q = (Bucket *) emalloc(sizeof(Bucket));
638 *pce = ce = emalloc(sizeof(zend_class_entry));
[all …]
/PHP-5.5/ext/intl/
H A Dintl_convertcpp.cpp65 *res = (char*)emalloc(1); in intl_charFromString()
71 *res = (char*)emalloc(capacity); in intl_charFromString()
H A Dintl_convert.c130 dst_buf = emalloc( dst_len+1 ); in intl_convert_utf16_to_utf8()
/PHP-5.5/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-5.5/ext/soap/
H A Dphp_schema.c72 enc = emalloc(sizeof(encode)); in create_encoder()
320 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
351 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
426 newType = emalloc(sizeof(sdlType)); in schema_list()
456 newType = emalloc(sizeof(sdlType)); in schema_list()
521 newType = emalloc(sizeof(sdlType)); in schema_union()
552 newType = emalloc(sizeof(sdlType)); in schema_union()
1118 newType = emalloc(sizeof(sdlType)); in schema_group()
1373 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1404 newType = emalloc(sizeof(sdlType)); in schema_complexType()
[all …]
H A Dphp_sdl.c85 char *nscat = emalloc(len + 1); in get_element()
118 nscat = emalloc(len + 1); in get_encoder()
137 enc_nscat = emalloc(enc_len + 1); in get_encoder()
700 param = emalloc(sizeof(sdlParam)); in wsdl_message()
737 ctx.sdl = emalloc(sizeof(sdl)); in load_wsdl()
1066 f = emalloc(sizeof(sdlFault)); in load_wsdl()
1207 s = emalloc(len+1); in sdl_deserialize_string()
1435 enc_nscat = emalloc(enc_len + 1); in sdl_deserialize_encoder()
1517 ht = emalloc(sizeof(HashTable)); in sdl_deserialize_parameters()
1556 buf = in = emalloc(st.st_size); in get_sdl_from_cache()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_bt.c114 s_tmp = emalloc(MAX_LENGTH_OF_DOUBLE + EG(precision) + 1); in mysqlnd_build_trace_args()
169 s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 1 + 1); in mysqlnd_build_trace_string()
179 s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); in mysqlnd_build_trace_string()
220 s_tmp = emalloc(1 + MAX_LENGTH_OF_LONG + 7 + 1); in mysqlnd_get_backtrace()
/PHP-5.5/win32/
H A Dregistry.c38 reg_key = emalloc(main_key_len + sub_key_len + 1); in OpenPhpRegistryKey()
70 char *name = (char*)emalloc(max_name+1); in LoadDirectory()
71 char *value = (char*)emalloc(max_value+1); in LoadDirectory()
130 char *name = (char*)emalloc(max_key+1); in LoadDirectory()
131 char *new_path = (char*)emalloc(path_len+max_key+2); in LoadDirectory()
288 reg_location = emalloc(MAXPATHLEN+1); in GetIniPathFromRegistry()
/PHP-5.5/Zend/
H A Dzend_static_allocator.c27 block->pos = block->bp = (char *) emalloc(block_size); in block_init()
47 sa->Blocks = (Block *) emalloc(sizeof(Block)); in static_allocator_init()
H A Dzend_static_allocator.h28 #define emalloc(s) malloc(s) macro
H A Dzend_dynamic_array.c36 da->array = (char *) emalloc(size*element_size); in zend_dynamic_array_init()
/PHP-5.5/ext/hash/
H A Dhash.c156 context = emalloc(ops->context_size); in php_hash_do_hash()
171 digest = emalloc(ops->digest_size + 1); in php_hash_do_hash()
273 context = emalloc(ops->context_size); in php_hash_do_hash_hmac()
275 K = emalloc(ops->block_size); in php_hash_do_hash_hmac()
364 context = emalloc(ops->context_size); in PHP_FUNCTION()
374 char *K = emalloc(ops->block_size); in PHP_FUNCTION()
510 digest = emalloc(digest_len + 1); in PHP_FUNCTION()
653 K1 = emalloc(ops->block_size); in PHP_FUNCTION()
654 K2 = emalloc(ops->block_size); in PHP_FUNCTION()
655 digest = emalloc(ops->digest_size); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_olechar.c58 olestring = (OLECHAR*)emalloc(sizeof(OLECHAR)); in php_com_string_to_olestring()
87 string = (char*)emalloc(sizeof(char)); in php_com_olestring_to_string()
H A Dcom_misc.c50 obj = emalloc(sizeof(*obj)); in php_com_wrap_dispatch()
73 obj = emalloc(sizeof(*obj)); in php_com_wrap_variant()
/PHP-5.5/ext/interbase/
H A Dibase_query.c375 ib_query->in_sqlda = emalloc(XSQLDA_LENGTH(1)); in _php_ibase_alloc_query()
774 void *array_data = emalloc(ar->ar_size); in _php_ibase_bind()
824 var->sqldata = emalloc(sizeof(short)); in _php_ibase_alloc_xsqlda()
827 var->sqldata = emalloc(sizeof(ISC_LONG)); in _php_ibase_alloc_xsqlda()
830 var->sqldata = emalloc(sizeof(float)); in _php_ibase_alloc_xsqlda()
833 var->sqldata = emalloc(sizeof(double)); in _php_ibase_alloc_xsqlda()
836 var->sqldata = emalloc(sizeof(ISC_INT64)); in _php_ibase_alloc_xsqlda()
842 var->sqldata = emalloc(sizeof(ISC_DATE)); in _php_ibase_alloc_xsqlda()
845 var->sqldata = emalloc(sizeof(ISC_TIME)); in _php_ibase_alloc_xsqlda()
849 var->sqldata = emalloc(sizeof(ISC_QUAD)); in _php_ibase_alloc_xsqlda()
[all …]
/PHP-5.5/ext/dba/libflatfile/
H A Dflatfile.c110 char *buf = emalloc(buf_size); in flatfile_delete()
160 char *buf = emalloc(buf_size); in flatfile_findkey()
205 char *buf = emalloc(buf_size); in flatfile_firstkey()
248 char *buf = emalloc(buf_size); in flatfile_nextkey()
/PHP-5.5/ext/mcrypt/
H A Dmcrypt.c617 key_s = emalloc(key_len); in PHP_FUNCTION()
620 iv_s = emalloc(iv_size + 1); in PHP_FUNCTION()
699 data_s = emalloc(data_size + 1); in PHP_FUNCTION()
704 data_s = emalloc(data_size + 1); in PHP_FUNCTION()
748 data_s = emalloc(data_size + 1); in PHP_FUNCTION()
753 data_s = emalloc(data_size + 1); in PHP_FUNCTION()
1217 key_s = emalloc(use_key_length); in php_mcrypt_do_crypt()
1250 iv_s = emalloc(iv_size + 1); in php_mcrypt_do_crypt()
1255 iv_s = emalloc(iv_size + 1); in php_mcrypt_do_crypt()
1264 data_s = emalloc(data_size); in php_mcrypt_do_crypt()
[all …]
/PHP-5.5/ext/pdo_dblib/
H A Ddblib_stmt.c243 tmp_ptr = emalloc(*len + 1); in pdo_dblib_stmt_get_col()
259 tmp_ptr = emalloc(*len + 1); in pdo_dblib_stmt_get_col()
270 tmp_ptr = emalloc(tmp_len); in pdo_dblib_stmt_get_col()
/PHP-5.5/ext/gd/libgd/
H A Dgdhelpers.h16 #define gdMalloc(size) emalloc(size)
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c228 buf = emalloc(8192); in odbc_stmt_execute()
337 P = emalloc(sizeof(*P)); in odbc_stmt_param_hook()
364 P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1)); in odbc_stmt_param_hook()
592 S->cols[colno].data = emalloc(colsize+1); in odbc_stmt_describe()
607 S->cols[colno].data = emalloc(256); in odbc_stmt_describe()
651 buf2 = emalloc(256); in odbc_stmt_get_col()
733 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col()
/PHP-5.5/ext/gd/
H A Dgd_ctx.c141 ctx = emalloc(sizeof(gdIOCtx)); in _php_image_output_ctx()
154 ctx = emalloc(sizeof(gdIOCtx)); in _php_image_output_ctx()
/PHP-5.5/main/streams/
H A Dphp_streams_int.h39 # define emalloc_rel_orig(size) emalloc((size))
/PHP-5.5/ext/standard/
H A Dquot_print.c99 retval = emalloc(buf_size + 1); in php_quot_print_decode()
218 str_out = emalloc(arg1_len + 1); in PHP_FUNCTION()
/PHP-5.5/sapi/pi3web/
H A Dpi3web_sapi.c96 tmp_variable_buf = (char *) emalloc(variable_len); in php_info_pi3web()
179 combined_headers = (char *) emalloc(total_length+1); in sapi_pi3web_send_headers()
254 char *tmp_variable_buf = (char *) emalloc(variable_len+1); in sapi_pi3web_read_cookies()
301 variable_buf = (char *) emalloc(variable_len); in sapi_pi3web_register_variables()
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_data.c86 UChar *npattern = emalloc(sizeof(UChar)*(2*(*spattern_len)+1)); in msgformat_fix_quotes()

Completed in 92 milliseconds

123456789