Lines Matching refs:source_len
278 static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, int source_len, int type, in _xmlreader_get_relaxNG() argument
296 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
493 int source_len = 0, retval = -1; in php_xmlreader_set_relaxng_schema() local
498 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
502 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
512 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL TSRMLS_CC); in php_xmlreader_set_relaxng_schema()
859 int source_len = 0, encoding_len = 0; in PHP_METHOD() local
867 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|s!l", &source, &source_len, &encoding, &en… in PHP_METHOD()
881 if (!source_len) { in PHP_METHOD()
949 int source_len = 0, retval = -1; in PHP_METHOD() local
953 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
957 if (source != NULL && !source_len) { in PHP_METHOD()
1042 int source_len = 0, encoding_len = 0; in PHP_METHOD() local
1051 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!l", &source, &source_len, &encoding, &en… in PHP_METHOD()
1064 if (!source_len) { in PHP_METHOD()
1069 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()