Lines Matching refs:source

226 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) {  in _xmlreader_get_valid_file_path()  argument
233 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *)":"); in _xmlreader_get_valid_file_path()
239 if (strncasecmp(source, "file:///",8) == 0) { in _xmlreader_get_valid_file_path()
242 source += 8; in _xmlreader_get_valid_file_path()
244 source += 7; in _xmlreader_get_valid_file_path()
246 } else if (strncasecmp(source, "file://localhost/",17) == 0) { in _xmlreader_get_valid_file_path()
249 source += 17; in _xmlreader_get_valid_file_path()
251 source += 16; in _xmlreader_get_valid_file_path()
256 file_dest = source; in _xmlreader_get_valid_file_path()
259 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) { in _xmlreader_get_valid_file_path()
274 static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, size_t source_len, size_t type, in _xmlreader_get_relaxNG() argument
285 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in _xmlreader_get_relaxNG()
292 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
488 char *source; 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()
503 if (source) { in php_xmlreader_set_relaxng_schema()
504 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
857 char *source, *valid_file = NULL; in PHP_METHOD() local
862 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
881 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in PHP_METHOD()
947 char *source; 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()
962 retval = xmlTextReaderSchemaValidate(intern->ptr, source); in PHP_METHOD()
1041 char *source, *uri = NULL, *encoding = NULL; in PHP_METHOD() local
1047 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1065 inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); in PHP_METHOD()
1254 ZEND_ARG_INFO(0, source)
1258 ZEND_ARG_INFO(0, source)