Lines Matching refs:name_len

47 	size_t name_len, value_len = 0, uri_len = 0;  in PHP_METHOD()  local
51 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!s", &name, &name_len, &value, &value_len, &uri, &u… in PHP_METHOD()
63 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_METHOD()
243 …bute_or_nsdecl(dom_object *intern, xmlNodePtr elem, const xmlChar *name, size_t name_len) /* {{{ */ in dom_get_attribute_or_nsdecl() argument
283 return (xmlNodePtr) php_dom_get_attribute_node(elem, name, name_len); in dom_get_attribute_or_nsdecl()
300 size_t name_len; in PHP_METHOD() local
304 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
310 attr = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
408 size_t name_len, value_len; in PHP_METHOD() local
413 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &value, &value_len) == FAILURE)… in PHP_METHOD()
417 if (name_len == 0) { in PHP_METHOD()
433 char *lowercase_copy = zend_str_tolower_dup_ex(name, name_len); in PHP_METHOD()
440 xmlAttrPtr attr = php_dom_get_attribute_node(nodep, BAD_CAST name, name_len); in PHP_METHOD()
457 xmlNodePtr attr = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
606 size_t name_len; in PHP_METHOD() local
609 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
615 attrp = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
627 size_t name_len; in PHP_METHOD() local
630 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
636 attrp = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
651 size_t name_len; in PHP_METHOD() local
656 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
662 attrp = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
814 size_t name_len; in dom_element_get_elements_by_tag_name() local
818 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &name, &name_len) == FAILURE) { in dom_element_get_elements_by_tag_name()
822 if (name_len > INT_MAX) { in dom_element_get_elements_by_tag_name()
835 dom_namednode_iter(intern, 0, namednode, NULL, name, name_len, NULL, 0); in dom_element_get_elements_by_tag_name()
885 size_t uri_len = 0, name_len = 0; in PHP_METHOD() local
889 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s!s", &uri, &uri_len, &name, &name_len) == FAILURE) { in PHP_METHOD()
911 …intern, xmlNodePtr elemp, char *uri, size_t uri_len, char *name, size_t name_len, const char *valu… in dom_set_attribute_ns_legacy() argument
913 if (name_len == 0) { in dom_set_attribute_ns_legacy()
925 int errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in dom_set_attribute_ns_legacy()
1133 size_t name_len, uri_len; in PHP_METHOD() local
1137 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s!s", &uri, &uri_len, &name, &name_len) == FAILURE) { in PHP_METHOD()
1183 size_t uri_len, name_len; in PHP_METHOD() local
1187 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s!s", &uri, &uri_len, &name, &name_len) == FAILURE) { in PHP_METHOD()
1242 size_t uri_len, name_len; in dom_element_get_elements_by_tag_name_ns() local
1246 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!p", &uri, &uri_len, &name, &name_len) == FAILURE) { in dom_element_get_elements_by_tag_name_ns()
1255 if (name_len > INT_MAX) { in dom_element_get_elements_by_tag_name_ns()
1268 dom_namednode_iter(intern, 0, namednode, NULL, name, name_len, uri ? uri : "", uri_len); in dom_element_get_elements_by_tag_name_ns()
1292 size_t name_len; in PHP_METHOD() local
1296 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
1302 attr = dom_get_attribute_or_nsdecl(intern, nodep, BAD_CAST name, name_len); in PHP_METHOD()
1320 size_t uri_len, name_len; in PHP_METHOD() local
1324 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s!s", &uri, &uri_len, &name, &name_len) == FAILURE) { in PHP_METHOD()
1366 size_t name_len; in PHP_METHOD() local
1370 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sb", &name, &name_len, &is_id) == FAILURE) { in PHP_METHOD()
1394 size_t uri_len, name_len; in PHP_METHOD() local
1399 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ssb", &uri, &uri_len, &name, &name_len, &is_id) == FAI… in PHP_METHOD()