strlen 223 attrd/attrd_common.c return ((strlen(value) >= (plus_plus_len + 2)) strlen 974 cib/callbacks.c if (host != NULL && strlen(host) == 0) { strlen 87 crmd/lrm.c op_id = calloc(1, strlen(rsc) + 34); strlen 89 crmd/lrm.c snprintf(op_id, strlen(rsc) + 34, "%s:%d", rsc, call_id); strlen 556 crmd/lrm.c len += strlen(param->rap_name) + 2; // include spaces around strlen 960 crmd/lrm.c max = strlen(rsc_template) + strlen(lrm_state->node_name) + strlen(rsc_id) + 1; strlen 410 crmd/messages.c if (host_to == NULL || strlen(host_to) == 0) { strlen 512 crmd/messages.c if (local_client_name == NULL || strlen(local_client_name) == 0) { strlen 516 crmd/messages.c } else if (local_major_version == NULL || strlen(local_major_version) == 0) { strlen 520 crmd/messages.c } else if (local_minor_version == NULL || strlen(local_minor_version) == 0) { strlen 49 crmd/pengine.c len += strlen(id); strlen 50 crmd/pengine.c len += strlen(PE_STATE_DIR); strlen 245 crmd/te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, strlen 429 crmd/te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, strlen 212 crmd/te_callbacks.c path_max = strlen(rsc_op_template) + strlen(op_id) + 1; strlen 298 crmd/te_callbacks.c tmp += strlen(NODE_PATT); strlen 321 crmd/te_callbacks.c match += strlen("node_state[@id=\'"); strlen 306 crmd/te_utils.c int len = strlen(target_copy); strlen 539 fencing/commands.c max = strlen(hostmap); strlen 661 fencing/commands.c max = strlen(hosts); strlen 752 fencing/commands.c offset = strlen(actions); strlen 1327 fencing/commands.c max = strlen(devices); strlen 773 fencing/main.c rsc_id += strlen("primitive[@id=\'"); strlen 149 fencing/standalone_config.c size_t len = strlen(":;") + 1; strlen 163 fencing/standalone_config.c len += strlen(node); strlen 166 fencing/standalone_config.c len += strlen(ports); strlen 172 fencing/standalone_config.c offset = strlen(tmp); strlen 264 include/crm/pengine/internal.h return (strlen(id) == base_len) && !strncmp(id, rsc->id, base_len); strlen 403 lib/ais/plugin.c pcmk_api->object_key_get(local_handle, "name", strlen("name"), (void **)&value, NULL); strlen 417 lib/ais/plugin.c local_cname_len = strlen(local_cname); strlen 556 lib/ais/plugin.c for (len = strlen(path); offset < len; offset++) { strlen 657 lib/ais/plugin.c local_uname_len = strlen(local_uname); strlen 1200 lib/ais/plugin.c size = strlen(data.string); strlen 1275 lib/ais/plugin.c if (data != NULL && strlen(data) > 0) { strlen 1391 lib/ais/plugin.c int str_size = strlen(data) + 1; strlen 1647 lib/ais/plugin.c len = min(strlen(VERSION), MAX_NAME - 1); strlen 168 lib/ais/utils.c if (use_valgrind && strlen(VALGRIND_BIN) == 0) { strlen 395 lib/ais/utils.c size = strlen(data); strlen 402 lib/ais/utils.c size += strlen(node->state); strlen 404 lib/ais/utils.c size += (7 + strlen(node->uname)); strlen 407 lib/ais/utils.c size += (6 + strlen(node->addr)); strlen 410 lib/ais/utils.c size += (9 + strlen(node->version)); strlen 489 lib/ais/utils.c data_len = 1 + strlen(data); strlen 507 lib/ais/utils.c ais_msg->host.size = strlen(host); strlen 565 lib/ais/utils.c data_len = 1 + strlen(data); strlen 611 lib/ais/utils.c len = strlen(prefix) + strlen(suffix) + 2; strlen 625 lib/ais/utils.c config->object_find_create(OBJECT_PARENT_HANDLE, name, strlen(name), &local_handle); strlen 668 lib/ais/utils.c config->object_key_get(object_service_handle, key, strlen(key), (void **)value, NULL); strlen 203 lib/ais/utils.h ais_malloc0(dup, strlen(src) + 1); strlen 151 lib/cib/cib_native.c cib_native_dispatch_internal(msg, strlen(msg), cib); strlen 426 lib/cib/cib_ops.c len = strlen(replace); strlen 776 lib/cib/cib_ops.c extra += strlen((const char *)parent->name); strlen 779 lib/cib/cib_ops.c extra += strlen(id); strlen 405 lib/cluster/corosync.c int str_size = strlen(data) + 1; strlen 272 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); strlen 464 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); strlen 546 lib/cluster/cpg.c local_name_len = strlen(local_name); strlen 574 lib/cluster/cpg.c msg->host.size = strlen(node->uname); strlen 594 lib/cluster/cpg.c msg->size = 1 + strlen(data); strlen 197 lib/cluster/heartbeat.c parent->nlens[next] = strlen(field); strlen 264 lib/cluster/heartbeat.c orig = strlen(buffer); strlen 758 lib/cluster/legacy.c int str_size = strlen(data) + 1; strlen 808 lib/cluster/legacy.c if (CS_OK == confdb_key_get(config, object_handle, key, strlen(key), &buffer, &len)) { strlen 866 lib/cluster/legacy.c rc = confdb_object_find(config, top_handle, name, strlen(name), &local_handle); strlen 77 lib/common/cib_secrets.c for (p = buf+strlen(buf)-1; p >= buf && isspace(*p); p--) strlen 136 lib/common/cib_secrets.c start_pname = local_file + strlen(local_file); strlen 146 lib/common/cib_secrets.c if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { strlen 168 lib/common/cib_secrets.c if (strlen(hash_file) + 5 > FILENAME_MAX) { strlen 78 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); strlen 56 lib/common/io.c for (len = strlen(path); offset < len; offset++) { strlen 99 lib/common/io.c len += strlen(directory); strlen 100 lib/common/io.c len += strlen(series); strlen 134 lib/common/io.c len += strlen(directory); strlen 135 lib/common/io.c len += strlen(series); strlen 211 lib/common/io.c len += strlen(directory); strlen 212 lib/common/io.c len += strlen(series); strlen 87 lib/common/ipc.c reference_len += strlen(local_cust1); strlen 92 lib/common/ipc.c reference_len += strlen(local_cust2); strlen 133 lib/common/ipc.c if (host_to != NULL && strlen(host_to) > 0) { strlen 189 lib/common/ipc.c if (host_from != NULL && strlen(host_from) > 0) { strlen 636 lib/common/ipc.c header->size_uncompressed = 1 + strlen(buffer); strlen 1341 lib/common/ipc.c if (uuid == NULL || strlen(uuid) == 0 strlen 1342 lib/common/ipc.c || client_name == NULL || strlen(client_name) == 0 strlen 1343 lib/common/ipc.c || major_version == NULL || strlen(major_version) == 0 strlen 1344 lib/common/ipc.c || minor_version == NULL || strlen(minor_version) == 0) { strlen 663 lib/common/iso8601.c CRM_CHECK(strlen(date_str) > 0, return NULL); strlen 787 lib/common/iso8601.c if (strlen(str) <= 0) { strlen 839 lib/common/iso8601.c CRM_CHECK(strlen(interval_str) > 0, goto bail); strlen 912 lib/common/iso8601.c CRM_CHECK(strlen(period_str) > 0, return NULL); strlen 1423 lib/common/iso8601.c scanned_pos = strlen(format); strlen 970 lib/common/logging.c len = 2 + strlen(argv[lpc]); /* +1 space, +1 EOS */ strlen 56 lib/common/operations.c len = strlen(key); strlen 127 lib/common/operations.c len += strlen(op_type); strlen 128 lib/common/operations.c len += strlen(rsc_id); strlen 129 lib/common/operations.c len += strlen(notify_type); strlen 147 lib/common/operations.c len += strlen(transition_key); strlen 164 lib/common/operations.c len += strlen(transition_key); strlen 185 lib/common/operations.c key = calloc(1, strlen(magic) + 1); strlen 207 lib/common/operations.c len += strlen(node); strlen 265 lib/common/operations.c if (strlen(*uuid) != 36) { strlen 303 lib/common/operations.c meta_len = strlen(CRM_META); strlen 60 lib/common/procfs.c if ((local_pid <= 0) || (strlen(entry->d_name) > 114)) { strlen 354 lib/common/remote.c iov[1].iov_len = 1 + strlen(xml_text); strlen 135 lib/common/schemas.c if (base == NULL || strlen(base) == 0) { strlen 39 lib/common/strings.c len = strlen(prefix) + strlen(suffix) + 2; strlen 205 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { strlen 282 lib/common/strings.c if ((mlen = strlen(match)) == 0) strlen 284 lib/common/strings.c slen = strlen(s); strlen 403 lib/common/strings.c last = strlen(list); strlen 406 lib/common/strings.c len += strlen(value); strlen 937 lib/common/utils.c max = strlen(crm_name); strlen 1239 lib/common/utils.c if(user == NULL || strlen(user) == 0) { strlen 1433 lib/common/utils.c len = strlen(buffer); strlen 1447 lib/common/xml.c max = strlen(prefix); strlen 2351 lib/common/xml.c name_len = strlen(name); strlen 2352 lib/common/xml.c value_len = strlen(value); strlen 2791 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), strlen 2798 lib/common/xml.c int len = strlen(input); strlen 3080 lib/common/xml.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, crm_log_xml_warn(xml_node, "dump:failed"); strlen 3093 lib/common/xml.c BZ2_bzWrite(&rc, bz_file, buffer, strlen(buffer)); strlen 3183 lib/common/xml.c int offset = strlen(replace) - 1; /* We have space for 1 char already */ strlen 3201 lib/common/xml.c int length = 1 + strlen(text); strlen 154 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); strlen 211 lib/common/xpath.c len = strlen(xpath_prefix) + strlen(xpath) + 1; strlen 349 lib/fencing/st_client.c int adding = strlen(device_list->value); strlen 413 lib/fencing/st_client.c len += strlen(key); strlen 414 lib/fencing/st_client.c len += strlen(value); strlen 416 lib/fencing/st_client.c last = strlen(*args); strlen 450 lib/fencing/st_client.c max = strlen(map); strlen 859 lib/fencing/st_client.c len = strlen(action->args); strlen 1376 lib/fencing/st_client.c bufferlen = strlen(META_TEMPLATE) + strlen(agent) strlen 1377 lib/fencing/st_client.c + strlen(xml_meta_longdesc) + strlen(xml_meta_shortdesc) strlen 1378 lib/fencing/st_client.c + strlen(meta_param) + 1; strlen 2353 lib/fencing/st_client.c stonith_dispatch_internal(msg, strlen(msg), st); strlen 441 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(msg, strlen(msg), lrmd); strlen 915 lib/pengine/container.c if(port->source != NULL && strlen(port->source) > 0) { strlen 251 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); strlen 473 lib/pengine/rules.c len = strlen(srcstring); strlen 854 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { strlen 944 lib/pengine/unpack.c granted_prefix_strlen = strlen(granted_prefix); strlen 948 lib/pengine/unpack.c last_granted_prefix_strlen = strlen(last_granted_prefix); strlen 953 lib/pengine/unpack.c if (strlen(ticket_id)) { strlen 959 lib/pengine/unpack.c if (strlen(ticket_id)) { strlen 965 lib/pengine/unpack.c state_key = strndup(long_key, strlen(long_key) - strlen(sep)); strlen 968 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { strlen 973 lib/pengine/unpack.c if (state_key == NULL || strlen(state_key) == 0) { strlen 1340 lib/pengine/unpack.c } else if (terminate != NULL && strlen(terminate) > 0) { strlen 1572 lib/pengine/unpack.c const char *end = id + strlen(id) - 1; strlen 313 lib/pengine/utils.c len = strlen(*dump_text) + strlen(" ") + strlen(key) + strlen("=") + strlen(value) + 1; strlen 327 lib/pengine/utils.c len = strlen(comment) + strlen(": ") + strlen(node->details->uname) + strlen(" capacity:") + 1; strlen 348 lib/pengine/utils.c len = strlen(comment) + strlen(": ") + strlen(rsc->id) + strlen(" utilization on ") strlen 349 lib/pengine/utils.c + strlen(node->details->uname) + strlen(":") + 1; strlen 1811 lib/pengine/utils.c if (ticket_id == NULL || strlen(ticket_id) == 0) { strlen 334 lib/services/services.c len += strlen(key); strlen 980 lib/services/services.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); strlen 1065 lib/services/services.c buffer + strlen(DESCRIPTION)); strlen 1127 lib/services/services.c (unsigned long long) strlen(*output)); strlen 1265 lib/services/services.c (unsigned long long) strlen(*output)); strlen 53 lib/services/services_linux.c len = strlen(op->stderr_data); strlen 58 lib/services/services_linux.c len = strlen(op->stdout_data); strlen 116 lib/services/upstart.c int shuffle = strlen(search) - 1; strlen 127 lib/services/upstart.c len = strlen(match) - shuffle; strlen 91 libltdl/argz.c argz_len = 1+ strlen (str); strlen 141 libltdl/argz.c return argz_append (pargz, pargz_len, entry, 1+ strlen (entry)); strlen 150 libltdl/argz.c size_t entry_len = 1+ strlen (entry); strlen 45 libltdl/libltdl/lt__dirent.h # define D_NAMLEN(dirent) (strlen((dirent)->d_name)) strlen 53 libltdl/libltdl/lt__dirent.h # define D_NAMLEN(dirent) (strlen((dirent)->d_name)) strlen 179 libltdl/loaders/loadlibrary.c len = strlen (wpath); strlen 94 libltdl/lt__alloc.c return (char *) lt__memdup (string, strlen (string) +1); strlen 102 libltdl/lt__dirent.c entry->file_info.d_namlen = strlen (entry->file_info.d_name); strlen 61 libltdl/lt__strl.c length=strlen(dst); strlen 1286 libltdl/ltdl.c archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2); strlen 1724 libltdl/ltdl.c error = argz_append (pargz, pargz_len, entry, 1 + strlen (entry)); strlen 2159 libltdl/ltdl.c assert ((int) (before - *ppath) <= (int) strlen (*ppath)); strlen 44 libltdl/ltdl.h #define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0) strlen 809 lrmd/lrmd.c cookie_len = strlen(PCMK_OCF_REASON_PREFIX); strlen 474 lrmd/main.c LastArgv = argv[i] + strlen(argv[i]); strlen 479 lrmd/main.c LastArgv = envp[i] + strlen(envp[i]); strlen 485 lrmd/main.c i = strlen(name); strlen 169 mcp/corosync.c if (CS_OK == confdb_key_get(config, object_handle, key, strlen(key), &buffer, &len)) { strlen 227 mcp/corosync.c rc = confdb_object_find(config, top_handle, name, strlen(name), &local_handle); strlen 267 mcp/pacemaker.c if (use_valgrind && strlen(VALGRIND_BIN) == 0) { strlen 514 mcp/pacemaker.c iov->iov_len = 1 + strlen(iov->iov_base); strlen 1115 pengine/clone.c int lpc = strlen(key); strlen 2202 pengine/native.c len = strlen(rsc->id); strlen 2256 pengine/native.c len = strlen(details); strlen 2692 pengine/native.c len = strlen(last_rsc_id); strlen 109 pengine/notif.c len = 2 + strlen(node->details->uname); strlen 112 pengine/notif.c existing_len = strlen(node_list); strlen 121 pengine/notif.c existing_len = strlen(metal_list); strlen 133 pengine/notif.c len = 2 + strlen(node->details->uname); strlen 199 pengine/notif.c int len = 2 + strlen(rsc_id); /* +1 space, +1 EOS */ strlen 202 pengine/notif.c existing_len = strlen(*rsc_list); strlen 216 pengine/notif.c int len = 2 + strlen(uname); strlen 219 pengine/notif.c existing_len = strlen(*node_list); strlen 183 replace/scandir.c int namelength = strlen(entry->d_name) + 1; /* length with NULL */ strlen 36 replace/setenv.c envp = malloc(strlen(name) + strlen(value) + 2); strlen 36 replace/unsetenv.c const size_t len = strlen(name); strlen 215 replace/uuid_parse.c if (strlen(in) != 36) strlen 1978 tools/crm_mon.c name_len = strlen(node->details->uname) + 1; strlen 1980 tools/crm_mon.c name_len += strlen(node_host) + 1; /* "@node_host" */ strlen 1983 tools/crm_mon.c name_len += strlen(node_id) + 3; /* + " (node_id)" */ strlen 2250 tools/crm_mon.c since_epoch[strlen(since_epoch) - 1] = EOS; /* trim newline */ strlen 3405 tools/crm_mon.c session->community_len = strlen(community); strlen 3683 tools/crm_mon.c len += strlen(crm_mail_prefix); strlen 3684 tools/crm_mon.c len += strlen(task); strlen 3685 tools/crm_mon.c len += strlen(rsc); strlen 3686 tools/crm_mon.c len += strlen(node); strlen 3687 tools/crm_mon.c len += strlen(desc); strlen 3914 tools/crm_mon.c tmp += strlen(NODE_PATT); strlen 762 tools/crm_resource.c char *name = calloc(1, strlen(argv[optind])); strlen 763 tools/crm_resource.c char *value = calloc(1, strlen(argv[optind])); strlen 1059 tools/crm_resource.c if ((rsc_type == NULL) || !strlen(rsc_type)) { strlen 1064 tools/crm_resource.c } else if ((prop_value == NULL) || !strlen(prop_value)) { strlen 1083 tools/crm_resource.c if (prop_value == NULL || strlen(prop_value) == 0) { strlen 214 tools/crm_resource_print.c offset = strlen(prefix) - 2; strlen 1583 tools/crm_resource_runtime.c more = strlen(local_copy); strlen 1597 tools/crm_resource_runtime.c more = strlen(local_copy); strlen 958 tools/crm_ticket.c && (attr_name == NULL || strlen(attr_name) == 0)) { strlen 965 tools/crm_ticket.c && (attr_value == NULL || strlen(attr_value) == 0)) { strlen 989 tools/crm_ticket.c if (attr_name == NULL || strlen(attr_name) == 0) { strlen 995 tools/crm_ticket.c if (attr_value == NULL || strlen(attr_value) == 0) { strlen 119 tools/fake_transition.c int max = strlen(new_node_template) + strlen(node) + 1; strlen 260 tools/fake_transition.c int max = strlen(rsc_template) + strlen(node) + strlen(resource) + 1; strlen 562 tools/fake_transition.c key = calloc(1, strlen(spec) + 1); strlen 563 tools/fake_transition.c node = calloc(1, strlen(spec) + 1); strlen 707 tools/fake_transition.c key = calloc(1, 1 + strlen(spec)); strlen 708 tools/fake_transition.c snprintf(key, strlen(spec), "%s_%s_%d@%s=", resource, op->op_type, op->interval, node); strlen 710 tools/fake_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { strlen 158 tools/ipmiservicelogd.c char *end = serialNumber + strlen(serialNumber) - 1; strlen 168 tools/ipmiservicelogd.c retSerialNumber = malloc(strlen(serialNumber) + 1); strlen 290 tools/ipmiservicelogd.c if (strlen(serial_number) > 20) { strlen 297 tools/ipmiservicelogd.c if (strlen(product_name) > 20) {