Lines Matching refs:NULL

79 	const xmlChar *retchar = NULL;  in xmlreader_property_reader()
82 if (obj->ptr != NULL) { in xmlreader_property_reader()
89 zend_throw_error(NULL, "Failed to read property due to libxml error"); in xmlreader_property_reader()
121 zval *retval = NULL; in xmlreader_get_property_ptr_ptr()
122 xmlreader_prop_handler *hnd = NULL; in xmlreader_get_property_ptr_ptr()
126 if (obj->prop_handler != NULL) { in xmlreader_get_property_ptr_ptr()
130 if (hnd == NULL) { in xmlreader_get_property_ptr_ptr()
142 zval *retval = NULL; in xmlreader_read_property()
143 xmlreader_prop_handler *hnd = NULL; in xmlreader_read_property()
147 if (obj->prop_handler != NULL) { in xmlreader_read_property()
151 if (hnd != NULL) { in xmlreader_read_property()
169 xmlreader_prop_handler *hnd = NULL; in xmlreader_write_property()
173 if (obj->prop_handler != NULL) { in xmlreader_write_property()
176 if (hnd != NULL) { in xmlreader_write_property()
177 zend_throw_error(NULL, "Cannot write to read-only property"); in xmlreader_write_property()
213 if (uri == NULL) { in _xmlreader_get_valid_file_path()
214 return NULL; in _xmlreader_get_valid_file_path()
220 if (uri->scheme != NULL) { in _xmlreader_get_valid_file_path()
241 if ((uri->scheme == NULL || isFileUri)) { in _xmlreader_get_valid_file_path()
244 return NULL; in _xmlreader_get_valid_file_path()
261 char *valid_file = NULL; in _xmlreader_get_relaxNG()
262 xmlRelaxNGParserCtxtPtr parser = NULL; in _xmlreader_get_relaxNG()
270 return NULL; in _xmlreader_get_relaxNG()
280 return NULL; in _xmlreader_get_relaxNG()
283 if (parser == NULL) { in _xmlreader_get_relaxNG()
284 return NULL; in _xmlreader_get_relaxNG()
310 STANDARD_MODULE_HEADER_EX, NULL,
313 NULL,
316 NULL,
317 NULL,
339 intern->input = NULL; in xmlreader_free_resources()
344 intern->ptr = NULL; in xmlreader_free_resources()
349 intern->schema = NULL; in xmlreader_free_resources()
385 char *retchar = NULL; in php_xmlreader_string_arg()
445 char *retchar = NULL; in php_xmlreader_no_arg_string()
475 xmlRelaxNGPtr schema = NULL; in php_xmlreader_set_relaxng_schema()
482 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
492 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
498 retval = xmlTextReaderRelaxNGSetSchema(intern->ptr, NULL); in php_xmlreader_set_relaxng_schema()
510 php_error_docref(NULL, E_WARNING, "Schema contains errors"); in php_xmlreader_set_relaxng_schema()
514 zend_throw_error(NULL, "Schema must be set prior to reading"); in php_xmlreader_set_relaxng_schema()
518 php_error_docref(NULL, E_WARNING, "No schema support built into libxml"); in php_xmlreader_set_relaxng_schema()
557 char *retchar = NULL; in PHP_METHOD()
583 char *name, *ns_uri, *retchar = NULL; in PHP_METHOD()
627 zend_throw_error(NULL, "Cannot access parser properties before loading data"); in PHP_METHOD()
789 zend_throw_error(NULL, "Data must be loaded before reading"); in PHP_METHOD()
809 char *name = NULL; in PHP_METHOD()
819 while (name != NULL && retval == 1) { in PHP_METHOD()
832 zend_throw_error(NULL, "Data must be loaded before reading"); in PHP_METHOD()
842 xmlreader_object *intern = NULL; in PHP_METHOD()
843 char *source, *valid_file = NULL; in PHP_METHOD()
844 char *encoding = NULL; in PHP_METHOD()
846 xmlTextReaderPtr reader = NULL; in PHP_METHOD()
853 if (id != NULL) { in PHP_METHOD()
865 php_error_docref(NULL, E_WARNING, "Encoding must not contain NUL bytes"); in PHP_METHOD()
877 if (reader == NULL) { in PHP_METHOD()
878 php_error_docref(NULL, E_WARNING, "Unable to open source data"); in PHP_METHOD()
882 if (id == NULL) { in PHP_METHOD()
938 if (source != NULL && !source_len) { in PHP_METHOD()
954 php_error_docref(NULL, E_WARNING, "Schema contains errors"); in PHP_METHOD()
958 zend_throw_error(NULL, "Schema must be set prior to reading"); in PHP_METHOD()
962 php_error_docref(NULL, E_WARNING, "No schema support built into libxml"); in PHP_METHOD()
985 zend_throw_error(NULL, "Cannot access parser properties before loading data"); in PHP_METHOD()
1025 xmlreader_object *intern = NULL; in PHP_METHOD()
1026 char *source, *uri = NULL, *encoding = NULL; in PHP_METHOD()
1028 char *directory=NULL, resolved_path[MAXPATHLEN + 1]; in PHP_METHOD()
1037 if (id != NULL) { in PHP_METHOD()
1049 php_error_docref(NULL, E_WARNING, "Encoding must not contain NUL bytes"); in PHP_METHOD()
1055 if (inputbfr != NULL) { in PHP_METHOD()
1073 if (reader != NULL) { in PHP_METHOD()
1074 ret = xmlTextReaderSetup(reader, NULL, uri, encoding, options); in PHP_METHOD()
1076 if (id == NULL) { in PHP_METHOD()
1103 php_error_docref(NULL, E_WARNING, "Unable to load source data"); in PHP_METHOD()
1112 zval *id, *basenode = NULL; in PHP_METHOD()
1116 xmlDocPtr docp = NULL; in PHP_METHOD()
1117 php_libxml_node_object *domobj = NULL; in PHP_METHOD()
1124 if (basenode != NULL) { in PHP_METHOD()
1134 if (node == NULL) { in PHP_METHOD()
1135 php_error_docref(NULL, E_WARNING, "An Error Occurred while expanding"); in PHP_METHOD()
1139 if (nodec == NULL) { in PHP_METHOD()
1140 php_error_docref(NULL, E_NOTICE, "Cannot expand this node type"); in PHP_METHOD()
1147 zend_throw_error(NULL, "Data must be loaded before expanding"); in PHP_METHOD()
1156 zend_throw_error(NULL, "XMLReader::expand() requires the DOM extension to be enabled"); in PHP_METHOD()
1185 xmlreader_object_handlers.clone_obj = NULL; in PHP_MINIT_FUNCTION()
1198 zend_hash_init(&xmlreader_prop_handlers, 0, NULL, php_xmlreader_free_prop_handler, 1); in PHP_MINIT_FUNCTION()
1199 …op_handler(&xmlreader_prop_handlers, "attributeCount", xmlTextReaderAttributeCount, NULL, IS_LONG); in PHP_MINIT_FUNCTION()
1200 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "baseURI", NULL, xmlTextReaderConstBaseU… in PHP_MINIT_FUNCTION()
1201 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "depth", xmlTextReaderDepth, NULL, IS_LO… in PHP_MINIT_FUNCTION()
1202 …rop_handler(&xmlreader_prop_handlers, "hasAttributes", xmlTextReaderHasAttributes, NULL, _IS_BOOL); in PHP_MINIT_FUNCTION()
1203 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "hasValue", xmlTextReaderHasValue, NULL,… in PHP_MINIT_FUNCTION()
1204 …gister_prop_handler(&xmlreader_prop_handlers, "isDefault", xmlTextReaderIsDefault, NULL, _IS_BOOL); in PHP_MINIT_FUNCTION()
1205 …p_handler(&xmlreader_prop_handlers, "isEmptyElement", xmlTextReaderIsEmptyElement, NULL, _IS_BOOL); in PHP_MINIT_FUNCTION()
1206 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "localName", NULL, xmlTextReaderConstLoc… in PHP_MINIT_FUNCTION()
1207 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "name", NULL, xmlTextReaderConstName, IS… in PHP_MINIT_FUNCTION()
1208 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "namespaceURI", NULL, xmlTextReaderConst… in PHP_MINIT_FUNCTION()
1209 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "nodeType", xmlTextReaderNodeType, NULL,… in PHP_MINIT_FUNCTION()
1210 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "prefix", NULL, xmlTextReaderConstPrefix… in PHP_MINIT_FUNCTION()
1211 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "value", NULL, xmlTextReaderConstValue, … in PHP_MINIT_FUNCTION()
1212 …xmlreader_register_prop_handler(&xmlreader_prop_handlers, "xmlLang", NULL, xmlTextReaderConstXmlLa… in PHP_MINIT_FUNCTION()