Lines Matching refs:source_len

1347 xmlDocPtr dom_document_parser(zval *id, dom_load_mode mode, const char *source, size_t source_len, …  in dom_document_parser()  argument
1373 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1382 ctxt = xmlCreateMemoryParserCtxt(source, source_len); in dom_document_parser()
1514 size_t source_len; in dom_parse_document() local
1517 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_parse_document()
1521 if (!source_len) { in dom_parse_document()
1525 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1534 xmlDocPtr newdoc = dom_document_parser(ZEND_THIS, mode, source, source_len, options, NULL); in dom_parse_document()
1865 size_t source_len = 0; in dom_document_schema_validate() local
1875 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &flags) == FAILURE) { in dom_document_schema_validate()
1879 if (!source_len) { in dom_document_schema_validate()
1890 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_schema_validate()
1904 parser = xmlSchemaNewMemParserCtxt(source, source_len); in dom_document_schema_validate()
1976 size_t source_len = 0; in dom_document_relaxNG_validate() local
1984 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &source, &source_len) == FAILURE) { in dom_document_relaxNG_validate()
1988 if (!source_len) { in dom_document_relaxNG_validate()
1997 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_relaxNG_validate()
2009 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in dom_document_relaxNG_validate()
2073 size_t source_len; in dom_load_html() local
2077 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &source, &source_len, &options) == FAILURE) { in dom_load_html()
2081 if (!source_len) { in dom_load_html()
2092 if (CHECK_NULL_PATH(source, source_len)) { in dom_load_html()
2098 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_load_html()
2102 ctxt = htmlCreateMemoryParserCtxt(source, (int)source_len); in dom_load_html()