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

12

/PHP_5_5/ext/spl/examples/
H A Dkeyfilter.inc60 // disallow clone
/PHP_5_5/ext/spl/internal/
H A Dfilteriterator.inc105 // disallow clone
/PHP_5_5/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp91 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
H A Dbreakiterator_class.cpp95 /* {{{ clone handler for BreakIterator */
115 new_biter = bio_orig->biter->clone();
121 "Could not clone BreakIterator", 0 TSRMLS_CC);
133 zend_throw_exception(NULL, "Cannot clone unconstructed BreakIterator", 0 TSRMLS_CC);
H A Dcodepointiterator_internal.h41 virtual CodePointBreakIterator* clone(void) const;
/PHP_5_5/ext/intl/common/
H A Dcommon_date.cpp158 *tz = TimeZone::getGMT()->clone();
/PHP_5_5/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp86 TimeZone *tz_clone = tz.clone();
188 Calendar *cal_clone = cal->clone();
235 TimeZone *old_timezone = fetch_datefmt(dfo)->getTimeZone().clone();
245 cal = cal->clone();
H A Ddateformat_format_object.cpp147 timeZone = obj_cal->getTimeZone().clone();
156 cal = obj_cal->clone();
/PHP_5_5/ext/intl/timezone/
H A Dtimezone_class.cpp160 timeZone = to->utimezone->clone();
162 spprintf(&message, 0, "%s: could not clone TimeZone", func);
217 /* {{{ clone handler for TimeZone */
238 newTimeZone = to_orig->utimezone->clone();
245 "Could not clone IntlTimeZone", 0 TSRMLS_CC);
253 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0 TSRMLS_CC);
/PHP_5_5/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_5_5/ext/intl/calendar/
H A Dcalendar_class.cpp78 /* {{{ clone handler for Calendar */
98 newCalendar = co_orig->ucal->clone();
104 "Could not clone IntlCalendar", 0 TSRMLS_CC);
112 zend_throw_exception(NULL, "Cannot clone unconstructed IntlCalendar", 0 TSRMLS_CC);
H A Dcalendar_methods.cpp782 TimeZone *tz = co->ucal->getTimeZone().clone();
785 "intlcal_get_time_zone: could not clone TimeZone", 0 TSRMLS_CC);
1192 timeZone = TimeZone::getGMT()->clone();
/PHP_5_5/ext/opcache/
H A Dzend_persist.c616 if (ce->clone) {
617 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone);
618 ce->clone->op_array.refcount++;
/PHP_5_5/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
/PHP_5_5/ext/xsl/
H A Dxsltprocessor.c451 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */
488 int clone; local
629 clone = 0;
630 while(params[clone]) {
631 efree(params[clone++]);
/PHP_5_5/Zend/
H A Dzend_API.c2035 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; local
2149 /* Look for ctor, dtor, clone
2163 clone = reg_function;
2208 scope->clone = clone;
2230 if (clone) {
2231 clone->common.fn_flags |= ZEND_ACC_CLONE;
2232 if (clone->common.fn_flags & ZEND_ACC_STATIC) {
2233 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name);
2235 clone
[all...]
H A Dzend_objects.c204 if (old_object->ce->clone) {
212 zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_NAME, NULL);
225 /* assume that create isn't overwritten, so when clone depends on the
H A Dzend_objects_API.c107 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t free_storage, zend_objects_store_clone_t clone TSRMLS_DC)
132 obj->clone = clone;
260 if (obj->clone == NULL) {
261 zend_error(E_CORE_ERROR, "Trying to clone uncloneable object of class %s", Z_OBJCE_P(zobject)->name);
264 obj->clone(obj->object, &new_object TSRMLS_CC);
267 retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS_CC);
H A Dzend_objects_API.h40 zend_objects_store_clone_t clone; member in struct:_zend_object_store_bucket::_store_bucket::_store_object
66 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t storage, zend_objects_store_clone_t clone TSRMLS_DC);
/PHP_5_5/ext/com_dotnet/
H A Dcom_persist.c714 php_com_persist_helper *clone, *object = (php_com_persist_helper*)obj; local
716 clone = emalloc(sizeof(*object));
717 memcpy(clone, object, sizeof(*object));
718 *clone_ptr = clone;
720 zend_object_std_init(&clone->std, object->std.ce TSRMLS_CC);
722 if (clone->ipf) {
723 IPersistFile_AddRef(clone->ipf);
725 if (clone->ips) {
726 IPersistStream_AddRef(clone->ips);
728 if (clone
[all...]
/PHP_5_5/ext/curl/
H A Dphp_curl.h183 zval *clone; member in struct:__anon5
H A Dinterface.c1927 zval *clone; local
1950 MAKE_STD_ZVAL(clone);
1951 ch->clone = clone;
2064 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */
2065 Z_ADDREF_P(ch->clone);
2066 dupch->clone = ch->clone;
2685 if (Z_REFCOUNT_P(ch->clone) <= 1) {
3285 if (Z_REFCOUNT_P(ch->clone) <
[all...]
/PHP_5_5/ext/simplexml/
H A Dsimplexml.c1991 php_sxe_object *clone; local
1995 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC);
1996 clone->document = sxe->document;
1997 if (clone->document) {
1998 clone->document->refcount++;
1999 docp = clone->document->ptr;
2002 clone->iter.isprefix = sxe->iter.isprefix;
2004 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name);
2007 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix);
2009 clone
[all...]
/PHP_5_5/ext/date/
H A Dphp_date.c4376 timelib_time *clone; local
4418 clone = timelib_time_ctor();
4419 memcpy(clone, dateobj->time, sizeof(timelib_time));
4421 clone->tz_abbr = strdup(dateobj->time->tz_abbr);
4424 clone->tz_info = dateobj->time->tz_info;
4426 dpobj->start = clone;
4435 clone = timelib_time_clone(dateobj->time);
4436 dpobj->end = clone;
/PHP_5_5/ext/dom/
H A Dphp_dom.c600 if (obj->clone == NULL) {
601 php_error(E_ERROR, "Trying to clone an uncloneable object of class %s", Z_OBJCE_P(zobject)->name);
604 obj->clone(obj->object, &new_object TSRMLS_CC);
606 retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS_CC);
1173 dom_object *clone; local
1177 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC);
1186 clone->document = intern->document;
1188 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
1189 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C
[all...]

Completed in 94 milliseconds

12