Lines Matching refs:source_len
274 static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, size_t source_len, size_t type, in _xmlreader_get_relaxNG() argument
292 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
484 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
490 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
494 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
504 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
854 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
862 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
876 if (!source_len) { in PHP_METHOD()
944 size_t source_len = 0; in PHP_METHOD() local
949 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in PHP_METHOD()
953 if (source != NULL && !source_len) { in PHP_METHOD()
1038 size_t source_len = 0, encoding_len = 0; in PHP_METHOD() local
1047 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1060 if (!source_len) { in PHP_METHOD()
1065 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()