Lines Matching refs:retval

199 int dom_node_node_name_read(dom_object *obj, zval **retval TSRMLS_DC)  in dom_node_node_name_read()
265 ALLOC_ZVAL(*retval); in dom_node_node_name_read()
268 ZVAL_STRING(*retval, str, 1); in dom_node_node_name_read()
270 ZVAL_EMPTY_STRING(*retval); in dom_node_node_name_read()
288 int dom_node_node_value_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_node_value_read()
318 ALLOC_ZVAL(*retval); in dom_node_node_value_read()
321 ZVAL_STRING(*retval, str, 1); in dom_node_node_value_read()
324 ZVAL_NULL(*retval); in dom_node_node_value_read()
382 int dom_node_node_type_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_node_type_read()
393 ALLOC_ZVAL(*retval); in dom_node_node_type_read()
397 ZVAL_LONG(*retval, XML_DOCUMENT_TYPE_NODE); in dom_node_node_type_read()
399 ZVAL_LONG(*retval, nodep->type); in dom_node_node_type_read()
412 int dom_node_parent_node_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_parent_node_read()
424 ALLOC_ZVAL(*retval); in dom_node_parent_node_read()
428 ZVAL_NULL(*retval); in dom_node_parent_node_read()
432 if (NULL == (*retval = php_dom_create_object(nodeparent, &ret, *retval, obj TSRMLS_CC))) { in dom_node_parent_node_read()
446 int dom_node_child_nodes_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_child_nodes_read()
458 ALLOC_ZVAL(*retval); in dom_node_child_nodes_read()
461 ZVAL_NULL(*retval); in dom_node_child_nodes_read()
463 php_dom_create_interator(*retval, DOM_NODELIST TSRMLS_CC); in dom_node_child_nodes_read()
464 intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC); in dom_node_child_nodes_read()
478 int dom_node_first_child_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_first_child_read()
494 ALLOC_ZVAL(*retval); in dom_node_first_child_read()
497 ZVAL_NULL(*retval); in dom_node_first_child_read()
501 if (NULL == (*retval = php_dom_create_object(first, &ret, *retval, obj TSRMLS_CC))) { in dom_node_first_child_read()
515 int dom_node_last_child_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_last_child_read()
531 ALLOC_ZVAL(*retval); in dom_node_last_child_read()
534 ZVAL_NULL(*retval); in dom_node_last_child_read()
538 if (NULL == (*retval = php_dom_create_object(last, &ret, *retval, obj TSRMLS_CC))) { in dom_node_last_child_read()
552 int dom_node_previous_sibling_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_previous_sibling_read()
564 ALLOC_ZVAL(*retval); in dom_node_previous_sibling_read()
568 ZVAL_NULL(*retval); in dom_node_previous_sibling_read()
572 if (NULL == (*retval = php_dom_create_object(prevsib, &ret, *retval, obj TSRMLS_CC))) { in dom_node_previous_sibling_read()
586 int dom_node_next_sibling_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_next_sibling_read()
603 ALLOC_ZVAL(*retval); in dom_node_next_sibling_read()
605 if (NULL == (*retval = php_dom_create_object(nextsib, &ret, *retval, obj TSRMLS_CC))) { in dom_node_next_sibling_read()
619 int dom_node_attributes_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_attributes_read()
631 ALLOC_ZVAL(*retval); in dom_node_attributes_read()
634 php_dom_create_interator(*retval, DOM_NAMEDNODEMAP TSRMLS_CC); in dom_node_attributes_read()
635 intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC); in dom_node_attributes_read()
638 ZVAL_NULL(*retval); in dom_node_attributes_read()
651 int dom_node_owner_document_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_owner_document_read()
665 ALLOC_ZVAL(*retval); in dom_node_owner_document_read()
666 ZVAL_NULL(*retval); in dom_node_owner_document_read()
675 ALLOC_ZVAL(*retval); in dom_node_owner_document_read()
677 if (NULL == (*retval = php_dom_create_object((xmlNodePtr) docp, &ret, *retval, obj TSRMLS_CC))) { in dom_node_owner_document_read()
691 int dom_node_namespace_uri_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_namespace_uri_read()
716 ALLOC_ZVAL(*retval); in dom_node_namespace_uri_read()
719 ZVAL_STRING(*retval, str, 1); in dom_node_namespace_uri_read()
721 ZVAL_NULL(*retval); in dom_node_namespace_uri_read()
734 int dom_node_prefix_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_prefix_read()
761 ALLOC_ZVAL(*retval); in dom_node_prefix_read()
764 ZVAL_EMPTY_STRING(*retval); in dom_node_prefix_read()
766 ZVAL_STRING(*retval, str, 1); in dom_node_prefix_read()
856 int dom_node_local_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_local_name_read()
867 ALLOC_ZVAL(*retval); in dom_node_local_name_read()
870 ZVAL_STRING(*retval, (char *) (nodep->name), 1); in dom_node_local_name_read()
872 ZVAL_NULL(*retval); in dom_node_local_name_read()
885 int dom_node_base_uri_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_base_uri_read()
897 ALLOC_ZVAL(*retval); in dom_node_base_uri_read()
901 ZVAL_STRING(*retval, (char *) (baseuri), 1); in dom_node_base_uri_read()
904 ZVAL_NULL(*retval); in dom_node_base_uri_read()
917 int dom_node_text_content_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_text_content_read()
931 ALLOC_ZVAL(*retval); in dom_node_text_content_read()
934 ZVAL_STRING(*retval, str, 1); in dom_node_text_content_read()
937 ZVAL_EMPTY_STRING(*retval); in dom_node_text_content_read()