schema             41 include/crm/common/schemas_internal.h void pcmk__warn_if_schema_deprecated(const char *schema);
schema            469 lib/cib/cib_utils.c         const char *schema = crm_element_value(scratch, PCMK_XA_VALIDATE_WITH);
schema            471 lib/cib/cib_utils.c         if (schema == NULL) {
schema            476 lib/cib/cib_utils.c         pcmk__warn_if_schema_deprecated(schema);
schema            481 lib/cib/cib_utils.c         if (pcmk__cmp_schemas_by_name(schema, "pacemaker-1.2") >= 0) {
schema            132 lib/common/schemas.c         pcmk__schema_t *schema = iter->data;
schema            138 lib/common/schemas.c         if (schema->version.v[0] < highest_schema->version.v[0]) {
schema            224 lib/common/schemas.c     pcmk__schema_t *schema = NULL;
schema            226 lib/common/schemas.c     schema = pcmk__assert_alloc(1, sizeof(pcmk__schema_t));
schema            228 lib/common/schemas.c     schema->validator = validator;
schema            229 lib/common/schemas.c     schema->version.v[0] = version->v[0];
schema            230 lib/common/schemas.c     schema->version.v[1] = version->v[1];
schema            231 lib/common/schemas.c     schema->transforms = transforms;
schema            235 lib/common/schemas.c         schema->name = schema_strdup_printf("pacemaker-", *version, "");
schema            237 lib/common/schemas.c         schema->name = pcmk__str_copy(name);
schema            240 lib/common/schemas.c     known_schemas = g_list_prepend(known_schemas, schema);
schema            480 lib/common/schemas.c             pcmk__schema_t *schema = iter->data;
schema            482 lib/common/schemas.c             crm_debug("Loaded schema %d: %s", schema_index, schema->name);
schema            483 lib/common/schemas.c             schema->schema_index = schema_index++;
schema            575 lib/common/schemas.c     pcmk__schema_t *schema = data;
schema            578 lib/common/schemas.c     switch (schema->validator) {
schema            583 lib/common/schemas.c             ctx = (relaxng_ctx_cache_t *) schema->cache;
schema            601 lib/common/schemas.c             schema->cache = NULL;
schema            605 lib/common/schemas.c     free(schema->name);
schema            606 lib/common/schemas.c     g_list_free_full(schema->transforms, free);
schema            607 lib/common/schemas.c     free(schema);
schema            641 lib/common/schemas.c         pcmk__schema_t *schema = iter->data;
schema            643 lib/common/schemas.c         if (pcmk__str_eq(name, schema->name, pcmk__str_none)) {
schema            682 lib/common/schemas.c validate_with(xmlNode *xml, pcmk__schema_t *schema,
schema            690 lib/common/schemas.c     if (schema == NULL) {
schema            694 lib/common/schemas.c     if (schema->validator == pcmk__schema_validator_none) {
schema            699 lib/common/schemas.c                                    schema->name);
schema            702 lib/common/schemas.c               pcmk__s(file, "missing schema"), schema->validator);
schema            703 lib/common/schemas.c     switch (schema->validator) {
schema            705 lib/common/schemas.c             cache = (relaxng_ctx_cache_t **) &(schema->cache);
schema            709 lib/common/schemas.c             crm_err("Unknown validator type: %d", schema->validator);
schema            718 lib/common/schemas.c validate_with_silent(xmlNode *xml, pcmk__schema_t *schema)
schema            722 lib/common/schemas.c     rc = validate_with(xml, schema, (xmlRelaxNGValidityErrorFunc) xml_log, GUINT_TO_POINTER(LOG_ERR));
schema            733 lib/common/schemas.c     pcmk__schema_t *schema = NULL;
schema            750 lib/common/schemas.c     schema = entry->data;
schema            751 lib/common/schemas.c     return validate_with(xml_blob, schema, error_handler,
schema            964 lib/common/schemas.c     pcmk__schema_t *schema = g_list_nth_data(known_schemas, schema_index);
schema            972 lib/common/schemas.c     pcmk__assert((schema != NULL) && (upgraded_schema != NULL));
schema            978 lib/common/schemas.c     for (GList *iter = schema->transforms; iter != NULL; iter = iter->next) {
schema            983 lib/common/schemas.c                   schema->name, upgraded_schema->name, transform);
schema           1004 lib/common/schemas.c                 schema->name, upgraded_schema->name);
schema           1011 lib/common/schemas.c              schema->name, upgraded_schema->name);
schema           1179 lib/common/schemas.c         pcmk__schema_t *schema = NULL;
schema           1188 lib/common/schemas.c         schema = (entry == NULL)? NULL : entry->data;
schema           1190 lib/common/schemas.c         if ((schema == NULL)
schema           1191 lib/common/schemas.c             || (schema->schema_index < x_0_schema->schema_index)) {
schema           1194 lib/common/schemas.c             if ((schema == NULL)
schema           1195 lib/common/schemas.c                 || (schema->schema_index < original_schema->schema_index)) {
schema           1238 lib/common/schemas.c             if (schema->schema_index < xml_latest_schema_index()) {
schema           1243 lib/common/schemas.c                                       original_schema->name, schema->name);
schema           1248 lib/common/schemas.c                          original_schema->name, schema->name);
schema           1295 lib/common/schemas.c         pcmk__schema_t *schema = iter->data;
schema           1297 lib/common/schemas.c         if (schema_cmp(ver, schema->version) != -1) {
schema           1301 lib/common/schemas.c         for (GList *iter2 = g_list_last(schema->transforms); iter2 != NULL;
schema           1309 lib/common/schemas.c         lst = g_list_prepend(lst, crm_strdup_printf("%s.rng", schema->name));
schema           1466 lib/common/schemas.c pcmk__warn_if_schema_deprecated(const char *schema)
schema           1471 lib/common/schemas.c     if (pcmk__str_eq(schema, PCMK_VALUE_NONE, pcmk__str_none)) {
schema           1475 lib/common/schemas.c                           "to use a supported schema)", schema);
schema           1496 lib/common/schemas.c             pcmk__schema_t *schema = (entry == NULL)? NULL : entry->data;
schema           1498 lib/common/schemas.c             *best_version = (schema == NULL)? -1 : schema->schema_index;
schema             40 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c     pcmk__schema_t *schema = NULL;
schema             45 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c     schema = entry->data;
schema             46 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c     assert_non_null(schema);
schema             48 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c     assert_int_equal(schema->schema_index, schema_index);
schema             49 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c     assert_string_equal(schema->name, schema_name);
schema             37 lib/common/tests/schemas/pcmk__get_schema_test.c     pcmk__schema_t *schema = NULL;
schema             42 lib/common/tests/schemas/pcmk__get_schema_test.c     schema = schema_entry->data;
schema             43 lib/common/tests/schemas/pcmk__get_schema_test.c     assert_non_null(schema);
schema             45 lib/common/tests/schemas/pcmk__get_schema_test.c     assert_int_equal(schema->schema_index, expected_index);
schema            117 lib/common/tests/schemas/pcmk__schema_init_test.c     pcmk__schema_t *schema = NULL;
schema            122 lib/common/tests/schemas/pcmk__schema_init_test.c     schema = entry->data;
schema            123 lib/common/tests/schemas/pcmk__schema_init_test.c     assert_non_null(schema);
schema            125 lib/common/tests/schemas/pcmk__schema_init_test.c     assert_int_equal(schema_index, schema->schema_index);