Searched defs:localname (Results 1 - 6 of 6) 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 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 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 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...]
/PHP_TRUNK/ext/phar/
H A Dphar_object.c3783 /* {{{ proto string Phar::addFile(string filename[, string localname])
3788 char *fname, *localname = NULL; local
3795 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &fname, &fname_len, &localname, &localname_len) == FAILURE) {
3816 if (localname) {
3817 fname = localname;
3827 /* {{{ proto string Phar::addFromString(string localname, string contents)
3832 char *localname, *cont_str; local
3837 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &localname, &localname_len, &cont_str, &cont_len) == FAILURE) {
3841 phar_add_file(&(phar_obj->archive), localname, localname_len, cont_str, cont_len, NULL);
5172 ZEND_ARG_INFO(0, localname)
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1700 xmlChar *localname, *prefix = NULL; local
1727 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1728 if (localname == NULL) {
1729 localname = xmlStrdup((xmlChar *)qname);
1732 newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value);
1747 _node_as_zval(sxe, newnode, return_value, SXE_ITER_NONE, (char *)localname, prefix, 0);
1749 xmlFree(localname);
1766 xmlChar *localname, *prefix = NULL; local
1792 localname = xmlSplitQName2((xmlChar *)qname, &prefix);
1793 if (localname
[all...]

Completed in 20 milliseconds