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

/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/ext/curl/
H A Dphp_curl.h182 uint32_t clone; member in struct:__anon35
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c518 dom_object *clone = dom_objects_set_class(intern->std.ce, 0 TSRMLS_CC); local
520 clone->std.handlers = dom_get_obj_handlers(TSRMLS_C);
521 zend_objects_clone_members(&clone->std, &intern->std TSRMLS_CC);
530 clone->document = intern->document;
532 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
533 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone TSRMLS_CC);
534 if (intern->document != clone->document) {
535 dom_copy_doc_props(intern->document, clone->document);
542 return &clone
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp93 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c718 php_com_persist_helper *clone, *object = (php_com_persist_helper*)Z_OBJ_P(obj); local
720 clone = emalloc(sizeof(*object));
721 memcpy(clone, object, sizeof(*object));
723 zend_object_std_init(&clone->std, object->std.ce TSRMLS_CC);
725 if (clone->ipf) {
726 IPersistFile_AddRef(clone->ipf);
728 if (clone->ips) {
729 IPersistStream_AddRef(clone->ips);
731 if (clone->ipsi) {
732 IPersistStreamInit_AddRef(clone
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1978 php_sxe_object *clone; local
1982 clone = php_sxe_object_new(sxe->zo.ce TSRMLS_CC);
1983 clone->document = sxe->document;
1984 if (clone->document) {
1985 clone->document->refcount++;
1986 docp = clone->document->ptr;
1989 clone->iter.isprefix = sxe->iter.isprefix;
1991 clone->iter.name = xmlStrdup((xmlChar *)sxe->iter.name);
1994 clone->iter.nsprefix = xmlStrdup((xmlChar *)sxe->iter.nsprefix);
1996 clone
[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.c445 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */
482 int clone; local
622 clone = 0;
623 while(params[clone]) {
624 efree(params[clone++]);
/PHP_TRUNK/ext/date/
H A Dphp_date.c4341 timelib_time *clone; local
4383 clone = timelib_time_ctor();
4384 memcpy(clone, dateobj->time, sizeof(timelib_time));
4386 clone->tz_abbr = strdup(dateobj->time->tz_abbr);
4389 clone->tz_info = dateobj->time->tz_info;
4391 dpobj->start = clone;
4400 clone = timelib_time_clone(dateobj->time);
4401 dpobj->end = clone;
/PHP_TRUNK/Zend/
H A Dzend_API.c2169 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
2292 /* Look for ctor, dtor, clone
2306 clone = reg_function;
2354 scope->clone = clone;
2377 if (clone) {
2378 clone->common.fn_flags |= ZEND_ACC_CLONE;
2379 if (clone->common.fn_flags & ZEND_ACC_STATIC) {
2380 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name->val, clone->common.function_name->val);
2382 clone
[all...]
H A Dzend.h497 union _zend_function *clone; member in struct:_zend_class_entry
H A Dzend_vm_def.h3748 zend_function *clone; variable
3763 clone = ce ? ce->clone : NULL;
3767 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name->val);
3769 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
3773 if (ce && clone) {
3774 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
3780 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
3783 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EX(scope)))) {
H A Dzend_vm_execute.h2772 zend_function *clone; local
2787 clone = ce ? ce->clone : NULL;
2791 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object of class %s", ce->name->val);
2793 zend_error_noreturn(E_ERROR, "Trying to clone an uncloneable object");
2797 if (ce && clone) {
2798 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
2804 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
2807 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EX(scope)))) {
9492 zend_function *clone; local
16126 zend_function *clone; local
26988 zend_function *clone; local
33568 zend_function *clone; local
[all...]

Completed in 81 milliseconds