Home
last modified time | relevance | path

Searched refs:xmlChar (Results 1 – 25 of 39) sorted by relevance

12

/php-src/ext/xml/
H A Dcompat.c25 qualify_namespace(XML_Parser parser, const xmlChar *name, const xmlChar *URI, xmlChar **qualified) in qualify_namespace()
38 start_element_handler(void *user, const xmlChar *name, const xmlChar **attributes) in start_element_handler()
74xmlChar *name, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar ** name… in start_element_handler_ns()
78 xmlChar **attrs = NULL; in start_element_handler_ns()
204 end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) in end_element_handler_ns()
248 pi_handler(void *user, const xmlChar *target, const xmlChar *data) in pi_handler()
282 notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *pub_id, const xmlChar *sy… in notation_decl_handler()
312 xmlChar *d_comment; in comment_handler()
322 build_entity(const xmlChar *name, size_t len, xmlChar **entity, size_t *entity_len) in build_entity()
333 external_entity_ref_handler(void *user, const xmlChar *names, const xmlChar *sys_id, const xmlChar in external_entity_ref_handler()
[all …]
H A Dexpat_compat.h48 typedef xmlChar XML_Char;
73 xmlChar *_ns_separator;
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c109 xmlChar *escsource; in _xmlwriter_get_valid_file_path()
117 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *) ":"); in _xmlwriter_get_valid_file_path()
319 retval = xmlTextWriterStartAttributeNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
365 …retval = xmlTextWriterWriteAttributeNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri, (x… in PHP_FUNCTION()
395 retval = xmlTextWriterStartElementNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
464 retval = xmlTextWriterStartElementNS(ptr,(xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri); in PHP_FUNCTION()
470 …retval = xmlTextWriterWriteElementNS(ptr, (xmlChar *)prefix, (xmlChar *)name, (xmlChar *)uri, (xml… in PHP_FUNCTION()
508 retval = xmlTextWriterWritePI(ptr, (xmlChar *)name, (xmlChar *)content); in PHP_FUNCTION()
633 retval = xmlTextWriterStartDTD(ptr, (xmlChar *)name, (xmlChar *)pubid, (xmlChar *)sysid); in PHP_FUNCTION()
660 …retval = xmlTextWriterWriteDTD(ptr, (xmlChar *)name, (xmlChar *)pubid, (xmlChar *)sysid, (xmlChar in PHP_FUNCTION()
[all …]
/php-src/ext/dom/
H A Dxml_serializer.c165 const xmlChar *prefix, in dom_xml_local_prefix_map_add()
167 const xmlChar *ns in dom_xml_local_prefix_map_add()
176 const xmlChar *prefix, in dom_xml_local_prefix_map_find()
186 const xmlChar *prefix, in dom_xml_local_prefix_map_conflicts()
188 const xmlChar *ns in dom_xml_local_prefix_map_conflicts()
200 const xmlChar *prefix, in dom_xml_local_prefix_map_contains()
210 const xmlChar *prefix, in dom_xml_ns_prefix_map_add()
212 const xmlChar *ns, in dom_xml_ns_prefix_map_add()
294 const xmlChar *prefix, in dom_prefix_found_in_ns_prefix_map()
295 const xmlChar *ns, in dom_prefix_found_in_ns_prefix_map()
[all …]
H A Dphp_dom.h86 xmlChar *local, *local_lower;
87 xmlChar *ns;
143 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName);
146 …ts_by_tag_name_ns_raw(xmlNodePtr basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *lo…
154 xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID);
165 …tract(const zend_string *namespace, const zend_string *qname, xmlChar **localName, xmlChar **prefi…
166 bool dom_match_qualified_name_according_to_spec(const xmlChar *qname, const xmlNode *nodep);
171 xmlAttrPtr php_dom_get_attribute_node(xmlNodePtr elem, const xmlChar *name, size_t name_len);
172 xmlChar *php_dom_libxml_fix_file_path(xmlChar *path);
180 bool dom_compare_value(const xmlAttr *attr, const xmlChar *value);
[all …]
H A Dxml_document.c112 xmlDocPtr lxml_doc = xmlNewDoc((const xmlChar *) version); in PHP_METHOD()
117 lxml_doc->encoding = xmlStrdup((const xmlChar *) encoding); in PHP_METHOD()
198 lxml_doc->encoding = xmlStrdup((const xmlChar *) override_encoding); in load_from_helper()
200 lxml_doc->encoding = xmlStrdup((const xmlChar *) "UTF-8"); in load_from_helper()
208 xmlChar *buffer = xmlStrdup((const xmlChar *) "file:///"); in load_from_helper()
210 xmlChar *buffer = xmlStrdup((const xmlChar *) "file://"); in load_from_helper()
213 xmlChar *new_buffer = xmlStrcat(buffer, lxml_doc->URL); in load_from_helper()
H A Dcharacterdata.c107 xmlChar *substring; in PHP_METHOD()
121 const xmlChar *cur = php_dom_get_content_or_empty(node); in PHP_METHOD()
191 xmlChar *first, *second; in dom_character_data_insert_data()
207 const xmlChar *cur = php_dom_get_content_or_empty(node); in dom_character_data_insert_data()
258 xmlChar *substring, *second; in dom_character_data_delete_data()
272 const xmlChar *cur = php_dom_get_content_or_empty(node); in dom_character_data_delete_data()
326 xmlChar *substring, *second = NULL; in dom_character_data_replace_data()
342 const xmlChar *cur = php_dom_get_content_or_empty(node); in dom_character_data_replace_data()
H A Dtext.c100 xmlChar *first; in PHP_METHOD()
101 xmlChar *second; in PHP_METHOD()
119 const xmlChar *cur = php_dom_get_content_or_empty(node); in PHP_METHOD()
H A Ddom_iterators.c35 static void itemHashScanner (void *payload, void *data, const xmlChar *name) /* {{{ */ in itemHashScanner()
37 static void itemHashScanner (void *payload, void *data, xmlChar *name) in itemHashScanner()
52 xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)… in create_notation()
H A Delement.c136 xmlChar *content = xmlGetNoNsProp(nodep, (const xmlChar *) name); in dom_element_reflected_attribute_read()
159 return xmlSetNsProp(nodep, NULL, (const xmlChar *) name, (const xmlChar *) Z_STRVAL_P(newval)); in dom_element_reflected_attribute_write()
261 xmlChar *prefix = xmlStrndup(name, len); in dom_get_attribute_or_nsdecl()
297 xmlChar *value = NULL; in PHP_METHOD()
431 xmlChar *name_processed = BAD_CAST name; in PHP_METHOD()
1012 xmlChar *localname = NULL, *prefix = NULL; in dom_set_attribute_ns_modern()
1859 const xmlChar *split = xmlSplitQName3((const xmlChar *) qname, &len); in PHP_METHOD()
1865 xmlNewNs(thisp, (const xmlChar *) "", (const xmlChar *) (qname + len + 1)); in PHP_METHOD()
1960 xmlChar *content = xmlNodeGetContent(nodep); in dom_modern_element_substituted_node_value_read()
2108 xmlChar *localname = NULL, *prefix = NULL; in PHP_METHOD()
[all …]
H A Dxpath.c146 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString", in dom_xpath_construct()
147 (const xmlChar *) "http://php.net/xpath", in dom_xpath_construct()
149 xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function", in dom_xpath_construct()
150 (const xmlChar *) "http://php.net/xpath", in dom_xpath_construct()
452 …xmlXPathRegisterFuncNS((xmlXPathContextPtr) ctxt, (const xmlChar *) ZSTR_VAL(name), (const xmlChar in dom_xpath_register_func_in_ctx()
H A Dattr.c202 bool dom_compare_value(const xmlAttr *attr, const xmlChar *value) in dom_compare_value()
205 xmlChar *attr_value = php_libxml_attr_value(attr, &free); in dom_compare_value()
H A Dhtml_document.c788 lxml_doc->encoding = xmlStrdup((const xmlChar *) encoding); in PHP_METHOD()
945 lxml_doc->encoding = xmlStrdup((const xmlChar *) decoding_encoding_ctx.decode_data->name); in PHP_METHOD()
947 lxml_doc->encoding = xmlStrdup((const xmlChar *) "UTF-8"); in PHP_METHOD()
1132 lxml_doc->encoding = xmlStrdup((const xmlChar *) "UTF-8"); in PHP_METHOD()
1136 xmlChar *converted = xmlPathToURI((const xmlChar *) ZSTR_VAL(opened_path)); in PHP_METHOD()
1142 xmlChar *buffer = xmlStrdup((const xmlChar *) "file://"); in PHP_METHOD()
1147 xmlChar *new_buffer = xmlStrcat(buffer, converted); in PHP_METHOD()
1162 lxml_doc->URL = xmlStrdup((const xmlChar *) filename); in PHP_METHOD()
1462 docp->encoding = xmlStrdup((const xmlChar *) encoding_data->name); in dom_html_document_encoding_write()
1499 static bool dom_accept_body_name(const xmlChar *name) in dom_accept_body_name()
[all …]
H A Dphp_dom.c1469 const xmlChar* tmp; in dom_namednode_iter()
1828 const xmlChar *node_local = nodep->name; in dom_match_qualified_name_according_to_spec()
1852 static bool dom_match_qualified_name_for_tag_name_equality(const xmlChar *local, const xmlChar *loc… in dom_match_qualified_name_for_tag_name_equality()
1862 …ts_by_tag_name_ns_raw(xmlNodePtr basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *lo… in dom_get_elements_by_tag_name_ns_raw()
1918 xmlChar *strContent = nextp->content; in dom_merge_adjacent_exclusive_text_nodes()
2071 …tract(const zend_string *namespace, const zend_string *qname, xmlChar **localName, xmlChar **prefi… in dom_validate_and_extract()
2179 return xmlNewNs(tree, (const xmlChar *) uri, (const xmlChar *) prefix); in dom_get_ns_resolve_prefix_conflict()
2697 xmlChar *name_processed = BAD_CAST name; in php_dom_get_attribute_node()
2721 xmlChar *php_dom_libxml_fix_file_path(xmlChar *path) in php_dom_libxml_fix_file_path()
2726 xmlChar *new_path = xmlStrdup(BAD_CAST "file:///"); in php_dom_libxml_fix_file_path()
[all …]
H A Dtoken_list.c151 static xmlChar *dom_token_list_get_class_value(const xmlAttr *attr, bool *should_free) in dom_token_list_get_class_value()
166 xmlChar *value = dom_token_list_get_class_value(attr, &should_free); in dom_token_list_update_set()
184 xmlChar *value = dom_token_list_get_class_value(attr, &should_free); in dom_token_list_ensure_set_up_to_date()
187 if (!xmlStrEqual(value, (const xmlChar *) intern->cached_string)) { in dom_token_list_ensure_set_up_to_date()
369 xmlChar *value = dom_token_list_get_class_value(attr, &should_free); in dom_token_list_value_read()
H A Dnamespace_compat.h49 …_mapper_get_ns_raw_prefix_string(php_dom_libxml_ns_mapper *mapper, const xmlChar *prefix, size_t p…
/php-src/ext/xsl/
H A Dphp_xsl.c286 xsltRegisterExtModuleFunction ((const xmlChar *) "functionString", in PHP_MINIT_FUNCTION()
287 (const xmlChar *) "http://php.net/xsl", in PHP_MINIT_FUNCTION()
289 xsltRegisterExtModuleFunction ((const xmlChar *) "function", in PHP_MINIT_FUNCTION()
290 (const xmlChar *) "http://php.net/xsl", in PHP_MINIT_FUNCTION()
321 xsltUnregisterExtModuleFunction ((const xmlChar *) "functionString", in PHP_MSHUTDOWN_FUNCTION()
322 (const xmlChar *) "http://php.net/xsl"); in PHP_MSHUTDOWN_FUNCTION()
323 xsltUnregisterExtModuleFunction ((const xmlChar *) "function", in PHP_MSHUTDOWN_FUNCTION()
324 (const xmlChar *) "http://php.net/xsl"); in PHP_MSHUTDOWN_FUNCTION()
H A Dxsltprocessor.c39 …int result = xsltQuoteOneUserParam(ctxt, (const xmlChar *) ZSTR_VAL(string_key), (const xmlChar *)… in php_xsl_xslt_apply_params()
126 …ePtr table, xsltStylesheetPtr sheet, const xmlNode *cur, const xmlChar *prefix, const xmlChar *uri) in xsl_add_ns_to_map()
128 const xmlChar *existing_url = xmlHashLookup(table, prefix); in xsl_add_ns_to_map()
153 const xmlChar *prefix = attr->name; in xsl_build_ns_map()
218 xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL); in PHP_METHOD()
263 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_METHOD()
284 …xsltRegisterExtFunction(xsl, (const xmlChar *) ZSTR_VAL(name), (const xmlChar *) ZSTR_VAL(ns), xsl… in php_xsl_delayed_lib_registration()
522 xmlChar *doc_txt_ptr; in PHP_METHOD()
/php-src/ext/simplexml/
H A Dsimplexml.c358 xmlChar *buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)ZSTR_VAL(value)); in change_node_zval()
586 …newnode = (xmlNodePtr)xmlNewProp(node, (xmlChar *)Z_STRVAL_P(member), value_str ? (xmlChar *)ZSTR_… in sxe_prop_dim_write()
927 xmlChar *contents; in get_base_node_value()
1024 const xmlChar *cur = node->content; in sxe_prop_is_empty()
1130 const xmlChar *cur = node->content; in sxe_get_prop_hash()
1341 if (xmlXPathRegisterNs(sxe->xpath, (xmlChar *)prefix, (xmlChar *)ns_uri) != 0) { in PHP_METHOD()
1661 xmlChar *localname, *prefix = NULL; in PHP_METHOD()
1692 localname = xmlStrdup((xmlChar *)qname); in PHP_METHOD()
1728 xmlChar *localname, *prefix = NULL; in PHP_METHOD()
1764 localname = (xmlChar *) qname; in PHP_METHOD()
[all …]
/php-src/ext/soap/
H A Dphp_xml.c27 static bool is_blank(const xmlChar* str) in is_blank()
69 static void soap_ignorableWhitespace(void *ctx, const xmlChar *ch, int len) in soap_ignorableWhitespace()
73 static void soap_Comment(void *ctx, const xmlChar *value) in soap_Comment()
319 void parse_namespace(const xmlChar *inval, const char **value, char **namespace) in parse_namespace()
H A Dphp_schema.h25 xmlChar *schema_location_construct_uri(const xmlAttr *attribute);
H A Dphp_encoding.h203 void whiteSpace_replace(xmlChar* str);
204 void whiteSpace_collapse(xmlChar* str);
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c74 const xmlChar *retchar = NULL; in xmlreader_property_reader()
251 xmlChar *escsource; in _xmlreader_get_valid_file_path()
259 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *)":"); in _xmlreader_get_valid_file_path()
636 retchar = (char *)xmlTextReaderGetAttributeNs(intern->ptr, (xmlChar *)name, (xmlChar *)ns_uri); in PHP_METHOD()
712 retval = xmlTextReaderMoveToAttribute(intern->ptr, (xmlChar *)name); in PHP_METHOD()
777 retval = xmlTextReaderMoveToAttributeNs(intern->ptr, (xmlChar *)name, (xmlChar *)ns_uri); in PHP_METHOD()
853 if (xmlStrEqual(xmlTextReaderConstLocalName(intern->ptr), (xmlChar *)name)) { in PHP_METHOD()
1205 uri = (char *) xmlCanonicPath((const xmlChar *) resolved_path); in xml_reader_from_string()
/php-src/ext/libxml/
H A Dlibxml.c138 doc->oldNs->prefix = xmlStrdup((const xmlChar *)"xml"); in php_libxml_set_old_ns_list()
152 static void php_libxml_unlink_entity(void *data, void *table, const xmlChar *name) in php_libxml_unlink_entity()
154 static void php_libxml_unlink_entity(void *data, void *table, xmlChar *name) in php_libxml_unlink_entity()
219 xmlFree((xmlChar *) entity->name); in php_libxml_node_free()
222 xmlFree((xmlChar *) entity->ExternalID); in php_libxml_node_free()
225 xmlFree((xmlChar *) entity->SystemID); in php_libxml_node_free()
228 xmlFree((xmlChar *) entity->URI); in php_libxml_node_free()
436 xmlChar *tmp = xmlStrdup(resolved_path + pre_len); in php_libxml_streams_IO_open_wrapper()
629 error_copy.message = (char*)xmlStrdup((const xmlChar*)msg); in php_list_set_error_structure()
1464 PHP_LIBXML_API xmlChar *php_libxml_attr_value(const xmlAttr *attr, bool *free) in php_libxml_attr_value()
[all …]
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.h79 const xmlChar *name;

Completed in 102 milliseconds

12