index 337 daemons/attrd/pacemaker-attrd.c int index = 0; index 349 daemons/attrd/pacemaker-attrd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 175 daemons/based/based_remote.c int index = 0; index 200 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 427 daemons/execd/pacemaker-execd.c int index = 0; index 440 daemons/execd/pacemaker-execd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); index 452 daemons/fenced/pacemaker-fenced.c int index = 0; index 455 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 456 daemons/fenced/pacemaker-fenced.c topology_remove_helper(key, index); index 477 daemons/fenced/pacemaker-fenced.c int index = 0; index 480 daemons/fenced/pacemaker-fenced.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 484 daemons/fenced/pacemaker-fenced.c } else if (index <= 0) { index 488 daemons/fenced/pacemaker-fenced.c topology_remove_helper(target, index); index 285 daemons/schedulerd/pacemaker-schedulerd.c int index = 0; index 296 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 1316 lib/common/xml.c int index; index 1336 lib/common/xml.c for (index = 0; index < length; index++) { index 1337 lib/common/xml.c switch (copy[index]) { index 1341 lib/common/xml.c copy = replace_text(copy, index, &length, "<"); index 1345 lib/common/xml.c copy = replace_text(copy, index, &length, ">"); index 1349 lib/common/xml.c copy = replace_text(copy, index, &length, """); index 1353 lib/common/xml.c copy = replace_text(copy, index, &length, "'"); index 1357 lib/common/xml.c copy = replace_text(copy, index, &length, "&"); index 1362 lib/common/xml.c copy = replace_text(copy, index, &length, " "); index 1367 lib/common/xml.c copy = replace_text(copy, index, &length, "\\n"); index 1371 lib/common/xml.c copy = replace_text(copy, index, &length, "\\r"); index 1381 lib/common/xml.c if(copy[index] < ' ' || copy[index] > '~') { index 1382 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); index 1385 lib/common/xml.c copy = replace_text(copy, index, &length, replace); index 57 lib/common/xpath.c getXpathResult(xmlXPathObjectPtr xpathObj, int index) index 62 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); index 65 lib/common/xpath.c if (index >= max) { index 66 lib/common/xpath.c crm_err("Requested index %d of only %d items", index, max); index 69 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { index 74 lib/common/xpath.c match = xpathObj->nodesetval->nodeTab[index]; index 77 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { index 79 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; index 269 lib/services/services.c int index = 1; index 275 lib/services/services.c index <= args_size - 3) { index 280 lib/services/services.c op->opaque->args[index++] = crm_strdup_printf("--%s", key); index 281 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);