/PHP-8.0/ext/zend_test/ |
H A D | test.c | 137 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 D | dblib_driver.c | 177 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 D | spl_heap.c | 242 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 D | cdb_make.c | 80 head = (struct cdb_hplist *) emalloc(sizeof(struct cdb_hplist)); in cdb_make_addend()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 391 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 D | phpdbg_watch.c | 380 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 D | firebird_driver.c | 672 *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 D | mysqli_api.c | 77 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 D | zend_portability.h | 342 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size)) 350 # define do_alloca(p, use_heap) emalloc(p)
|
H A D | zend_generators.c | 73 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 D | zend_hash.c | 153 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 D | zend_objects.c | 178 zend_object *object = emalloc(sizeof(zend_object) + zend_object_properties_size(ce)); in zend_objects_new()
|
H A D | zend_stream.c | 166 *buf = emalloc(remain); in zend_stream_fixup()
|
H A D | zend_types.h | 955 (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 D | common_enum.cpp | 144 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); in IntlIterator_from_StringEnumeration()
|
/PHP-8.0/ext/standard/ |
H A D | type.c | 179 tmpval = emalloc(strlen + 1); in PHP_FUNCTION()
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | magic.c | 203 if ((buf = CAST(unsigned char *, emalloc(ms->bytes_max + SLOP))) == NULL) in file_or_stream()
|
H A D | ascmagic.c | 145 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
|
H A D | funcs.c | 583 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 D | recmul.c | 60 temp = (bc_num) emalloc (sizeof(bc_struct));
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_extension.c | 83 typelib_name_buffer = (char *) emalloc(sizeof(char)*1024); in ZEND_GET_MODULE()
|
H A D | com_persist.c | 689 clone = emalloc(sizeof(*object)); in helper_clone() 713 helper = emalloc(sizeof(*helper)); in helper_new()
|
H A D | com_typeinfo.c | 129 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 D | snmp.c | 288 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 D | input-filter.md | 133 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */
|