index 335 daemons/attrd/pacemaker-attrd.c int index = 0; index 347 daemons/attrd/pacemaker-attrd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 176 daemons/based/based_remote.c int index = 0; index 201 daemons/based/based_remote.c char *member = group->gr_mem[index++]; index 92 daemons/based/pacemaker-based.c int index = 0; index 108 daemons/based/pacemaker-based.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 54 daemons/controld/pacemaker-controld.c int index = 0; index 65 daemons/controld/pacemaker-controld.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 423 daemons/execd/pacemaker-execd.c int index = 0; index 436 daemons/execd/pacemaker-execd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 461 daemons/fenced/pacemaker-fenced.c int index = 0; index 464 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 465 daemons/fenced/pacemaker-fenced.c topology_remove_helper(key, index); index 486 daemons/fenced/pacemaker-fenced.c int index = 0; index 489 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 493 daemons/fenced/pacemaker-fenced.c } else if (index <= 0) { index 497 daemons/fenced/pacemaker-fenced.c topology_remove_helper(target, index); index 315 daemons/schedulerd/pacemaker-schedulerd.c int index = 0; index 327 daemons/schedulerd/pacemaker-schedulerd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 63 include/crm/common/options_internal.h int pcmk__next_cli_option(int argc, char **argv, int *index, index 256 include/crm/common/xml.h xmlNode *getXpathResult(xmlXPathObjectPtr xpathObj, int index); index 51 lib/common/options.c int index = 0, lpc = 0; index 60 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); index 61 lib/common/options.c long_opts[index].name = "__dummmy__"; index 62 lib/common/options.c long_opts[index].has_arg = 0; index 63 lib/common/options.c long_opts[index].flag = 0; index 64 lib/common/options.c long_opts[index].val = '_'; index 65 lib/common/options.c index++; index 74 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); index 77 lib/common/options.c long_opts[index].name = long_options[lpc].name; index 78 lib/common/options.c long_opts[index].has_arg = long_options[lpc].has_arg; index 79 lib/common/options.c long_opts[index].flag = long_options[lpc].flag; index 80 lib/common/options.c long_opts[index].val = long_options[lpc].val; index 81 lib/common/options.c index++; index 85 lib/common/options.c long_opts = pcmk__realloc(long_opts, (index + 1) * sizeof(struct option)); index 86 lib/common/options.c long_opts[index].name = NULL; index 87 lib/common/options.c long_opts[index].has_arg = 0; index 88 lib/common/options.c long_opts[index].flag = 0; index 89 lib/common/options.c long_opts[index].val = 0; index 147 lib/common/options.c pcmk__next_cli_option(int argc, char **argv, int *index, const char **longname) index 156 lib/common/options.c *index = 0; index 158 lib/common/options.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); index 162 lib/common/options.c if (long_opts[*index].val) { index 163 lib/common/options.c return long_opts[*index].val; index 165 lib/common/options.c *longname = long_opts[*index].name; index 167 lib/common/options.c crm_notice("Unhandled option --%s", long_opts[*index].name); index 177 lib/common/options.c pcmk__cli_help('?', (*index? CRM_EX_OK : CRM_EX_USAGE)); index 1337 lib/common/xml.c int index; index 1357 lib/common/xml.c for (index = 0; index < length; index++) { index 1358 lib/common/xml.c switch (copy[index]) { index 1362 lib/common/xml.c copy = replace_text(copy, index, &length, "<"); index 1366 lib/common/xml.c copy = replace_text(copy, index, &length, ">"); index 1370 lib/common/xml.c copy = replace_text(copy, index, &length, """); index 1374 lib/common/xml.c copy = replace_text(copy, index, &length, "'"); index 1378 lib/common/xml.c copy = replace_text(copy, index, &length, "&"); index 1383 lib/common/xml.c copy = replace_text(copy, index, &length, " "); index 1388 lib/common/xml.c copy = replace_text(copy, index, &length, "\\n"); index 1392 lib/common/xml.c copy = replace_text(copy, index, &length, "\\r"); index 1402 lib/common/xml.c if(copy[index] < ' ' || copy[index] > '~') { index 1403 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); index 1406 lib/common/xml.c copy = replace_text(copy, index, &length, replace); index 58 lib/common/xpath.c getXpathResult(xmlXPathObjectPtr xpathObj, int index) index 63 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); index 66 lib/common/xpath.c if (index >= max) { index 67 lib/common/xpath.c crm_err("Requested index %d of only %d items", index, max); index 70 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { index 75 lib/common/xpath.c match = xpathObj->nodesetval->nodeTab[index]; index 78 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { index 80 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; index 299 lib/services/services.c int index = 1; index 305 lib/services/services.c index <= args_size - 3) { index 310 lib/services/services.c op->opaque->args[index++] = crm_strdup_printf("--%s", key); index 311 lib/services/services.c op->opaque->args[index++] = strdup(value); index 168 tools/attrd_updater.c int index = 0; index 193 tools/attrd_updater.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 115 tools/iso8601.c int index = 0; index 134 tools/iso8601.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 100 tools/notifyServicelogEvent.c int index = 0; index 115 tools/notifyServicelogEvent.c flag = pcmk__next_cli_option(argc, argv, &index, NULL);