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()
471 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
477 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
481 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
491 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
839 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
847 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
858 if (!source_len) { in PHP_METHOD()
928 size_t source_len = 0; in PHP_METHOD() local
933 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
937 if (source != NULL && !source_len) { in PHP_METHOD()
1022 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
1031 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1042 if (!source_len) { in PHP_METHOD()
1052 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()