Lines Matching refs:elemp

850 static const xmlChar *dom_get_attribute_ns(dom_object *intern, xmlNodePtr elemp, const char *uri, s…  in dom_get_attribute_ns()  argument
857 xmlChar *strattr = xmlGetNsProp(elemp, BAD_CAST name, BAD_CAST uri); in dom_get_attribute_ns()
864 xmlNsPtr nsptr = dom_get_nsdecl(elemp, BAD_CAST name); in dom_get_attribute_ns()
883 xmlNodePtr elemp; in PHP_METHOD() local
893 DOM_GET_OBJ(elemp, id, xmlNodePtr, intern); in PHP_METHOD()
896 …const xmlChar *result = dom_get_attribute_ns(intern, elemp, uri, uri_len, name, &should_free_resul… in PHP_METHOD()
911 static void dom_set_attribute_ns_legacy(dom_object *intern, xmlNodePtr elemp, char *uri, size_t uri… in dom_set_attribute_ns_legacy() argument
931 nodep = (xmlNodePtr) xmlHasNsProp(elemp, BAD_CAST localname, BAD_CAST uri); in dom_set_attribute_ns_legacy()
941 nsptr = dom_get_nsdecl(elemp, NULL); in dom_set_attribute_ns_legacy()
943 nsptr = dom_get_nsdecl(elemp, BAD_CAST localname); in dom_set_attribute_ns_legacy()
946 nsptr = xmlSearchNsByHref(elemp->doc, elemp, BAD_CAST uri); in dom_set_attribute_ns_legacy()
960 nsptr = dom_get_ns_resolve_prefix_conflict(elemp, (const char *) nsptr->href); in dom_set_attribute_ns_legacy()
967 xmlNewNs(elemp, BAD_CAST value, prefix == NULL ? NULL : BAD_CAST localname); in dom_set_attribute_ns_legacy()
969 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in dom_set_attribute_ns_legacy()
971 xmlReconciliateNs(elemp->doc, elemp); in dom_set_attribute_ns_legacy()
982 xmlSetNsProp(elemp, nsptr, BAD_CAST localname, BAD_CAST value); in dom_set_attribute_ns_legacy()
990 attr = xmlHasProp(elemp, BAD_CAST localname); in dom_set_attribute_ns_legacy()
994 xmlSetProp(elemp, BAD_CAST localname, BAD_CAST value); in dom_set_attribute_ns_legacy()
1010 static void dom_set_attribute_ns_modern(dom_object *intern, xmlNodePtr elemp, zend_string *uri, con… in dom_set_attribute_ns_modern() argument
1018 xmlAttrPtr attr = xmlSetNsProp(elemp, ns, localname, BAD_CAST value); in dom_set_attribute_ns_modern()
1039 xmlNodePtr elemp; in PHP_METHOD() local
1051 DOM_GET_OBJ(elemp, id, xmlNodePtr, intern); in PHP_METHOD()
1054 dom_set_attribute_ns_modern(intern, elemp, uri, name, value); in PHP_METHOD()
1056 …dom_set_attribute_ns_legacy(intern, elemp, uri ? ZSTR_VAL(uri) : NULL, uri ? ZSTR_LEN(uri) : 0, ZS… in PHP_METHOD()
1180 xmlNodePtr elemp; in PHP_METHOD() local
1191 DOM_GET_OBJ(elemp, id, xmlNodePtr, intern); in PHP_METHOD()
1198 attrp = xmlHasNsProp(elemp, BAD_CAST name, BAD_CAST uri); in PHP_METHOD()
1203 nsptr = dom_get_nsdecl(elemp, BAD_CAST name); in PHP_METHOD()
1207 (void) php_dom_create_fake_namespace_decl(elemp, nsptr, return_value, intern); in PHP_METHOD()
1318 xmlNodePtr elemp; in PHP_METHOD() local
1328 DOM_GET_OBJ(elemp, id, xmlNodePtr, intern); in PHP_METHOD()
1331 …const xmlChar *result = dom_get_attribute_ns(intern, elemp, uri, uri_len, name, &should_free_resul… in PHP_METHOD()
1391 xmlNodePtr elemp; in PHP_METHOD() local
1403 DOM_GET_OBJ(elemp, id, xmlNodePtr, intern); in PHP_METHOD()
1405 attrp = xmlHasNsProp(elemp, BAD_CAST name, BAD_CAST uri); in PHP_METHOD()