len 520 daemons/controld/controld_execd.c size_t len = 0; len 552 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, " "); len 554 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, param->rap_name); len 572 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, " "); len 97 include/crm/common/options_internal.h pcmk__cluster_option_t *option_list, int len, len 102 include/crm/common/options_internal.h pcmk__cluster_option_t *option_list, int len); len 106 include/crm/common/options_internal.h int len); len 39 include/crm/common/strings_internal.h void pcmk__add_separated_word(char **list, size_t *len, const char *word, len 137 include/crm/common/strings_internal.h pcmk__add_word(char **list, size_t *len, const char *word) len 139 include/crm/common/strings_internal.h return pcmk__add_separated_word(list, len, word, " "); len 57 include/crm/common/util.h char *score2char_stack(int score, char *buf, size_t len); len 60 include/crm/common/util_compat.h char *crm_itoa_stack(int an_int, char *buf, size_t len); len 64 include/portability.h char *strndup(const char *str, size_t len); len 417 lib/cib/cib_ops.c int last = 0, lpc = 0, len = 0; len 419 lib/cib/cib_ops.c len = strlen(replace); len 420 lib/cib/cib_ops.c while (lpc <= len) { len 277 lib/common/cmdline.c int len = 0; len 284 lib/common/cmdline.c len = vasprintf(&buf, format, ap); len 285 lib/common/cmdline.c CRM_ASSERT(len > 0); len 273 lib/common/digest.c int lpc = 0, len = 0; len 280 lib/common/digest.c len = strlen(buffer); len 282 lib/common/digest.c crm_trace("Beginning digest of %d bytes", len); len 285 lib/common/digest.c md5_buffer(buffer, len, raw_digest); len 47 lib/common/io.c int offset = 1, len = 0; len 54 lib/common/io.c for (len = strlen(path); offset < len; offset++) { len 227 lib/common/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) len 235 lib/common/md5.c md5_process_bytes (buffer, len, &ctx); len 243 lib/common/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) len 250 lib/common/md5.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 268 lib/common/md5.c len -= add; len 272 lib/common/md5.c if (len >= 64) len 277 lib/common/md5.c while (len > 64) len 281 lib/common/md5.c len -= 64; len 286 lib/common/md5.c md5_process_block (buffer, len & ~63, ctx); len 287 lib/common/md5.c buffer = (const char *) buffer + (len & ~63); len 288 lib/common/md5.c len &= 63; len 293 lib/common/md5.c if (len > 0) len 297 lib/common/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 298 lib/common/md5.c left_over += len; len 328 lib/common/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) len 332 lib/common/md5.c size_t nwords = len / sizeof (uint32_t); len 338 lib/common/md5.c uint32_t lolen = len; len 344 lib/common/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 538 lib/common/options.c int len, const char *name) len 542 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { len 558 lib/common/options.c pcmk__cluster_option_t *option_list, int len) len 570 lib/common/options.c for (lpc = 0; lpc < len; lpc++) { len 595 lib/common/options.c pcmk__cluster_option_t *option_list, int len) len 597 lib/common/options.c for (int lpc = 0; lpc < len; lpc++) { len 243 lib/common/output_html.c int len = 0; len 251 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 252 lib/common/output_html.c CRM_ASSERT(len >= 0); len 297 lib/common/output_html.c int len; len 300 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 302 lib/common/output_html.c CRM_ASSERT(len >= 0); len 323 lib/common/output_html.c int len; len 328 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 329 lib/common/output_html.c CRM_ASSERT(len >= 0); len 105 lib/common/output_log.c int len = 0; len 113 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 114 lib/common/output_log.c CRM_ASSERT(len >= 0); len 140 lib/common/output_log.c int len = 0; len 149 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 150 lib/common/output_log.c CRM_ASSERT(len >= 0); len 166 lib/common/output_log.c int len = 0; len 185 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 186 lib/common/output_log.c CRM_ASSERT(len >= 0); len 227 lib/common/output_log.c int len = 0; len 235 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 236 lib/common/output_log.c CRM_ASSERT(len >= 0); len 28 lib/common/output_text.c unsigned int len; len 119 lib/common/output_text.c int len = 0; len 128 lib/common/output_text.c len = vfprintf(stderr, format, ap); len 129 lib/common/output_text.c CRM_ASSERT(len >= 0); len 140 lib/common/output_text.c int len = 0; len 153 lib/common/output_text.c len = vfprintf(out->dest, format, ap); len 154 lib/common/output_text.c CRM_ASSERT(len >= 0); len 189 lib/common/output_text.c new_list->len = 0; len 237 lib/common/output_text.c ((text_list_data_t *) tail)->len++; len 251 lib/common/output_text.c if (node->len == 1) { len 252 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 254 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 327 lib/common/output_text.c int len = 0; len 331 lib/common/output_text.c len = vfprintf(out->dest, format, args); len 332 lib/common/output_text.c CRM_ASSERT(len >= 0); len 255 lib/common/output_xml.c int len = 0; len 263 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 264 lib/common/output_xml.c CRM_ASSERT(len > 0); len 295 lib/common/output_xml.c int len; len 300 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 301 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 335 lib/common/output_xml.c int len; len 340 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 341 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 898 lib/common/remote.c socklen_t len = sizeof(error); len 900 lib/common/remote.c if (getsockopt(cb_data->sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) { len 457 lib/common/strings.c int len; len 463 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { len 464 lib/common/strings.c str[len] = '\0'; len 702 lib/common/strings.c pcmk__add_separated_word(char **list, size_t *len, const char *word, len 714 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); len 726 lib/common/strings.c if (len != NULL) { len 727 lib/common/strings.c *len = new_len; len 801 lib/common/strings.c int len = 0; len 805 lib/common/strings.c len = vasprintf (&string, format, ap); len 806 lib/common/strings.c CRM_ASSERT(len > 0); len 1228 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) len 1231 lib/common/strings.c snprintf(buffer, len, "%d", an_int); len 101 lib/common/utils.c score2char_stack(int score, char *buf, size_t len) len 103 lib/common/utils.c CRM_CHECK((buf != NULL) && (len >= sizeof(CRM_MINUS_INFINITY_S)), len 111 lib/common/utils.c snprintf(buf, len, "%d", score); len 912 lib/common/xml.c int len = strlen(input); len 915 lib/common/xml.c while(lpc < len) { len 1152 lib/common/xml.c int len = 0; len 1157 lib/common/xml.c len = vasprintf(&id, format, ap); len 1159 lib/common/xml.c CRM_ASSERT(len > 0); len 399 lib/fencing/st_client.c size_t len = 0; len 426 lib/fencing/st_client.c pcmk__add_separated_word(&list, &len, device_list->value, ","); len 2403 lib/fencing/st_client.c parse_list_line(const char *line, int len, GList **output) len 2418 lib/fencing/st_client.c for (i = 0; i <= len; i++) { len 2502 lib/fencing/st_client.c int len = i - line_start; len 2504 lib/fencing/st_client.c if (len > 0) { len 2505 lib/fencing/st_client.c char *line = strndup(target_spec + line_start, len); len 2507 lib/fencing/st_client.c line[len] = '\0'; // Because it might be a newline len 2508 lib/fencing/st_client.c parse_list_line(line, len, &targets); len 161 lib/fencing/st_lha.c int len = 0; len 166 lib/fencing/st_lha.c len = vasprintf (&string, format, ap); len 168 lib/fencing/st_lha.c CRM_ASSERT(len > 0); len 84 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) len 85 lib/gnu/gl_openssl.h { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } len 88 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) len 89 lib/gnu/gl_openssl.h { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } len 97 lib/gnu/gl_openssl.h GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) len 98 lib/gnu/gl_openssl.h { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } len 227 lib/gnu/md5.c md5_buffer (const char *buffer, size_t len, void *resblock) len 235 lib/gnu/md5.c md5_process_bytes (buffer, len, &ctx); len 243 lib/gnu/md5.c md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) len 250 lib/gnu/md5.c size_t add = 128 - left_over > len ? len : 128 - left_over; len 268 lib/gnu/md5.c len -= add; len 272 lib/gnu/md5.c if (len >= 64) len 277 lib/gnu/md5.c while (len > 64) len 281 lib/gnu/md5.c len -= 64; len 286 lib/gnu/md5.c md5_process_block (buffer, len & ~63, ctx); len 287 lib/gnu/md5.c buffer = (const char *) buffer + (len & ~63); len 288 lib/gnu/md5.c len &= 63; len 293 lib/gnu/md5.c if (len > 0) len 297 lib/gnu/md5.c memcpy (&((char *) ctx->buffer)[left_over], buffer, len); len 298 lib/gnu/md5.c left_over += len; len 328 lib/gnu/md5.c md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) len 332 lib/gnu/md5.c size_t nwords = len / sizeof (uint32_t); len 338 lib/gnu/md5.c uint32_t lolen = len; len 344 lib/gnu/md5.c ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); len 94 lib/gnu/md5.h extern void __md5_process_block (const void *buffer, size_t len, len 101 lib/gnu/md5.h extern void __md5_process_bytes (const void *buffer, size_t len, len 123 lib/gnu/md5.h extern void *__md5_buffer (const char *buffer, size_t len, len 119 lib/pacemaker/pcmk_output.c int len = 0; len 136 lib/pacemaker/pcmk_output.c len = strlen(rsc->id); len 137 lib/pacemaker/pcmk_output.c if(len > rsc_width) { len 138 lib/pacemaker/pcmk_output.c rsc_width = len + 2; len 195 lib/pacemaker/pcmk_output.c len = strlen(details); len 196 lib/pacemaker/pcmk_output.c if(len > detail_width) { len 197 lib/pacemaker/pcmk_output.c detail_width = len; len 287 lib/pacemaker/pcmk_sched_promotable.c size_t len = sizeof(score); len 318 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child->sort_index, score, len); len 669 lib/pacemaker/pcmk_sched_promotable.c size_t len = sizeof(score); len 757 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child_rsc->sort_index, score, len); len 35 lib/pengine/clone.c size_t len = 0; len 38 lib/pengine/clone.c pcmk__add_separated_word(&attrs, &len, "promotable", ", "); len 42 lib/pengine/clone.c pcmk__add_separated_word(&attrs, &len, "unique", ", "); len 46 lib/pengine/clone.c pcmk__add_separated_word(&attrs, &len, "unmanaged", ", "); len 50 lib/pengine/clone.c pcmk__add_separated_word(&attrs, &len, "disabled", ", "); len 44 lib/pengine/group.c size_t len = 0; len 48 lib/pengine/group.c pcmk__add_separated_word(&attrs, &len, word, ", "); len 53 lib/pengine/group.c pcmk__add_separated_word(&attrs, &len, "unmanaged", ", "); len 57 lib/pengine/group.c pcmk__add_separated_word(&attrs, &len, "disabled", ", "); len 660 lib/pengine/rules.c size_t len = 0; len 676 lib/pengine/rules.c len += p - last_match_index + (match_data->pmatch[i].rm_eo - match_data->pmatch[i].rm_so); len 683 lib/pengine/rules.c len += p - last_match_index + 1; len 686 lib/pengine/rules.c if (len - 1 <= 0) { len 690 lib/pengine/rules.c p_dst = result = calloc(1, len); len 259 lib/services/services_linux.c int rc = 0, len = 0; len 270 lib/services/services_linux.c len = strlen(op->stderr_data); len 272 lib/services/services_linux.c crm_trace("Reading %s stderr into offset %d", op->id, len); len 275 lib/services/services_linux.c len = strlen(op->stdout_data); len 277 lib/services/services_linux.c crm_trace("Reading %s stdout into offset %d", op->id, len); len 280 lib/services/services_linux.c crm_trace("Reading %s %s into offset %d", op->id, is_stderr?"stderr":"stdout", len); len 288 lib/services/services_linux.c data = pcmk__realloc(data, len + rc + 1); len 289 lib/services/services_linux.c len += sprintf(data + len, "%s", buf); len 447 lib/services/services_linux.c int ret, total = 0, len = strlen(buffer); len 451 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); len 456 lib/services/services_linux.c } while ((errno == EINTR) && (total < len)); len 119 lib/services/upstart.c int len, lpc; len 127 lib/services/upstart.c len = strlen(match) - shuffle; len 128 lib/services/upstart.c for (lpc = 1; lpc <= len; lpc++) { len 172 libltdl/loaders/dlopen.c int len = LT_STRLEN (filename); len 198 libltdl/loaders/dlopen.c if (len >= 4) /* at least "l(m)" */ len 202 libltdl/loaders/dlopen.c if (filename[len-1] == ')') len 205 libltdl/loaders/dlopen.c if (opening && opening < (filename+len-2) && strchr(opening+1, '/') == NULL) len 214 libltdl/loaders/dlopen.c if (!module && len && !(module_flags & RTLD_MEMBER) && errno == ENOEXEC) len 222 libltdl/loaders/dlopen.c char *attempt = MALLOC (char, len + strlen (member) + 1); len 140 libltdl/loaders/loadlibrary.c size_t len; len 151 libltdl/loaders/loadlibrary.c len = LT_STRLEN (filename); len 153 libltdl/loaders/loadlibrary.c if (len >= MAX_PATH) len 165 libltdl/loaders/loadlibrary.c len = 0; len 168 libltdl/loaders/loadlibrary.c len = 0; len 178 libltdl/loaders/loadlibrary.c if (!len) len 179 libltdl/loaders/loadlibrary.c len = strlen (wpath); len 181 libltdl/loaders/loadlibrary.c if (len + 1 >= MAX_PATH) len 187 libltdl/loaders/loadlibrary.c wpath[len] = '.'; len 188 libltdl/loaders/loadlibrary.c wpath[len+1] = '\0'; len 287 libltdl/loaders/loadlibrary.c size_t len; len 300 libltdl/loaders/loadlibrary.c len = LT_STRLEN (error_message); len 301 libltdl/loaders/loadlibrary.c if (len && error_message[len - 1] == '\n') len 302 libltdl/loaders/loadlibrary.c error_message[--len] = LT_EOS_CHAR; len 303 libltdl/loaders/loadlibrary.c if (len && error_message[len - 1] == '\r') len 304 libltdl/loaders/loadlibrary.c error_message[--len] = LT_EOS_CHAR; len 306 libltdl/loaders/loadlibrary.c return len ? error_message : default_errmsg; len 1009 libltdl/ltdl.c size_t len = LT_STRLEN (str); len 1017 libltdl/ltdl.c if (len > 3 && str[0] == '\'') len 27 replace/strndup.c strndup(const char *str, size_t len) len 29 replace/strndup.c size_t n = strnlen(str, len); len 30 replace/strndup.c char *new = (char *)malloc(len + 1); len 37 replace/strndup.c return (char *)memcpy(new, str, len); len 29 tools/crm_mon_curses.c unsigned int len; len 204 tools/crm_mon_curses.c new_list->len = 0; len 243 tools/crm_mon_curses.c ((curses_list_data_t *) tail)->len++; len 257 tools/crm_mon_curses.c if (node->len == 1) { len 258 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 260 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 1610 tools/crm_resource.c int len = 0; len 1613 tools/crm_resource.c len++; len 1616 tools/crm_resource.c CRM_ASSERT(len > 0); len 1618 tools/crm_resource.c strv = calloc(len, sizeof(char *)); len 1622 tools/crm_resource.c strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s); len 1631 tools/crm_resource.c for(i = 0; i < len; i++) {