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()
474 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
480 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
484 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
494 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
842 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
850 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
864 if (!source_len) { in PHP_METHOD()
934 size_t source_len = 0; in PHP_METHOD() local
939 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
943 if (source != NULL && !source_len) { in PHP_METHOD()
1028 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
1037 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1050 if (!source_len) { in PHP_METHOD()
1060 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()