Searched refs:clone (Results 1 - 25 of 34) sorted by relevance

12

/PHP_TRUNK/ext/spl/examples/
H A Dkeyfilter.inc60 // disallow clone
/PHP_TRUNK/ext/spl/internal/
H A Dfilteriterator.inc105 // disallow clone
/PHP_TRUNK/sapi/phpdbg/travis/
H A Dci.sh2 git clone https://github.com/php/php-src
7 git clone https://github.com/krakjoe/phpdbg.git
/PHP_TRUNK/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp93 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
H A Dcodepointiterator_internal.h41 virtual CodePointBreakIterator* clone(void) const;
H A Dbreakiterator_class.cpp97 /* {{{ clone handler for BreakIterator */
115 new_biter = bio_orig->biter->clone();
121 "Could not clone BreakIterator", 0);
130 zend_throw_exception(NULL, "Cannot clone unconstructed BreakIterator", 0);
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp156 *tz = TimeZone::getGMT()->clone();
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c717 php_com_persist_helper *clone, *object = (php_com_persist_helper*)Z_OBJ_P(obj); local
719 clone = emalloc(sizeof(*object));
720 memcpy(clone, object, sizeof(*object));
722 zend_object_std_init(&clone->std, object->std.ce);
724 if (clone->ipf) {
725 IPersistFile_AddRef(clone->ipf);
727 if (clone->ips) {
728 IPersistStream_AddRef(clone->ips);
730 if (clone->ipsi) {
731 IPersistStreamInit_AddRef(clone
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c132 OnigCaptureTreeNode *clone, *child; local
134 clone = history_node_new();
135 CHECK_NULL_RETURN(clone);
137 clone->beg = node->beg;
138 clone->end = node->end;
142 history_tree_free(clone);
145 history_tree_add_child(clone, child);
148 return clone;
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_methods.cpp781 TimeZone *tz = co->ucal->getTimeZone().clone();
784 "intlcal_get_time_zone: could not clone TimeZone", 0);
1191 timeZone = TimeZone::getGMT()->clone();
H A Dcalendar_class.cpp77 /* {{{ clone handler for Calendar */
96 newCalendar = co_orig->ucal->clone();
102 "Could not clone IntlCalendar", 0);
110 zend_throw_exception(NULL, "Cannot clone unconstructed IntlCalendar", 0);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp86 TimeZone *tz_clone = tz.clone();
175 Calendar *cal_clone = cal->clone();
222 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone();
232 cal = cal->clone();
H A Ddateformat_format_object.cpp160 timeZone = obj_cal->getTimeZone().clone();
169 cal = obj_cal->clone();
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp158 timeZone = to->utimezone->clone();
160 spprintf(&message, 0, "%s: could not clone TimeZone", func);
221 /* {{{ clone handler for TimeZone */
240 newTimeZone = to_orig->utimezone->clone();
247 "Could not clone IntlTimeZone", 0);
255 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0);
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c507 dom_object *clone = dom_objects_set_class(intern->std.ce, 0); local
509 clone->std.handlers = dom_get_obj_handlers();
510 zend_objects_clone_members(&clone->std, &intern->std);
519 clone->document = intern->document;
521 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc);
522 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone);
523 if (intern->document != clone->document) {
524 dom_copy_doc_props(intern->document, clone->document);
531 return &clone
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c825 if (ce->clone) {
826 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c444 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */
481 int clone; local
604 clone = 0;
605 while(params[clone]) {
606 efree(params[clone++]);
/PHP_TRUNK/Zend/
H A Dzend_API.c2127 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL, *__debugInfo = NULL; local
2263 /* Look for ctor, dtor, clone
2277 clone = reg_function;
2329 scope->clone = clone;
2352 if (clone) {
2353 clone->common.fn_flags |= ZEND_ACC_CLONE;
2354 if (clone->common.fn_flags & ZEND_ACC_STATIC) {
2355 zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_name));
2357 clone
[all...]
H A Dzend_objects.c182 } else if (old_object->properties && !old_object->ce->clone) {
225 if (old_object->ce->clone) {
230 zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_NAME, NULL);
240 /* assume that create isn't overwritten, so when clone depends on the
H A Dzend.h149 union _zend_function *clone; member in struct:_zend_class_entry
H A Dzend_inheritance.c126 if (EXPECTED(!ce->clone)) {
127 ce->clone = ce->parent->clone;
1030 ce->clone = fe; fe->common.fn_flags |= ZEND_ACC_CLONE;
/PHP_TRUNK/ext/curl/
H A Dinterface.c1742 ch->clone = emalloc(sizeof(uint32_t));
1743 *ch->clone = 1;
1998 efree(dupch->clone);
1999 dupch->clone = ch->clone;
2001 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */
2002 (*ch->clone)++;
2586 if ((*ch->clone) == 1) {
3196 if (--(*ch->clone) == 0) {
3202 efree(ch->clone);
[all...]
H A Dphp_curl.h184 uint32_t* clone; member in struct:__anon5
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2045 php_sxe_object *clone; local
2049 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count);
2050 clone->document = sxe->document;
2051 if (clone->document) {
2052 clone->document->refcount++;
2053 docp = clone->document->ptr;
2056 clone->iter.isprefix = sxe->iter.isprefix;
2058 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name);
2061 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix);
2063 clone
[all...]

Completed in 89 milliseconds

12