Searched refs:safe_emalloc (Results 1 - 25 of 115) sorted by relevance

12345

/PHP_5_4/ext/bcmath/libbcmath/src/
H A Ddiv.c130 num1 = (unsigned char *) safe_emalloc (1, n1->n_len+n1->n_scale, extra+2);
136 num2 = (unsigned char *) safe_emalloc (1, len2, 1);
167 mval = (unsigned char *) safe_emalloc (1, len2, 1);
H A Dnum2str.c54 str = (char *) safe_emalloc (1, num->n_len + num->n_scale, 2 + signch);
56 str = (char *) safe_emalloc (1, num->n_len, 1 + signch);
/PHP_5_4/ext/gd/libgd/
H A Dgd_color.c36 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * im2->colorsTotal, 0);
H A Dwbmp.c128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL)
195 if ((wbmp->bitmap = (int *) safe_emalloc((size_t)wbmp->width * wbmp->height, sizeof(int), 0)) == NULL)
H A Dgd_png.c322 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0);
324 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0);
688 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0);
691 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0);
729 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0);
H A Dgdxpm.c45 colors = (int *) safe_emalloc(number, sizeof(int), 0);
/PHP_5_4/ext/intl/
H A Dintl_common.h31 # define eumalloc(size) (UChar*)safe_emalloc(size, sizeof(UChar), 0)
/PHP_5_4/ext/intl/msgformat/
H A Dmsgformat_format.c54 fargs = safe_emalloc(count, sizeof(zval *), 0);
/PHP_5_4/ext/phar/
H A Ddirstream.c239 entry = (char *) safe_emalloc(found - str_key, 1, 1);
244 entry = (char *) safe_emalloc(keylen, 1, 1);
276 entry = (char *) safe_emalloc(found - save + dirlen, 1, 1);
283 entry = (char *) safe_emalloc(keylen - dirlen, 1, 1);
/PHP_5_4/ext/standard/
H A Dbase64.c69 result = (unsigned char *) safe_emalloc((length + 2) / 3, 4 * sizeof(char), 1);
150 result = (unsigned char *)safe_emalloc(length, 1, 1);
H A Dlevenshtein.c45 p1 = safe_emalloc((l2 + 1), sizeof(int), 0);
46 p2 = safe_emalloc((l2 + 1), sizeof(int), 0);
H A Dmetaphone.c189 *phoned_word = safe_emalloc(sizeof(char), word_len, 1);
192 *phoned_word = safe_emalloc(sizeof(char), max_phonemes, 1);
H A Dquot_print.c154 ret = safe_emalloc(3, length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1), 1);
H A Dscanf.c170 cset->chars = (char *) safe_emalloc(sizeof(char), (end - format - 1), 0);
172 cset->ranges = (struct Range *) safe_emalloc(sizeof(struct Range), nranges, 0);
327 nassign = (int*)safe_emalloc(sizeof(int), numVars, 0);
502 nassign = (void *)safe_emalloc(nspace, sizeof(int), 0);
H A Duuencode.c74 p = *dest = safe_emalloc((size_t) ceil(src_len * 1.38), 1, 46);
132 p = *dest = safe_emalloc((size_t) ceil(src_len * 0.75), 1, 1);
/PHP_5_4/ext/sysvmsg/
H A Dsysvmsg.c343 messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
418 messagebuffer = safe_emalloc(msg_var.len, 1, sizeof(struct php_msgbuf));
444 messagebuffer = safe_emalloc(message_len, 1, sizeof(struct php_msgbuf));
/PHP_5_4/ext/com_dotnet/
H A Dcom_saproxy.c110 args = safe_emalloc(proxy->dimensions + 1, sizeof(zval *), 0);
170 indices = safe_emalloc(dims, sizeof(LONG), 0);
222 zval **args = safe_emalloc(proxy->dimensions + 2, sizeof(zval *), 0);
245 indices = safe_emalloc(dims, sizeof(LONG), 0);
429 cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval *), 0);
453 proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0);
573 I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0);
H A Dcom_olechar.c48 olestring = (OLECHAR*)safe_emalloc(string_len, sizeof(OLECHAR), 0);
83 string = (char*)safe_emalloc(length, sizeof(char), 0);
/PHP_5_4/ext/dba/
H A Ddba_cdb.c166 new_entry = safe_emalloc(len, 1, 1);
271 key = safe_emalloc(klen, 1, 1);
303 key = safe_emalloc(klen, 1, 1);
/PHP_5_4/ext/ereg/
H A Dereg.c258 buf = (char *)safe_emalloc(buf_len, sizeof(char), 0);
268 message = (char *)safe_emalloc((buf_len + len + 2), sizeof(char), 0);
438 buf = safe_emalloc(buf_len, sizeof(char), 0);
514 nbuf = safe_emalloc(buf_len, sizeof(char), 0);
529 nbuf = safe_emalloc(buf_len, sizeof(char), 0);
742 tmp = safe_emalloc(string_len, 4, 1);
/PHP_5_4/ext/filter/
H A Dcallback_filter.c36 args = safe_emalloc(sizeof(zval **), 1, 0);
H A Dsanitizing_filters.c90 p = str = (unsigned char *) safe_emalloc(3, Z_STRLEN_P(value), 1);
121 buf = safe_emalloc(1, Z_STRLEN_P(value) + 1, 1);
162 buf = safe_emalloc(1, Z_STRLEN_P(value) + 1, 1);
/PHP_5_4/ext/mysqli/
H A Dmysqli_embedded.c55 arguments = safe_emalloc(sizeof(char *), argc + 1, 0);
76 groups = safe_emalloc(sizeof(char *), zend_hash_num_elements(HASH_OF(grps)) + 1, 0);
94 groups = safe_emalloc(sizeof(char *), 1, 0);
/PHP_5_4/ext/oci8/
H A Doci8_statement.c676 buf = outcol->data = (text *) safe_emalloc(1, outcol->storage_size4, 0);
1527 bind->array.elements = (text *)safe_emalloc(max_table_length * (maxlength + 1), sizeof(text), 0);
1532 bind->array.element_lengths = safe_emalloc(max_table_length, sizeof(ub2), 0);
1534 bind->array.indicators = safe_emalloc(max_table_length, sizeof(sb2), 0);
1585 bind->array.elements = (ub4 *)safe_emalloc(max_table_length, sizeof(ub4), 0);
1589 bind->array.element_lengths = safe_emalloc(max_table_length, sizeof(ub2), 0);
1623 bind->array.elements = (double *)safe_emalloc(max_table_length, sizeof(double), 0);
1627 bind->array.element_lengths = safe_emalloc(max_table_length, sizeof(ub2), 0);
1661 bind->array.elements = (OCIDate *)safe_emalloc(max_table_length, sizeof(OCIDate), 0);
1665 bind->array.element_lengths = safe_emalloc(max_table_lengt
[all...]
/PHP_5_4/ext/interbase/
H A Dibase_events.c335 event = (ibase_event *) safe_emalloc(sizeof(ibase_event), 1, 0);
341 event->events = (char **) safe_emalloc(sizeof(char *),ZEND_NUM_ARGS()-i,0);

Completed in 110 milliseconds

12345