Lines Matching refs:source_len

1206 static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t op…  in dom_document_parser()  argument
1238 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1248 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1337 size_t source_len; in dom_parse_document() local
1346 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1350 if (!source_len) { in dom_parse_document()
1354 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1363 newdoc = dom_document_parser(id, mode, source, source_len, options); in dom_parse_document()
1713 size_t source_len = 0; in _dom_document_schema_validate() local
1723 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &flags) == FAILURE) { in _dom_document_schema_validate()
1727 if (!source_len) { in _dom_document_schema_validate()
1738 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_schema_validate()
1752 parser = xmlSchemaNewMemParserCtxt(source, source_len); in _dom_document_schema_validate()
1823 size_t source_len = 0; in _dom_document_relaxNG_validate() local
1831 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &source, &source_len) == FAILURE) { in _dom_document_relaxNG_validate()
1835 if (!source_len) { in _dom_document_relaxNG_validate()
1844 if (CHECK_NULL_PATH(source, source_len)) { in _dom_document_relaxNG_validate()
1856 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _dom_document_relaxNG_validate()
1924 size_t source_len; in dom_load_html() local
1931 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
1935 if (!source_len) { in dom_load_html()
1946 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
1952 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
1956 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()