Lines Matching refs:source_len
300 static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, size_t source_len, size_t type, in _xmlreader_get_relaxNG() argument
318 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
505 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
511 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
515 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
525 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
889 size_t source_len = 0, encoding_len = 0; in xml_reader_from_uri() local
897 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|p!l", &source, &source_len, &encoding, &encoding_len… in xml_reader_from_uri()
908 if (!source_len) { in xml_reader_from_uri()
1066 size_t source_len = 0; in PHP_METHOD() local
1071 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
1075 if (source != NULL && !source_len) { in PHP_METHOD()
1160 size_t source_len = 0, encoding_len = 0; in xml_reader_from_string() local
1169 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|p!l", &source, &source_len, &encoding, &encoding_len… in xml_reader_from_string()
1180 if (!source_len) { in xml_reader_from_string()
1190 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in xml_reader_from_string()