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

/PHP_TRUNK/ext/dom/
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.c1456 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1457 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1462 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1463 if (*localname == NULL) {
1464 *localname = (char *)xmlStrdup((xmlChar *)qname);
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, localname, 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, localname, NULL);
1133 xmlFree(localname);
[all...]
H A Ddomimplementation.c98 xmlChar *pch1 = NULL, *pch2 = NULL, *localname = NULL; local
117 localname = xmlStrdup(uri->opaque);
118 if (xmlStrchr(localname, (xmlChar) ':') != NULL) {
121 xmlFree(localname);
125 localname = xmlStrdup(name);
128 /* TODO: Test that localname has no invalid chars
136 doctype = xmlCreateIntSubset(NULL, localname, pch1, pch2);
137 xmlFree(localname);
162 char *prefix = NULL, *localname = NULL; local
184 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 = 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...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1624 xmlChar *localname, *prefix = NULL; local
1651 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1652 if (localname == NULL) {
1653 localname = xmlStrdup((xmlChar *)qname);
1656 newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value);
1671 _node_as_zval(sxe, newnode, return_value, SXE_ITER_NONE, (char *)localname, prefix, 0 TSRMLS_CC);
1673 xmlFree(localname);
1690 xmlChar *localname, *prefix = NULL; local
1716 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1717 if (localname
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c806 /* {{{ proto boolean XMLReader::next([string localname])
1221 ZEND_ARG_INFO(0, localname)
/PHP_TRUNK/ext/phar/
H A Dphar_object.c3770 /* {{{ proto string Phar::addFile(string filename[, string localname])
3775 char *fname, *localname = NULL; local
3782 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &fname, &fname_len, &localname, &localname_len) == FAILURE) {
3803 if (localname) {
3804 fname = localname;
3814 /* {{{ proto string Phar::addFromString(string localname, string contents)
3819 char *localname, *cont_str; local
3824 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &localname, &localname_len, &cont_str, &cont_len) == FAILURE) {
3828 phar_add_file(&(phar_obj->archive), localname, localname_len, cont_str, cont_len, NULL TSRMLS_CC);
5160 ZEND_ARG_INFO(0, localname)
[all...]

Completed in 31 milliseconds