spec              189 include/crm/common/util.h int crm_parse_agent_spec(const char *spec, char **standard, char **provider,
spec             1512 lib/common/utils.c crm_parse_agent_spec(const char *spec, char **standard, char **provider,
spec             1517 lib/common/utils.c     CRM_CHECK(spec && standard && provider && type, return -EINVAL);
spec             1522 lib/common/utils.c     colon = strchr(spec, ':');
spec             1523 lib/common/utils.c     if ((colon == NULL) || (colon == spec)) {
spec             1527 lib/common/utils.c     *standard = calloc(colon - spec + 1, sizeof(char));
spec             1528 lib/common/utils.c     strncpy(*standard, spec, colon - spec);
spec             1529 lib/common/utils.c     spec = colon + 1;
spec             1532 lib/common/utils.c         colon = strchr(spec, ':');
spec             1533 lib/common/utils.c         if ((colon == NULL) || (colon == spec)) {
spec             1537 lib/common/utils.c         *provider = calloc(colon - spec + 1, sizeof(char));
spec             1538 lib/common/utils.c         strncpy(*provider, spec, colon - spec);
spec             1539 lib/common/utils.c         spec = colon + 1;
spec             1542 lib/common/utils.c     if (*spec == '\0') {
spec             1548 lib/common/utils.c     *type = strdup(spec);
spec              543 tools/fake_transition.c         char *spec = (char *)gIter->data;
spec              560 tools/fake_transition.c         quiet_log(" + Injecting %s into the configuration\n", spec);
spec              562 tools/fake_transition.c         key = calloc(1, strlen(spec) + 1);
spec              563 tools/fake_transition.c         node = calloc(1, strlen(spec) + 1);
spec              564 tools/fake_transition.c         rc = sscanf(spec, "%[^@]@%[^=]=%d", key, node, &outcome);
spec              566 tools/fake_transition.c             fprintf(stderr, "Invalid operation spec: %s.  Only found %d fields\n", spec, rc);
spec              704 tools/fake_transition.c         char *spec = (char *)gIter->data;
spec              707 tools/fake_transition.c         key = calloc(1, 1 + strlen(spec));
spec              708 tools/fake_transition.c         snprintf(key, strlen(spec), "%s_%s_%d@%s=", resource, op->op_type, op->interval, node);
spec              710 tools/fake_transition.c         if (strncasecmp(key, spec, strlen(key)) == 0) {
spec              711 tools/fake_transition.c             rc = sscanf(spec, "%*[^=]=%d", (int *) &op->rc);
spec              717 tools/fake_transition.c                         spec);