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

/PHP_TRUNK/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp93 CodePointBreakIterator* CodePointBreakIterator::clone(void) const function in class:CodePointBreakIterator
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h52 spl_foreign_clone_t clone; member in struct:_spl_other_handler
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c717 php_com_persist_helper *clone, *object = (php_com_persist_helper*)Z_OBJ_P(obj); local
719 clone = emalloc(sizeof(*object));
720 memcpy(clone, object, sizeof(*object));
722 zend_object_std_init(&clone->std, object->std.ce);
724 if (clone->ipf) {
725 IPersistFile_AddRef(clone->ipf);
727 if (clone->ips) {
728 IPersistStream_AddRef(clone->ips);
730 if (clone->ipsi) {
731 IPersistStreamInit_AddRef(clone
[all...]
/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.h184 uint32_t clone; member in struct:__anon5
/PHP_TRUNK/ext/date/
H A Dphp_date.c4325 timelib_time *clone; local
4367 clone = timelib_time_ctor();
4368 memcpy(clone, dateobj->time, sizeof(timelib_time));
4370 clone->tz_abbr = strdup(dateobj->time->tz_abbr);
4373 clone->tz_info = dateobj->time->tz_info;
4375 dpobj->start = clone;
4384 clone = timelib_time_clone(dateobj->time);
4385 dpobj->end = clone;
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c444 /* check if the stylesheet is using xsl:key, if yes, we have to clone the document _always_ before a transformation */
481 int clone; local
604 clone = 0;
605 while(params[clone]) {
606 efree(params[clone++]);
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c507 dom_object *clone = dom_objects_set_class(intern->std.ce, 0); local
509 clone->std.handlers = dom_get_obj_handlers();
510 zend_objects_clone_members(&clone->std, &intern->std);
519 clone->document = intern->document;
521 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc);
522 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, cloned_node, (void *)clone);
523 if (intern->document != clone->document) {
524 dom_copy_doc_props(intern->document, clone->document);
531 return &clone
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2045 php_sxe_object *clone; local
2049 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count);
2050 clone->document = sxe->document;
2051 if (clone->document) {
2052 clone->document->refcount++;
2053 docp = clone->document->ptr;
2056 clone->iter.isprefix = sxe->iter.isprefix;
2058 clone->iter.name = (xmlChar*)estrdup((char*)sxe->iter.name);
2061 clone->iter.nsprefix = (xmlChar*)estrdup((char*)sxe->iter.nsprefix);
2063 clone
[all...]
/PHP_TRUNK/Zend/
H A Dzend.h146 union _zend_function *clone; member in struct:_zend_class_entry
H A Dzend_vm_def.h5022 zend_function *clone; variable
5055 clone = ce ? ce->clone : NULL;
5059 zend_throw_error(zend_ce_error, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name));
5061 zend_throw_error(zend_ce_error, "Trying to clone an uncloneable object");
5067 if (ce && clone) {
5068 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
5076 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
5079 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
H A Dzend_vm_execute.h3429 zend_function *clone; local
3462 clone = ce ? ce->clone : NULL;
3466 zend_throw_error(zend_ce_error, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name));
3468 zend_throw_error(zend_ce_error, "Trying to clone an uncloneable object");
3474 if (ce && clone) {
3475 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
3483 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
3486 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) {
22946 zend_function *clone; local
29160 zend_function *clone; local
40876 zend_function *clone; local
[all...]
H A Dzend_API.c2134 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
2270 /* Look for ctor, dtor, clone
2284 clone = reg_function;
2336 scope->clone = clone;
2359 if (clone) {
2360 clone->common.fn_flags |= ZEND_ACC_CLONE;
2361 if (clone->common.fn_flags & ZEND_ACC_STATIC) {
2362 zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_name));
2364 clone
[all...]

Completed in 135 milliseconds