Home
last modified time | relevance | path

Searched refs:emalloc (Results 51 – 75 of 193) sorted by relevance

12345678

/PHP-7.4/Zend/
H A Dzend_closures.c167 ptr = emalloc(sizeof(void*) + my_function.op_array.cache_size); in ZEND_METHOD()
386 zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); in zend_get_closure_invoke_method()
493 closure = emalloc(sizeof(zend_closure)); in zend_closure_new()
736 ptr = emalloc(sizeof(void*) + func->op_array.cache_size); in zend_create_closure()
H A Dzend_portability.h361 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size))
369 # define do_alloca(p, use_heap) emalloc(p)
H A Dzend_types.h837 (zend_array *) emalloc(sizeof(zend_array)); \
864 (zend_resource *) emalloc(sizeof(zend_resource)); \
899 (zend_reference *) emalloc(sizeof(zend_reference)); \
909 (zend_reference *) emalloc(sizeof(zend_reference)); \
921 (zend_reference *) emalloc(sizeof(zend_reference)); \
H A Dzend_hash.c131 data = emalloc(HT_SIZE_EX(HT_MIN_SIZE, HT_MIN_MASK)); in zend_hash_real_init_packed_ex()
133 data = emalloc(HT_SIZE_EX(ht->nTableSize, HT_MIN_MASK)); in zend_hash_real_init_packed_ex()
149 data = emalloc(HT_SIZE_EX(HT_MIN_SIZE, HT_SIZE_TO_MASK(HT_MIN_SIZE))); in zend_hash_real_init_mixed_ex()
191 data = emalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize))); in zend_hash_real_init_mixed_ex()
249 HashTable *ht = emalloc(sizeof(HashTable)); in _zend_new_array_0()
256 HashTable *ht = emalloc(sizeof(HashTable)); in _zend_new_array()
264 HashTable *ht = emalloc(sizeof(HashTable)); in zend_new_pair()
477 EG(ht_iterators) = emalloc(sizeof(HashTableIterator) * (EG(ht_iterators_count) + 8)); in zend_hash_iterator_add()
2069 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE(target))); in zend_array_dup()
2079 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE_EX(target->nTableSize, HT_MIN_MASK))); in zend_array_dup()
[all …]
H A Dzend_stream.c166 *buf = emalloc(remain); in zend_stream_fixup()
H A Dzend_generators.c70 stack = emalloc(used_stack * sizeof(zval)); in zend_generator_freeze_call_stack()
427 generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
526 HashTable *ht = emalloc(sizeof(HashTable)); in zend_generator_add_single_child()
1202 iterator = generator->iterator = emalloc(sizeof(zend_object_iterator)); in zend_generator_get_iterator()
/PHP-7.4/ext/spl/
H A Dspl_dllist.c132 spl_ptr_llist *llist = emalloc(sizeof(spl_ptr_llist)); in spl_ptr_llist_init()
195 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); in spl_ptr_llist_unshift()
219 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); in spl_ptr_llist_push()
1319 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); in SPL_METHOD()
1377 iterator = emalloc(sizeof(spl_dllist_it)); in spl_dllist_get_iterator()
H A Dspl_heap.c250 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_init()
348 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_clone()
1109 iterator = emalloc(sizeof(spl_heap_it)); in spl_heap_get_iterator()
1134 iterator = emalloc(sizeof(spl_heap_it)); in spl_pqueue_get_iterator()
/PHP-7.4/ext/pdo_dblib/
H A Ddblib_driver.c179 q = *quoted = emalloc(*quotedlen + 1); /* Add byte for terminal null */ in dblib_handle_quoter()
267 id = emalloc(32); in dblib_handle_last_id()
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c77 p_copy = ret = emalloc(strlen(name) + 1 + 2 + 2 + 1); /* space, open, close, NullS */ in mysqli_escape_string_for_tx_name_in_comment()
405 char *p = emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); in mysqli_stmt_bind_result_do_bind()
420 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(float)); in mysqli_stmt_bind_result_do_bind()
431 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(double)); in mysqli_stmt_bind_result_do_bind()
457 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind()
470 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
528 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
992 tmp = emalloc(11);
1892 stmt->query = (char *)emalloc(query_len + 1);
/PHP-7.4/ext/standard/
H A Dtype.c139 tmpval = emalloc(strlen + 1); in PHP_FUNCTION()
/PHP-7.4/ext/dba/libcdb/
H A Dcdb_make.c82 head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist)); in cdb_make_addend()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c393 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup()
489 name = emalloc(i + keylen + 2); in phpdbg_parse_variable_with_arg()
811 char *decode2 = emalloc(len + strlen(".0") + 1); in phpdbg_short_zval_print()
H A Dphpdbg_watch.c382 coll = emalloc(sizeof(*coll));
425 coll = emalloc(sizeof(*coll));
454 phpdbg_watchpoint_t *mem = emalloc(sizeof(*mem));
522 child = emalloc(sizeof(*child));
567 child = emalloc(sizeof(*child));
595 hti = emalloc(sizeof(*hti));
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c343 NewBuffer= emalloc(iLength+1); in xml_elem_entity_escape()
603 xml_element_attr* attr = emalloc(sizeof(xml_element_attr)); in _xmlrpc_startElement()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfuncs.c499 emalloc(len) : in file_check_mem()
565 if ((pb = (CAST(file_pushbuf_t *, emalloc(sizeof(*pb))))) == NULL) in file_push_buffer()
/PHP-7.4/ext/sysvsem/
H A Dsysvsem.c296 sem_ptr = (sysvsem_sem *) emalloc(sizeof(sysvsem_sem)); in PHP_FUNCTION()
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Drecmul.c60 temp = (bc_num) emalloc (sizeof(bc_struct));
/PHP-7.4/ext/shmop/
H A Dshmop.c163 shmop = emalloc(sizeof(struct php_shmop)); in PHP_FUNCTION()
/PHP-7.4/ext/com_dotnet/
H A Dcom_typeinfo.c131 keyname = emalloc(MaxSubKeyLength); in php_com_load_typelib()
132 libname = emalloc(strlen(search_string) + 1); in php_com_load_typelib()
H A Dcom_persist.c708 clone = emalloc(sizeof(*object)); in helper_clone()
732 helper = emalloc(sizeof(*helper)); in helper_new()
/PHP-7.4/ext/intl/common/
H A Dcommon_enum.cpp145 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); in IntlIterator_from_StringEnumeration()
/PHP-7.4/ext/hash/
H A Dhash_sha3.c255 ctx->hashinstance = emalloc(sizeof(Keccak_HashInstance)); \
/PHP-7.4/docs/
H A Dinput-filter.md133 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */
/PHP-7.4/ext/pdo/
H A Dpdo_sql_parser.re122 plc = emalloc(sizeof(*plc));
332 newbuffer = emalloc(newbuffer_len + 1);

Completed in 119 milliseconds

12345678