Lines Matching refs:source_len

1372 static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t op…  in dom_document_parser()  argument
1404 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1413 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1499 size_t source_len; in dom_parse_document() local
1508 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1512 if (!source_len) { in dom_parse_document()
1516 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1525 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document()
1825 size_t source_len = 0; in _dom_document_schema_validate() local
1835 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &flags) == FAILURE) { in _dom_document_schema_validate()
1839 if (source_len == 0) { in _dom_document_schema_validate()
1848 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
1860 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
1926 size_t source_len = 0; in _dom_document_relaxNG_validate() local
1934 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
1938 if (source_len == 0) { in _dom_document_relaxNG_validate()
1947 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
1959 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
2025 size_t source_len; in dom_load_html() local
2032 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
2036 if (!source_len) { in dom_load_html()
2047 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2053 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
2057 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()