Home
last modified time | relevance | path

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

/PHP-7.0/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-7.0/ext/simplexml/
H A Dsimplexml.c2217 size_t ns_len = 0; in PHP_FUNCTION() local
2223 …ND_NUM_ARGS(), "p|C!lsb", &filename, &filename_len, &ce, &options, &ns, &ns_len, &isprefix) == FAI… in PHP_FUNCTION()
2245 sxe->iter.nsprefix = ns_len ? (xmlChar*)estrdup(ns) : NULL; in PHP_FUNCTION()
2263 size_t ns_len = 0; in PHP_FUNCTION() local
2269 …eters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAI… in PHP_FUNCTION()
2277 if (ZEND_SIZE_T_INT_OVFL(ns_len)) { in PHP_FUNCTION()
2299 sxe->iter.nsprefix = ns_len ? (xmlChar*)estrdup(ns) : NULL; in PHP_FUNCTION()
2314 size_t data_len, ns_len = 0; in SXE_METHOD() local
2319 …ow(ZEND_NUM_ARGS(), "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAI… in SXE_METHOD()
2327 if (ZEND_SIZE_T_INT_OVFL(ns_len)) { in SXE_METHOD()
[all …]
/PHP-7.0/ext/soap/
H A Dphp_sdl.c83 int ns_len = xmlStrlen(nsptr->href); in get_element() local
85 int len = ns_len + type_len + 1; in get_element()
88 memcpy(nscat, nsptr->href, ns_len); in get_element()
89 nscat[ns_len] = ':'; in get_element()
90 memcpy(nscat+ns_len+1, cptype, type_len); in get_element()
115 int ns_len = ns ? strlen(ns) : 0; in get_encoder() local
117 int len = ns_len + type_len + 1; in get_encoder()
120 memcpy(nscat, ns, ns_len); in get_encoder()
121 nscat[ns_len] = ':'; in get_encoder()
122 memcpy(nscat+ns_len+1, type, type_len); in get_encoder()
[all …]
H A Dsoap.c844 size_t name_len, ns_len; in PHP_METHOD() local
848 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|zbz", &ns, &ns_len, &name, &name_len, &data, &must_… in PHP_METHOD()
851 if (ns_len == 0) { in PHP_METHOD()
861 add_property_stringl(this_ptr, "namespace", ns, ns_len); in PHP_METHOD()
996 size_t stype_len = 0, ns_len = 0, name_len = 0, namens_len = 0; in PHP_METHOD() local
998 …ers(ZEND_NUM_ARGS(), "z!z|ssss", &data, &type, &stype, &stype_len, &ns, &ns_len, &name, &name_len,… in PHP_METHOD()
1021 if (ns && ns_len > 0) { in PHP_METHOD()
1022 add_property_stringl(this_ptr, "enc_ns", ns, ns_len); in PHP_METHOD()
/PHP-7.0/Zend/
H A Dzend_compile.c524 size_t ns_len = 0, after_ns_len = ZSTR_LEN(name); in zend_add_const_name_literal() local
528 ns_len = after_ns - ZSTR_VAL(name) - 1; in zend_add_const_name_literal()
529 after_ns_len = ZSTR_LEN(name) - ns_len - 1; in zend_add_const_name_literal()
533 zend_str_tolower(ZSTR_VAL(tmp_name), ns_len); in zend_add_const_name_literal()

Completed in 52 milliseconds