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()
375 int dom_node_node_type_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_node_type_read()
386 ALLOC_ZVAL(*retval); in dom_node_node_type_read()
390 ZVAL_LONG(*retval, XML_DOCUMENT_TYPE_NODE); in dom_node_node_type_read()
392 ZVAL_LONG(*retval, nodep->type); in dom_node_node_type_read()
405 int dom_node_parent_node_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_parent_node_read()
417 ALLOC_ZVAL(*retval); in dom_node_parent_node_read()
421 ZVAL_NULL(*retval); in dom_node_parent_node_read()
425 if (NULL == (*retval = php_dom_create_object(nodeparent, &ret, *retval, obj TSRMLS_CC))) { in dom_node_parent_node_read()
439 int dom_node_child_nodes_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_child_nodes_read()
451 ALLOC_ZVAL(*retval); in dom_node_child_nodes_read()
454 ZVAL_NULL(*retval); in dom_node_child_nodes_read()
456 php_dom_create_interator(*retval, DOM_NODELIST TSRMLS_CC); in dom_node_child_nodes_read()
457 intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC); in dom_node_child_nodes_read()
471 int dom_node_first_child_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_first_child_read()
487 ALLOC_ZVAL(*retval); in dom_node_first_child_read()
490 ZVAL_NULL(*retval); in dom_node_first_child_read()
494 if (NULL == (*retval = php_dom_create_object(first, &ret, *retval, obj TSRMLS_CC))) { in dom_node_first_child_read()
508 int dom_node_last_child_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_last_child_read()
524 ALLOC_ZVAL(*retval); in dom_node_last_child_read()
527 ZVAL_NULL(*retval); in dom_node_last_child_read()
531 if (NULL == (*retval = php_dom_create_object(last, &ret, *retval, obj TSRMLS_CC))) { in dom_node_last_child_read()
545 int dom_node_previous_sibling_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_previous_sibling_read()
557 ALLOC_ZVAL(*retval); in dom_node_previous_sibling_read()
561 ZVAL_NULL(*retval); in dom_node_previous_sibling_read()
565 if (NULL == (*retval = php_dom_create_object(prevsib, &ret, *retval, obj TSRMLS_CC))) { in dom_node_previous_sibling_read()
579 int dom_node_next_sibling_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_next_sibling_read()
596 ALLOC_ZVAL(*retval); in dom_node_next_sibling_read()
598 if (NULL == (*retval = php_dom_create_object(nextsib, &ret, *retval, obj TSRMLS_CC))) { in dom_node_next_sibling_read()
612 int dom_node_attributes_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_attributes_read()
624 ALLOC_ZVAL(*retval); in dom_node_attributes_read()
627 php_dom_create_interator(*retval, DOM_NAMEDNODEMAP TSRMLS_CC); in dom_node_attributes_read()
628 intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC); in dom_node_attributes_read()
631 ZVAL_NULL(*retval); in dom_node_attributes_read()
644 int dom_node_owner_document_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_owner_document_read()
658 ALLOC_ZVAL(*retval); in dom_node_owner_document_read()
659 ZVAL_NULL(*retval); in dom_node_owner_document_read()
668 ALLOC_ZVAL(*retval); in dom_node_owner_document_read()
670 if (NULL == (*retval = php_dom_create_object((xmlNodePtr) docp, &ret, *retval, obj TSRMLS_CC))) { in dom_node_owner_document_read()
684 int dom_node_namespace_uri_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_namespace_uri_read()
709 ALLOC_ZVAL(*retval); in dom_node_namespace_uri_read()
712 ZVAL_STRING(*retval, str, 1); in dom_node_namespace_uri_read()
714 ZVAL_NULL(*retval); in dom_node_namespace_uri_read()
727 int dom_node_prefix_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_prefix_read()
754 ALLOC_ZVAL(*retval); in dom_node_prefix_read()
757 ZVAL_EMPTY_STRING(*retval); in dom_node_prefix_read()
759 ZVAL_STRING(*retval, str, 1); in dom_node_prefix_read()
842 int dom_node_local_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_local_name_read()
853 ALLOC_ZVAL(*retval); in dom_node_local_name_read()
856 ZVAL_STRING(*retval, (char *) (nodep->name), 1); in dom_node_local_name_read()
858 ZVAL_NULL(*retval); in dom_node_local_name_read()
871 int dom_node_base_uri_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_base_uri_read()
883 ALLOC_ZVAL(*retval); in dom_node_base_uri_read()
887 ZVAL_STRING(*retval, (char *) (baseuri), 1); in dom_node_base_uri_read()
890 ZVAL_NULL(*retval); in dom_node_base_uri_read()
903 int dom_node_text_content_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_node_text_content_read()
917 ALLOC_ZVAL(*retval); in dom_node_text_content_read()
920 ZVAL_STRING(*retval, str, 1); in dom_node_text_content_read()
923 ZVAL_EMPTY_STRING(*retval); in dom_node_text_content_read()