Lines Matching refs:source_len

1350 static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t op…  in dom_document_parser()  argument
1382 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1391 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1477 size_t source_len; in dom_parse_document() local
1486 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1490 if (!source_len) { in dom_parse_document()
1494 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1503 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document()
1799 size_t source_len = 0; in _dom_document_schema_validate() local
1808 …UM_ARGS(), getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAIL… in _dom_document_schema_validate()
1812 if (source_len == 0) { in _dom_document_schema_validate()
1821 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
1833 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
1901 size_t source_len = 0; in _dom_document_relaxNG_validate() local
1908 …END_NUM_ARGS(), getThis(), "Os", &id, dom_document_class_entry, &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
1912 if (source_len == 0) { in _dom_document_relaxNG_validate()
1921 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
1933 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
1999 size_t source_len; in dom_load_html() local
2006 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
2010 if (!source_len) { in dom_load_html()
2021 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2027 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
2031 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()