Searched refs:ecalloc (Results 1 - 25 of 116) sorted by relevance

12345

/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h15 #define gdCalloc(nmemb, size) ecalloc(nmemb, size)
/PHP_TRUNK/ext/curl/
H A Dshare.c45 sh = ecalloc(1, sizeof(php_curlsh));
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_class.c61 intern = ecalloc(1, sizeof(Collator_object) + sizeof(zval) * (ce->default_properties_count - 1));
H A Dcollator_sort.c414 sortKeyBuf = ecalloc( sortKeyBufSize, sizeof( char ) );
415 sortKeyIndxBuf = ecalloc( sortKeyIndxBufSize, sizeof( uint8_t ) );
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_data.c56 dateformat_data* datef_data = ecalloc( 1, sizeof(dateformat_data) );
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_class.c61 intern = ecalloc( 1, sizeof(NumberFormatter_object) + sizeof(zval) * (ce->default_properties_count - 1) );
H A Dformatter_data.c57 formatter_data* nf_data = ecalloc( 1, sizeof(formatter_data) );
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_class.c59 intern = ecalloc( 1, sizeof(MessageFormatter_object) + sizeof(zval) * (ce->default_properties_count - 1));
H A Dmsgformat_data.c74 msgformat_data* mf_data = ecalloc( 1, sizeof(msgformat_data) );
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_class.c56 intern = ecalloc(1, sizeof(Spoofchecker_object) + sizeof(zval) * (ce->default_properties_count - 1));
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c227 val_list = (char **)ecalloc(num, sizeof(char *));
228 len_list = (int *)ecalloc(num, sizeof(int));
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_driver.c129 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
H A Dmysqli_result_iterator.c54 iterator = ecalloc(1, sizeof(php_mysqli_result_iterator));
H A Dmysqli_warning.c60 w = (MYSQLI_WARNING *)ecalloc(1, sizeof(MYSQLI_WARNING));
106 w = (MYSQLI_WARNING *)ecalloc(1, sizeof(MYSQLI_WARNING));
303 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
H A Dmysqli_nonapi.c102 mysql = (MY_MYSQL *) ecalloc(1, sizeof(MY_MYSQL));
267 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
627 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
645 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
851 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
877 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
907 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
932 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
H A Dmysqli_api.c196 stmt->param.is_null = ecalloc(num_vars, sizeof(char));
197 bind = (MYSQL_BIND *) ecalloc(num_vars, sizeof(MYSQL_BIND));
227 /* don't initialize is_null and length to 0 because we use ecalloc */
232 /* don't initialize buffer and buffer_length because we use ecalloc */
402 bind = (MYSQL_BIND *)ecalloc(var_cnt, sizeof(MYSQL_BIND));
435 because memory was allocated with ecalloc
447 /* don't set stmt->result.buf[ofs].buflen to 0, we used ecalloc */
1494 mysql = (MY_MYSQL *)ecalloc(1, sizeof(MY_MYSQL));
1510 mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE));
1855 stmt = (MY_STMT *)ecalloc(
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c160 S = ecalloc(1, sizeof(*S)-sizeof(XSQLDA) + XSQLDA_LENGTH(num_sqlda.sqld));
163 S->fetch_buf = ecalloc(1,sizeof(char*) * num_sqlda.sqld);
187 S->in_sqlda = ecalloc(1,XSQLDA_LENGTH(num_sqlda.sqld));
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c167 pdo_mysql_stmt *S = ecalloc(1, sizeof(pdo_mysql_stmt));
236 S->params = ecalloc(S->num_params, sizeof(MYSQL_BIND));
237 S->in_null = ecalloc(S->num_params, sizeof(my_bool));
238 S->in_length = ecalloc(S->num_params, sizeof(zend_ulong));
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c229 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column));
288 S->param_values = ecalloc(
291 S->param_lengths = ecalloc(
294 S->param_formats = ecalloc(
297 S->param_types = ecalloc(
325 P = ecalloc(1, sizeof(*P));
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h117 obj->it = ecalloc(1, sizeof(spl_filesystem_iterator));
/PHP_TRUNK/ext/standard/
H A Dimage.c114 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
137 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
161 result = (struct gfxinfo *) ecalloc (1, sizeof(struct gfxinfo));
166 result = (struct gfxinfo *) ecalloc (1, sizeof(struct gfxinfo));
210 b = ecalloc(1, len + 1);
253 result = (struct gfxinfo *) ecalloc (1, sizeof (struct gfxinfo));
283 result = (struct gfxinfo *) ecalloc (1, sizeof (struct gfxinfo));
316 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
500 result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo));
628 result = (struct gfxinfo *)ecalloc(
[all...]
H A Dphp_var.h94 (d) = (php_unserialize_data_t)ecalloc(1, sizeof(struct php_unserialize_data)); \
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c724 kw_value = ecalloc( 1 , kw_value_len );
1064 cur_key_name = (char*)ecalloc( 25, 25);
1298 cur_lang_tag = ecalloc( 1, strlen(can_lang_tag) + 1);
1308 cur_loc_range = ecalloc( 1, strlen(can_loc_range) + 1);
1359 cur_lang_tag = ecalloc( 1, strlen(lang_tag ) + 1);
1366 cur_loc_range = ecalloc( 1, strlen(loc_range ) + 1);
1436 cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *));
1491 cur_loc_range = ecalloc(1, strlen(loc_range)+1);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c86 zval *value = ecalloc(sizeof(zval), 1);
95 zval *value = ecalloc(sizeof(zval), 1);
126 zval *value = ecalloc(sizeof(zval), 1);
151 zval *value = ecalloc(sizeof(zval), 1);
/PHP_TRUNK/win32/
H A Dsendmail.c59 response is ecalloc()d in Ack() itself and efree()d here
63 if (NULL != (*error_message = ecalloc(1, sizeof(SMTP_ERROR_RESPONSE_SPEC) + strlen(response)))) { \
296 if (NULL == (*error_message = ecalloc(1, HOST_NAME_LEN + 128))) {
568 if (NULL == (stripped_header = ecalloc(1, strlen(headers)))) {
705 header_buffer = ecalloc(1, MAIL_BUFFER_SIZE);

Completed in 37 milliseconds

12345