Lines Matching refs:source_len

1552 static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int source_len, int options …  in dom_document_parser()  argument
1584 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1593 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1679 int source_len, refcount, ret; in dom_parse_document() local
1687 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &options) == FAI… in dom_parse_document()
1691 if (!source_len) { in dom_parse_document()
1696 newdoc = dom_document_parser(id, mode, source, source_len, options TSRMLS_CC); in dom_parse_document()
1986 int source_len = 0, valid_opts = 0; in _dom_document_schema_validate() local
1994 …TSRMLS_CC, getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAIL… in _dom_document_schema_validate()
1998 if (source_len == 0) { in _dom_document_schema_validate()
2007 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
2019 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
2087 int source_len = 0; in _dom_document_relaxNG_validate() local
2094 …GS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
2098 if (source_len == 0) { in _dom_document_relaxNG_validate()
2107 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
2119 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
2185 int source_len, refcount, ret; in dom_load_html() local
2191 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &options) == FAI… in dom_load_html()
2195 if (!source_len) { in dom_load_html()
2201 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2207 source_len = xmlStrlen(source); in dom_load_html()
2208 ctxt = htmlCreateMemoryParserCtxt(source, source_len); in dom_load_html()