| /PHP_5_4/ext/spl/examples/ |
| H A D | keyfilter.inc | 60 // disallow clone
|
| /PHP_5_4/ext/spl/internal/ |
| H A D | filteriterator.inc | 105 // disallow clone
|
| /PHP_5_4/ext/mbstring/oniguruma/ |
| H A D | regexec.c | 130 OnigCaptureTreeNode *clone, *child; local 132 clone = history_node_new(); 133 CHECK_NULL_RETURN(clone); 135 clone->beg = node->beg; 136 clone->end = node->end; 140 history_tree_free(clone); 143 history_tree_add_child(clone, child); 146 return clone;
|
| /PHP_5_4/Zend/ |
| H A D | zend_objects.c | 204 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 D | zend_objects_API.c | 102 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) 127 obj->clone = clone; 255 if (obj->clone == NULL) { 256 zend_error(E_CORE_ERROR, "Trying to clone uncloneable object of class %s", Z_OBJCE_P(zobject)->name); 259 obj->clone(obj->object, &new_object TSRMLS_CC); 262 retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS_CC);
|
| H A D | zend_objects_API.h | 40 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 D | zend.h | 485 union _zend_function *clone; member in struct:_zend_class_entry
|
| H A D | zend_vm_def.h | 3395 zend_function *clone; variable 3407 clone = ce ? ce->clone : NULL; 3411 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name); 3413 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object"); 3417 if (ce && clone) { 3418 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 3424 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 3427 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
|
| H A D | zend_vm_execute.h | 2415 zend_function *clone; local 2427 clone = ce ? ce->clone : NULL; 2431 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name); 2433 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object"); 2437 if (ce && clone) { 2438 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 2444 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 2447 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { 6817 zend_function *clone; local 11235 zend_function *clone; local 21436 zend_function *clone; local 27177 zend_function *clone; local [all...] |
| H A D | zend_API.h | 185 class_container.clone = NULL; \
|
| H A D | zend_API.c | 1972 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; local 2086 /* Look for ctor, dtor, clone 2100 clone = reg_function; 2145 scope->clone = clone; 2167 if (clone) { 2168 clone->common.fn_flags |= ZEND_ACC_CLONE; 2169 if (clone->common.fn_flags & ZEND_ACC_STATIC) { 2170 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name); 2172 clone [all...] |
| H A D | zend_compile.c | 1641 CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); 1972 zend_error(E_COMPILE_ERROR, "Cannot call __clone() method on objects - use 'clone $obj' instead"); 2430 /* clone */ 2844 if (!ce->clone) { 2845 ce->clone = ce->parent->clone; 3647 ce->clone = fe; fe->common.fn_flags |= ZEND_ACC_CLONE; 4912 if (ce->clone) { 4913 ce->clone->common.fn_flags |= ZEND_ACC_CLONE; 4914 if (ce->clone [all...] |
| /PHP_5_4/ext/com_dotnet/ |
| H A D | com_persist.c | 714 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_4/ext/curl/ |
| H A D | php_curl.h | 142 zval *clone; member in struct:__anon38
|
| H A D | interface.c | 1535 zval *clone; local 1562 MAKE_STD_ZVAL(clone); 1563 ch->clone = clone; 1681 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */ 1682 Z_ADDREF_P(ch->clone); 1683 dupch->clone = ch->clone; 2134 if (Z_REFCOUNT_P(ch->clone) <= 1) { 2681 if (Z_REFCOUNT_P(ch->clone) < [all...] |
| /PHP_5_4/ext/dom/ |
| H A D | php_dom.c | 600 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); 1169 dom_object *clone; local 1173 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC); 1182 clone->document = intern->document; 1184 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC); 1185 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C [all...] |
| /PHP_5_4/ext/simplexml/ |
| H A D | simplexml.c | 1985 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_5_4/ext/spl/ |
| H A D | spl_directory.h | 52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
|
| H A D | spl_directory.c | 144 - clone 378 if (intern->oth_handler && intern->oth_handler->clone) { 379 intern->oth_handler->clone(source, intern TSRMLS_CC);
|
| /PHP_5_4/ext/xsl/ |
| H A D | xsltprocessor.c | 448 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */ 485 int clone; local 626 clone = 0; 627 while(params[clone]) { 628 efree(params[clone++]);
|
| /PHP_5_4/ext/reflection/ |
| H A D | php_reflection.c | 1508 _DO_THROW("Cannot clone object using __clone()"); 4100 if (ce->clone) { 4101 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); 4106 if (ce->clone) { 4107 RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC);
|
| /PHP_5_4/ext/date/ |
| H A D | php_date.c | 3890 timelib_time *clone; local 3931 clone = timelib_time_ctor(); 3932 memcpy(clone, dateobj->time, sizeof(timelib_time)); 3934 clone->tz_abbr = strdup(dateobj->time->tz_abbr); 3937 clone->tz_info = dateobj->time->tz_info; 3939 dpobj->start = clone; 3947 clone = timelib_time_clone(dateobj->time); 3948 dpobj->end = clone;
|