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

/PHP_TRUNK/ext/dom/
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
179 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
181 nodep = xmlNewNode (NULL, (xmlChar *)localname);
187 xmlFree(localname);
200 localname = (char *) xmlSplitQName2((xmlChar *) name, (xmlChar **) &prefix);
202 xmlFree(localname);
744 char *localname = NULL, *prefix = NULL; local
766 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
770 nodep = (xmlNodePtr) xmlHasNsProp(elemp, (xmlChar *) localname, (xmlChar *) uri);
776 (prefix == NULL && xmlStrEqual((xmlChar *) localname, (xmlCha
[all...]
H A Dphp_dom.h111 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len);
H A Dphp_dom.c1447 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1448 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1453 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1454 if (*localname == NULL) {
1455 *localname = (char *)xmlStrdup((xmlChar *)qname);
H A Ddocument.c1038 char *localname = NULL, *prefix = NULL; local
1048 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1051 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1052 nodep = xmlNewDocNode(docp, NULL, (xmlChar *) localname, (xmlChar *) value);
1065 xmlFree(localname);
1102 char *localname = NULL, *prefix = NULL; local
1114 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1116 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1117 nodep = (xmlNodePtr) xmlNewDocProp(docp, (xmlChar *) localname, NULL);
1134 xmlFree(localname);
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c807 /* {{{ proto boolean XMLReader::next([string localname])
1222 ZEND_ARG_INFO(0, localname)
/PHP_TRUNK/ext/phar/
H A Dphar_object.c3787 /* {{{ proto string Phar::addFile(string filename[, string localname])
3792 char *fname, *localname = NULL; local
3799 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &fname, &fname_len, &localname, &localname_len) == FAILURE) {
3820 if (localname) {
3821 fname = localname;
3831 /* {{{ proto string Phar::addFromString(string localname, string contents)
3836 char *localname, *cont_str; local
3841 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &localname, &localname_len, &cont_str, &cont_len) == FAILURE) {
3845 phar_add_file(&(phar_obj->archive), localname, localname_len, cont_str, cont_len, NULL);
5216 ZEND_ARG_INFO(0, localname)
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1697 xmlChar *localname, *prefix = NULL; local
1724 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1725 if (localname == NULL) {
1726 localname = xmlStrdup((xmlChar *)qname);
1729 newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value);
1744 _node_as_zval(sxe, newnode, return_value, SXE_ITER_NONE, (char *)localname, prefix, 0);
1746 xmlFree(localname);
1763 xmlChar *localname, *prefix = NULL; local
1789 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1790 if (localname
[all...]

Completed in 32 milliseconds