Home
last modified time | relevance | path

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

1234567

/PHP-7.3/ext/simplexml/
H A Dsimplexml.c2012 php_sxe_object *clone; in sxe_object_clone() local
2016 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in sxe_object_clone()
2017 clone->document = sxe->document; in sxe_object_clone()
2018 if (clone->document) { in sxe_object_clone()
2019 clone->document->refcount++; in sxe_object_clone()
2020 docp = clone->document->ptr; in sxe_object_clone()
2023 clone->iter.isprefix = sxe->iter.isprefix; in sxe_object_clone()
2025 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name); in sxe_object_clone()
2028 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix); in sxe_object_clone()
2030 clone->iter.type = sxe->iter.type; in sxe_object_clone()
[all …]
/PHP-7.3/sapi/phpdbg/
H A DREADME.md35 git clone https://github.com/krakjoe/phpdbg
/PHP-7.3/Zend/tests/assert/
H A Dexpect_015.phpt18 $y = clone $x;
160 $y = clone $x;
/PHP-7.3/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp94 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.3/ext/intl/common/
H A Dcommon_date.cpp156 *tz = TimeZone::getGMT()->clone();
/PHP-7.3/ext/intl/timezone/
H A Dtimezone_class.cpp160 timeZone = to->utimezone->clone(); in timezone_process_timezone_argument()
242 newTimeZone = to_orig->utimezone->clone(); in TimeZone_clone_obj()
/PHP-7.3/ext/curl/
H A Dinterface.c1943 ch->clone = emalloc(sizeof(uint32_t)); in alloc_curl_handle()
1944 *ch->clone = 1; in alloc_curl_handle()
2136 efree(ch->clone); in _php_setup_easy_copy_handlers()
2137 ch->clone = source->clone; in _php_setup_easy_copy_handlers()
2140 (*source->clone)++; in _php_setup_easy_copy_handlers()
2734 if ((*ch->clone) == 1) { in _php_curl_setopt()
2904 if ((*ch->clone) == 1) { in _php_curl_setopt()
3573 if (--(*ch->clone) == 0) { in _php_curl_close_ex()
3579 efree(ch->clone); in _php_curl_close_ex()
/PHP-7.3/ext/opcache/
H A Dzend_persist.c840 if (ce->clone) { in zend_update_parent_ce()
841 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone); in zend_update_parent_ce()
H A Dzend_file_cache.c703 SERIALIZE_PTR(ce->clone);
1316 UNSERIALIZE_PTR(ce->clone);
H A Dzend_accelerator_util_funcs.c411 zend_update_inherited_handler(clone); in zend_class_copy_ctor()
/PHP-7.3/Zend/
H A Dzend.h128 union _zend_function *clone; member
H A Dzend_API.c2166 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2351 clone = reg_function; in zend_register_functions()
2403 scope->clone = clone; in zend_register_functions()
2426 if (clone) { in zend_register_functions()
2427 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2428 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions()
2430 clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2488 if (clone && (clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_register_functions()
2489 … "%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.c141 if (EXPECTED(!ce->clone)) { in do_inherit_parent_constructor()
142 ce->clone = ce->parent->clone; in do_inherit_parent_constructor()
1135 ce->clone = fe; in zend_add_magic_methods()
H A Dzend_vm_def.h5005 zend_function *clone; variable
5038 clone = ce->clone;
5047 if (clone) {
5048 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
5052 if (!zend_check_private(clone, scope, clone->common.function_name)) {
5053 …zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(clone->common.s…
5058 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
5062 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), scope))) {
5063 …zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(clone->common…
H A Dzend_compile.c1752 ce->clone = NULL; in zend_initialize_class_data()
5891 ce->clone = (zend_function *) op_array; in zend_begin_method_decl()
6528 if (ce->clone) { in zend_compile_class_decl()
6529 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_compile_class_decl()
6531 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
6532 } else if (ce->clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_class_decl()
6535 ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); in zend_compile_class_decl()
H A Dzend_vm_execute.h3083 zend_function *clone; local
3116 clone = ce->clone;
3125 if (clone) {
3130 if (!zend_check_private(clone, scope, clone->common.function_name)) {
12419 clone = ce->clone;
12428 if (clone) {
12433 if (!zend_check_private(clone, scope, clone->common.function_name)) {
30521 clone = ce->clone;
30530 if (clone) {
37308 clone = ce->clone;
[all …]
H A Dzend_API.h199 class_container.clone = NULL; \
/PHP-7.3/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()
1172 timeZone = TimeZone::getGMT()->clone(); in PHP_FUNCTION()
/PHP-7.3/Zend/tests/
H A Dtemporary_cleaning_013.phpt269 var_dump(clone (new class {
/PHP-7.3/ext/date/
H A Dphp_date.c4613 timelib_time *clone; in PHP_METHOD() local
4655 clone = timelib_time_ctor(); in PHP_METHOD()
4656 memcpy(clone, dateobj->time, sizeof(timelib_time)); in PHP_METHOD()
4658 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD()
4661 clone->tz_info = dateobj->time->tz_info; in PHP_METHOD()
4663 dpobj->start = clone; in PHP_METHOD()
4672 clone = timelib_time_clone(dateobj->time); in PHP_METHOD()
4673 dpobj->end = clone; in PHP_METHOD()
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregexec.c768 OnigCaptureTreeNode *clone, *child; in history_tree_clone() local
770 clone = history_node_new(); in history_tree_clone()
771 CHECK_NULL_RETURN(clone); in history_tree_clone()
773 clone->beg = node->beg; in history_tree_clone()
774 clone->end = node->end; in history_tree_clone()
778 history_tree_free(clone); in history_tree_clone()
781 history_tree_add_child(clone, child); in history_tree_clone()
784 return clone; in history_tree_clone()
/PHP-7.3/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.3/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 321 milliseconds

1234567