Lines Matching refs:cur

250 getNext(xmlNodePtr cur, const char *xpath) {
255 if ((cur == NULL) || (cur->doc == NULL) || (xpath == NULL))
257 ctxtXPath->doc = cur->doc;
258 ctxtXPath->node = cur;
278 getString(xmlNodePtr cur, const char *xpath) {
283 if ((cur == NULL) || (cur->doc == NULL) || (xpath == NULL))
285 ctxtXPath->doc = cur->doc;
286 ctxtXPath->node = cur;
311 xsdIncorectTestCase(xmlNodePtr cur) {
318 cur = getNext(cur, "./incorrect[1]");
319 if (cur == NULL) {
323 test = getNext(cur, "./*");
326 xmlGetLineNo(cur));
363 xmlGetLineNo(cur), xmlMemUsed() - memt);
432 xmlNodePtr test, tmp, cur;
453 cur = getNext(tst, "./correct[1]");
454 if (cur == NULL) {
458 test = getNext(cur, "./*");
461 xmlGetLineNo(cur));
496 tmp = getNext(cur, "following-sibling::valid[1]");
556 tmp = getNext(cur, "following-sibling::invalid[1]");
617 xmlGetLineNo(cur), xmlMemUsed() - memt);
624 xsdTestSuite(xmlNodePtr cur) {
626 xmlChar *doc = getString(cur, "string(documentation)");
633 cur = getNext(cur, "./testCase[1]");
634 while (cur != NULL) {
635 xsdTestCase(cur);
636 cur = getNext(cur, "following-sibling::testCase[1]");
645 xmlNodePtr cur;
656 cur = xmlDocGetRootElement(doc);
657 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
663 cur = getNext(cur, "./testSuite[1]");
664 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
669 while (cur != NULL) {
670 xsdTestSuite(cur);
671 cur = getNext(cur, "following-sibling::testSuite[1]");
681 rngTestSuite(xmlNodePtr cur) {
683 xmlChar *doc = getString(cur, "string(documentation)");
689 doc = getString(cur, "string(section)");
696 cur = getNext(cur, "./testSuite[1]");
697 while (cur != NULL) {
698 xsdTestSuite(cur);
699 cur = getNext(cur, "following-sibling::testSuite[1]");
708 xmlNodePtr cur;
719 cur = xmlDocGetRootElement(doc);
720 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
726 cur = getNext(cur, "./testSuite[1]");
727 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
732 while (cur != NULL) {
733 rngTestSuite(cur);
734 cur = getNext(cur, "following-sibling::testSuite[1]");
746 xmlNodePtr cur;
757 cur = xmlDocGetRootElement(doc);
758 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
764 cur = getNext(cur, "./testSuite[1]");
765 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSuite"))) {
770 while (cur != NULL) {
771 xsdTestSuite(cur);
772 cur = getNext(cur, "following-sibling::testSuite[1]");
788 xstcTestInstance(xmlNodePtr cur, xmlSchemaPtr schemas,
800 href = getString(cur,
804 xmlGetLineNo(cur));
812 xmlGetLineNo(cur), href);
818 xmlGetLineNo(cur), path);
822 validity = getString(cur,
826 xmlGetLineNo(cur));
865 xmlGetLineNo(cur), validity);
879 xmlGetLineNo(cur), xmlMemUsed() - mem);
886 xstcTestGroup(xmlNodePtr cur, const char *base) {
898 href = getString(cur,
902 xmlGetLineNo(cur));
909 xmlGetLineNo(cur), href);
915 xmlGetLineNo(cur), path);
919 validity = getString(cur,
923 xmlGetLineNo(cur));
950 instance = getNext(cur, "./ts:instanceTest[1]");
988 xmlGetLineNo(cur), validity);
1001 xmlGetLineNo(cur), path, xmlMemUsed() - mem);
1010 xmlNodePtr cur;
1021 cur = xmlDocGetRootElement(doc);
1022 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testSet"))) {
1026 contributor = xmlGetProp(cur, BAD_CAST "contributor");
1030 name = xmlGetProp(cur, BAD_CAST "name");
1038 cur = getNext(cur, "./ts:testGroup[1]");
1039 if ((cur == NULL) || (!xmlStrEqual(cur->name, BAD_CAST "testGroup"))) {
1044 while (cur != NULL) {
1045 xstcTestGroup(cur, base);
1046 cur = getNext(cur, "following-sibling::ts:testGroup[1]");