Home
last modified time | relevance | path

Searched refs:ns_len (Results 1 – 5 of 5) sorted by relevance

/PHP-5.6/ext/xml/
H A Dcompat.c121 int ns_len; in _start_element_handler_ns() local
128 ns_len = spprintf(&ns_string, 0, " xmlns:%s=\"%s\"", ns_prefix, ns_url); in _start_element_handler_ns()
130 ns_len = spprintf(&ns_string, 0, " xmlns=\"%s\"", ns_url); in _start_element_handler_ns()
132 qualified_name = xmlStrncat(qualified_name, (xmlChar *)ns_string, ns_len); in _start_element_handler_ns()
/PHP-5.6/ext/soap/
H A Dphp_sdl.c82 int ns_len = xmlStrlen(nsptr->href); in get_element() local
84 int len = ns_len + type_len + 1; in get_element()
87 memcpy(nscat, nsptr->href, ns_len); in get_element()
88 nscat[ns_len] = ':'; in get_element()
89 memcpy(nscat+ns_len+1, cptype, type_len); in get_element()
114 int ns_len = ns ? strlen(ns) : 0; in get_encoder() local
116 int len = ns_len + type_len + 1; in get_encoder()
119 memcpy(nscat, ns, ns_len); in get_encoder()
120 nscat[ns_len] = ':'; in get_encoder()
121 memcpy(nscat+ns_len+1, type, type_len); in get_encoder()
[all …]
H A Dsoap.c813 int name_len, ns_len; in PHP_METHOD() local
816 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zbz", &ns, &ns_len, &name, &name_len, &da… in PHP_METHOD()
819 if (ns_len == 0) { in PHP_METHOD()
828 add_property_stringl(this_ptr, "namespace", ns, ns_len, 1); in PHP_METHOD()
978 int stype_len = 0, ns_len = 0, name_len = 0, namens_len = 0; in PHP_METHOD() local
980 …UM_ARGS() TSRMLS_CC, "z!z|ssss", &data, &type, &stype, &stype_len, &ns, &ns_len, &name, &name_len,… in PHP_METHOD()
1002 if (ns && ns_len > 0) { in PHP_METHOD()
1003 add_property_stringl(this_ptr, "enc_ns", ns, ns_len, 1); in PHP_METHOD()
/PHP-5.6/ext/simplexml/
H A Dsimplexml.c2181 int ns_len = 0; in PHP_FUNCTION() local
2186 …S() TSRMLS_CC, "p|C!lsb", &filename, &filename_len, &ce, &options, &ns, &ns_len, &isprefix) == FAI… in PHP_FUNCTION()
2200 sxe->iter.nsprefix = ns_len ? xmlStrdup((xmlChar *)ns) : NULL; in PHP_FUNCTION()
2219 int ns_len = 0; in PHP_FUNCTION() local
2224 …_NUM_ARGS() TSRMLS_CC, "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAI… in PHP_FUNCTION()
2238 sxe->iter.nsprefix = ns_len ? xmlStrdup((xmlChar *)ns) : NULL; in PHP_FUNCTION()
2254 int data_len, ns_len = 0; in SXE_METHOD() local
2261 …M_ARGS() TSRMLS_CC, "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAI… in SXE_METHOD()
2276 sxe->iter.nsprefix = ns_len ? xmlStrdup((xmlChar *)ns) : NULL; in SXE_METHOD()
/PHP-5.6/Zend/
H A Dzend_compile.c485 int name_len, ns_len; in zend_add_const_name_literal() local
507 ns_len = ns_separator - name; in zend_add_const_name_literal()
509 ns_len = 0; in zend_add_const_name_literal()
512 if (ns_len) { in zend_add_const_name_literal()
515 zend_str_tolower(tmp_name, ns_len); in zend_add_const_name_literal()
527 if (ns_len) { in zend_add_const_name_literal()
531 ns_len++; in zend_add_const_name_literal()
532 name += ns_len; in zend_add_const_name_literal()
533 name_len -= ns_len; in zend_add_const_name_literal()

Completed in 101 milliseconds