Lines Matching defs:testdata
3219 struct bom_testdata *const testdata
3221 const char *const external = testdata->external;
3222 const int split = testdata->split;
3223 testdata->nested_callback_happened = XML_TRUE;
3255 struct bom_testdata testdata;
3256 testdata.external = external;
3257 testdata.split = split;
3258 testdata.nested_callback_happened = XML_FALSE;
3266 XML_SetUserData(parser, &testdata);
3270 if (! testdata.nested_callback_happened) {
5414 struct element_decl_data *testdata = (struct element_decl_data *)userData;
5415 testdata->count += 1;
5416 XML_FreeContentModel(testdata->parser, model);
5443 struct element_decl_data testdata;
5444 testdata.parser = parser;
5445 testdata.count = 0;
5446 XML_SetUserData(parser, &testdata);
5455 assert_true(testdata.count == 1); // first element should be done
5462 assert_true(testdata.count == 1); // still just the first one
5471 assert_true(testdata.count == 1); // *still* just the first one
5482 assert_true(testdata.count == 1); // or the test is incorrect
5491 assert_true(testdata.count == 2); // the big token should be done
5498 assert_true(testdata.count == 3); // after isFinal=XML_TRUE, all must be done