Lines Matching refs:source_len

1352 static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t op…  in dom_document_parser()  argument
1384 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1393 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1479 size_t source_len; in dom_parse_document() local
1488 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1492 if (!source_len) { in dom_parse_document()
1496 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1505 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document()
1801 size_t source_len = 0; in _dom_document_schema_validate() local
1810 …UM_ARGS(), getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAIL… in _dom_document_schema_validate()
1814 if (source_len == 0) { in _dom_document_schema_validate()
1823 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
1835 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
1903 size_t source_len = 0; in _dom_document_relaxNG_validate() local
1910 …END_NUM_ARGS(), getThis(), "Os", &id, dom_document_class_entry, &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
1914 if (source_len == 0) { in _dom_document_relaxNG_validate()
1923 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
1935 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
2001 size_t source_len; in dom_load_html() local
2008 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
2012 if (!source_len) { in dom_load_html()
2023 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2029 source_len = xmlStrlen((xmlChar *) source); in dom_load_html()
2030 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
2034 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()