Searched defs:localname (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Ddomimplementation.c97 xmlChar *pch1 = NULL, *pch2 = NULL, *localname = NULL; local
116 localname = xmlStrdup(uri->opaque);
117 if (xmlStrchr(localname, (xmlChar) ':') != NULL) {
120 xmlFree(localname);
124 localname = xmlStrdup(name);
127 /* TODO: Test that localname has no invalid chars
135 doctype = xmlCreateIntSubset(NULL, localname, pch1, pch2);
136 xmlFree(localname);
160 char *prefix = NULL, *localname = NULL; local
182 errorcode = dom_check_qname(name, &localname,
[all...]
H A Delement.c161 char *localname = NULL, *prefix = NULL; local
182 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
184 nodep = xmlNewNode (NULL, (xmlChar *)localname);
190 xmlFree(localname);
203 localname = xmlSplitQName2((xmlChar *)name, (xmlChar **) &prefix);
205 xmlFree(localname);
749 char *localname = NULL, *prefix = NULL; local
771 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
775 nodep = (xmlNodePtr) xmlHasNsProp(elemp, (xmlChar *) localname, (xmlChar *) uri);
781 (prefix == NULL && xmlStrEqual((xmlChar *) localname, (xmlCha
[all...]
H A Dphp_dom.c1588 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1589 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1594 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1595 if (*localname == NULL) {
1596 *localname = (char *)xmlStrdup((xmlChar *)qname);
H A Ddocument.c1237 char *localname = NULL, *prefix = NULL; local
1247 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1250 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1251 nodep = xmlNewDocNode (docp, NULL, localname, value);
1264 xmlFree(localname);
1300 char *localname = NULL, *prefix = NULL; local
1312 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1314 if (xmlValidateName((xmlChar *) localname, 0) == 0) {
1315 nodep = (xmlNodePtr) xmlNewDocProp(docp, localname, NULL);
1332 xmlFree(localname);
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1634 xmlChar *localname, *prefix = NULL; local
1661 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1662 if (localname == NULL) {
1663 localname = xmlStrdup((xmlChar *)qname);
1666 newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value);
1681 _node_as_zval(sxe, newnode, return_value, SXE_ITER_NONE, (char *)localname, prefix, 0 TSRMLS_CC);
1683 xmlFree(localname);
1700 xmlChar *localname, *prefix = NULL; local
1726 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1727 if (localname
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar_object.c3827 /* {{{ proto string Phar::addFile(string filename[, string localname])
3832 char *fname, *localname = NULL; local
3839 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &fname, &fname_len, &localname, &localname_len) == FAILURE) {
3860 if (localname) {
3861 fname = localname;
3873 /* {{{ proto string Phar::addFromString(string localname, string contents)
3878 char *localname, *cont_str; local
3883 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &localname, &localname_len, &cont_str, &cont_len) == FAILURE) {
3887 phar_add_file(&(phar_obj->arc.archive), localname, localname_len, cont_str, cont_len, NULL TSRMLS_CC);
5222 ZEND_ARG_INFO(0, localname)
[all...]

Completed in 21 milliseconds