lpc 232 daemons/based/based_common.c int lpc = 0; lpc 236 daemons/based/based_common.c for (lpc = 1; lpc < max_msg_types; lpc++) { lpc 240 daemons/based/based_common.c *value = lpc; lpc 241 daemons/based/based_common.c g_hash_table_insert(operation_hash, (gpointer) cib_server_ops[lpc].operation, value); lpc 262 daemons/based/based_common.c int lpc = 0; lpc 302 daemons/based/based_common.c for (lpc = 0; lpc < PCMK__NELEM(field_list); lpc++) { lpc 303 daemons/based/based_common.c field = field_list[lpc]; lpc 309 daemons/based/based_common.c for (lpc = 0; with_data && lpc < PCMK__NELEM(data_list); lpc++) { lpc 310 daemons/based/based_common.c field = data_list[lpc]; lpc 185 daemons/based/based_io.c int lpc = 0; lpc 215 daemons/based/based_io.c lpc = scandir(cib_root, &namelist, cib_archive_filter, cib_archive_sort); lpc 216 daemons/based/based_io.c if (lpc < 0) { lpc 221 daemons/based/based_io.c while (root == NULL && lpc > 1) { lpc 222 daemons/based/based_io.c crm_debug("Testing %d candidates", lpc); lpc 224 daemons/based/based_io.c lpc--; lpc 226 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); lpc 237 daemons/based/based_io.c free(namelist[lpc]); lpc 287 daemons/controld/controld_control.c int lpc = 0; lpc 289 daemons/controld/controld_control.c while((g_main_context_pending(ctx) && lpc < 10)) { lpc 290 daemons/controld/controld_control.c lpc++; lpc 291 daemons/controld/controld_control.c crm_trace("Iteration %d", lpc); lpc 366 daemons/controld/controld_fencing.c GList *lpc = NULL; lpc 374 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { lpc 376 daemons/controld/controld_fencing.c pcmk__graph_synapse_t *synapse = (pcmk__graph_synapse_t *) lpc->data; lpc 326 daemons/controld/controld_join_dc.c int lpc = 0; lpc 334 daemons/controld/controld_join_dc.c for (lpc = 0; cmp == 0 && lpc < PCMK__NELEM(attributes); lpc++) { lpc 335 daemons/controld/controld_join_dc.c cmp = compare_int_fields(max_generation_xml, generation, attributes[lpc]); lpc 177 daemons/controld/controld_messages.c GList *lpc = NULL; lpc 179 daemons/controld/controld_messages.c for (lpc = fsa_message_queue; lpc != NULL; lpc = lpc->next) { lpc 180 daemons/controld/controld_messages.c fsa_data_t *data = (fsa_data_t *) lpc->data; lpc 371 daemons/controld/controld_schedulerd.c int lpc = 0; lpc 389 daemons/controld/controld_schedulerd.c for (lpc = 0; lpc < max; lpc++) { lpc 390 daemons/controld/controld_schedulerd.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 46 daemons/controld/controld_te_callbacks.c int lpc, max; lpc 145 daemons/controld/controld_te_callbacks.c int lpc = 0; lpc 147 daemons/controld/controld_te_callbacks.c for (lpc = 0; lpc < max; lpc++) { lpc 148 daemons/controld/controld_te_callbacks.c xmlNode *rsc_op = getXpathResult(xpathObj, lpc); lpc 159 daemons/controld/controld_te_callbacks.c for (lpc = 0; lpc < max; lpc++) { lpc 162 daemons/controld/controld_te_callbacks.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 619 daemons/controld/controld_te_callbacks.c for (int lpc = 0; lpc < nmatches; lpc++) { lpc 620 daemons/controld/controld_te_callbacks.c xmlNode *rsc_op = getXpathResult(xpathObj, lpc); lpc 770 daemons/fenced/fenced_commands.c int last = 0, lpc = 0, max = 0, added = 0; lpc 778 daemons/fenced/fenced_commands.c for (; lpc <= max; lpc++) { lpc 779 daemons/fenced/fenced_commands.c switch (hostmap[lpc]) { lpc 782 daemons/fenced/fenced_commands.c lpc++; lpc 788 daemons/fenced/fenced_commands.c if (lpc > last) { lpc 790 daemons/fenced/fenced_commands.c name = calloc(1, 1 + lpc - last); lpc 791 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); lpc 793 daemons/fenced/fenced_commands.c last = lpc + 1; lpc 806 daemons/fenced/fenced_commands.c value = calloc(1, 1 + lpc - last); lpc 807 daemons/fenced/fenced_commands.c memcpy(value, hostmap + last, lpc - last); lpc 825 daemons/fenced/fenced_commands.c } else if (lpc > last) { lpc 826 daemons/fenced/fenced_commands.c crm_debug("Parse error at offset %d near '%s'", lpc - last, hostmap + last); lpc 829 daemons/fenced/fenced_commands.c last = lpc + 1; lpc 833 daemons/fenced/fenced_commands.c if (hostmap[lpc] == 0) { lpc 928 daemons/fenced/fenced_commands.c int lpc = 0; lpc 942 daemons/fenced/fenced_commands.c for (lpc = 0; lpc < max; lpc++) { lpc 944 daemons/fenced/fenced_commands.c xmlNode *match = getXpathResult(xpath, lpc); lpc 1528 daemons/fenced/fenced_commands.c int lpc = 0; lpc 1531 daemons/fenced/fenced_commands.c for (lpc = 0; lpc < ST_LEVEL_MAX; lpc++) { lpc 1532 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { lpc 1544 daemons/fenced/fenced_commands.c int lpc = 0; lpc 1546 daemons/fenced/fenced_commands.c for (lpc = 0; lpc < ST_LEVEL_MAX; lpc++) { lpc 1547 daemons/fenced/fenced_commands.c if (tp->levels[lpc] != NULL) { lpc 1548 daemons/fenced/fenced_commands.c g_list_free_full(tp->levels[lpc], free); lpc 1626 daemons/fenced/fenced_commands.c int lpc = 0; lpc 1636 daemons/fenced/fenced_commands.c for (lpc = 0; lpc <= max; lpc++) { lpc 1637 daemons/fenced/fenced_commands.c if (devices[lpc] == ',' || devices[lpc] == 0) { lpc 1638 daemons/fenced/fenced_commands.c char *line = strndup(devices + last, lpc - last); lpc 1643 daemons/fenced/fenced_commands.c last = lpc + 1; lpc 2394 daemons/fenced/fenced_commands.c GList *lpc = NULL; lpc 2409 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { lpc 2410 daemons/fenced/fenced_commands.c stonith_device_t *device = g_hash_table_lookup(device_list, lpc->data); lpc 2961 daemons/fenced/fenced_commands.c for (int lpc = 0; lpc < PCMK__NELEM(names); lpc++) { lpc 2962 daemons/fenced/fenced_commands.c name = names[lpc]; lpc 822 daemons/fenced/fenced_remote.c GList *lpc = NULL; lpc 828 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { lpc 829 daemons/fenced/fenced_remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); lpc 456 daemons/fenced/pacemaker-fenced.c int max = numXpathResults(xpathObj), lpc = 0; lpc 458 daemons/fenced/pacemaker-fenced.c for (lpc = 0; lpc < max; lpc++) { lpc 461 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 509 daemons/fenced/pacemaker-fenced.c int max = numXpathResults(xpathObj), lpc = 0; lpc 511 daemons/fenced/pacemaker-fenced.c for (lpc = 0; lpc < max; lpc++) { lpc 512 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 538 daemons/fenced/pacemaker-fenced.c int max = numXpathResults(xpathObj), lpc = 0; lpc 540 daemons/fenced/pacemaker-fenced.c for (lpc = 0; lpc < max; lpc++) { lpc 541 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 907 daemons/fenced/pacemaker-fenced.c int max = numXpathResults(xpath_obj), lpc = 0; lpc 913 daemons/fenced/pacemaker-fenced.c for (lpc = 0; lpc < max; lpc++) { lpc 914 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); lpc 931 daemons/fenced/pacemaker-fenced.c int max = numXpathResults(xpath_obj), lpc = 0; lpc 933 daemons/fenced/pacemaker-fenced.c for (lpc = 0; lpc < max; lpc++) { lpc 936 daemons/fenced/pacemaker-fenced.c xmlNode *match = getXpathResult(xpath_obj, lpc); lpc 813 lib/cib/cib_file.c int lpc = 0; lpc 836 lib/cib/cib_file.c for (lpc = 0; lpc < max_msg_types; lpc++) { lpc 837 lib/cib/cib_file.c if (pcmk__str_eq(op, cib_file_ops[lpc].op, pcmk__str_casei)) { lpc 838 lib/cib/cib_file.c fn = &(cib_file_ops[lpc].fn); lpc 839 lib/cib/cib_file.c query = cib_file_ops[lpc].read_only; lpc 364 lib/cib/cib_ops.c int max = 0, lpc; lpc 372 lib/cib/cib_ops.c for (lpc = 0; lpc < max; lpc++) { lpc 373 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 426 lib/cib/cib_ops.c int last = 0, lpc = 0, len = 0; lpc 429 lib/cib/cib_ops.c while (lpc <= len) { lpc 430 lib/cib/cib_ops.c if (replace[lpc] == ',' || replace[lpc] == 0) { lpc 433 lib/cib/cib_ops.c if (last == lpc) { lpc 435 lib/cib/cib_ops.c last = lpc + 1; lpc 439 lib/cib/cib_ops.c replace_item = strndup(replace + last, lpc - last); lpc 448 lib/cib/cib_ops.c last = lpc + 1; lpc 451 lib/cib/cib_ops.c lpc++; lpc 622 lib/cib/cib_ops.c int lpc = 0, max = 0; lpc 656 lib/cib/cib_ops.c for (lpc = 0; lpc < max; lpc++) { lpc 657 lib/cib/cib_ops.c xmlNode *top = getXpathResult(xpathObj, lpc); lpc 696 lib/cib/cib_ops.c int lpc = 0; lpc 732 lib/cib/cib_ops.c for (lpc = 0; lpc < max; lpc++) { lpc 734 lib/cib/cib_ops.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 105 lib/cluster/corosync.c int lpc = 0; lpc 170 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); lpc 181 lib/cluster/corosync.c nodeid, lpc, pcmk__s(name, "<null>")); lpc 183 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.name", lpc); lpc 189 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.ring0_addr", lpc); lpc 202 lib/cluster/corosync.c lpc++; lpc 561 lib/cluster/corosync.c int lpc = 0; lpc 611 lib/cluster/corosync.c for (lpc = 0; TRUE; lpc++) { lpc 616 lib/cluster/corosync.c key = crm_strdup_printf("nodelist.node.%d.nodeid", lpc); lpc 642 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); lpc 238 lib/common/acl.c int max = 0, lpc = 0; lpc 244 lib/common/acl.c for (lpc = 0; lpc < max; lpc++) { lpc 246 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 474 lib/common/acl.c int lpc = 0; lpc 478 lib/common/acl.c for(lpc = 0; lpc < max; lpc++) { lpc 479 lib/common/acl.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 112 lib/common/cib.c for (int lpc = 0; lpc < PCMK__NELEM(cib_sections); lpc++) { lpc 114 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, lpc 116 lib/common/cib.c return cib_sections[lpc].path; lpc 133 lib/common/cib.c for (int lpc = 0; lpc < PCMK__NELEM(cib_sections); lpc++) { lpc 135 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, lpc 137 lib/common/cib.c return cib_sections[lpc].parent; lpc 258 lib/common/digest.c int lpc = 0, len = 0; lpc 271 lib/common/digest.c for (lpc = 0; lpc < MD5_DIGEST_SIZE; lpc++) { lpc 272 lib/common/digest.c sprintf(digest + (2 * lpc), "%02x", raw_digest[lpc]); lpc 595 lib/common/io.c int lpc = atoi(entry->d_name); lpc 603 lib/common/io.c if ((lpc >= min_fd) && (lpc <= max_fd) && (lpc != dir_fd)) { lpc 604 lib/common/io.c close(lpc); lpc 614 lib/common/io.c for (int lpc = max_fd; lpc >= min_fd; lpc--) { lpc 615 lib/common/io.c close(lpc); lpc 242 lib/common/iso8601.c int lpc; lpc 244 lib/common/iso8601.c for (lpc = 1; lpc < m; lpc++) { lpc 245 lib/common/iso8601.c d += crm_time_days_in_month(lpc, y); lpc 311 lib/common/iso8601.c int lpc; lpc 324 lib/common/iso8601.c for (lpc = 1; lpc < utc->years; lpc++) { lpc 325 lib/common/iso8601.c long long dmax = year_days(lpc); lpc 922 lib/common/iso8601.c int lpc = 0; lpc 948 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { lpc 950 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); lpc 967 lib/common/iso8601.c if (lpc > 0) { lpc 968 lib/common/iso8601.c crm_trace("Found int: %d. Stopped at str[%d]='%c'", *result, lpc, str[lpc]); lpc 1469 lib/common/iso8601.c int lpc; lpc 1476 lib/common/iso8601.c for (lpc = extra; lpc > 0; lpc--) { lpc 1484 lib/common/iso8601.c for (lpc = -extra; lpc > 0; lpc--) { lpc 403 lib/common/logging.c int lpc = 0; lpc 419 lib/common/logging.c for (lpc = QB_LOG_BLACKBOX; lpc < QB_LOG_TARGET_MAX; lpc++) { lpc 420 lib/common/logging.c qb_log_ctl(lpc, QB_LOG_CONF_FILE_SYNC, QB_TRUE); lpc 445 lib/common/logging.c for (lpc = QB_LOG_BLACKBOX; lpc < QB_LOG_TARGET_MAX; lpc++) { lpc 446 lib/common/logging.c qb_log_ctl(lpc, QB_LOG_CONF_FILE_SYNC, QB_FALSE); lpc 589 lib/common/logging.c int lpc = 0; lpc 628 lib/common/logging.c for (lpc = QB_LOG_SYSLOG; lpc < QB_LOG_TARGET_MAX; lpc++) { lpc 629 lib/common/logging.c crm_log_filter_source(lpc, trace_files, trace_fns, trace_fmts, trace_tags, trace_blackbox, lpc 708 lib/common/logging.c int lpc; lpc 710 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { lpc 711 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { lpc 712 lib/common/logging.c return p_names[lpc].priority; lpc 770 lib/common/logging.c int lpc = 0; lpc 819 lib/common/logging.c for (lpc = QB_LOG_SYSLOG; lpc < QB_LOG_TARGET_MAX; lpc++) { lpc 820 lib/common/logging.c qb_log_ctl(lpc, QB_LOG_CONF_THREADED, QB_FALSE); lpc 823 lib/common/logging.c qb_log_ctl(lpc, QB_LOG_CONF_ELLIPSIS, QB_TRUE); lpc 825 lib/common/logging.c set_format_string(lpc, crm_system_name, pid, nodename); lpc 51 lib/common/options.c int index = 0, lpc = 0; lpc 69 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { lpc 70 lib/common/options.c if (long_options[lpc].name[0] == '-') { lpc 77 lib/common/options.c long_opts[index].name = long_options[lpc].name; lpc 78 lib/common/options.c long_opts[index].has_arg = long_options[lpc].has_arg; lpc 79 lib/common/options.c long_opts[index].flag = long_options[lpc].flag; lpc 80 lib/common/options.c long_opts[index].val = long_options[lpc].val; lpc 113 lib/common/options.c int lpc = 0; lpc 117 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { lpc 118 lib/common/options.c if (long_options[lpc].val && long_options[lpc].val != '-' && long_options[lpc].val < UCHAR_MAX) { lpc 121 lib/common/options.c local_short_options[opt_string_len++] = long_options[lpc].val; lpc 123 lib/common/options.c if (long_options[lpc].has_arg == optional_argument) { lpc 126 lib/common/options.c if (long_options[lpc].has_arg >= required_argument) { lpc 574 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { lpc 575 lib/common/options.c if (pcmk__str_eq(name, option_list[lpc].name, pcmk__str_casei)) { lpc 576 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, lpc 577 lib/common/options.c option_list[lpc].name, lpc 578 lib/common/options.c option_list[lpc].alt_name, lpc 579 lib/common/options.c option_list[lpc].default_value); lpc 662 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { lpc 663 lib/common/options.c const char *opt_name = option_list[lpc].name; lpc 664 lib/common/options.c const char *opt_type = option_list[lpc].type; lpc 665 lib/common/options.c const char *opt_values = option_list[lpc].values; lpc 666 lib/common/options.c const char *opt_default = option_list[lpc].default_value; lpc 667 lib/common/options.c const char *opt_desc_short = option_list[lpc].description_short; lpc 668 lib/common/options.c const char *opt_desc_long = option_list[lpc].description_long; lpc 722 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { lpc 723 lib/common/options.c cluster_option_value(options, option_list[lpc].is_valid, lpc 724 lib/common/options.c option_list[lpc].name, lpc 725 lib/common/options.c option_list[lpc].alt_name, lpc 726 lib/common/options.c option_list[lpc].default_value); lpc 224 lib/common/patchset.c int lpc = 0; lpc 253 lib/common/patchset.c for (lpc = 0; (last != NULL) && (lpc < PCMK__NELEM(vfields)); lpc++) { lpc 254 lib/common/patchset.c const char *value = crm_element_value(last, vfields[lpc]); lpc 256 lib/common/patchset.c crm_xml_add(diff_child, vfields[lpc], value); lpc 257 lib/common/patchset.c if (changed || lpc == 2) { lpc 258 lib/common/patchset.c crm_xml_add(cib, vfields[lpc], value); lpc 274 lib/common/patchset.c for (lpc = 0; next && lpc < PCMK__NELEM(vfields); lpc++) { lpc 275 lib/common/patchset.c const char *value = crm_element_value(next, vfields[lpc]); lpc 277 lib/common/patchset.c crm_xml_add(diff_child, vfields[lpc], value); lpc 306 lib/common/patchset.c int lpc = 0; lpc 333 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 334 lib/common/patchset.c const char *value = crm_element_value(source, vfields[lpc]); lpc 339 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); lpc 343 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 344 lib/common/patchset.c const char *value = crm_element_value(target, vfields[lpc]); lpc 349 lib/common/patchset.c crm_xml_add(v, vfields[lpc], value); lpc 518 lib/common/patchset.c int lpc = 0, max = 0; lpc 526 lib/common/patchset.c for (lpc = 2; lpc < max; lpc++) { lpc 527 lib/common/patchset.c prefix[lpc] = ' '; lpc 795 lib/common/patchset.c int lpc = 0; lpc 813 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 814 lib/common/patchset.c crm_element_value_int(tmp, vfields[lpc], &(del[lpc])); lpc 815 lib/common/patchset.c crm_trace("Got %d for del[%s]", del[lpc], vfields[lpc]); lpc 824 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 825 lib/common/patchset.c crm_element_value_int(tmp, vfields[lpc], &(add[lpc])); lpc 826 lib/common/patchset.c crm_trace("Got %d for add[%s]", add[lpc], vfields[lpc]); lpc 845 lib/common/patchset.c int lpc = 0; lpc 858 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 859 lib/common/patchset.c crm_element_value_int(xml, vfields[lpc], &(this[lpc])); lpc 860 lib/common/patchset.c crm_trace("Got %d for this[%s]", this[lpc], vfields[lpc]); lpc 861 lib/common/patchset.c if (this[lpc] < 0) { lpc 862 lib/common/patchset.c this[lpc] = 0; lpc 870 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 871 lib/common/patchset.c del[lpc] = this[lpc]; lpc 876 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 877 lib/common/patchset.c if (this[lpc] < del[lpc]) { lpc 879 lib/common/patchset.c vfields[lpc], this[0], this[1], this[2], lpc 883 lib/common/patchset.c } else if (this[lpc] > del[lpc]) { lpc 885 lib/common/patchset.c vfields[lpc], this[0], this[1], this[2], lpc 892 lib/common/patchset.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 893 lib/common/patchset.c if (add[lpc] > del[lpc]) { lpc 462 lib/common/remote.c for (int lpc = 0; (lpc < iovs) && (rc == pcmk_rc_ok); lpc++) { lpc 465 lib/common/remote.c rc = send_tls(remote->tls_session, &(iov[lpc])); lpc 470 lib/common/remote.c rc = send_plaintext(remote->tcp_socket, &(iov[lpc])); lpc 96 lib/common/schemas.c int lpc = 0; lpc 99 lib/common/schemas.c for (lpc = best; lpc > 0; lpc--) { lpc 100 lib/common/schemas.c if (known_schemas[lpc].version.v[0] lpc 104 lib/common/schemas.c best = lpc; lpc 379 lib/common/schemas.c int lpc, max; lpc 393 lib/common/schemas.c for (lpc = 0; lpc < max; lpc++) { lpc 398 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { lpc 401 lib/common/schemas.c namelist[lpc]->d_name); lpc 404 lib/common/schemas.c if ((lpc + 1) < max) { lpc 407 lib/common/schemas.c if (version_from_filename(namelist[lpc+1]->d_name, &next_version) lpc 421 lib/common/schemas.c for (lpc = 0; lpc < max; lpc++) { lpc 422 lib/common/schemas.c free(namelist[lpc]); lpc 556 lib/common/schemas.c int lpc; lpc 559 lib/common/schemas.c for (lpc = 0; lpc < xml_schema_max; lpc++) { lpc 561 lib/common/schemas.c switch (known_schemas[lpc].validator) { lpc 565 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; lpc 579 lib/common/schemas.c known_schemas[lpc].cache = NULL; lpc 582 lib/common/schemas.c free(known_schemas[lpc].name); lpc 583 lib/common/schemas.c free(known_schemas[lpc].transform); lpc 584 lib/common/schemas.c free(known_schemas[lpc].transform_enter); lpc 716 lib/common/schemas.c int lpc = 0; lpc 719 lib/common/schemas.c for (lpc = 0; lpc < xml_schema_max; lpc++) { lpc 720 lib/common/schemas.c if (validate_with(xml_blob, lpc, FALSE)) { lpc 723 lib/common/schemas.c known_schemas[lpc].name); lpc 724 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); lpc 725 lib/common/schemas.c if(known_schemas[lpc].after_transform == 0) { lpc 1035 lib/common/schemas.c int lpc = 0; lpc 1040 lib/common/schemas.c for (; lpc < xml_schema_max; lpc++) { lpc 1041 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { lpc 1042 lib/common/schemas.c return lpc; lpc 1056 lib/common/schemas.c int lpc = 0, match = -1, rc = pcmk_ok; lpc 1071 lib/common/schemas.c lpc = match; lpc 1072 lib/common/schemas.c if (lpc >= 0 && transform == FALSE) { lpc 1073 lib/common/schemas.c *best = lpc++; lpc 1075 lib/common/schemas.c } else if (lpc < 0) { lpc 1077 lib/common/schemas.c lpc = 0; lpc 1088 lib/common/schemas.c while (lpc <= max_stable_schemas) { lpc 1090 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", lpc 1091 lib/common/schemas.c lpc, max_stable_schemas); lpc 1093 lib/common/schemas.c if (validate_with(xml, lpc, to_logs) == FALSE) { lpc 1096 lib/common/schemas.c known_schemas[lpc].name); lpc 1100 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); lpc 1118 lib/common/schemas.c *best = lpc; lpc 1123 lib/common/schemas.c next = known_schemas[lpc].after_transform; lpc 1125 lib/common/schemas.c if (next <= lpc) { lpc 1127 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); lpc 1130 lib/common/schemas.c } else if (max > 0 && (lpc == max || next > max)) { lpc 1132 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); lpc 1135 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL lpc 1143 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); lpc 1145 lib/common/schemas.c lpc = next; lpc 1149 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, lpc 1150 lib/common/schemas.c known_schemas[lpc].transform); lpc 1152 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); lpc 1155 lib/common/schemas.c known_schemas[lpc].transform); lpc 1160 lib/common/schemas.c known_schemas[lpc].transform); lpc 1161 lib/common/schemas.c lpc = next; lpc 1169 lib/common/schemas.c known_schemas[lpc].transform); lpc 1180 lib/common/schemas.c lpc++; lpc 192 lib/common/utils.c int lpc = 0; lpc 210 lib/common/utils.c lpc++; lpc 249 lib/common/utils.c crm_trace("%s == %s (%d)", version1, version2, lpc); lpc 251 lib/common/utils.c crm_trace("%s < %s (%d)", version1, version2, lpc); lpc 253 lib/common/utils.c crm_trace("%s > %s (%d)", version1, version2, lpc); lpc 470 lib/common/utils.c int lpc = 0; lpc 479 lib/common/utils.c for (; lpc < max; lpc++) { lpc 480 lib/common/utils.c switch (crm_name[lpc]) { lpc 482 lib/common/utils.c crm_name[lpc] = '_'; lpc 88 lib/common/xml.c for (int lpc = 0; lpc < spaces; lpc++) { lpc 975 lib/common/xml.c int lpc = 0; lpc 977 lib/common/xml.c while(lpc < len) { lpc 978 lib/common/xml.c crm_warn("Parse error[+%.3d]: %.80s", lpc, input+lpc); lpc 979 lib/common/xml.c lpc += 80; lpc 1388 lib/common/xml.c for (size_t lpc = (*length) - 1; lpc > (start + offset); lpc--) { lpc 1389 lib/common/xml.c text[lpc] = text[lpc - offset]; lpc 41 lib/common/xpath.c int lpc, max = numXpathResults(xpathObj); lpc 47 lib/common/xpath.c for (lpc = 0; lpc < max; lpc++) { lpc 48 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPACE_DECL) { lpc 49 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; lpc 103 lib/common/xpath.c int lpc, max = numXpathResults(xpathObj); lpc 109 lib/common/xpath.c for (lpc = 0; lpc < max; lpc++) { lpc 113 lib/common/xpath.c if (xpathObj->nodesetval->nodeTab[lpc] == NULL) { lpc 117 lib/common/xpath.c xml = xpathObj->nodesetval->nodeTab[lpc]->parent; lpc 124 lib/common/xpath.c xpathObj->nodesetval->nodeTab[lpc] = NULL; lpc 239 lib/common/xpath.c int lpc = 0; lpc 244 lib/common/xpath.c for (lpc = 0; lpc < max; lpc++) { lpc 245 lib/common/xpath.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 251 lib/common/xpath.c xpath, lpc, lpc 545 lib/fencing/st_client.c int rc = 0, lpc = 0, max = 0; lpc 567 lib/fencing/st_client.c for (lpc = 0; lpc < max; lpc++) { lpc 568 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpathObj, lpc); lpc 574 lib/fencing/st_client.c crm_info("%s[%d] = %s", "//@agent", lpc, match_path); lpc 2391 lib/fencing/st_client.c int lpc = 0; lpc 2403 lib/fencing/st_client.c for (lpc = 0; lpc < max; lpc++) { lpc 2405 lib/fencing/st_client.c xmlNode *match = getXpathResult(xpath, lpc); lpc 51 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { lpc 52 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_action_t *prereq = (pcmk__graph_action_t *) lpc->data; lpc 82 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { lpc 83 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_action_t *action = (pcmk__graph_action_t *) lpc->data; lpc 113 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { lpc 114 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *synapse = (pcmk__graph_synapse_t *) lpc->data; lpc 170 lib/pacemaker/pcmk_graph_consumer.c GList *lpc = NULL; lpc 173 lib/pacemaker/pcmk_graph_consumer.c for (lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { lpc 174 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_action_t *prereq = (pcmk__graph_action_t *) lpc->data; lpc 195 lib/pacemaker/pcmk_graph_consumer.c for (lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { lpc 196 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_action_t *a = (pcmk__graph_action_t *) lpc->data; lpc 275 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { lpc 276 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_action_t *action = (pcmk__graph_action_t *) lpc->data; lpc 350 lib/pacemaker/pcmk_graph_consumer.c GList *lpc = NULL; lpc 369 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { lpc 370 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *synapse = (pcmk__graph_synapse_t *) lpc->data; lpc 383 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { lpc 384 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *synapse = (pcmk__graph_synapse_t *) lpc->data; lpc 124 lib/pacemaker/pcmk_graph_logging.c for (const GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { lpc 125 lib/pacemaker/pcmk_graph_logging.c const pcmk__graph_action_t *input = (pcmk__graph_action_t *) lpc->data; lpc 146 lib/pacemaker/pcmk_graph_logging.c for (GList *lpc = synapse->inputs; lpc != NULL; lpc = lpc->next) { lpc 147 lib/pacemaker/pcmk_graph_logging.c pcmk__graph_action_t *input = (pcmk__graph_action_t *) lpc->data; lpc 192 lib/pacemaker/pcmk_graph_logging.c for (GList *lpc = synapse->actions; lpc != NULL; lpc = lpc->next) { lpc 194 lib/pacemaker/pcmk_graph_logging.c (pcmk__graph_action_t *) lpc->data, pending); lpc 227 lib/pacemaker/pcmk_graph_logging.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { lpc 228 lib/pacemaker/pcmk_graph_logging.c log_synapse(log_level, graph, (pcmk__graph_synapse_t *) lpc->data); lpc 308 lib/pacemaker/pcmk_graph_producer.c for (int lpc = 0; lpc < PCMK__NELEM(attr_list); lpc++) { lpc 309 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(rsc_xml, attr_list[lpc], lpc 310 lib/pacemaker/pcmk_graph_producer.c g_hash_table_lookup(action->rsc->meta, attr_list[lpc])); lpc 909 lib/pacemaker/pcmk_graph_producer.c for (GList *lpc = action->actions_before; lpc != NULL; lpc = lpc->next) { lpc 910 lib/pacemaker/pcmk_graph_producer.c pe_action_wrapper_t *input = (pe_action_wrapper_t *) lpc->data; lpc 70 lib/pacemaker/pcmk_output.c GList *lpc = NULL; lpc 74 lib/pacemaker/pcmk_output.c for (lpc = list; lpc != NULL; lpc = lpc->next) { lpc 75 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; lpc 371 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons; lpc != NULL; lpc = lpc->next) { lpc 372 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; lpc 416 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons; lpc != NULL; lpc = lpc->next) { lpc 417 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; lpc 449 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { lpc 450 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; lpc 494 lib/pacemaker/pcmk_output.c for (GList *lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { lpc 495 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; lpc 519 lib/pacemaker/pcmk_output.c GList *lpc = NULL; lpc 523 lib/pacemaker/pcmk_output.c for (lpc = list; lpc != NULL; lpc = lpc->next) { lpc 524 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; lpc 2095 lib/pacemaker/pcmk_output.c for (int lpc = 0; lpc < pcmk__n_rc; lpc++) { lpc 2096 lib/pacemaker/pcmk_output.c int len = (int) strlen(pcmk_rc_name(pcmk_rc_error - lpc)); lpc 502 lib/pacemaker/pcmk_sched_actions.c GList *lpc = NULL; lpc 532 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_before; lpc != NULL; lpc = lpc->next) { lpc 533 lib/pacemaker/pcmk_sched_actions.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; lpc 662 lib/pacemaker/pcmk_sched_actions.c for (lpc = then->actions_after; lpc != NULL; lpc = lpc->next) { lpc 663 lib/pacemaker/pcmk_sched_actions.c pe_action_wrapper_t *other = (pe_action_wrapper_t *) lpc->data; lpc 873 lib/pacemaker/pcmk_sched_bundle.c for (GList *lpc = then_child_action->actions_after; lpc != NULL; lpc = lpc->next) { lpc 874 lib/pacemaker/pcmk_sched_bundle.c pe_action_wrapper_t *next = (pe_action_wrapper_t *) lpc->data; lpc 834 lib/pacemaker/pcmk_sched_clone.c int lpc = strlen(key); lpc 836 lib/pacemaker/pcmk_sched_clone.c for (; lpc > 0; lpc--) { lpc 837 lib/pacemaker/pcmk_sched_clone.c if (key[lpc] == '_' && stop == 0) { lpc 838 lib/pacemaker/pcmk_sched_clone.c stop = lpc; lpc 840 lib/pacemaker/pcmk_sched_clone.c } else if (key[lpc] == '_') { lpc 843 lib/pacemaker/pcmk_sched_clone.c lpc++; lpc 844 lib/pacemaker/pcmk_sched_clone.c task_mutable = strdup(key + lpc); lpc 845 lib/pacemaker/pcmk_sched_clone.c task_mutable[stop - lpc] = 0; lpc 934 lib/pengine/bundle.c int lpc = 0; lpc 998 lib/pengine/bundle.c replica->offset = lpc++; lpc 1025 lib/pengine/bundle.c for (int lpc = 0; lpc < bundle_data->nreplicas; lpc++) { lpc 1028 lib/pengine/bundle.c replica->offset = lpc; lpc 238 lib/pengine/clone.c int lpc = 0; lpc 371 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { lpc 105 lib/pengine/failcounts.c int lpc = 0; lpc 107 lib/pengine/failcounts.c for (lpc = 0; lpc < max; lpc++) { lpc 108 lib/pengine/failcounts.c xmlNode *pref = getXpathResult(xpathObj, lpc); lpc 1786 lib/pengine/pe_output.c GList *lpc = NULL; lpc 1788 lib/pengine/pe_output.c for (lpc = node->details->running_rsc; lpc != NULL; lpc = lpc->next) { lpc 1789 lib/pengine/pe_output.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 588 lib/pengine/utils.c for (GList *lpc = data_set->resources; lpc != NULL; lpc = lpc->next) { lpc 589 lib/pengine/utils.c pe_resource_t *r = (pe_resource_t *) lpc->data; lpc 1365 lib/services/services_linux.c int entries = 0, lpc = 0; lpc 1373 lib/services/services_linux.c for (lpc = 0; lpc < entries; lpc++) { lpc 1376 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { lpc 1377 lib/services/services_linux.c free(namelist[lpc]); lpc 1381 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); lpc 1389 lib/services/services_linux.c free(namelist[lpc]); lpc 1395 lib/services/services_linux.c free(namelist[lpc]); lpc 1401 lib/services/services_linux.c free(namelist[lpc]); lpc 1406 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); lpc 1408 lib/services/services_linux.c free(namelist[lpc]); lpc 171 lib/services/upstart.c int len, lpc; lpc 180 lib/services/upstart.c for (lpc = 1; lpc <= len; lpc++) { lpc 181 lib/services/upstart.c match[lpc] = match[lpc + shuffle]; lpc 210 lib/services/upstart.c int lpc = 0; lpc 270 lib/services/upstart.c lpc++; lpc 278 lib/services/upstart.c crm_trace("Found %d upstart jobs", lpc); lpc 187 tools/crm_diff.c int lpc; lpc 191 tools/crm_diff.c for (lpc = 0; lpc < nvfields; lpc++) { lpc 192 tools/crm_diff.c xml_remove_prop(tmp, vfields[lpc]); lpc 197 tools/crm_diff.c for (lpc = 0; lpc < nvfields; lpc++) { lpc 198 tools/crm_diff.c xml_remove_prop(tmp, vfields[lpc]); lpc 222 tools/crm_diff.c int lpc; lpc 224 tools/crm_diff.c for (lpc = 0; lpc < PCMK__NELEM(vfields); lpc++) { lpc 225 tools/crm_diff.c crm_copy_xml_element(object_1, object_2, vfields[lpc]); lpc 152 tools/crm_error.c for (int lpc = 1; processed_args[lpc] != NULL; lpc++) { lpc 155 tools/crm_error.c if (pcmk__str_eq(processed_args[lpc], "--", pcmk__str_none)) { lpc 158 tools/crm_error.c pcmk__scan_min_int(processed_args[lpc], &code, INT_MIN); lpc 1912 tools/crm_mon.c int lpc = 0, max = numXpathResults(xpathObj); lpc 1914 tools/crm_mon.c for (lpc = 0; lpc < max; lpc++) { lpc 1915 tools/crm_mon.c xmlNode *rsc_op = getXpathResult(xpathObj, lpc); lpc 501 tools/crm_mon_curses.c int lpc = 0; lpc 503 tools/crm_mon_curses.c for (lpc = 0; lpc < LINES; lpc++) { lpc 504 tools/crm_mon_curses.c move(lpc, 0); lpc 106 tools/crm_resource_print.c for (GList *lpc = ops; lpc != NULL; lpc = lpc->next) { lpc 107 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; lpc 545 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { lpc 546 tools/crm_resource_print.c node_info_t *ni = (node_info_t *) lpc->data; lpc 589 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { lpc 590 tools/crm_resource_print.c node_info_t *ni = (node_info_t *) lpc->data; lpc 615 tools/crm_resource_print.c GList *lpc = NULL; lpc 618 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { lpc 619 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 649 tools/crm_resource_print.c GList *lpc = NULL; lpc 651 tools/crm_resource_print.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { lpc 652 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 658 tools/crm_resource_print.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { lpc 659 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 697 tools/crm_resource_print.c GList *lpc = NULL; lpc 702 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { lpc 703 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 732 tools/crm_resource_print.c GList *lpc = NULL; lpc 736 tools/crm_resource_print.c for (lpc = activeResources; lpc != NULL; lpc = lpc->next) { lpc 737 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 749 tools/crm_resource_print.c for(lpc = unactiveResources; lpc != NULL; lpc = lpc->next) { lpc 750 tools/crm_resource_print.c pe_resource_t *rsc = (pe_resource_t *) lpc->data; lpc 370 tools/crm_resource_runtime.c GList *lpc = NULL; lpc 380 tools/crm_resource_runtime.c for (lpc = rsc->rsc_cons_lhs; lpc != NULL; lpc = lpc->next) { lpc 381 tools/crm_resource_runtime.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; lpc 709 tools/crm_resource_runtime.c GList *lpc = NULL; lpc 711 tools/crm_resource_runtime.c for (lpc = rsc->children; lpc != NULL; lpc = lpc->next) { lpc 712 tools/crm_resource_runtime.c pe_resource_t *child = (pe_resource_t *) lpc->data; lpc 723 tools/crm_resource_runtime.c GList *lpc = NULL; lpc 744 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { lpc 745 tools/crm_resource_runtime.c node = (pe_node_t *) lpc->data; lpc 1094 tools/crm_resource_runtime.c int lpc = 0; lpc 1098 tools/crm_resource_runtime.c crm_trace("%s[%d]: %s", tag, lpc, (char*)item->data); lpc 1099 tools/crm_resource_runtime.c lpc++; lpc 1330 tools/crm_resource_runtime.c int lpc = 0; lpc 1492 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { lpc 1565 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { lpc 265 tools/crm_ticket.c int lpc = 0; lpc 269 tools/crm_ticket.c for (; lpc < 26; lpc++) { lpc 270 tools/crm_ticket.c if (date_str[lpc] == '\n') { lpc 271 tools/crm_ticket.c date_str[lpc] = 0; lpc 293 tools/crm_ticket.c int lpc = 0; lpc 299 tools/crm_ticket.c if (lpc > 0) { lpc 311 tools/crm_ticket.c lpc++;