| /PHP_5_3/ext/spl/examples/ |
| H A D | keyfilter.inc | 60 // disallow clone
|
| /PHP_5_3/ext/spl/internal/ |
| H A D | filteriterator.inc | 105 // disallow clone
|
| /PHP_5_3/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_3/ext/com_dotnet/ |
| H A D | com_persist.c | 726 php_com_persist_helper *clone, *object = (php_com_persist_helper*)obj; local 728 clone = emalloc(sizeof(*object)); 729 memcpy(clone, object, sizeof(*object)); 730 *clone_ptr = clone; 732 zend_object_std_init(&clone->std, object->std.ce TSRMLS_CC); 734 if (clone->ipf) { 735 IPersistFile_AddRef(clone->ipf); 737 if (clone->ips) { 738 IPersistStream_AddRef(clone->ips); 740 if (clone [all...] |
| /PHP_5_3/ext/curl/ |
| H A D | interface.c | 1529 zval *clone; local 1556 MAKE_STD_ZVAL(clone); 1557 ch->clone = clone; 1677 /* Keep track of cloned copies to avoid invoking curl destructors for every clone */ 1678 Z_ADDREF_P(ch->clone); 1679 dupch->clone = ch->clone; 2634 if (Z_REFCOUNT_P(ch->clone) <= 1) { 2639 FREE_ZVAL(ch->clone); [all...] |
| H A D | php_curl.h | 142 zval *clone; member in struct:__anon21
|
| /PHP_5_3/ext/dom/ |
| H A D | php_dom.c | 601 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); 1171 dom_object *clone; local 1175 clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC); 1184 clone->document = intern->document; 1186 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC); 1187 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_C [all...] |
| /PHP_5_3/ext/simplexml/ |
| H A D | simplexml.c | 1943 php_sxe_object *clone; local 1947 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC); 1948 clone->document = sxe->document; 1949 if (clone->document) { 1950 clone->document->refcount++; 1951 docp = clone->document->ptr; 1954 clone->iter.isprefix = sxe->iter.isprefix; 1956 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name); 1959 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix); 1961 clone [all...] |
| /PHP_5_3/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 379 if (intern->oth_handler && intern->oth_handler->clone) { 380 intern->oth_handler->clone(source, intern TSRMLS_CC);
|
| /PHP_5_3/ext/xsl/ |
| H A D | xsltprocessor.c | 437 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */ 474 int clone; local 599 clone = 0; 600 while(params[clone]) { 601 efree(params[clone++]);
|
| /PHP_5_3/Zend/ |
| H A D | zend.h | 437 union _zend_function *clone; member in struct:_zend_class_entry
|
| H A D | zend_API.c | 1807 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; local 1908 /* Look for ctor, dtor, clone 1922 clone = reg_function; 1967 scope->clone = clone; 1989 if (clone) { 1990 clone->common.fn_flags |= ZEND_ACC_CLONE; 1991 if (clone->common.fn_flags & ZEND_ACC_STATIC) { 1992 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name); 1994 clone [all...] |
| H A D | zend_objects.c | 151 if (old_object->ce->clone) { 159 zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_NAME, NULL); 172 /* 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) 126 obj->clone = clone; 254 if (obj->clone == NULL) { 255 zend_error(E_CORE_ERROR, "Trying to clone uncloneable object of class %s", Z_OBJCE_P(zobject)->name); 258 obj->clone(obj->object, &new_object TSRMLS_CC); 261 retval.handle = zend_objects_store_put(new_object, obj->dtor, obj->free_storage, obj->clone TSRMLS_CC);
|
| H A D | zend_objects_API.h | 39 zend_objects_store_clone_t clone; member in struct:_zend_object_store_bucket::_store_bucket::_store_object 65 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_compile.c | 1292 CG(active_class_entry)->clone = (zend_function *) CG(active_op_array); 1602 zend_error(E_COMPILE_ERROR, "Cannot call __clone() method on objects - use 'clone $obj' instead"); 2044 /* clone */ 2457 if (!ce->clone) { 2458 ce->clone = ce->parent->clone; 3523 if (ce->clone) { 3524 ce->clone->common.fn_flags |= ZEND_ACC_CLONE; 3525 if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { 3526 zend_error(E_COMPILE_ERROR, "Clone method %s::%s() cannot be static", ce->name, ce->clone [all...] |
| H A D | zend_vm_def.h | 2961 zend_function *clone; variable 2971 clone = ce ? ce->clone : NULL; 2975 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name); 2977 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object"); 2981 if (ce && clone) { 2982 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 2988 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 2991 if (!zend_check_protected(clone->common.scope, EG(scope))) {
|
| H A D | zend_vm_execute.h | 1784 zend_function *clone; local 1794 clone = ce ? ce->clone : NULL; 1798 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name); 1800 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object"); 1804 if (ce && clone) { 1805 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) { 1811 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) { 1814 if (!zend_check_protected(clone->common.scope, EG(scope))) { 5080 zend_function *clone; local 8455 zend_function *clone; local 16995 zend_function *clone; local 22360 zend_function *clone; local [all...] |
| H A D | zend_API.h | 181 class_container.clone = NULL; \
|
| /PHP_5_3/ext/date/ |
| H A D | php_date.c | 3860 timelib_time *clone; local 3901 clone = timelib_time_ctor(); 3902 memcpy(clone, dateobj->time, sizeof(timelib_time)); 3904 clone->tz_abbr = strdup(dateobj->time->tz_abbr); 3907 clone->tz_info = dateobj->time->tz_info; 3909 dpobj->start = clone; 3917 clone = timelib_time_clone(dateobj->time); 3918 dpobj->end = clone;
|