Lines Matching refs:uri

32 #define DECLARE_NS_TOKEN(name, uri)			\  argument
34 char val[sizeof(uri)]; \
36 } decl_##name = { uri, 0.0 }; \
52 …le *php_dom_libxml_ns_mapper_ensure_prefix_map(php_dom_libxml_ns_mapper *mapper, zend_string **uri) in php_dom_libxml_ns_mapper_ensure_prefix_map() argument
54 zval *zv = zend_hash_find(&mapper->uri_to_prefix_map, *uri); in php_dom_libxml_ns_mapper_ensure_prefix_map()
61 zend_hash_add_new(&mapper->uri_to_prefix_map, *uri, &zv_prefix_map); in php_dom_libxml_ns_mapper_ensure_prefix_map()
68 *uri = bucket->key; in php_dom_libxml_ns_mapper_ensure_prefix_map()
74 …ure_cached_ns(php_dom_libxml_ns_mapper *mapper, xmlNsPtr *ptr, const char *uri, size_t length, con… in php_dom_libxml_ns_mapper_ensure_cached_ns() argument
80 zend_string *uri_str = zend_string_init(uri, length, false); in php_dom_libxml_ns_mapper_ensure_cached_ns()
97 static xmlNsPtr dom_create_owned_ns(zend_string *prefix, zend_string *uri) in dom_create_owned_ns() argument
100 ZEND_ASSERT(uri != NULL); in dom_create_owned_ns()
107 ns->href = BAD_CAST ZSTR_VAL(uri); in dom_create_owned_ns()
114 …om_libxml_ns_mapper_get_ns(php_dom_libxml_ns_mapper *mapper, zend_string *prefix, zend_string *uri) in php_dom_libxml_ns_mapper_get_ns() argument
116 if (uri == NULL) { in php_dom_libxml_ns_mapper_get_ns()
117 uri = zend_empty_string; in php_dom_libxml_ns_mapper_get_ns()
124 if (ZSTR_LEN(prefix) == 0 && ZSTR_LEN(uri) == 0) { in php_dom_libxml_ns_mapper_get_ns()
128 HashTable *prefix_map = php_dom_libxml_ns_mapper_ensure_prefix_map(mapper, &uri); in php_dom_libxml_ns_mapper_get_ns()
134 xmlNsPtr ns = dom_create_owned_ns(prefix, uri); in php_dom_libxml_ns_mapper_get_ns()
143 …tring(php_dom_libxml_ns_mapper *mapper, const xmlChar *prefix, size_t prefix_len, zend_string *uri) in php_dom_libxml_ns_mapper_get_ns_raw_prefix_string() argument
148 ns = php_dom_libxml_ns_mapper_get_ns(mapper, zend_empty_string, uri); in php_dom_libxml_ns_mapper_get_ns_raw_prefix_string()
151 ns = php_dom_libxml_ns_mapper_get_ns(mapper, prefix_str, uri); in php_dom_libxml_ns_mapper_get_ns_raw_prefix_string()
157 …m_libxml_ns_mapper *mapper, const char *prefix, size_t prefix_len, const char *uri, size_t uri_len) in php_dom_libxml_ns_mapper_get_ns_raw_strings_ex() argument
160 zend_string *uri_str = zend_string_init(uri, uri_len, false); in php_dom_libxml_ns_mapper_get_ns_raw_strings_ex()
167 …ns_mapper_get_ns_raw_strings(php_dom_libxml_ns_mapper *mapper, const char *prefix, const char *uri) in php_dom_libxml_ns_mapper_get_ns_raw_strings() argument
169 …n php_dom_libxml_ns_mapper_get_ns_raw_strings_ex(mapper, prefix, strlen(prefix), uri, strlen(uri)); in php_dom_libxml_ns_mapper_get_ns_raw_strings()
172 …_get_ns_raw_strings_nullsafe(php_dom_libxml_ns_mapper *mapper, const char *prefix, const char *uri) in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe() argument
177 if (uri == NULL) { in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe()
178 uri = ""; in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe()
180 return php_dom_libxml_ns_mapper_get_ns_raw_strings(mapper, prefix, uri); in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe()