Lines Matching refs:source_len
257 static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, size_t source_len, size_t type, in _xmlreader_get_relaxNG() argument
275 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
472 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
478 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { 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()
840 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
848 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
859 if (!source_len) { in PHP_METHOD()
929 size_t source_len = 0; in PHP_METHOD() local
934 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
938 if (source != NULL && !source_len) { in PHP_METHOD()
1023 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
1032 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1043 if (!source_len) { in PHP_METHOD()
1053 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()