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

/PHP_5_6/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_6/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp91 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
/PHP_5_6/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_vm_def.h3627 zend_function *clone; variable
3642 clone = ce ? ce->clone : NULL;
3646 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name);
3648 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
3652 if (ce && clone) {
3653 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
3659 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
3662 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
H A Dzend_vm_execute.h2793 zend_function *clone; local
2808 clone = ce ? ce->clone : NULL;
2812 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name);
2814 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
2818 if (ce && clone) {
2819 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2825 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
2828 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
8160 zend_function *clone; local
13529 zend_function *clone; local
24585 zend_function *clone; local
31120 zend_function *clone; local
[all...]
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...]
/PHP_5_6/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_6/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
/PHP_5_6/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_6/ext/curl/
H A Dphp_curl.h183 zval *clone; member in struct:__anon5
H A Dinterface.c1933 zval *clone; local
1956 MAKE_STD_ZVAL(clone);
1957 ch->clone = clone;
2070 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */
2071 Z_ADDREF_P(ch->clone);
2072 dupch->clone = ch->clone;
2692 if (Z_REFCOUNT_P(ch->clone) <= 1) {
3292 if (Z_REFCOUNT_P(ch->clone) <
[all...]
/PHP_5_6/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_6/ext/date/
H A Dphp_date.c4401 timelib_time *clone; local
4443 clone = timelib_time_ctor();
4444 memcpy(clone, dateobj->time, sizeof(timelib_time));
4446 clone->tz_abbr = strdup(dateobj->time->tz_abbr);
4449 clone->tz_info = dateobj->time->tz_info;
4451 dpobj->start = clone;
4460 clone = timelib_time_clone(dateobj->time);
4461 dpobj->end = clone;
/PHP_5_6/ext/dom/
H A Dphp_dom.c601 if (obj->clone == NULL) {
602 php_error(E_ERROR, "Trying to clone an uncloneable object of class %s", Z_OBJCE_P(zobject)->name);
605 obj->clone(obj->object, &new_object TSRMLS_CC);
607 retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS_CC);
1178 dom_object *clone; local
1182 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC);
1191 clone->document = intern->document;
1193 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
1194 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C
[all...]

Completed in 82 milliseconds