Home
last modified time | relevance | path

Searched refs:clone (Results 126 – 150 of 154) sorted by relevance

1234567

/PHP-7.4/ext/spl/tests/
H A Dfileobject_003.phpt15 $c = clone $o;
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c484 int clone; in php_xsl_apply_stylesheet() local
604 clone = 0; in php_xsl_apply_stylesheet()
605 while(params[clone]) { in php_xsl_apply_stylesheet()
606 efree(params[clone++]); in php_xsl_apply_stylesheet()
/PHP-7.4/ext/simplexml/
H A Dsimplexml.c2031 php_sxe_object *clone; in sxe_object_clone() local
2035 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in sxe_object_clone()
2036 clone->document = sxe->document; in sxe_object_clone()
2037 if (clone->document) { in sxe_object_clone()
2038 clone->document->refcount++; in sxe_object_clone()
2039 docp = clone->document->ptr; in sxe_object_clone()
2042 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone()
2044 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name); in sxe_object_clone()
2047 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix); in sxe_object_clone()
2049 clone->iter.type = sxe->iter.type; in sxe_object_clone()
[all …]
/PHP-7.4/Zend/tests/assert/
H A Dexpect_015.phpt18 $y = clone $x;
160 $y = clone $x;
/PHP-7.4/ext/intl/common/
H A Dcommon_date.cpp149 *tz = TimeZone::getGMT()->clone(); in intl_datetime_decompose()
/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp98 CodePointBreakIterator* CodePointBreakIterator::clone(void) const in clone() function in CodePointBreakIterator
H A Dbreakiterator_class.cpp116 new_biter = bio_orig->biter->clone(); in BreakIterator_clone_obj()
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument()
244 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
/PHP-7.4/ext/curl/
H A Dinterface.c1903 ch->clone = emalloc(sizeof(uint32_t)); in alloc_curl_handle()
1904 *ch->clone = 1; in alloc_curl_handle()
2100 efree(ch->clone); in _php_setup_easy_copy_handlers()
2101 ch->clone = source->clone; in _php_setup_easy_copy_handlers()
2104 (*source->clone)++; in _php_setup_easy_copy_handlers()
2315 if ((*ch->clone) == 1) { in build_mime_structure_from_hash()
2936 if ((*ch->clone) == 1) { in _php_curl_setopt()
3642 if (--(*ch->clone) == 0) { in _php_curl_close_ex()
3649 efree(ch->clone); in _php_curl_close_ex()
/PHP-7.4/Zend/
H A Dzend.h134 zend_function *clone; member
H A Dzend_API.c2148 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2337 clone = reg_function; in zend_register_functions()
2389 scope->clone = clone; in zend_register_functions()
2414 if (clone) { in zend_register_functions()
2415 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2416 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions()
2418 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2476 if (clone && (clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_register_functions()
2477 … "%s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_n… in zend_register_functions()
H A Dzend_inheritance.c157 if (EXPECTED(!ce->clone)) { in do_inherit_parent_constructor()
158 ce->clone = parent->clone; in do_inherit_parent_constructor()
1513 ce->clone = fe; in zend_add_magic_methods()
H A Dzend_vm_def.h5515 zend_function *clone; variable
5548 clone = ce->clone;
5557 if (clone && !(clone->common.fn_flags & ZEND_ACC_PUBLIC)) {
5559 if (clone->common.scope != scope) {
5560 if (UNEXPECTED(clone->common.fn_flags & ZEND_ACC_PRIVATE)
5561 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), scope))) {
5562 zend_wrong_clone_call(clone, scope);
H A Dzend_compile.c1674 ce->clone = NULL; in zend_initialize_class_data()
5840 ce->clone = (zend_function *) op_array; in zend_begin_method_decl()
6513 if (ce->clone) { in zend_compile_class_decl()
6514 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_compile_class_decl()
6516 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
6517 } else if (ce->clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_class_decl()
6520 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
/PHP-7.4/ext/opcache/
H A Dzend_persist.c961 if (ce->clone) { in zend_update_parent_ce()
962 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->clone); in zend_update_parent_ce()
964 ce->clone = tmp; in zend_update_parent_ce()
H A Dzend_file_cache.c781 SERIALIZE_PTR(ce->clone);
1468 UNSERIALIZE_PTR(ce->clone);
H A Dzend_accelerator_util_funcs.c349 zend_update_inherited_handler(clone); in zend_class_copy_ctor()
/PHP-7.4/ext/intl/calendar/
H A Dcalendar_class.cpp99 newCalendar = co_orig->ucal->clone(); in Calendar_clone_obj()
H A Dcalendar_methods.cpp766 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION()
1164 timeZone = TimeZone::getGMT()->clone(); in PHP_FUNCTION()
/PHP-7.4/Zend/tests/
H A Dtemporary_cleaning_013.phpt269 var_dump(clone (new class {
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp355 df->adoptTimeZone(used_tz->clone()); in umsg_set_timezone()
/PHP-7.4/ext/date/
H A Dphp_date.c4684 timelib_time *clone; in PHP_METHOD() local
4726 clone = timelib_time_ctor(); in PHP_METHOD()
4727 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD()
4729 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD()
4732 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD()
4734 dpobj->start = clone; in PHP_METHOD()
4743 clone = timelib_time_clone(dateobj->time); in PHP_METHOD()
4744 dpobj->end = clone; in PHP_METHOD()
/PHP-7.4/
H A DUPGRADING.INTERNALS56 clone, now we use the same private property_info, and should also
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c4579 if (ce->clone) { in ZEND_METHOD()
4580 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
4585 if (ce->clone) { in ZEND_METHOD()
4586 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); in ZEND_METHOD()
/PHP-7.4/ext/spl/
H A Dspl_directory.c393 if (intern->oth_handler && intern->oth_handler->clone) { in spl_filesystem_object_clone()
394 intern->oth_handler->clone(source, intern); in spl_filesystem_object_clone()

Completed in 157 milliseconds

1234567