Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 154) sorted by last modified time

1234567

/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp98 CodePointBreakIterator* CodePointBreakIterator::clone(void) const in clone() function in CodePointBreakIterator
H A Dcodepointiterator_internal.h48 virtual CodePointBreakIterator* clone(void) const;
/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/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_vm_execute.h3904 zend_function *clone; in ZEND_CLONE_SPEC_CONST_HANDLER() local
3937 clone = ce->clone; in ZEND_CLONE_SPEC_CONST_HANDLER()
3946 if (clone && !(clone->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_CLONE_SPEC_CONST_HANDLER()
13645 zend_function *clone; in ZEND_CLONE_SPEC_TMPVAR_HANDLER() local
13678 clone = ce->clone; in ZEND_CLONE_SPEC_TMPVAR_HANDLER()
13687 if (clone && !(clone->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_CLONE_SPEC_TMPVAR_HANDLER()
30358 zend_function *clone; in ZEND_CLONE_SPEC_UNUSED_HANDLER() local
30391 clone = ce->clone; in ZEND_CLONE_SPEC_UNUSED_HANDLER()
30400 if (clone && !(clone->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_CLONE_SPEC_UNUSED_HANDLER()
37417 clone = ce->clone; in ZEND_CLONE_SPEC_CV_HANDLER()
[all …]
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_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_execute.c3410 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_clone_call(zend_function *clone, z… in zend_wrong_clone_call() argument
3412 …%s::__clone() from context '%s'", zend_visibility_string(clone->common.fn_flags), ZSTR_VAL(clone->… in zend_wrong_clone_call()
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()
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()
/PHP-7.4/azure/
H A Dcommunity_job.yml51 git clone https://github.com/laravel/framework.git --branch=8.x --depth=1
63 git clone https://github.com/symfony/symfony.git --depth=1
77 git clone https://github.com/amphp/amp.git --branch=master --depth=1
/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/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/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()
/PHP-7.4/ext/dom/
H A Dphp_dom.c506 dom_object *clone = dom_objects_set_class(intern->std.ce); in dom_objects_store_clone_obj() local
508 clone->std.handlers = dom_get_obj_handlers(); in dom_objects_store_clone_obj()
517 clone->document = intern->document; in dom_objects_store_clone_obj()
519 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc); in dom_objects_store_clone_obj()
520 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone); in dom_objects_store_clone_obj()
521 if (intern->document != clone->document) { in dom_objects_store_clone_obj()
522 dom_copy_doc_props(intern->document, clone->document); in dom_objects_store_clone_obj()
529 zend_objects_clone_members(&clone->std, &intern->std); in dom_objects_store_clone_obj()
531 return &clone->std; in dom_objects_store_clone_obj()
/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/intl/common/
H A Dcommon_date.cpp149 *tz = TimeZone::getGMT()->clone(); in intl_datetime_decompose()
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp355 df->adoptTimeZone(used_tz->clone()); in umsg_set_timezone()
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_unclonable.phpt2 Trying to clone mysqli object
17 $link_clone = clone $link;
23 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli in %s:%d
H A Dmysqli_warning_unclonable.phpt2 Trying to clone mysqli_warning object
33 $warning_clone = clone $warning;
41 Fatal error: Trying to clone an uncloneable object of class mysqli_warning in %s on line %d
H A Dmysqli_stmt_unclonable.phpt2 Trying to clone mysqli_stmt object
21 $stmt_clone = clone $stmt;
25 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_stmt in %s:%d
H A Dmysqli_result_unclonable.phpt2 Trying to clone mysqli_result object
20 $res_clone = clone $res;
24 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_result in %s:%d
H A Dmysqli_driver_unclonable.phpt2 Trying to clone mysqli_driver object
9 $driver_clone = clone $driver;
13 Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_driver in %s:%d
/PHP-7.4/ext/fileinfo/tests/
H A Dclone_serialize.phpt9 $finfo2 = clone $finfo;
24 Trying to clone an uncloneable object of class finfo
/PHP-7.4/ext/opcache/
H A Dzend_file_cache.c781 SERIALIZE_PTR(ce->clone);
1468 UNSERIALIZE_PTR(ce->clone);

Completed in 256 milliseconds

1234567