Lines Matching refs:XCS

97 # define XCS(s) _XCS(s)  macro
108 # define XCS(s) s macro
667 XCS("J\x00f8rgen \x00e6\x00f8\x00e5\x00c6\x00d8\x00c5"); in START_TEST()
670 XCS("J\xC3\xB8rgen \xC3\xA6\xC3\xB8\xC3\xA5\xC3\x86\xC3\x98\xC3\x85"); in START_TEST()
685 XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST()
688 XCS("\xC3\xA9\xC3\xA8\xC3\xA0\xC3\xA7\xC3\xAA\xC3\x88"); in START_TEST()
701 XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST()
704 XCS("\xC3\xA9\xC3\xA8\xC3\xA0\xC3\xA7\xC3\xAA\xC3\x88"); in START_TEST()
717 XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST()
720 XCS("\xC3\xA9\xC3\xA8\xC3\xA0\xC3\xA7\xC3\xAA\xC3\x88"); in START_TEST()
732 const XML_Char *expected = XCS("\x00e9"); in START_TEST()
734 const XML_Char *expected = XCS("\xC3\xA9"); in START_TEST()
749 const XML_Char *expected = XCS("\xfebf"); in START_TEST()
751 const XML_Char *expected = XCS("\xEF\xBA\xBF"); in START_TEST()
863 const XML_Char *expected = XCS("some \xff21 text"); in START_TEST()
865 const XML_Char *expected = XCS("some \357\274\241 text"); in START_TEST()
921 if (!XML_SetEncoding(parser, XCS("unknown-encoding"))) in START_TEST()
939 XCS("\x00e4 \x00f6 \x00fc ") in START_TEST()
940 XCS("\x00e4 \x00f6 \x00fc ") in START_TEST()
941 XCS("\x00e4 \x00f6 \x00fc >"); in START_TEST()
945 XCS("\xC3\xA4 \xC3\xB6 \xC3\xBC ") in START_TEST()
946 XCS("\xC3\xA4 \xC3\xB6 \xC3\xBC ") in START_TEST()
947 XCS("\xC3\xA4 \xC3\xB6 \xC3\xBC >"); in START_TEST()
1006 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1007 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1008 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1009 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1010 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1011 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1012 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1013 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1014 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1015 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1016 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1017 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1018 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1019 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1020 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1021 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNO") in START_TEST()
1022 XCS("\x00e4"); in START_TEST()
1026 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1027 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1028 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1029 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1030 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1031 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1032 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1033 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1034 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1035 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1036 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1037 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1038 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1039 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1040 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1041 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNO") in START_TEST()
1042 XCS("\xc3\xa4"); in START_TEST()
1078 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1079 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1080 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1081 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1082 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1083 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1084 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1085 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1086 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1087 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1088 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1089 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1090 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1091 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1092 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1093 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
1094 XCS("01234"); in START_TEST()
1175 { XCS("a"), 0, 1, STRUCT_START_TAG }, in START_TEST()
1176 { XCS("b"), 2, 2, STRUCT_START_TAG }, in START_TEST()
1177 { XCS("c"), 4, 3, STRUCT_START_TAG }, in START_TEST()
1178 { XCS("c"), 8, 3, STRUCT_END_TAG }, in START_TEST()
1179 { XCS("b"), 2, 4, STRUCT_END_TAG }, in START_TEST()
1180 { XCS("d"), 2, 5, STRUCT_START_TAG }, in START_TEST()
1181 { XCS("f"), 4, 6, STRUCT_START_TAG }, in START_TEST()
1182 { XCS("f"), 8, 6, STRUCT_END_TAG }, in START_TEST()
1183 { XCS("d"), 2, 7, STRUCT_END_TAG }, in START_TEST()
1184 { XCS("a"), 0, 8, STRUCT_END_TAG } in START_TEST()
1338 CharData_AppendXMLChars(storage, XCS("/"), 1); in end_element_event_handler()
1345 const XML_Char *expected = XCS("/c/b/f/d/a"); in START_TEST()
1377 if (*s == XCS(' ')) in is_whitespace_normalized()
1379 else if (*s == XCS('\t') || *s == XCS('\n') || *s == XCS('\r')) in is_whitespace_normalized()
1403 assert(is_whitespace_normalized(XCS("abc"), 0)); in testhelper_is_whitespace_normalized()
1404 assert(is_whitespace_normalized(XCS("abc"), 1)); in testhelper_is_whitespace_normalized()
1405 assert(is_whitespace_normalized(XCS("abc def ghi"), 0)); in testhelper_is_whitespace_normalized()
1406 assert(is_whitespace_normalized(XCS("abc def ghi"), 1)); in testhelper_is_whitespace_normalized()
1407 assert(!is_whitespace_normalized(XCS(" abc def ghi"), 0)); in testhelper_is_whitespace_normalized()
1408 assert(is_whitespace_normalized(XCS(" abc def ghi"), 1)); in testhelper_is_whitespace_normalized()
1409 assert(!is_whitespace_normalized(XCS("abc def ghi"), 0)); in testhelper_is_whitespace_normalized()
1410 assert(is_whitespace_normalized(XCS("abc def ghi"), 1)); in testhelper_is_whitespace_normalized()
1411 assert(!is_whitespace_normalized(XCS("abc def ghi "), 0)); in testhelper_is_whitespace_normalized()
1412 assert(is_whitespace_normalized(XCS("abc def ghi "), 1)); in testhelper_is_whitespace_normalized()
1413 assert(!is_whitespace_normalized(XCS(" "), 0)); in testhelper_is_whitespace_normalized()
1414 assert(is_whitespace_normalized(XCS(" "), 1)); in testhelper_is_whitespace_normalized()
1415 assert(!is_whitespace_normalized(XCS("\t"), 0)); in testhelper_is_whitespace_normalized()
1416 assert(!is_whitespace_normalized(XCS("\t"), 1)); in testhelper_is_whitespace_normalized()
1417 assert(!is_whitespace_normalized(XCS("\n"), 0)); in testhelper_is_whitespace_normalized()
1418 assert(!is_whitespace_normalized(XCS("\n"), 1)); in testhelper_is_whitespace_normalized()
1419 assert(!is_whitespace_normalized(XCS("\r"), 0)); in testhelper_is_whitespace_normalized()
1420 assert(!is_whitespace_normalized(XCS("\r"), 1)); in testhelper_is_whitespace_normalized()
1421 assert(!is_whitespace_normalized(XCS("abc\t def"), 1)); in testhelper_is_whitespace_normalized()
1433 if (xcstrcmp(XCS("attr"), attrname) == 0 in check_attr_contains_normalized_whitespace()
1434 || xcstrcmp(XCS("ents"), attrname) == 0 in check_attr_contains_normalized_whitespace()
1435 || xcstrcmp(XCS("refs"), attrname) == 0) { in check_attr_contains_normalized_whitespace()
1514 if (xcstrcmp(encoding, XCS("unsupported-encoding")) == 0) { in UnknownEncodingHandler()
1612 XCS("utf-8"), in START_TEST()
1616 const XML_Char *expected = XCS("\x00e9"); in START_TEST()
1618 const XML_Char *expected = XCS("\xc3\xa9"); in START_TEST()
1636 run_character_check(text, XCS("")); in START_TEST()
1652 XCS("utf-8"), in START_TEST()
1656 const XML_Char *expected = XCS("\x00e9"); in START_TEST()
1658 const XML_Char *expected = XCS("\xc3\xa9"); in START_TEST()
1715 XCS("unknown"), in START_TEST()
1737 XCS("unknown-encoding"), in START_TEST()
1846 run_ext_character_check(text, &test_data, XCS("")); in START_TEST()
1906 run_ext_character_check(text, &test_data, XCS("")); in START_TEST()
1911 run_character_check(text, XCS("")); in START_TEST()
1997 run_character_check(text, XCS("\n\n\n\n\n\n\n<doc/>")); in START_TEST()
2045 XCS("doc"), in START_TEST()
2046 XCS("a"), in START_TEST()
2047 XCS("(one|two|three)"), /* Extraneous spaces will be removed */ in START_TEST()
2056 XCS("doc"), in START_TEST()
2057 XCS("a"), in START_TEST()
2058 XCS("NOTATION(foo)"), in START_TEST()
2066 XCS("doc"), in START_TEST()
2067 XCS("a"), in START_TEST()
2068 XCS("NOTATION(foo)"), in START_TEST()
2069 XCS("bar"), in START_TEST()
2076 XCS("doc"), in START_TEST()
2077 XCS("a"), in START_TEST()
2078 XCS("CDATA"), in START_TEST()
2080 XCS("\x06f2"), in START_TEST()
2082 XCS("\xdb\xb2"), in START_TEST()
2286 const XML_Char *expected = XCS("<greeting>Hello, world!</greeting>"); in START_TEST()
2325 const XML_Char *expected = XCS("hello"); in START_TEST()
2350 const XML_Char *expected = XCS("hello"); in START_TEST()
2401 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2402 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2403 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2404 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2405 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2406 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2407 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2408 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2409 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2410 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2411 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2412 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2413 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2414 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2415 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2416 XCS("ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP") in START_TEST()
2417 XCS("ABCDEFGHIJKLMNOP";) in START_TEST()
2459 const XML_Char *expected = XCS("\xd834\xdd5e\xd834\xdd5f"); in START_TEST()
2461 const XML_Char *expected = XCS("\xf0\x9d\x85\x9e\xf0\x9d\x85\x9f"); in START_TEST()
2737 CharData_AppendXMLChars((CharData *)userData, XCS("D"), 1); in record_default_handler()
2745 CharData_AppendXMLChars((CharData *)userData, XCS("C"), 1); in record_cdata_handler()
2754 CharData_AppendXMLChars((CharData *)userData, XCS("c"), 1); in record_cdata_nodefault_handler()
2763 is_parameter_entity ? XCS("E") : XCS("e"), 1); in record_skip_handler()
2784 CharData_CheckXMLChars(&storage, XCS("DCDCDCDCDCDD")); in START_TEST()
2795 CharData_CheckXMLChars(&storage, XCS("DcccccD")); in START_TEST()
2807 CharData_CheckXMLChars(&storage, XCS("DDDDDDDDDDDDDDDDDDD")); in START_TEST()
2820 CharData_CheckXMLChars(&storage, XCS("DDDDDDDDDDDDDDDDDeD")); in START_TEST()
2831 CharData_CheckXMLChars(&storage, XCS("DDDDDDDDDDDDDDDDDCDD")); in START_TEST()
2842 CharData_CheckXMLChars(&storage, XCS("DDDDDDDDDDDDDDDDDcD")); in START_TEST()
3041 const XML_Char *new_base = XCS("/local/file/name.xml"); in START_TEST()
3136 { XCS("a"), XCS("1") }, in START_TEST()
3137 { XCS("b"), XCS("2") }, in START_TEST()
3138 { XCS("id"), XCS("one") }, in START_TEST()
3142 { XCS("c"), XCS("3") }, in START_TEST()
3146 { XCS("doc"), 3, XCS("id"), NULL }, in START_TEST()
3147 { XCS("tag"), 1, NULL, NULL }, in START_TEST()
3229 const XML_Char *expected = XCS("<doc><![CDATA[Hello\nworld]]></doc>"); in START_TEST()
3533 if (XML_SetEncoding(parser, XCS("utf-8")) != XML_STATUS_OK) in START_TEST()
3539 if (XML_SetEncoding(parser, XCS("us-ascii")) != XML_STATUS_ERROR) in START_TEST()
3560 if (len == 1 && (*s == XCS('\n') || *s == XCS('\r'))) in cr_cdata_handler()
3676 if (len == 1 && *s == XCS(']')) in rsqb_handler()
3775 const XML_Char *expected = XCS("<greeting>Hello, world!</greeting>"); in external_entity_good_cdata_ascii()
4235 const XML_Char *expected = XCS("<doc>&lt;&gt;&amp;&quot;&apos;</doc>"); in START_TEST()
4236 const XML_Char *result = XCS("<>&\"'"); in START_TEST()
4289 if (!xcstrcmp(systemId, XCS("004-1.ent"))) { in external_entity_param()
4296 else if (!xcstrcmp(systemId, XCS("004-2.ent"))) { in external_entity_param()
4372 XCS("<![IGNORE[<!ELEMENT e (#PCDATA)*>]]>\n&entity;"); in START_TEST()
4426 XCS("<![IGNORE[<!ELEMENT e (#PCDATA)*>]]>\n&en;"); in START_TEST()
4481 XCS("<![IGNORE[<!ELEMENT e (#PCDATA)*>]]>\n&en;"); in START_TEST()
4563 if (!xcstrcmp(systemId, XCS("004-1.ent"))) { in external_entity_valuer()
4568 else if (!xcstrcmp(systemId, XCS("004-2.ent"))) { in external_entity_valuer()
4704 if (!xcstrcmp(systemId, XCS("foo"))) { in external_entity_not_standalone()
4716 else if (!xcstrcmp(systemId, XCS("bar"))) { in external_entity_not_standalone()
4760 if (!xcstrcmp(systemId, XCS("004-1.ent"))) { in external_entity_value_aborter()
4765 if (!xcstrcmp(systemId, XCS("004-2.ent"))) { in external_entity_value_aborter()
4824 const XML_Char *expected = XCS("This is a \n \n\nyellow tiger"); in START_TEST()
4847 run_character_check(text, XCS("'")); in START_TEST()
4921 CharData_CheckXMLChars(&storage, XCS("doce")); in START_TEST()
4968 if (systemId != NULL && !xcstrcmp(systemId, XCS("http://example.org/"))) { in external_entity_public()
4971 else if (publicId != NULL && !xcstrcmp(publicId, XCS("foo"))) { in external_entity_public()
5068 if (systemId == NULL || !xcstrcmp(systemId, XCS("bar"))) in external_entity_devaluer()
5070 if (xcstrcmp(systemId, XCS("foo"))) in external_entity_devaluer()
5161 XML_Char match[] = XCS("\r"); in START_TEST()
5178 XML_Char match[] = XCS("\n"); in START_TEST()
5191 XML_Char match[] = XCS("\n"); in START_TEST()
5290 if (!xcstrcmp(name, XCS("suspend"))) in start_element_suspender()
5292 if (!xcstrcmp(name, XCS("abort"))) in start_element_suspender()
5303 const XML_Char *expected1 = XCS("Hi"); in START_TEST()
5304 const XML_Char *expected2 = XCS("HiHo"); in START_TEST()
5314 CharData_CheckXMLChars(&storage, XCS("")); in START_TEST()
5362 const XML_Char *expected = XCS("Hello, world"); in START_TEST()
5373 CharData_CheckXMLChars(&storage, XCS("")); in START_TEST()
5569 entity_name_to_match = XCS(PARAM_ENTITY_NAME); in START_TEST()
5570 entity_value_to_match = XCS(PARAM_ENTITY_CORE_VALUE) XCS("\n"); in START_TEST()
5651 const XML_Char *expected = XCS("<?test processing instruction?>\n<doc/>"); in START_TEST()
5669 const XML_Char *expected = XCS("<!-- This is a comment -->\n<doc/>"); in START_TEST()
5691 CharData_AppendXMLChars(storage, XCS(": "), 2); in accumulate_pi_characters()
5693 CharData_AppendXMLChars(storage, XCS("\n"), 1); in accumulate_pi_characters()
5699 const XML_Char *expected = XCS("yml: something like data\n"); in START_TEST()
5715 const XML_Char *expected = XCS("xnl: nothing like data\n"); in START_TEST()
5731 const XML_Char *expected = XCS("xmm: everything like data\n"); in START_TEST()
5755 const XML_Char *expected = XCS("\x0e04\x0e08: \n"); in START_TEST()
5757 const XML_Char *expected = XCS("\xe0\xb8\x84\xe0\xb8\x88: \n"); in START_TEST()
5782 const XML_Char *expected = XCS("\x0e04\x0e08: \n"); in START_TEST()
5784 const XML_Char *expected = XCS("\xe0\xb8\x84\xe0\xb8\x88: \n"); in START_TEST()
5815 const XML_Char *expected = XCS(" Comment A "); in START_TEST()
5835 const XML_Char *expected = XCS(" Comment B "); in START_TEST()
5876 if (!xcstrcmp(encoding, XCS("invalid-9")) || in MiscEncodingHandler()
5877 !xcstrcmp(encoding, XCS("ascii-like")) || in MiscEncodingHandler()
5878 !xcstrcmp(encoding, XCS("invalid-len")) || in MiscEncodingHandler()
5879 !xcstrcmp(encoding, XCS("invalid-a")) || in MiscEncodingHandler()
5880 !xcstrcmp(encoding, XCS("invalid-surrogate")) || in MiscEncodingHandler()
5881 !xcstrcmp(encoding, XCS("invalid-high"))) in MiscEncodingHandler()
5890 if (!xcstrcmp(encoding, XCS("invalid-9"))) in MiscEncodingHandler()
5893 if (!xcstrcmp(encoding, XCS("invalid-len"))) in MiscEncodingHandler()
5896 if (!xcstrcmp(encoding, XCS("invalid-a"))) in MiscEncodingHandler()
5901 if (!xcstrcmp(encoding, XCS("invalid-surrogate"))) in MiscEncodingHandler()
5904 if (!xcstrcmp(encoding, XCS("invalid-high"))) in MiscEncodingHandler()
5909 if (!xcstrcmp(encoding, XCS("failing-conv"))) in MiscEncodingHandler()
5911 else if (!xcstrcmp(encoding, XCS("prefix-conv"))) in MiscEncodingHandler()
5962 run_character_check(text, XCS("Hello, world")); in START_TEST()
6002 const XML_Char *expected = XCS("abcdefghabcdefghabcdefghijklmnop"); in START_TEST()
6026 const XML_Char *expected = XCS("abcdefghabcdefghabcdefghijklmnop"); in START_TEST()
6059 run_character_check(text, XCS("Hello, world")); in START_TEST()
6209 XCS("iso-8859-1"), in START_TEST()
6214 const XML_Char *expected = XCS("\x00ff\x00feL "); in START_TEST()
6217 const XML_Char *expected = XCS("\xc3\xbf\xc3\xbeL "); in START_TEST()
6248 XCS("iso-8859-1"), in START_TEST()
6253 const XML_Char *expected = XCS("\x00fe\x00ff L"); in START_TEST()
6256 const XML_Char *expected = XCS("\xc3\xbe\xc3\xbf L"); in START_TEST()
6292 XCS("iso-8859-1"), in START_TEST()
6297 const XML_Char *expected = XCS("\x00ff\x00feL "); in START_TEST()
6300 const XML_Char *expected = XCS("\xc3\xbf\xc3\xbeL "); in START_TEST()
6330 XCS("iso-8859-1"), in START_TEST()
6335 const XML_Char *expected = XCS("\x00fe\x00ff L"); in START_TEST()
6365 XCS("utf-16be"), in START_TEST()
6370 const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00"); in START_TEST()
6373 XCS("\xe3\xb0\x80" /* U+3C00 */ in START_TEST()
6403 XCS("utf-16le"), in START_TEST()
6408 const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00"); in START_TEST()
6411 XCS("\xe3\xb0\x80" /* U+3C00 */ in START_TEST()
6512 const XML_Char *expected = XCS("\xfec0"); in START_TEST()
6514 const XML_Char *expected = XCS("\xef\xbb\x80"); in START_TEST()
6535 const XML_Char *expected = XCS("one \x00e9 two"); in START_TEST()
6537 const XML_Char *expected = XCS("one \xc3\xa9 two"); in START_TEST()
6549 const XML_Char *expected = XCS("\x00e9]\x00e9two"); in START_TEST()
6551 const XML_Char *expected = XCS("\xc3\xa9]\xc3\xa9two"); in START_TEST()
6565 CharData_AppendXMLChars(storage, XCS("/"), 1); in record_element_end_handler()
6572 const XML_Char *expected = XCS("doc/doc"); in START_TEST()
6594 const XML_Char *expected = XCS("a"); in START_TEST()
6616 const XML_Char *expected = XCS("1"); in START_TEST()
6652 CharData_AppendXMLChars(storage, XCS("="), 1); in accumulate_entity_decl()
6654 CharData_AppendXMLChars(storage, XCS("\n"), 1); in accumulate_entity_decl()
6679 XCS("\x0e04\x0e08=<!ELEMENT doc (#PCDATA)>\n"); in START_TEST()
6682 XCS("\xe0\xb8\x84\xe0\xb8\x88=<!ELEMENT doc (#PCDATA)>\n"); in START_TEST()
6814 XCS("prefix-conv"), in START_TEST()
6834 const XML_Char *expected = XCS("\x00e4 \x00e4"); in START_TEST()
6836 const XML_Char *expected = XCS("\xc3\xa4 \xc3\xa4"); in START_TEST()
6857 const XML_Char *expected = XCS("\x00e4 \x00e4"); in START_TEST()
6859 const XML_Char *expected = XCS("\xc3\xa4 \xc3\xa4"); in START_TEST()
6895 const XML_Char *expected = XCS("baz"); in START_TEST()
6933 const XML_Char *expected = XCS("baz"); in START_TEST()
7078 XCS("'pubname'"), in START_TEST()
7083 XCS("'test.dtd'"), in START_TEST()
7121 parser = XML_ParserCreateNS(NULL, XCS(' ')); in namespace_setup()
7181 XCS("http://example.org/ e foo"), in START_TEST()
7182 XCS("http://example.org/ a bar") in START_TEST()
7217 CharData_AppendXMLChars(storage, XCS("start "), 6); in overwrite_start_checker()
7220 CharData_AppendXMLChars(storage, XCS("\nattribute "), 11); in overwrite_start_checker()
7224 CharData_AppendXMLChars(storage, XCS("\n"), 1); in overwrite_start_checker()
7231 CharData_AppendXMLChars(storage, XCS("end "), 4); in overwrite_end_checker()
7233 CharData_AppendXMLChars(storage, XCS("\n"), 1); in overwrite_end_checker()
7258 XCS("start http://example.org/ e\n") in START_TEST()
7259 XCS("start http://example.org/ f\n") in START_TEST()
7260 XCS("attribute http://example.org/ attr\n") in START_TEST()
7261 XCS("end http://example.org/ f\n") in START_TEST()
7262 XCS("start http://example.org/ g\n") in START_TEST()
7263 XCS("attribute http://example.org/ attr2\n") in START_TEST()
7264 XCS("end http://example.org/ g\n") in START_TEST()
7265 XCS("end http://example.org/ e\n"); in START_TEST()
7279 XCS("start http://example.org/ e n\n") in START_TEST()
7280 XCS("start http://example.org/ f n\n") in START_TEST()
7281 XCS("attribute http://example.org/ attr n\n") in START_TEST()
7282 XCS("end http://example.org/ f n\n") in START_TEST()
7283 XCS("start http://example.org/ g n\n") in START_TEST()
7284 XCS("attribute http://example.org/ attr2 n\n") in START_TEST()
7285 XCS("end http://example.org/ g n\n") in START_TEST()
7286 XCS("end http://example.org/ e n\n"); in START_TEST()
7437 XCS("http://example.org/ doc prefix") in START_TEST()
7573 XCS("http://example.org/") in START_TEST()
7574 XCS(" thisisalongenoughelementnametotriggerareallocation foo"), in START_TEST()
7575 XCS("http://example.org/ a bar") in START_TEST()
7759 run_character_check(text, XCS("Hi")); in START_TEST()
7814 const XML_Char *expected = XCS("a"); in START_TEST()
7835 const XML_Char *expected = XCS("URI \x0e04"); in START_TEST()
7837 const XML_Char *expected = XCS("URI \xe0\xb8\x84"); in START_TEST()
7866 const XML_Char *expected = XCS("URI \x0e04"); in START_TEST()
7868 const XML_Char *expected = XCS("URI \xe0\xb8\x84"); in START_TEST()
7964 parser = XML_ParserCreate_MM(XCS("us-ascii"), &memsuite, NULL); in START_TEST()
8065 if (xcstrcmp(version_text, XCS("expat_2.2.6"))) /* needs bump on releases */ in START_TEST()
8117 parser = XML_ParserCreate_MM(XCS("UTF-8"), &memsuite, XCS("\n")); in START_TEST()
8137 const XML_Char *expected = XCS("Hi"); in START_TEST()
8140 parser = XML_ParserCreate(XCS("UTF-16LE")); in START_TEST()
8690 if (!XML_SetEncoding(ext_parser, XCS("utf-8"))) { in external_entity_alloc_set_encoding()
8736 if (!xcstrcmp(encoding, XCS("unsupported-encoding"))) { in unknown_released_encoding_handler()
8796 const XML_Char *expected = XCS("\n\n\n\n\n\n\n\n\n<doc>text in doc</doc>"); in START_TEST()
8858 if (XML_SetEncoding(parser, XCS("us-ascii")) == XML_STATUS_OK) in START_TEST()
8871 const XML_Char *new_base = XCS("/local/file/name.xml"); in START_TEST()
9686 CharData_CheckXMLChars(&storage, XCS("doce")); in START_TEST()
9727 CharData_CheckXMLChars(&storage, XCS("doce")); in START_TEST()
10274 XCS("LongBaseURI/that/will/overflow/an/internal/buffer/and/cause/it/t") in START_TEST()
10275 XCS("o/have/to/grow/PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10276 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10277 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10278 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10279 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10280 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10281 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10282 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10283 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10284 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10285 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10286 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10287 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10288 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/") in START_TEST()
10289 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789A/"); in START_TEST()
10459 { XCS("foo"), "Entity Foo" }, in START_TEST()
10460 { XCS("bar"), "Entity Bar" }, in START_TEST()
10829 XCS("http://example.org/ e foo"), in START_TEST()
10830 XCS("http://example.org/ a ") in START_TEST()
10831 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10832 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10833 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10834 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10835 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10836 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10837 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10838 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10839 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10840 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10841 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10842 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10843 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10844 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10845 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10846 XCS("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789AZ") in START_TEST()
10907 XCS("http://example.org/") in START_TEST()
10908 XCS(" thisisalongenoughelementnametotriggerareallocation foo"), in START_TEST()
10909 XCS("http://example.org/ a bar") in START_TEST()
11349 { XCS("foo"), "<!ELEMENT e EMPTY>"}, in START_TEST()
11350 { XCS("bar"), "<e/>" }, in START_TEST()
11383 { XCS("foo"), "<!ELEMENT e EMPTY>"}, in context_realloc_test()
11384 { XCS("bar"), "<e/>" }, in context_realloc_test()
11677 { XCS("foo"), "<!ELEMENT el EMPTY>" }, in START_TEST()
11678 { XCS("bar"), "<el/>" }, in START_TEST()
11786 { XCS("foo/First"), "Hello world" }, in START_TEST()
11840 { XCS("foo"), "<e/>"}, in START_TEST()
11892 { XCS("foo"), "<!ELEMENT e EMPTY>" }, in START_TEST()
11894 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11895 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11896 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11897 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11898 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11899 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11900 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11901 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11902 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11903 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11904 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11905 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11906 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11907 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11908 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/") in START_TEST()
11909 XCS("ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNO/"), in START_TEST()
11951 { XCS("foo"), "<!ELEMENT e EMPTY>" }, in START_TEST()
11952 { XCS("bar"), "<e/>" }, in START_TEST()