len 500 daemons/controld/controld_execd.c size_t len = 0; len 540 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, " "); len 542 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, param->rap_name); len 560 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 38 include/crm/common/strings_internal.h void pcmk__add_separated_word(char **list, size_t *len, const char *word, len 60 include/crm/common/strings_internal.h pcmk__add_word(char **list, size_t *len, const char *word) len 62 include/crm/common/strings_internal.h return pcmk__add_separated_word(list, len, word, " "); len 49 include/crm/common/util.h char *crm_itoa_stack(int an_int, char *buf, size_t len); len 118 include/crm/common/util.h char *score2char_stack(int score, char *buf, size_t len); len 63 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 244 lib/common/cmdline.c retval = calloc(arr->len+1, sizeof(char *)); len 245 lib/common/cmdline.c for (int i = 0; i < arr->len; i++) { len 257 lib/common/cmdline.c int len = 0; len 264 lib/common/cmdline.c len = vasprintf(&buf, format, ap); len 265 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 249 lib/common/output_html.c int len = 0; len 255 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 256 lib/common/output_html.c CRM_ASSERT(len >= 0); len 301 lib/common/output_html.c int len; len 304 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 306 lib/common/output_html.c CRM_ASSERT(len >= 0); len 328 lib/common/output_html.c int len; len 333 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 334 lib/common/output_html.c CRM_ASSERT(len >= 0); len 99 lib/common/output_log.c int len = 0; len 105 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 106 lib/common/output_log.c CRM_ASSERT(len >= 0); len 130 lib/common/output_log.c int len = 0; len 137 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 138 lib/common/output_log.c CRM_ASSERT(len >= 0); len 154 lib/common/output_log.c int len = 0; len 172 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 173 lib/common/output_log.c CRM_ASSERT(len >= 0); len 210 lib/common/output_log.c int len = 0; len 215 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 216 lib/common/output_log.c CRM_ASSERT(len >= 0); len 28 lib/common/output_text.c unsigned int len; len 112 lib/common/output_text.c int len = 0; len 119 lib/common/output_text.c len = vfprintf(stderr, format, ap); len 120 lib/common/output_text.c CRM_ASSERT(len >= 0); len 131 lib/common/output_text.c int len = 0; len 138 lib/common/output_text.c len = vfprintf(out->dest, format, ap); len 139 lib/common/output_text.c CRM_ASSERT(len >= 0); len 174 lib/common/output_text.c new_list->len = 0; len 220 lib/common/output_text.c ((text_list_data_t *) tail)->len++; len 232 lib/common/output_text.c if (node->len == 1) { len 233 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 235 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 285 lib/common/output_text.c int len = 0; len 304 lib/common/output_text.c len = vfprintf(out->dest, format, args); len 305 lib/common/output_text.c CRM_ASSERT(len >= 0); len 254 lib/common/output_xml.c int len = 0; len 260 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 261 lib/common/output_xml.c CRM_ASSERT(len > 0); len 293 lib/common/output_xml.c int len; len 296 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 297 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 332 lib/common/output_xml.c int len; len 337 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 338 lib/common/output_xml.c CRM_ASSERT(len >= 0); len 911 lib/common/remote.c socklen_t len = sizeof(error); len 913 lib/common/remote.c if (getsockopt(cb_data->sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) { len 28 lib/common/strings.c crm_itoa_stack(int an_int, char *buffer, size_t len) len 31 lib/common/strings.c snprintf(buffer, len, "%d", an_int); len 426 lib/common/strings.c int len; len 432 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { len 433 lib/common/strings.c str[len] = '\0'; len 617 lib/common/strings.c pcmk__add_separated_word(char **list, size_t *len, const char *word, len 629 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); len 641 lib/common/strings.c if (len != NULL) { len 642 lib/common/strings.c *len = new_len; len 716 lib/common/strings.c int len = 0; len 720 lib/common/strings.c len = vasprintf (&string, format, ap); len 721 lib/common/strings.c CRM_ASSERT(len > 0); len 96 lib/common/utils.c score2char_stack(int score, char *buf, size_t len) len 103 lib/common/utils.c return crm_itoa_stack(score, buf, len); len 879 lib/common/xml.c int len = strlen(input); len 882 lib/common/xml.c while(lpc < len) { len 1127 lib/common/xml.c int len = 0; len 1132 lib/common/xml.c len = vasprintf(&id, format, ap); len 1134 lib/common/xml.c CRM_ASSERT(len > 0); len 398 lib/fencing/st_client.c size_t len = 0; len 425 lib/fencing/st_client.c pcmk__add_separated_word(&list, &len, device_list->value, ","); len 2414 lib/fencing/st_client.c parse_list_line(const char *line, int len, GList **output) len 2429 lib/fencing/st_client.c for (i = 0; i <= len; i++) { len 2513 lib/fencing/st_client.c int len = i - line_start; len 2515 lib/fencing/st_client.c if (len > 0) { len 2516 lib/fencing/st_client.c char *line = strndup(target_spec + line_start, len); len 2518 lib/fencing/st_client.c line[len] = '\0'; // Because it might be a newline len 2519 lib/fencing/st_client.c parse_list_line(line, len, &targets); len 159 lib/fencing/st_lha.c int len = 0; len 164 lib/fencing/st_lha.c len = vasprintf (&string, format, ap); len 166 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 2399 lib/pacemaker/pcmk_sched_native.c int len = 0; len 2416 lib/pacemaker/pcmk_sched_native.c len = strlen(rsc->id); len 2417 lib/pacemaker/pcmk_sched_native.c if(len > rsc_width) { len 2418 lib/pacemaker/pcmk_sched_native.c rsc_width = len + 2; len 2474 lib/pacemaker/pcmk_sched_native.c len = strlen(details); len 2475 lib/pacemaker/pcmk_sched_native.c if(len > detail_width) { len 2476 lib/pacemaker/pcmk_sched_native.c detail_width = len; len 281 lib/pacemaker/pcmk_sched_promotable.c size_t len = sizeof(score); len 312 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child->sort_index, score, len); len 673 lib/pacemaker/pcmk_sched_promotable.c size_t len = sizeof(score); len 765 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child_rsc->sort_index, score, len); len 745 lib/pengine/rules.c size_t len = 0; len 761 lib/pengine/rules.c len += p - last_match_index + (match_data->pmatch[i].rm_eo - match_data->pmatch[i].rm_so); len 768 lib/pengine/rules.c len += p - last_match_index + 1; len 771 lib/pengine/rules.c if (len - 1 <= 0) { len 775 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 36 replace/unsetenv.c const size_t len = strlen(name); len 40 replace/unsetenv.c if (!strncmp(*ep, name, len) && (*ep)[len] == '=') { len 30 tools/crm_mon_curses.c unsigned int len; len 185 tools/crm_mon_curses.c new_list->len = 0; len 223 tools/crm_mon_curses.c ((curses_list_data_t *) tail)->len++; len 235 tools/crm_mon_curses.c if (node->len == 1) { len 236 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 238 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 1570 tools/crm_resource.c int len = 0; len 1573 tools/crm_resource.c len++; len 1576 tools/crm_resource.c CRM_ASSERT(len > 0); len 1578 tools/crm_resource.c strv = calloc(len, sizeof(char *)); len 1582 tools/crm_resource.c strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s); len 1590 tools/crm_resource.c for(i = 0; i < len; i++) {