Home
last modified time | relevance | path

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

12345678

/PHP-8.0/ext/zend_test/
H A Dtest.c137 emalloc(leakbytes); in ZEND_FUNCTION()
324 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_method_get()
345 fptr = emalloc(sizeof(zend_internal_function)); in zend_test_class_static_method_get()
/PHP-8.0/ext/pdo_dblib/
H A Ddblib_driver.c177 q = *quoted = emalloc(*quotedlen + 1); /* Add byte for terminal null */ in dblib_handle_quoter()
265 id = emalloc(32); in dblib_handle_last_id()
/PHP-8.0/ext/spl/
H A Dspl_heap.c242 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_init()
340 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_clone()
1073 iterator = emalloc(sizeof(spl_heap_it)); in spl_heap_get_iterator()
1098 iterator = emalloc(sizeof(spl_heap_it)); in spl_pqueue_get_iterator()
/PHP-8.0/ext/dba/libcdb/
H A Dcdb_make.c80 head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist)); in cdb_make_addend()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_utils.c391 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup()
487 name = emalloc(i + keylen + 2); in phpdbg_parse_variable_with_arg()
808 char *decode2 = emalloc(len + strlen(".0") + 1); in phpdbg_short_zval_print()
H A Dphpdbg_watch.c380 coll = emalloc(sizeof(*coll));
423 coll = emalloc(sizeof(*coll));
452 phpdbg_watchpoint_t *mem = emalloc(sizeof(*mem));
520 child = emalloc(sizeof(*child));
565 child = emalloc(sizeof(*child));
593 hti = emalloc(sizeof(*hti));
/PHP-8.0/ext/pdo_firebird/
H A Dfirebird_driver.c672 *quoted = emalloc(*quotedlen+1); in firebird_handle_quoter()
682 *quoted = c = emalloc(*quotedlen+1); in firebird_handle_quoter()
812 new_sql = emalloc(sql_len+1); in firebird_alloc_prepare_stmt()
/PHP-8.0/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()
371 char *p = emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); in mysqli_stmt_bind_result_do_bind()
386 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(float)); in mysqli_stmt_bind_result_do_bind()
397 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(double)); in mysqli_stmt_bind_result_do_bind()
423 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind()
434 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
487 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
940 tmp = emalloc(11);
1819 stmt->query = (char *)emalloc(query_len + 1);
/PHP-8.0/Zend/
H A Dzend_portability.h342 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size))
350 # define do_alloca(p, use_heap) emalloc(p)
H A Dzend_generators.c73 stack = emalloc(used_stack * sizeof(zval)); in zend_generator_freeze_call_stack()
430 generator = emalloc(sizeof(zend_generator)); in zend_generator_create()
511 HashTable *ht = emalloc(sizeof(HashTable)); in zend_generator_add_child()
1133 iterator = emalloc(sizeof(zend_object_iterator)); in zend_generator_get_iterator()
H A Dzend_hash.c153 data = emalloc(HT_SIZE_EX(HT_MIN_SIZE, HT_MIN_MASK)); in zend_hash_real_init_packed_ex()
155 data = emalloc(HT_SIZE_EX(ht->nTableSize, HT_MIN_MASK)); in zend_hash_real_init_packed_ex()
171 data = emalloc(HT_SIZE_EX(HT_MIN_SIZE, HT_SIZE_TO_MASK(HT_MIN_SIZE))); in zend_hash_real_init_mixed_ex()
213 data = emalloc(HT_SIZE_EX(nSize, HT_SIZE_TO_MASK(nSize))); in zend_hash_real_init_mixed_ex()
271 HashTable *ht = emalloc(sizeof(HashTable)); in _zend_new_array_0()
278 HashTable *ht = emalloc(sizeof(HashTable)); in _zend_new_array()
286 HashTable *ht = emalloc(sizeof(HashTable)); in zend_new_pair()
499 EG(ht_iterators) = emalloc(sizeof(HashTableIterator) * (EG(ht_iterators_count) + 8)); in zend_hash_iterator_add()
2094 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE(target))); in zend_array_dup()
2104 HT_SET_DATA_ADDR(target, emalloc(HT_SIZE_EX(target->nTableSize, HT_MIN_MASK))); in zend_array_dup()
[all …]
H A Dzend_objects.c178 zend_object *object = emalloc(sizeof(zend_object) + zend_object_properties_size(ce)); in zend_objects_new()
H A Dzend_stream.c166 *buf = emalloc(remain); in zend_stream_fixup()
H A Dzend_types.h955 (zend_array *) emalloc(sizeof(zend_array)); \
990 (zend_resource *) emalloc(sizeof(zend_resource)); \
1025 (zend_reference *) emalloc(sizeof(zend_reference)); \
1035 (zend_reference *) emalloc(sizeof(zend_reference)); \
1047 (zend_reference *) emalloc(sizeof(zend_reference)); \
/PHP-8.0/ext/intl/common/
H A Dcommon_enum.cpp144 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); in IntlIterator_from_StringEnumeration()
/PHP-8.0/ext/standard/
H A Dtype.c179 tmpval = emalloc(strlen + 1); in PHP_FUNCTION()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dmagic.c203 if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) in file_or_stream()
H A Dascmagic.c145 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
H A Dfuncs.c583 emalloc(len) : in file_check_mem()
649 if ((pb = (CAST(file_pushbuf_t *, emalloc(sizeof(*pb))))) == NULL) in file_push_buffer()
/PHP-8.0/ext/bcmath/libbcmath/src/
H A Drecmul.c60 temp = (bc_num) emalloc (sizeof(bc_struct));
/PHP-8.0/ext/com_dotnet/
H A Dcom_extension.c83 typelib_name_buffer = (char *) emalloc(sizeof(char)*1024); in ZEND_GET_MODULE()
H A Dcom_persist.c689 clone = emalloc(sizeof(*object)); in helper_clone()
713 helper = emalloc(sizeof(*helper)); in helper_new()
H A Dcom_typeinfo.c129 keyname = emalloc(MaxSubKeyLength); in php_com_load_typelib()
130 libname = emalloc(strlen(search_string) + 1); in php_com_load_typelib()
/PHP-8.0/ext/snmp/
H A Dsnmp.c288 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
296 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
673 objid_query->vars = (snmpobjarg *)emalloc(sizeof(snmpobjarg)); in php_snmp_parse_oid()
812 *session_p = (php_snmp_session *)emalloc(sizeof(php_snmp_session)); in netsnmp_session_init()
820 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
1028 u_char *ebuf = (u_char *) emalloc(ebuf_len); in netsnmp_session_set_contextEngineID()
/PHP-8.0/docs/
H A Dinput-filter.md133 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */

Completed in 96 milliseconds

12345678