Searched refs:localname (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Ddocument.c1037 char *localname = NULL, *prefix = NULL; local
1047 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1050 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1051 nodep = xmlNewDocNode(docp, NULL, (xmlChar *) localname, (xmlChar *) value);
1064 xmlFree(localname);
1101 char *localname = NULL, *prefix = NULL; local
1113 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1115 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1116 nodep = (xmlNodePtr) xmlNewDocProp(docp, (xmlChar *) localname, NULL);
1133 xmlFree(localname);
[all...]
H A Ddomimplementation.c98 xmlChar *pch1 = NULL, *pch2 = NULL, *localname = NULL; local
119 localname = xmlStrdup((xmlChar *) uri->opaque);
120 if (xmlStrchr(localname, (xmlChar) ':') != NULL) {
123 xmlFree(localname);
127 localname = xmlStrdup((xmlChar *) name);
130 /* TODO: Test that localname has no invalid chars
138 doctype = xmlCreateIntSubset(NULL, localname, pch1, pch2);
139 xmlFree(localname);
164 char *prefix = NULL, *localname = NULL; local
186 errorcode = dom_check_qname(name, &localname,
[all...]
H A Delement.c161 char *localname = NULL, *prefix = NULL; local
183 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
185 nodep = xmlNewNode (NULL, (xmlChar *)localname);
191 xmlFree(localname);
204 localname = (char *) xmlSplitQName2((xmlChar *) name, (xmlChar **) &prefix);
206 xmlFree(localname);
748 char *localname = NULL, *prefix = NULL; local
770 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
774 nodep = (xmlNodePtr) xmlHasNsProp(elemp, (xmlChar *) localname, (xmlChar *) uri);
780 (prefix == NULL && xmlStrEqual((xmlChar *) localname, (xmlCha
[all...]
H A Dphp_dom.c1458 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1459 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1464 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1465 if (*localname == NULL) {
1466 *localname = (char *)xmlStrdup((xmlChar *)qname);
H A Dphp_dom.h111 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len);
/PHP_TRUNK/ext/phar/
H A Dphar_object.c3772 /* {{{ proto string Phar::addFile(string filename[, string localname])
3777 char *fname, *localname = NULL; local
3784 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &fname, &fname_len, &localname, &localname_len) == FAILURE) {
3805 if (localname) {
3806 fname = localname;
3816 /* {{{ proto string Phar::addFromString(string localname, string contents)
3821 char *localname, *cont_str; local
3826 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &localname, &localname_len, &cont_str, &cont_len) == FAILURE) {
3830 phar_add_file(&(phar_obj->archive), localname, localname_len, cont_str, cont_len, NULL);
5162 ZEND_ARG_INFO(0, localname)
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1616 xmlChar *localname, *prefix = NULL; local
1643 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1644 if (localname == NULL) {
1645 localname = xmlStrdup((xmlChar *)qname);
1648 newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value);
1663 _node_as_zval(sxe, newnode, return_value, SXE_ITER_NONE, (char *)localname, prefix, 0);
1665 xmlFree(localname);
1682 xmlChar *localname, *prefix = NULL; local
1708 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1709 if (localname
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c806 /* {{{ proto boolean XMLReader::next([string localname])
1221 ZEND_ARG_INFO(0, localname)

Completed in 27 milliseconds