Searched defs:clone (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp91 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
/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/Zend/
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);
H A Dzend.h497 union _zend_function *clone; member in struct:_zend_class_entry
H A Dzend_API.c2037 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
2157 /* Look for ctor, dtor, clone
2171 clone = reg_function;
2218 scope->clone = clone;
2241 if (clone) {
2242 clone->common.fn_flags |= ZEND_ACC_CLONE;
2243 if (clone->common.fn_flags & ZEND_ACC_STATIC) {
2244 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name);
2246 clone
[all...]
H A Dzend_vm_def.h3620 zend_function *clone; variable
3635 clone = ce ? ce->clone : NULL;
3639 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name);
3641 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
3645 if (ce && clone) {
3646 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
3652 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
3655 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
H A Dzend_vm_execute.h2783 zend_function *clone; local
2798 clone = ce ? ce->clone : NULL;
2802 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name);
2804 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
2808 if (ce && clone) {
2809 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2815 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
2818 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
8137 zend_function *clone; local
13506 zend_function *clone; local
24565 zend_function *clone; local
31103 zend_function *clone; local
[all...]
/PHP_TRUNK/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_TRUNK/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...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
/PHP_TRUNK/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_TRUNK/ext/curl/
H A Dphp_curl.h183 zval *clone; member in struct:__anon5
H A Dinterface.c1922 zval *clone; local
1945 MAKE_STD_ZVAL(clone);
1946 ch->clone = clone;
2059 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */
2060 Z_ADDREF_P(ch->clone);
2061 dupch->clone = ch->clone;
2651 if (Z_REFCOUNT_P(ch->clone) <= 1) {
3251 if (Z_REFCOUNT_P(ch->clone) <
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1985 php_sxe_object *clone; local
1989 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC);
1990 clone->document = sxe->document;
1991 if (clone->document) {
1992 clone->document->refcount++;
1993 docp = clone->document->ptr;
1996 clone->iter.isprefix = sxe->iter.isprefix;
1998 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name);
2001 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix);
2003 clone
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.c4387 timelib_time *clone; local
4429 clone = timelib_time_ctor();
4430 memcpy(clone, dateobj->time, sizeof(timelib_time));
4432 clone->tz_abbr = strdup(dateobj->time->tz_abbr);
4435 clone->tz_info = dateobj->time->tz_info;
4437 dpobj->start = clone;
4446 clone = timelib_time_clone(dateobj->time);
4447 dpobj->end = clone;

Completed in 75 milliseconds