strlen 254 daemons/attrd/attrd_utils.c return ((strlen(value) >= (plus_plus_len + 2)) strlen 118 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, strlen 294 daemons/controld/controld_te_actions.c CRM_CHECK(on_node != NULL && strlen(on_node) != 0, strlen 190 daemons/controld/controld_te_callbacks.c path_max = strlen(RSC_OP_TEMPLATE) + strlen(op_id) + 1; strlen 291 daemons/controld/controld_te_callbacks.c match += strlen("node_state[@id=\'"); strlen 878 daemons/execd/execd_commands.c cookie_len = strlen(PCMK_OCF_REASON_PREFIX); strlen 261 daemons/execd/remoted_pidone.c LastArgv = argv[i] + strlen(argv[i]); strlen 266 daemons/execd/remoted_pidone.c LastArgv = envp[i] + strlen(envp[i]); strlen 272 daemons/execd/remoted_pidone.c i = strlen(name); strlen 630 daemons/fenced/fenced_commands.c max = strlen(hostmap); strlen 770 daemons/fenced/fenced_commands.c offset = strlen(actions); strlen 1398 daemons/fenced/fenced_commands.c max = strlen(devices); strlen 822 daemons/fenced/pacemaker-fenced.c rsc_id += strlen("primitive[@id=\'"); strlen 271 daemons/pacemakerd/pacemakerd.c if (use_valgrind && strlen(VALGRIND_BIN) == 0) { strlen 473 include/crm/pengine/internal.h return (strlen(id) == base_len) && !strncmp(id, rsc->id, base_len); strlen 419 lib/cib/cib_ops.c len = strlen(replace); strlen 481 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); strlen 804 lib/cluster/cpg.c cluster->group.length = 1 + QB_MIN(127, strlen(cluster->group.value)); strlen 928 lib/cluster/cpg.c local_name_len = strlen(local_name); strlen 956 lib/cluster/cpg.c msg->host.size = strlen(node->uname); strlen 976 lib/cluster/cpg.c msg->size = 1 + strlen(data); strlen 77 lib/common/cib_secrets.c for (p = buf + strlen(buf) - 1; (p >= buf) && isspace(*p); p--); strlen 125 lib/common/cib_secrets.c start_pname = local_file + strlen(local_file); strlen 135 lib/common/cib_secrets.c if ((strlen(key) + strlen(local_file)) >= FILENAME_MAX-2) { strlen 151 lib/common/cib_secrets.c if (strlen(hash_file) + 5 > FILENAME_MAX) { strlen 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); strlen 280 lib/common/digest.c len = strlen(buffer); strlen 54 lib/common/io.c for (len = strlen(path); offset < len; offset++) { strlen 619 lib/common/ipc_server.c header->size_uncompressed = 1 + strlen(buffer); strlen 1671 lib/common/iso8601.c scanned_pos = strlen(format); strlen 75 lib/common/messages.c if (host_to != NULL && strlen(host_to) > 0) { strlen 142 lib/common/messages.c if (host_from != NULL && strlen(host_from) > 0) { strlen 269 lib/common/operations.c key = calloc(1, strlen(magic) - 3); // magic must have >=4 other characters strlen 346 lib/common/operations.c if (strlen(local_uuid) != 36) { strlen 284 lib/common/output_xml.c cdata_node = xmlNewCDataBlock(getDocPtr(parent), (pcmkXmlStr) buf, strlen(buf)); strlen 523 lib/common/patchset.c max = strlen(prefix); strlen 1039 lib/common/patchset.c key_len = strlen(key); strlen 53 lib/common/procfs.c if ((local_pid <= 0) || (strlen(entry->d_name) > 114)) { strlen 509 lib/common/remote.c iov[1].iov_len = 1 + strlen(xml_text); strlen 808 lib/common/schemas.c strlen(arg_cur + sizeof("WARNING: ") - 1) + 1); strlen 819 lib/common/schemas.c strlen(arg_cur + sizeof("INFO: ") - 1) + 1); strlen 830 lib/common/schemas.c strlen(arg_cur + sizeof("DEBUG: ") - 1) + 1); strlen 463 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { strlen 517 lib/common/strings.c mlen = strlen(match); strlen 518 lib/common/strings.c slen = strlen(s); strlen 714 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); strlen 725 lib/common/strings.c new_len = orig_len + strlen(separator) + strlen(word); strlen 521 lib/common/utils.c max = strlen(crm_name); strlen 583 lib/common/xml.c name_len = strlen(name); strlen 584 lib/common/xml.c value_len = strlen(value); strlen 905 lib/common/xml.c crm_err("Couldn't%s parse %d chars: %s", xml ? " fully" : "", (int)strlen(input), strlen 912 lib/common/xml.c int len = strlen(input); strlen 1189 lib/common/xml.c CRM_CHECK(buffer && strlen(buffer), strlen 1204 lib/common/xml.c BZ2_bzWrite(&rc, bz_file, buffer, strlen(buffer)); strlen 1321 lib/common/xml.c int offset = strlen(replace) - 1; /* We have space for 1 char already */ strlen 1339 lib/common/xml.c int length = 1 + strlen(text); strlen 148 lib/common/xpath.c CRM_CHECK(strlen(path) > 0, return NULL); strlen 322 lib/common/xpath.c start += strlen(patt); strlen 1966 lib/fencing/st_client.c stonith_dispatch_internal(msg, strlen(msg), st); strlen 2494 lib/fencing/st_client.c size_t out_len = strlen(target_spec); strlen 488 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(msg, strlen(msg), lrmd); strlen 135 lib/pacemaker/pcmk_output.c len = strlen(rsc->id); strlen 194 lib/pacemaker/pcmk_output.c len = strlen(details); strlen 1230 lib/pacemaker/pcmk_sched_clone.c int lpc = strlen(key); strlen 546 lib/pacemaker/pcmk_sched_transition.c key = calloc(1, strlen(spec) + 1); strlen 547 lib/pacemaker/pcmk_sched_transition.c node = calloc(1, strlen(spec) + 1); strlen 697 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { strlen 705 lib/pacemaker/pcmk_sched_transition.c if (strncasecmp(key, spec, strlen(key)) == 0) { strlen 1101 lib/pengine/bundle.c if(port->source != NULL && strlen(port->source) > 0) { strlen 331 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); strlen 575 lib/pengine/native.c outstr = g_string_sized_new(strlen(name) + strlen(class) + strlen(kind) strlen 576 lib/pengine/native.c + (provider? (strlen(provider) + 2) : 0) strlen 577 lib/pengine/native.c + (node? strlen(node->details->uname) + 1 : 0) strlen 527 lib/pengine/pe_output.c name_len = strlen(node->details->uname) + 1; strlen 529 lib/pengine/pe_output.c name_len += strlen(node_host) + 1; /* "@node_host" */ strlen 532 lib/pengine/pe_output.c name_len += strlen(node_id) + 3; /* + " (node_id)" */ strlen 1375 lib/pengine/unpack.c } else if (terminate != NULL && strlen(terminate) > 0) { strlen 1597 lib/pengine/unpack.c const char *end = id + strlen(id) - 1; strlen 270 lib/services/services_linux.c len = strlen(op->stderr_data); strlen 275 lib/services/services_linux.c len = strlen(op->stdout_data); strlen 447 lib/services/services_linux.c int ret, total = 0, len = strlen(buffer); strlen 573 lib/services/services_linux.c strcpy(prefix + strlen(prefix) - strlen("error output"), "output"); strlen 93 lib/services/services_lsb.c *value = (char *)xmlEncodeEntitiesReentrant(NULL, BAD_CAST line+strlen(prefix)); strlen 178 lib/services/services_lsb.c buffer + strlen(DESCRIPTION)); strlen 240 lib/services/services_lsb.c (unsigned long long) strlen(*output)); 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 187 replace/scandir.c int namelength = strlen(entry->d_name) + 1; /* length with NULL */ strlen 258 tools/crm_mon.c if (strlen(*s) > 4 && (*s)[4] == ':') { strlen 1576 tools/crm_resource.c char *name = calloc(1, strlen(*s)); strlen 1577 tools/crm_resource.c char *value = calloc(1, strlen(*s)); strlen 160 tools/ipmiservicelogd.c char *end = serialNumber + strlen(serialNumber) - 1; strlen 285 tools/ipmiservicelogd.c if (strlen(serial_number) > 20) { strlen 292 tools/ipmiservicelogd.c if (strlen(product_name) > 20) {