len 592 daemons/controld/controld_cib.c if ((list != NULL) && (list->len > 0)) { len 161 lib/common/cib_secrets.c dir_len = filename->len; len 357 lib/common/cmdline.c int len = 0; len 364 lib/common/cmdline.c len = vasprintf(&buf, format, ap); len 365 lib/common/cmdline.c pcmk__assert(len > 0); len 186 lib/common/crmcommon_private.h bool pcmk__xml_is_name_start_char(const char *utf8, int *len); len 189 lib/common/crmcommon_private.h bool pcmk__xml_is_name_char(const char *utf8, int *len); len 90 lib/common/digest.c CRM_CHECK(buffer->len > 2, len 43 lib/common/io.c int offset = 1, len = 0; len 48 lib/common/io.c for (len = strlen(path); offset < len; offset++) { len 1143 lib/common/ipc_client.c if (client->buffer->len > 0) { len 1145 lib/common/ipc_client.c rc = client->buffer->len - sizeof(pcmk__ipc_header_t); len 1268 lib/common/ipc_client.c if (client->buffer->len > 0) { len 1270 lib/common/ipc_client.c client->buffer->len, reply_id, client->server_name, len 187 lib/common/ipc_common.c full_header->size = (*buffer)->len - sizeof(pcmk__ipc_header_t); len 640 lib/common/ipc_server.c payload_size = message->len - offset; len 44 lib/common/options_display.c if (buf->len > 0) { len 275 lib/common/output_html.c int len = 0; len 283 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 284 lib/common/output_html.c pcmk__assert(len >= 0); len 329 lib/common/output_html.c int len; len 332 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 334 lib/common/output_html.c pcmk__assert(len >= 0); len 355 lib/common/output_html.c int len; len 360 lib/common/output_html.c len = vasprintf(&buf, format, ap); len 361 lib/common/output_html.c pcmk__assert(len >= 0); len 174 lib/common/output_log.c int len = 0; len 183 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 184 lib/common/output_log.c pcmk__assert(len >= 0); len 200 lib/common/output_log.c int len = 0; len 219 lib/common/output_log.c len = vasprintf(&buffer, format, ap); len 220 lib/common/output_log.c pcmk__assert(len >= 0); len 21 lib/common/output_text.c unsigned int len; len 212 lib/common/output_text.c new_list->len = 0; len 262 lib/common/output_text.c ((text_list_data_t *) tail)->len++; len 276 lib/common/output_text.c if (node->len == 1) { len 277 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 279 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 296 lib/common/output_xml.c int len = 0; len 306 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 307 lib/common/output_xml.c pcmk__assert(len > 0); len 342 lib/common/output_xml.c int len; len 349 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 350 lib/common/output_xml.c pcmk__assert(len >= 0); len 382 lib/common/output_xml.c int len; len 387 lib/common/output_xml.c len = vasprintf(&buf, format, ap); len 388 lib/common/output_xml.c pcmk__assert(len >= 0); len 252 lib/common/remote.c CRM_CHECK(xml_text->len > 0, len 260 lib/common/remote.c iov[1].iov_len = 1 + xml_text->len; len 634 lib/common/remote.c socklen_t len = sizeof(error); len 636 lib/common/remote.c if (getsockopt(cb_data->sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) { len 1123 lib/common/results.c int len = 0; len 1135 lib/common/results.c len = vasprintf(&reason, format, ap); len 1136 lib/common/results.c pcmk__assert(len > 0); len 532 lib/common/strings.c int len; len 538 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { len 539 lib/common/strings.c str[len] = '\0'; len 813 lib/common/strings.c if ((*list)->len == 0) { len 894 lib/common/strings.c int len = 0; len 898 lib/common/strings.c len = vasprintf(&string, format, ap); len 899 lib/common/strings.c pcmk__assert(len > 0); len 23 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = PATH_MAX; len 24 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = pcmk__assert_alloc(len, sizeof(char)); len 31 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 35 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path(1000, path, len), ENOENT); len 45 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = 10; len 46 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = pcmk__assert_alloc(len, sizeof(char)); len 53 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 57 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path(1000, path, len), len 68 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c size_t len = PATH_MAX; len 69 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c char *path = pcmk__assert_alloc(len, sizeof(char)); len 76 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c expect_value(__wrap_readlink, bufsize, len - 1); len 80 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c assert_int_equal(pcmk__procfs_pid2path((pid_t) 1000, path, len), len 24 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 26 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 0, &result, &len), pcmk_rc_ok); len 34 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 36 lib/common/tests/strings/pcmk__compress_test.c assert_int_equal(pcmk__compress(SIMPLE_DATA, 40, 10, &result, &len), EFBIG); len 42 lib/common/tests/strings/pcmk__compress_test.c unsigned int len; len 50 lib/common/tests/strings/pcmk__compress_test.c pcmk__compress(SIMPLE_DATA, 40, 0, &result, &len); len 31 lib/common/tests/xml/pcmk__xml_is_name_char_test.c int len = 4; len 33 lib/common/tests/xml/pcmk__xml_is_name_char_test.c bool result = pcmk__xml_is_name_char(utf8_buf, &len); len 54 lib/common/tests/xml/pcmk__xml_is_name_char_test.c assert_int_equal(len, ref_len); len 32 lib/common/tests/xml/pcmk__xml_is_name_start_char_test.c int len = 4; len 34 lib/common/tests/xml/pcmk__xml_is_name_start_char_test.c bool result = pcmk__xml_is_name_start_char(utf8_buf, &len); len 55 lib/common/tests/xml/pcmk__xml_is_name_start_char_test.c assert_int_equal(len, ref_len); len 540 lib/common/xml.c pcmk__xml_is_name_start_char(const char *utf8, int *len) len 545 lib/common/xml.c if (len == NULL) { len 546 lib/common/xml.c len = &local_len; len 560 lib/common/xml.c *len = 4; len 563 lib/common/xml.c c = xmlGetUTF8Char((const xmlChar *) utf8, len); len 611 lib/common/xml.c pcmk__xml_is_name_char(const char *utf8, int *len) len 616 lib/common/xml.c if (len == NULL) { len 617 lib/common/xml.c len = &local_len; len 621 lib/common/xml.c *len = 4; len 624 lib/common/xml.c c = xmlGetUTF8Char((const xmlChar *) utf8, len); len 677 lib/common/xml.c int len = 0; len 689 lib/common/xml.c valid = pcmk__xml_is_name_start_char(id, &len); len 690 lib/common/xml.c CRM_CHECK(len > 0, return); // UTF-8 encoding error len 693 lib/common/xml.c for (int i = 1; i < len; i++) { len 698 lib/common/xml.c for (id += len; *id != '\0'; id += len) { len 699 lib/common/xml.c valid = pcmk__xml_is_name_char(id, &len); len 700 lib/common/xml.c CRM_CHECK(len > 0, return); // UTF-8 encoding error len 702 lib/common/xml.c for (int i = 0; i < len; i++) { len 1566 lib/common/xml_element.c int len = 0; len 1571 lib/common/xml_element.c len = vasprintf(&id, format, ap); len 1573 lib/common/xml_element.c pcmk__assert(len > 0); len 2210 lib/fencing/st_client.c parse_list_line(const char *line, int len, GList **output) len 2229 lib/fencing/st_client.c for (i = 0; i <= len; i++) { len 2313 lib/fencing/st_client.c int len = i - line_start; len 2315 lib/fencing/st_client.c if (len > 0) { len 2316 lib/fencing/st_client.c char *line = strndup(target_spec + line_start, len); len 2321 lib/fencing/st_client.c line[len] = '\0'; // Because it might be a newline len 2322 lib/fencing/st_client.c parse_list_line(line, len, &targets); len 163 lib/fencing/st_lha.c int len = 0; len 168 lib/fencing/st_lha.c len = vasprintf (&string, format, ap); len 170 lib/fencing/st_lha.c pcmk__assert(len > 0); len 117 lib/pacemaker/pcmk_output.c int len = 0; len 134 lib/pacemaker/pcmk_output.c len = strlen(rsc->id); len 135 lib/pacemaker/pcmk_output.c if (len > rsc_width) { len 136 lib/pacemaker/pcmk_output.c rsc_width = len + 2; len 210 lib/pacemaker/pcmk_output.c len = strlen(details); len 211 lib/pacemaker/pcmk_output.c if (len > detail_width) { len 212 lib/pacemaker/pcmk_output.c detail_width = len; len 2371 lib/pacemaker/pcmk_output.c int len = (int) strlen(pcmk_rc_name(pcmk_rc_error - lpc)); len 2372 lib/pacemaker/pcmk_output.c name_width = QB_MAX(name_width, len); len 768 lib/pengine/clone.c if ((list_text != NULL) && (list_text->len > 0)) { len 791 lib/pengine/clone.c if ((list_text != NULL) && (list_text->len > 0)) { len 888 lib/pengine/clone.c if (nodes_str->len > 0) { len 1266 lib/services/services.c int len = 0; len 1278 lib/services/services.c len = vasprintf(&reason, format, ap); len 1279 lib/services/services.c pcmk__assert(len > 0); len 292 lib/services/services_linux.c size_t len = 0; len 303 lib/services/services_linux.c len = strlen(op->stderr_data); len 305 lib/services/services_linux.c crm_trace("Reading %s stderr into offset %zu", op->id, len); len 308 lib/services/services_linux.c len = strlen(op->stdout_data); len 310 lib/services/services_linux.c crm_trace("Reading %s stdout into offset %zu", op->id, len); len 320 lib/services/services_linux.c if (len < MAX_OUTPUT) { len 324 lib/services/services_linux.c data = pcmk__realloc(data, len + rc + 1); len 325 lib/services/services_linux.c strcpy(data + len, buf); len 326 lib/services/services_linux.c len += rc; len 339 lib/services/services_linux.c op->id, out_type(is_stderr), len, discarded); len 488 lib/services/services_linux.c size_t len = strlen(buffer); len 494 lib/services/services_linux.c ret = write(op->opaque->stdin_fd, buffer + total, len - total); len 498 lib/services/services_linux.c } while ((errno == EINTR) && (total < len)); 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 533 tools/cibadmin.c if (extra->len > 0) { len 28 tools/crm_mon_curses.c unsigned int len; len 210 tools/crm_mon_curses.c new_list->len = 0; len 249 tools/crm_mon_curses.c ((curses_list_data_t *) tail)->len++; len 263 tools/crm_mon_curses.c if (node->len == 1) { len 264 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); len 266 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); len 2115 tools/crm_resource.c guint len = g_strv_length(options.remainder); len 2119 tools/crm_resource.c for (int i = 0; i < len; i++) { len 2121 tools/crm_resource.c i + 1, len, options.remainder[i]); len 472 tools/crm_resource_ban.c if (buf->len == 0) { len 1213 tools/crm_shadow.c if (extra->len > 0) {