Lines Matching refs:source_len

1327 xmlDocPtr dom_document_parser(zval *id, dom_load_mode mode, const char *source, size_t source_len, …  in dom_document_parser()  argument
1353 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1362 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1492 size_t source_len; in dom_parse_document() local
1495 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1499 if (!source_len) { in dom_parse_document()
1503 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1512 xmlDocPtr newdoc = dom_document_parser(ZEND_THIS, mode, source, source_len, options, NULL); in dom_parse_document()
1833 size_t source_len = 0; in _dom_document_schema_validate() local
1843 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &flags) == FAILURE) { in _dom_document_schema_validate()
1847 if (!source_len) { in _dom_document_schema_validate()
1858 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
1872 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
1944 size_t source_len = 0; in _dom_document_relaxNG_validate() local
1952 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
1956 if (!source_len) { in _dom_document_relaxNG_validate()
1965 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
1977 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
2041 size_t source_len; in dom_load_html() local
2045 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
2049 if (!source_len) { in dom_load_html()
2060 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2066 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
2070 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()