index 329 attrd/main.c int index = 0; index 341 attrd/main.c flag = crm_get_option(argc, argv, &index); index 135 cib/main.c int index = 0; index 151 cib/main.c flag = crm_get_option(argc, argv, &index); index 180 cib/remote.c int index = 0; index 205 cib/remote.c char *member = group->gr_mem[index++]; index 62 crmd/main.c int index = 0; index 71 crmd/main.c flag = crm_get_option(argc, argv, &index); index 478 fencing/main.c int index = 0; index 481 fencing/main.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 482 fencing/main.c topology_remove_helper(key, index); index 503 fencing/main.c int index = 0; index 506 fencing/main.c crm_element_value_int(match, XML_ATTR_STONITH_INDEX, &index); index 510 fencing/main.c } else if (index <= 0) { index 514 fencing/main.c topology_remove_helper(target, index); index 363 include/crm/common/xml.h xmlNode *getXpathResult(xmlXPathObjectPtr xpathObj, int index); index 96 include/crm_internal.h int crm_get_option(int argc, char **argv, int *index); index 97 include/crm_internal.h int crm_get_option_long(int argc, char **argv, int *index, const char **longname); index 969 lib/common/utils.c int index = 0, lpc = 0; index 978 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); index 979 lib/common/utils.c long_opts[index].name = "__dummmy__"; index 980 lib/common/utils.c long_opts[index].has_arg = 0; index 981 lib/common/utils.c long_opts[index].flag = 0; index 982 lib/common/utils.c long_opts[index].val = '_'; index 983 lib/common/utils.c index++; index 990 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); index 993 lib/common/utils.c long_opts[index].name = long_options[lpc].name; index 994 lib/common/utils.c long_opts[index].has_arg = long_options[lpc].has_arg; index 995 lib/common/utils.c long_opts[index].flag = long_options[lpc].flag; index 996 lib/common/utils.c long_opts[index].val = long_options[lpc].val; index 997 lib/common/utils.c index++; index 1001 lib/common/utils.c long_opts = realloc_safe(long_opts, (index + 1) * sizeof(struct option)); index 1002 lib/common/utils.c long_opts[index].name = NULL; index 1003 lib/common/utils.c long_opts[index].has_arg = 0; index 1004 lib/common/utils.c long_opts[index].flag = 0; index 1005 lib/common/utils.c long_opts[index].val = 0; index 1053 lib/common/utils.c crm_get_option(int argc, char **argv, int *index) index 1055 lib/common/utils.c return crm_get_option_long(argc, argv, index, NULL); index 1059 lib/common/utils.c crm_get_option_long(int argc, char **argv, int *index, const char **longname) index 1068 lib/common/utils.c *index = 0; index 1070 lib/common/utils.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); index 1074 lib/common/utils.c if (long_opts[*index].val) { index 1075 lib/common/utils.c return long_opts[*index].val; index 1077 lib/common/utils.c *longname = long_opts[*index].name; index 1079 lib/common/utils.c crm_notice("Unhandled option --%s", long_opts[*index].name); index 1089 lib/common/utils.c crm_help('?', *index ? 0 : 1); index 3199 lib/common/xml.c int index; index 3219 lib/common/xml.c for (index = 0; index < length; index++) { index 3220 lib/common/xml.c switch (copy[index]) { index 3224 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "<"); index 3228 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, ">"); index 3232 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, """); index 3236 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "'"); index 3240 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "&"); index 3245 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, " "); index 3250 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "\\n"); index 3254 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "\\r"); index 3264 lib/common/xml.c if(copy[index] < ' ' || copy[index] > '~') { index 3265 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); index 3268 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, replace); index 64 lib/common/xpath.c getXpathResult(xmlXPathObjectPtr xpathObj, int index) index 69 lib/common/xpath.c CRM_CHECK(index >= 0, return NULL); index 72 lib/common/xpath.c if (index >= max) { index 73 lib/common/xpath.c crm_err("Requested index %d of only %d items", index, max); index 76 lib/common/xpath.c } else if(xpathObj->nodesetval->nodeTab[index] == NULL) { index 81 lib/common/xpath.c match = xpathObj->nodesetval->nodeTab[index]; index 84 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[index]->type != XML_NAMESPACE_DECL) { index 86 lib/common/xpath.c xpathObj->nodesetval->nodeTab[index] = NULL; index 251 lib/services/services.c int index; index 270 lib/services/services.c for (index = 1; index <= MAX_ARGC - 3; index++ ) { index 271 lib/services/services.c snprintf(buf_tmp, sizeof(buf_tmp), "%d", index); index 297 lib/services/services.c int index = 0; index 310 lib/services/services.c index = 1; index 314 lib/services/services.c op->opaque->args[index] = strdup("--version"); index 315 lib/services/services.c index++; index 326 lib/services/services.c index <= args_size - 3) { index 339 lib/services/services.c op->opaque->args[index] = long_opt; index 340 lib/services/services.c op->opaque->args[index + 1] = strdup(value); index 341 lib/services/services.c index += 2; index 344 lib/services/services.c op->opaque->args[index] = NULL; index 533 lrmd/main.c int index = 0; index 551 lrmd/main.c flag = crm_get_option(argc, argv, &index); index 125 pengine/main.c int index = 0; index 135 pengine/main.c flag = crm_get_option(argc, argv, &index); index 86 tools/attrd_updater.c int index = 0; index 111 tools/attrd_updater.c flag = crm_get_option(argc, argv, &index); index 630 tools/crm_simulate.c int index = 0; index 653 tools/crm_simulate.c flag = crm_get_option(argc, argv, &index); index 68 tools/crm_uuid.c int index = 0; index 81 tools/crm_uuid.c flag = crm_get_option(argc, argv, &index); index 88 tools/notifyServicelogEvent.c int index = 0; index 103 tools/notifyServicelogEvent.c flag = crm_get_option(argc, argv, &index); index 78 tools/test.iso8601.c int index = 0; index 98 tools/test.iso8601.c flag = crm_get_option(argc, argv, &index);