str 68 daemons/based/based_remote.c debug_log(int level, const char *str) str 70 daemons/based/based_remote.c fputs(str, stderr); str 599 daemons/controld/controld_cib.c (list == NULL)? "" : (const char *) list->str); str 603 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); str 634 daemons/controld/controld_cib.c crm_xml_add(update, XML_LRM_ATTR_OP_SECURE, (const char *) list->str); str 637 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); str 2137 daemons/controld/controld_execd.c GString *str = g_string_sized_new(100); // reasonable starting size str 2139 daemons/controld/controld_execd.c pcmk__g_strcat(str, str 2145 daemons/controld/controld_execd.c pcmk__g_strcat(str, " on ", node_name, NULL); str 2151 daemons/controld/controld_execd.c pcmk__g_strcat(str, ": ", services_ocf_exitcode_str(op->rc), NULL); str 2155 daemons/controld/controld_execd.c pcmk__g_strcat(str, str 2179 daemons/controld/controld_execd.c pcmk__g_strcat(str, ": ", pcmk_exec_status_str(op->op_status), str 2186 daemons/controld/controld_execd.c pcmk__g_strcat(str, " (", op->exit_reason, ")", NULL); str 2189 daemons/controld/controld_execd.c g_string_append(str, " " CRM_XS); str 2190 daemons/controld/controld_execd.c g_string_append_printf(str, " graph action %sconfirmed; call=%d key=%s", str 2193 daemons/controld/controld_execd.c g_string_append_printf(str, " rc=%d", op->rc); str 2196 daemons/controld/controld_execd.c do_crm_log(log_level, "%s", str->str); str 2197 daemons/controld/controld_execd.c g_string_free(str, TRUE); str 352 daemons/controld/controld_membership.c (const char *) xpath->str, str 174 daemons/controld/controld_te_callbacks.c op_match = xpath_search(diff, (const char *) rsc_op_xpath->str); str 182 daemons/controld/controld_te_callbacks.c (const char *) rsc_op_xpath->str, op_id, node); str 421 daemons/controld/controld_te_utils.c (const char *) local_path->str, str 214 daemons/execd/execd_commands.c GString *str = g_string_sized_new(100); // reasonable starting size str 220 daemons/execd/execd_commands.c g_string_append_printf(str, "%s %s (call %d", str 223 daemons/execd/execd_commands.c g_string_append_printf(str, ", PID %d", cmd->last_pid); str 226 daemons/execd/execd_commands.c g_string_append_printf(str, ") exited with status %d", str 229 daemons/execd/execd_commands.c pcmk__g_strcat(str, ") could not be executed: ", str 234 daemons/execd/execd_commands.c pcmk__g_strcat(str, " (", cmd->result.exit_reason, ")", NULL); str 238 daemons/execd/execd_commands.c pcmk__g_strcat(str, " (execution time ", str 241 daemons/execd/execd_commands.c pcmk__g_strcat(str, " after being queued ", str 244 daemons/execd/execd_commands.c g_string_append_c(str, ')'); str 247 daemons/execd/execd_commands.c do_crm_log(log_level, "%s", str->str); str 248 daemons/execd/execd_commands.c g_string_free(str, TRUE); str 42 daemons/execd/remoted_tls.c debug_log(int level, const char *str) str 44 daemons/execd/remoted_tls.c fputs(str, stderr); str 177 daemons/fenced/cts-fence-helper.c #define single_test(cmd, str, num_notifications, expected_rc) \ str 187 daemons/fenced/cts-fence-helper.c crm_err("FAILURE - expected rc %d != %d(%s) for cmd - %s", expected_rc, rc, pcmk_strerror(rc), str); \ str 191 daemons/fenced/cts-fence-helper.c num_notifications, num_notifications - expected_notifications, str); \ str 195 daemons/fenced/cts-fence-helper.c crm_info("SUCCESS - %s: %d", str, rc); \ str 197 daemons/fenced/cts-fence-helper.c crm_debug("SUCCESS - %s: %d", str, rc); \ str 64 daemons/fenced/fenced_cib.c match = get_xpath_object((const char *) xpath->str, local_cib, LOG_NEVER); str 1140 daemons/fenced/fenced_commands.c (const char *) device->on_target_actions->str); str 2065 daemons/fenced/fenced_commands.c && (strstr((const char*) device->on_target_actions->str, str 2594 daemons/fenced/fenced_commands.c do_crm_log(log_level, "%s", msg->str); str 36 include/crm/common/strings_internal.h bool pcmk__starts_with(const char *str, const char *prefix); str 39 include/crm/common/strings_internal.h char *pcmk__trim(char *str); str 144 include/crm/common/strings_internal.h void pcmk__str_update(char **str, const char *value); str 55 include/crm/common/util.h char * crm_strip_trailing_newline(char *str); str 132 include/crm/common/util_compat.h char *crm_strip_trailing_newline(char *str); str 69 include/portability.h char *str; /**< as char* (string, object path or signature) */ str 134 lib/cib/cib_attrs.c (const char *) xpath->str, NULL, &xml_search, str 140 lib/cib/cib_attrs.c pcmk__s(set_name, "<null>"), (const char *) xpath->str, str 103 lib/common/acl.c acl->xpath = buf->str; str 253 lib/common/acl.c acl_to_text(acl->mode), path->str, acl->xpath); str 536 lib/common/acl.c if (strstr((const char *) path->str, "/" XML_CIB_TAG_ACLS "/") != NULL) { str 671 lib/common/acl.c (const char *) xpath->str); str 708 lib/common/acl.c (const char *) xpath->str); str 727 lib/common/acl.c (const char *) xpath->str); str 146 lib/common/cmdline.c string_replace(gchar *str, const gchar *sub, const gchar *repl) str 155 lib/common/cmdline.c gchar **split = g_strsplit(str, sub, 0); str 75 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); str 101 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); str 1029 lib/common/iso8601.c parse_int(const char *str, int field_width, int upper_bound, int *result) str 1038 lib/common/iso8601.c if (*str == '\0') { str 1042 lib/common/iso8601.c if (str[offset] == 'T') { str 1046 lib/common/iso8601.c if (str[offset] == '.' || str[offset] == ',') { str 1050 lib/common/iso8601.c } else if (str[offset] == '-') { str 1053 lib/common/iso8601.c } else if (str[offset] == '+' || str[offset] == ':') { str 1057 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { str 1059 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); str 1062 lib/common/iso8601.c intermediate = str[offset] - '0'; str 1077 lib/common/iso8601.c crm_trace("Found int: %d. Stopped at str[%d]='%c'", *result, lpc, str[lpc]); str 1933 lib/common/iso8601.c static char str[MAXSTR]; str 1936 lib/common/iso8601.c str[0] = '\0'; str 1938 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%ud", str 1943 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%uh", str 1948 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%um", str 1955 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, "%u", str 1959 lib/common/iso8601.c offset += snprintf(str + offset, MAXSTR - offset, ".%03u", str 1962 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "s"); str 1965 lib/common/iso8601.c (void) snprintf(str + offset, MAXSTR - offset, "%ums", interval_ms); str 1967 lib/common/iso8601.c } else if (str[0] == '\0') { str 1968 lib/common/iso8601.c strcpy(str, "0s"); str 1970 lib/common/iso8601.c return str; str 475 lib/common/options.c char *str = strdup(opt_values); str 477 lib/common/options.c char *ptr = strtok(str, delim); str 487 lib/common/options.c free(str); str 125 lib/common/output_html.c char *str = (char *) data; str 127 lib/common/output_html.c out->list_item(out, NULL, "%s", str); str 149 lib/common/output_xml.c char *str = (char *) data; str 151 lib/common/output_xml.c pcmk_create_xml_text_node(node, "error", str); str 62 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); str 88 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); str 142 lib/common/patchset.c crm_xml_add(change, XML_DIFF_PATH, (const char *) xpath->str); str 264 lib/common/patchset_display.c temp_rc = out->info(out, "+ %s: %s", xpath, buffer_set->str); str 271 lib/common/patchset_display.c xpath, buffer_unset->str); str 453 lib/common/strings.c pcmk__trim(char *str) str 457 lib/common/strings.c if (str == NULL) { str 458 lib/common/strings.c return str; str 461 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { str 462 lib/common/strings.c str[len] = '\0'; str 465 lib/common/strings.c return str; str 481 lib/common/strings.c pcmk__starts_with(const char *str, const char *prefix) str 483 lib/common/strings.c const char *s = str; str 1193 lib/common/strings.c pcmk__str_update(char **str, const char *value) str 1195 lib/common/strings.c if ((str != NULL) && !pcmk__str_eq(*str, value, pcmk__str_none)) { str 1196 lib/common/strings.c free(*str); str 1198 lib/common/strings.c *str = NULL; str 1200 lib/common/strings.c *str = strdup(value); str 1201 lib/common/strings.c CRM_ASSERT(*str != NULL); str 1351 lib/common/strings.c crm_strip_trailing_newline(char *str) str 1353 lib/common/strings.c return pcmk__trim(str); str 21 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, "hello world"), 0); str 32 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, "hello world"), 0); str 44 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, "hello"), 0); str 56 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, str 69 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, str 82 lib/common/tests/strings/pcmk__add_word_test.c assert_int_equal(strcmp((const char *) list->str, str 28 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); str 31 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, ""); str 36 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); str 39 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); str 50 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello "); str 54 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello world"); str 65 lib/common/tests/strings/pcmk__g_strcat_test.c assert_string_equal((const char *) buf->str, "hello"); str 88 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 100 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", DBL_MAX); str 101 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); str 104 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", -DBL_MAX); str 105 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); str 112 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 119 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MAX_10_EXP + 1); str 120 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); str 123 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MAX_10_EXP + 1); str 124 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); str 131 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 140 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MIN_10_EXP - 1); str 141 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); str 145 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MIN_10_EXP - 1); str 146 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); str 18 lib/common/tests/strings/pcmk__str_update_test.c char *str = NULL; str 25 lib/common/tests/strings/pcmk__str_update_test.c pcmk__str_update(&str, NULL); str 26 lib/common/tests/strings/pcmk__str_update_test.c assert_null(str); str 29 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); str 30 lib/common/tests/strings/pcmk__str_update_test.c pcmk__str_update(&str, NULL); str 31 lib/common/tests/strings/pcmk__str_update_test.c assert_null(str); str 36 lib/common/tests/strings/pcmk__str_update_test.c char *str = NULL; str 39 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); str 40 lib/common/tests/strings/pcmk__str_update_test.c saved = str; str 41 lib/common/tests/strings/pcmk__str_update_test.c pcmk__str_update(&str, "hello"); str 42 lib/common/tests/strings/pcmk__str_update_test.c assert_ptr_equal(saved, str); // No free and reallocation str 43 lib/common/tests/strings/pcmk__str_update_test.c free(str); str 48 lib/common/tests/strings/pcmk__str_update_test.c char *str = NULL; str 50 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); str 51 lib/common/tests/strings/pcmk__str_update_test.c pcmk__str_update(&str, "world"); str 52 lib/common/tests/strings/pcmk__str_update_test.c assert_string_equal(str, "world"); str 53 lib/common/tests/strings/pcmk__str_update_test.c free(str); str 58 lib/common/tests/strings/pcmk__str_update_test.c char *str = NULL; str 60 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); str 66 lib/common/tests/strings/pcmk__str_update_test.c pcmk__str_update(&str, "world"); str 71 lib/common/tests/strings/pcmk__str_update_test.c free(str); str 736 lib/common/xml.c __LINE__, 0, (const char *) xpath->str, str 751 lib/common/xml.c (const char *) xpath->str, child, doc); str 754 lib/common/xml.c deleted_obj->path = strdup((const char *) xpath->str); str 1643 lib/common/xml.c pcmk__str_update(&buffer, g_buffer->str); str 1656 lib/common/xml.c pcmk__str_update(&buffer, g_buffer->str); str 1669 lib/common/xml.c pcmk__str_update(&buffer, g_buffer->str); str 150 lib/common/xml_display.c buffer->str); str 367 lib/common/xpath.c path = strdup((const char *) g_path->str); str 447 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_DEVICES, (const char *) list->str); str 94 lib/fencing/st_output.c GString *str = g_string_sized_new(256); // Generous starting size str 102 lib/fencing/st_output.c pcmk__g_strcat(str, str 111 lib/fencing/st_output.c pcmk__g_strcat(str, " by ", history->delegate, NULL); str 113 lib/fencing/st_output.c pcmk__g_strcat(str, " for ", history->client, "@", history->origin, str 116 lib/fencing/st_output.c g_string_append(str, " last"); // For example, "last failed at ..." str 120 lib/fencing/st_output.c pcmk__add_word(&str, 0, state_str(history)); str 124 lib/fencing/st_output.c pcmk__g_strcat(str, " (", history->exit_reason, ")", NULL); str 129 lib/fencing/st_output.c g_string_append(str, ": "); str 135 lib/fencing/st_output.c pcmk__g_strcat(str, "delegate=", history->delegate, ", ", NULL); str 139 lib/fencing/st_output.c pcmk__g_strcat(str, str 146 lib/fencing/st_output.c g_string_append(str, ", completed"); str 148 lib/fencing/st_output.c g_string_append(str, ", last-failed"); str 150 lib/fencing/st_output.c g_string_append(str, ", last-successful"); str 152 lib/fencing/st_output.c pcmk__g_strcat(str, "='", completed_time_s, "'", NULL); str 156 lib/fencing/st_output.c pcmk__g_strcat(str, " at ", completed_time_s, NULL); str 160 lib/fencing/st_output.c pcmk__g_strcat(str, str 166 lib/fencing/st_output.c return g_string_free(str, FALSE); str 189 lib/pacemaker/pcmk_graph_logging.c pending = (const char *) g_pending->str; str 477 lib/pacemaker/pcmk_injections.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, str 2158 lib/pacemaker/pcmk_output.c out->info(out, "%s", s->str); str 711 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, str 719 lib/pacemaker/pcmk_simulate.c fake_cib->cmds->remove(fake_cib, (const char *) xpath->str, NULL, str 342 lib/pacemaker/pcmk_status.c (offline? (const char *) offline_nodes->str : "")); str 593 lib/pengine/bundle.c (const char *) buffer->str); str 597 lib/pengine/bundle.c (dbuffer != NULL)? (const char *) dbuffer->str : ""); str 198 lib/pengine/clone.c (const char *) attrs->str, desc ? " (" : "", str 724 lib/pengine/clone.c short_print((const char *) list_text->str, child_text, str 744 lib/pengine/clone.c short_print((const char *) list_text->str, child_text, str 748 lib/pengine/clone.c short_print((const char *) list_text->str, child_text, str 753 lib/pengine/clone.c short_print((const char *) list_text->str, child_text, "Started", str 798 lib/pengine/clone.c short_print((const char *) stopped_list->str, child_text, state, str 1044 lib/pengine/clone.c (const char *) list_text->str); str 1072 lib/pengine/clone.c (const char *) list_text->str); str 1075 lib/pengine/clone.c (const char *) list_text->str); str 1080 lib/pengine/clone.c (const char *) list_text->str); str 1153 lib/pengine/clone.c (const char *) nodes_str->str); str 141 lib/pengine/group.c (const char *) attrs->str, desc ? " (" : "", str 700 lib/pengine/pe_actions.c const char *str = NULL; str 823 lib/pengine/pe_actions.c str = g_hash_table_lookup(meta, XML_OP_ATTR_START_DELAY); str 824 lib/pengine/pe_actions.c if (str != NULL) { str 825 lib/pengine/pe_actions.c unpack_start_delay(str, meta); str 829 lib/pengine/pe_actions.c str = g_hash_table_lookup(meta, XML_OP_ATTR_ORIGIN); str 830 lib/pengine/pe_actions.c if (unpack_interval_origin(str, action_config, interval_ms, str 1329 lib/pengine/pe_actions.c value = strdup((const char *) digests_all->str); str 1335 lib/pengine/pe_actions.c value = strdup((const char *) digests_secure->str); str 654 lib/pengine/pe_notif.c (const char *) value->str); \ str 660 lib/pengine/pe_notif.c (const char *) value->str); \ str 683 lib/pengine/pe_notif.c if ((strcmp(" ", (const char *) rsc_list->str) != 0) str 1318 lib/pengine/pe_output.c GString *str = NULL; str 1328 lib/pengine/pe_output.c str = g_string_sized_new(256); // Should be sufficient for most messages str 1330 lib/pengine/pe_output.c pcmk__g_strcat(str, rsc_id, " ", NULL); str 1333 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_interval(interval_ms), "-interval ", str 1336 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", str 1340 lib/pengine/pe_output.c pcmk__g_strcat(str, " returned '", services_ocf_exitcode_str(rc), "'", str 1343 lib/pengine/pe_output.c pcmk__g_strcat(str, " (", exit_reason, ")", NULL); str 1347 lib/pengine/pe_output.c pcmk__g_strcat(str, " could not be executed (", str 1350 lib/pengine/pe_output.c pcmk__g_strcat(str, ": ", exit_reason, NULL); str 1352 lib/pengine/pe_output.c g_string_append_c(str, ')'); str 1360 lib/pengine/pe_output.c pcmk__g_strcat(str, " at ", s, NULL); str 1369 lib/pengine/pe_output.c pcmk__g_strcat(str, " after ", str 1374 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); str 1375 lib/pengine/pe_output.c g_string_free(str, TRUE); str 1404 lib/pengine/pe_output.c GString *str = NULL; str 1416 lib/pengine/pe_output.c str = g_string_sized_new(256); str 1418 lib/pengine/pe_output.c g_string_append_printf(str, "%s on %s '%s' (%d): call=%s, status='%s'", str 1423 lib/pengine/pe_output.c pcmk__g_strcat(str, ", exitreason='", exit_reason, "'", NULL); str 1430 lib/pengine/pe_output.c pcmk__g_strcat(str, str 1436 lib/pengine/pe_output.c pcmk__g_strcat(str, ", queued=", queue_time, "ms", NULL); str 1439 lib/pengine/pe_output.c pcmk__g_strcat(str, ", exec=", exec_time, "ms", NULL); str 1442 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); str 1443 lib/pengine/pe_output.c g_string_free(str, TRUE); str 1783 lib/pengine/pe_output.c GString *str = g_string_sized_new(64); str 1788 lib/pengine/pe_output.c g_string_append(str, "GuestNode"); str 1790 lib/pengine/pe_output.c g_string_append(str, "RemoteNode"); str 1792 lib/pengine/pe_output.c g_string_append(str, "Node"); str 1794 lib/pengine/pe_output.c pcmk__g_strcat(str, " ", node_name, ": ", node_text_status(node), NULL); str 1797 lib/pengine/pe_output.c g_string_append(str, " (health is RED)"); str 1799 lib/pengine/pe_output.c g_string_append(str, " (health is YELLOW)"); str 1804 lib/pengine/pe_output.c pcmk__g_strcat(str, ", feature set ", feature_set, NULL); str 1815 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); str 1829 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); str 1844 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); str 1847 lib/pengine/pe_output.c g_string_free(str, TRUE); str 2427 lib/pengine/pe_output.c (const char *) online_nodes->str); str 2432 lib/pengine/pe_output.c (const char *) offline_nodes->str); str 2437 lib/pengine/pe_output.c (const char *) online_remote_nodes->str); str 2442 lib/pengine/pe_output.c (const char *) offline_remote_nodes->str); str 2447 lib/pengine/pe_output.c (const char *) online_guest_nodes->str); str 2865 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, scheduler->input, str 2897 lib/pengine/unpack.c xml = get_xpath_object((const char *) xpath->str, scheduler->input, str 2925 lib/pengine/unpack.c search = xpath_search(rsc->cluster->input, (const char *) xpath->str); str 642 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); str 645 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); str 648 lib/services/dbus.c output = strdup(value.str? value.str : ""); str 197 lib/services/services_lsb.c (pcmkXmlStr) desc->str); str 597 lib/services/systemd.c if (value.str == NULL) { str 601 lib/services/systemd.c crm_trace("DBus ListUnitFiles listed: %s", value.str); str 603 lib/services/systemd.c match = systemd_unit_extension(value.str); str 607 lib/services/systemd.c value.str); str 612 lib/services/systemd.c basename = strrchr(value.str, '/'); str 616 lib/services/systemd.c basename = value.str; str 260 lib/services/upstart.c if(value.str) { str 262 lib/services/upstart.c path = value.str; str 263 lib/services/upstart.c job = value.str; str 335 lib/services/upstart.c if(value.str) { str 336 lib/services/upstart.c instance = strdup(value.str); str 53 libltdl/libltdl/lt__argz_.h LT_SCOPE error_t argz_create_sep(const char *str, int delim, str 80 libltdl/lt__argz.c argz_create_sep (const char *str, int delim, char **pargz, size_t *pargz_len) str 85 libltdl/lt__argz.c assert (str); str 91 libltdl/lt__argz.c argz_len = 1+ strlen (str); str 101 libltdl/lt__argz.c for (p = str, q = argz; *p != EOS_CHAR; ++p) str 132 libltdl/ltdl.c static int trim (char **dest, const char *str); str 1004 libltdl/ltdl.c trim (char **dest, const char *str) str 1008 libltdl/ltdl.c const char *end = strrchr (str, '\''); str 1009 libltdl/ltdl.c size_t len = LT_STRLEN (str); str 1014 libltdl/ltdl.c if (!end || end == str) str 1017 libltdl/ltdl.c if (len > 3 && str[0] == '\'') str 1019 libltdl/ltdl.c tmp = MALLOC (char, end - str); str 1023 libltdl/ltdl.c memcpy(tmp, &str[1], (end - str) - 1); str 1024 libltdl/ltdl.c tmp[(end - str) - 1] = LT_EOS_CHAR; str 53 maint/gnulib/lib/argp-fmtstream.h #define __argp_fmtstream_puts(fs,str) fputs(str,fs) str 54 maint/gnulib/lib/argp-fmtstream.h #define argp_fmtstream_puts(fs,str) fputs(str,fs) str 55 maint/gnulib/lib/argp-fmtstream.h #define __argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) str 56 maint/gnulib/lib/argp-fmtstream.h #define argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) str 1147 maint/gnulib/lib/argp-help.c print_header (const char *str, const struct argp *argp, str 1150 maint/gnulib/lib/argp-help.c const char *tstr = str ? dgettext (argp->argp_domain, str) : NULL; str 48 maint/gnulib/lib/argz.c argz_add (char **argz, size_t *argz_len, const char *str) str 50 maint/gnulib/lib/argz.c return argz_append (argz, argz_len, str, strlen (str) + 1); str 323 maint/gnulib/lib/argz.c argz_replace (char **argz, size_t *argz_len, const char *str, const char *with, str 328 maint/gnulib/lib/argz.c if (str && *str) str 336 maint/gnulib/lib/argz.c size_t str_len = strlen (str), with_len = strlen (with); str 340 maint/gnulib/lib/argz.c char *match = strstr (arg, str); str 352 maint/gnulib/lib/argz.c match = strstr (from, str); str 74 maint/gnulib/lib/argz.in.h const char *restrict str); str 41 maint/gnulib/lib/c-snprintf.c c_snprintf (char *str, size_t size, const char *format, ...) str 49 maint/gnulib/lib/c-snprintf.c output = c_vasnprintf (str, &lenbuf, format, args); str 56 maint/gnulib/lib/c-snprintf.c if (output != str) str 61 maint/gnulib/lib/c-snprintf.c memcpy (str, output, pruned_len); str 62 maint/gnulib/lib/c-snprintf.c str[pruned_len] = '\0'; str 30 maint/gnulib/lib/c-snprintf.h extern int c_snprintf (char *restrict str, size_t size, str 43 maint/gnulib/lib/c-vsnprintf.c c_vsnprintf (char *str, size_t size, const char *format, va_list args) str 49 maint/gnulib/lib/c-vsnprintf.c output = c_vasnprintf (str, &lenbuf, format, args); str 55 maint/gnulib/lib/c-vsnprintf.c if (output != str) str 60 maint/gnulib/lib/c-vsnprintf.c memcpy (str, output, pruned_len); str 61 maint/gnulib/lib/c-vsnprintf.c str[pruned_len] = '\0'; str 33 maint/gnulib/lib/c-vsnprintf.h extern int c_vsnprintf (char *restrict str, size_t size, str 41 maint/gnulib/lib/clean-temp-simple.c #define _(str) gettext (str) str 69 maint/gnulib/lib/clean-temp.c #define _(str) gettext (str) str 42 maint/gnulib/lib/copy-file.c #define _(str) gettext (str) str 38 maint/gnulib/lib/csharpcomp.c #define _(str) gettext (str) str 66 maint/gnulib/lib/csharpexec.c #define _(str) gettext (str) str 59 maint/gnulib/lib/dfa.c #define _(str) gettext (str) str 930 maint/gnulib/lib/dfa.c find_pred (const char *str) str 933 maint/gnulib/lib/dfa.c if (streq (str, prednames[i].name)) str 986 maint/gnulib/lib/dfa.c char str[MAX_BRACKET_STRING_LEN + 1]; str 995 maint/gnulib/lib/dfa.c str[len++] = c; str 998 maint/gnulib/lib/dfa.c str[0] = '\0'; str 1000 maint/gnulib/lib/dfa.c str[len] = '\0'; str 1012 maint/gnulib/lib/dfa.c = (dfa->syntax.case_fold && (streq (str, "upper") str 1013 maint/gnulib/lib/dfa.c || streq (str, "lower")) str 1014 maint/gnulib/lib/dfa.c ? "alpha" : str); str 3954 maint/gnulib/lib/dfa.c enlist (char **cpp, char const *str, idx_t len) str 3956 maint/gnulib/lib/dfa.c return enlistnew (cpp, ximemdup0 (str, len)); str 143 maint/gnulib/lib/exclude.c fnmatch_pattern_has_wildcards (const char *str, int options) str 147 maint/gnulib/lib/exclude.c switch (*str++) str 162 maint/gnulib/lib/exclude.c str += ! (options & FNM_NOESCAPE) && *str; str 166 maint/gnulib/lib/exclude.c if (options & FNM_EXTMATCH && *str == '(') str 180 maint/gnulib/lib/exclude.c unescape_pattern (char *str) str 182 maint/gnulib/lib/exclude.c char const *q = str; str 185 maint/gnulib/lib/exclude.c while ((*str++ = *q++)); str 584 maint/gnulib/lib/exclude.c char *str, *p; str 593 maint/gnulib/lib/exclude.c str = xstrdup (pattern); str 595 maint/gnulib/lib/exclude.c unescape_pattern (str); str 596 maint/gnulib/lib/exclude.c p = hash_insert (seg->v.table, str); str 597 maint/gnulib/lib/exclude.c if (p != str) str 598 maint/gnulib/lib/exclude.c free (str); str 43 maint/gnulib/lib/execute.c #define _(str) gettext (str) str 85 maint/gnulib/lib/filemode.c strmode (mode_t mode, char *str) str 87 maint/gnulib/lib/filemode.c str[0] = ftypelet (mode); str 88 maint/gnulib/lib/filemode.c str[1] = mode & S_IRUSR ? 'r' : '-'; str 89 maint/gnulib/lib/filemode.c str[2] = mode & S_IWUSR ? 'w' : '-'; str 90 maint/gnulib/lib/filemode.c str[3] = (mode & S_ISUID str 93 maint/gnulib/lib/filemode.c str[4] = mode & S_IRGRP ? 'r' : '-'; str 94 maint/gnulib/lib/filemode.c str[5] = mode & S_IWGRP ? 'w' : '-'; str 95 maint/gnulib/lib/filemode.c str[6] = (mode & S_ISGID str 98 maint/gnulib/lib/filemode.c str[7] = mode & S_IROTH ? 'r' : '-'; str 99 maint/gnulib/lib/filemode.c str[8] = mode & S_IWOTH ? 'w' : '-'; str 100 maint/gnulib/lib/filemode.c str[9] = (mode & S_ISVTX str 103 maint/gnulib/lib/filemode.c str[10] = ' '; str 104 maint/gnulib/lib/filemode.c str[11] = '\0'; str 154 maint/gnulib/lib/filemode.c filemodestring (struct stat const *statp, char *str) str 156 maint/gnulib/lib/filemode.c strmode (statp->st_mode, str); str 159 maint/gnulib/lib/filemode.c str[0] = 'F'; str 161 maint/gnulib/lib/filemode.c str[0] = 'Q'; str 163 maint/gnulib/lib/filemode.c str[0] = 'S'; str 165 maint/gnulib/lib/filemode.c str[0] = 'T'; str 35 maint/gnulib/lib/filemode.h extern void strmode (mode_t mode, char *str); str 38 maint/gnulib/lib/filemode.h extern void filemodestring (struct stat const *statp, char *str); str 34 maint/gnulib/lib/filevercmp.c match_suffix (const char **str) str 38 maint/gnulib/lib/filevercmp.c while (**str) str 43 maint/gnulib/lib/filevercmp.c if (!c_isalpha (**str) && '~' != **str) str 46 maint/gnulib/lib/filevercmp.c else if ('.' == **str) str 50 maint/gnulib/lib/filevercmp.c match = *str; str 52 maint/gnulib/lib/filevercmp.c else if (!c_isalnum (**str) && '~' != **str) str 54 maint/gnulib/lib/filevercmp.c (*str)++; str 271 maint/gnulib/lib/fnmatch_loop.c CHAR str[CHAR_CLASS_MAX_LENGTH + 1]; str 297 maint/gnulib/lib/fnmatch_loop.c str[c1++] = c; str 299 maint/gnulib/lib/fnmatch_loop.c str[c1] = L_('\0'); str 301 maint/gnulib/lib/fnmatch_loop.c wt = IS_CHAR_CLASS (str); str 326 maint/gnulib/lib/fnmatch_loop.c UCHAR str; str 338 maint/gnulib/lib/fnmatch_loop.c str = c; str 351 maint/gnulib/lib/fnmatch_loop.c if ((UCHAR) *n == str) str 366 maint/gnulib/lib/fnmatch_loop.c const UCHAR *cp = (const UCHAR *) &str; str 986 maint/gnulib/lib/fnmatch_loop.c CHAR str __flexarr; str 1039 maint/gnulib/lib/fnmatch_loop.c idx_t slen = FLEXSIZEOF (struct patternlist, str, 0); \ str 1064 maint/gnulib/lib/fnmatch_loop.c *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ str 1095 maint/gnulib/lib/fnmatch_loop.c if (FCT (list->str, string, rs, no_leading_period, str 1135 maint/gnulib/lib/fnmatch_loop.c if (FCT (STRCAT (list->str, p), string, string_end, str 1153 maint/gnulib/lib/fnmatch_loop.c if (FCT (runp->str, string, rs, no_leading_period, str 2168 maint/gnulib/lib/gen-uni-tables.c const char *str = unicode_attributes[ch].numeric; str 2170 maint/gnulib/lib/gen-uni-tables.c value.numerator = atoi (str); str 2171 maint/gnulib/lib/gen-uni-tables.c if (strchr (str, '/') != NULL) str 2172 maint/gnulib/lib/gen-uni-tables.c value.denominator = atoi (strchr (str, '/') + 1); str 62 maint/gnulib/lib/getpass.c # define fputs_unlocked(str,stream) fputs (str, stream) str 55 maint/gnulib/lib/glob.c # define strdup(str) __strdup (str) str 59 maint/gnulib/lib/glob.c # define readdir(str) __readdir64 (str) str 52 maint/gnulib/lib/javacomp.c #define _(str) gettext (str) str 38 maint/gnulib/lib/javaexec.c #define _(str) gettext (str) str 41 maint/gnulib/lib/javaversion.c #define _(str) gettext (str) str 22 maint/gnulib/lib/memset.c memset (void *str, int c, size_t len) str 24 maint/gnulib/lib/memset.c register char *st = str; str 28 maint/gnulib/lib/memset.c return str; str 4426 maint/gnulib/lib/mini-gmp.c char *str; str 4429 maint/gnulib/lib/mini-gmp.c str = mpz_get_str (NULL, base, x); str 4430 maint/gnulib/lib/mini-gmp.c if (!str) str 4432 maint/gnulib/lib/mini-gmp.c len = strlen (str); str 4433 maint/gnulib/lib/mini-gmp.c n = fwrite (str, 1, len, stream); str 4434 maint/gnulib/lib/mini-gmp.c gmp_free (str, len + 1); str 416 maint/gnulib/lib/mountlist.c unescape_tab (char *str) str 419 maint/gnulib/lib/mountlist.c size_t len = strlen (str) + 1; str 422 maint/gnulib/lib/mountlist.c if (str[i] == '\\' && (i + 4 < len) str 423 maint/gnulib/lib/mountlist.c && str[i + 1] >= '0' && str[i + 1] <= '3' str 424 maint/gnulib/lib/mountlist.c && str[i + 2] >= '0' && str[i + 2] <= '7' str 425 maint/gnulib/lib/mountlist.c && str[i + 3] >= '0' && str[i + 3] <= '7') str 427 maint/gnulib/lib/mountlist.c str[j++] = (str[i + 1] - '0') * 64 + str 428 maint/gnulib/lib/mountlist.c (str[i + 2] - '0') * 8 + str 429 maint/gnulib/lib/mountlist.c (str[i + 3] - '0'); str 433 maint/gnulib/lib/mountlist.c str[j++] = str[i]; str 441 maint/gnulib/lib/mountlist.c terminate_at_blank (char *str) str 443 maint/gnulib/lib/mountlist.c char *s = strchr (str, ' '); str 64 maint/gnulib/lib/obstack_printf.c char *str; str 71 maint/gnulib/lib/obstack_printf.c str = vasnprintf (base, &len, format, args); str 72 maint/gnulib/lib/obstack_printf.c if (!str) str 78 maint/gnulib/lib/obstack_printf.c if (str == base && str != buf) str 86 maint/gnulib/lib/obstack_printf.c obstack_grow (obs, str, len); str 87 maint/gnulib/lib/obstack_printf.c if (str != buf) str 88 maint/gnulib/lib/obstack_printf.c free (str); str 36 maint/gnulib/lib/os2-spawn.c #define _(str) gettext (str) str 38 maint/gnulib/lib/pagealign_alloc.c #define _(str) gettext (str) str 74 maint/gnulib/lib/parse-datetime.y #define _(str) gettext (str) str 61 maint/gnulib/lib/parse-duration.c str_const_to_ul (cch_t * str, cch_t ** ppz, int base) str 63 maint/gnulib/lib/parse-duration.c return strtoul (str, (char **)ppz, base); str 68 maint/gnulib/lib/parse-duration.c str_const_to_l (cch_t * str, cch_t ** ppz, int base) str 70 maint/gnulib/lib/parse-duration.c return strtol (str, (char **)ppz, base); str 41 maint/gnulib/lib/pipe-filter-aux.c #define _(str) gettext (str) str 43 maint/gnulib/lib/pipe-filter-gi.c #define _(str) gettext (str) str 162 maint/gnulib/lib/pipe-filter-ii.c #define _(str) gettext (str) str 20 maint/gnulib/lib/regex_internal.c static void re_string_construct_common (const char *str, Idx len, str 47 maint/gnulib/lib/regex_internal.c re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len, str 57 maint/gnulib/lib/regex_internal.c re_string_construct_common (str, len, pstr, trans, icase, dfa); str 65 maint/gnulib/lib/regex_internal.c pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; str 75 maint/gnulib/lib/regex_internal.c re_string_construct (re_string_t *pstr, const char *str, Idx len, str 80 maint/gnulib/lib/regex_internal.c re_string_construct_common (str, len, pstr, trans, icase, dfa); str 88 maint/gnulib/lib/regex_internal.c pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; str 172 maint/gnulib/lib/regex_internal.c re_string_construct_common (const char *str, Idx len, re_string_t *pstr, str 176 maint/gnulib/lib/regex_internal.c pstr->raw_mbs = (const unsigned char *) str; str 321 maint/gnulib/lib/regexec.c const char *str; str 344 maint/gnulib/lib/regexec.c str = s; str 347 maint/gnulib/lib/regexec.c str = string2; str 349 maint/gnulib/lib/regexec.c str = string1; str 351 maint/gnulib/lib/regexec.c rval = re_search_stub (bufp, str, len, start, range, stop, regs, str 37 maint/gnulib/lib/snprintf.c snprintf (char *str, size_t size, const char *format, ...) str 45 maint/gnulib/lib/snprintf.c output = vasnprintf (str, &lenbuf, format, args); str 52 maint/gnulib/lib/snprintf.c if (output != str) str 57 maint/gnulib/lib/snprintf.c memcpy (str, output, pruned_len); str 58 maint/gnulib/lib/snprintf.c str[pruned_len] = '\0'; str 45 maint/gnulib/lib/spawn-pipe.c #define _(str) gettext (str) str 40 maint/gnulib/lib/sprintf.c sprintf (char *str, const char *format, ...) str 54 maint/gnulib/lib/sprintf.c if (lenbuf > ~ (uintptr_t) str) str 55 maint/gnulib/lib/sprintf.c lenbuf = ~ (uintptr_t) str; str 58 maint/gnulib/lib/sprintf.c output = vasnprintf (str, &lenbuf, format, args); str 65 maint/gnulib/lib/sprintf.c if (output != str) str 1312 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1317 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1322 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1328 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1358 maint/gnulib/lib/stdio.in.h (char *restrict str, const char *restrict format, ...) str 1362 maint/gnulib/lib/stdio.in.h (char *restrict str, const char *restrict format, ...)); str 1365 maint/gnulib/lib/stdio.in.h (char *restrict str, const char *restrict format, ...)); str 1645 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1650 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1655 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1661 maint/gnulib/lib/stdio.in.h (char *restrict str, size_t size, str 1682 maint/gnulib/lib/stdio.in.h (char *restrict str, str 1687 maint/gnulib/lib/stdio.in.h (char *restrict str, str 1694 maint/gnulib/lib/stdio.in.h (char *restrict str, str 1267 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp) str 1270 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp)); str 1274 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp) str 1278 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp)); str 1299 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp) str 1302 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp)); str 1306 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp) str 1310 maint/gnulib/lib/stdlib.in.h (const char *restrict str, char **restrict endp)); str 81 maint/gnulib/lib/string-buffer.c sb_append (struct string_buffer *buffer, const char *str) str 83 maint/gnulib/lib/string-buffer.c size_t len = strlen (str); str 89 maint/gnulib/lib/string-buffer.c memcpy (buffer->data + buffer->length, str, len); str 47 maint/gnulib/lib/string-buffer.h extern int sb_append (struct string_buffer *buffer, const char *str); str 423 maint/gnulib/lib/string.in.h (const char *str, int ch)); str 27 maint/gnulib/lib/strtold.c strtold (const char *str, char **endp) str 29 maint/gnulib/lib/strtold.c return strtod (str, endp); str 120 maint/gnulib/lib/term-style-control.c sprintf_integer (char *str, int x) str 129 maint/gnulib/lib/term-style-control.c *str++ = '-'; str 143 maint/gnulib/lib/term-style-control.c memcpy (str, p, n); str 144 maint/gnulib/lib/term-style-control.c str[n] = '\0'; str 153 maint/gnulib/lib/term-style-control.c simple_errno_string (char *str, int errnum) str 157 maint/gnulib/lib/term-style-control.c case EBADF: strcpy (str, "EBADF"); break; str 158 maint/gnulib/lib/term-style-control.c case EINTR: strcpy (str, "EINTR"); break; str 159 maint/gnulib/lib/term-style-control.c case EINVAL: strcpy (str, "EINVAL"); break; str 160 maint/gnulib/lib/term-style-control.c case EIO: strcpy (str, "EIO"); break; str 161 maint/gnulib/lib/term-style-control.c case ENOTTY: strcpy (str, "ENOTTY"); break; str 162 maint/gnulib/lib/term-style-control.c default: sprintf_integer (str, errnum); break; str 172 maint/gnulib/lib/term-style-control.c simple_signal_string (char *str, int sig) str 178 maint/gnulib/lib/term-style-control.c case SIGINT: strcpy (str, "SIGINT"); break; str 181 maint/gnulib/lib/term-style-control.c case SIGTERM: strcpy (str, "SIGTERM"); break; str 184 maint/gnulib/lib/term-style-control.c case SIGHUP: strcpy (str, "SIGHUP"); break; str 187 maint/gnulib/lib/term-style-control.c case SIGPIPE: strcpy (str, "SIGPIPE"); break; str 190 maint/gnulib/lib/term-style-control.c case SIGXCPU: strcpy (str, "SIGXCPU"); break; str 193 maint/gnulib/lib/term-style-control.c case SIGXFSZ: strcpy (str, "SIGXFSZ"); break; str 196 maint/gnulib/lib/term-style-control.c case SIGBREAK: strcpy (str, "SIGBREAK"); break; str 200 maint/gnulib/lib/term-style-control.c case SIGTSTP: strcpy (str, "SIGTSTP"); break; str 203 maint/gnulib/lib/term-style-control.c case SIGTTIN: strcpy (str, "SIGTTIN"); break; str 206 maint/gnulib/lib/term-style-control.c case SIGTTOU: strcpy (str, "SIGTTOU"); break; str 210 maint/gnulib/lib/term-style-control.c case SIGCONT: strcpy (str, "SIGCONT"); break; str 212 maint/gnulib/lib/term-style-control.c default: sprintf_integer (str, sig); break; str 69 maint/gnulib/lib/unicase/special-casing.in.h gl_unicase_special_lookup (const char *str, size_t len); str 642 maint/gnulib/lib/unistr.in.h u8_strchr (const uint8_t *str, ucs4_t uc) str 645 maint/gnulib/lib/unistr.in.h u16_strchr (const uint16_t *str, ucs4_t uc) str 648 maint/gnulib/lib/unistr.in.h u32_strchr (const uint32_t *str, ucs4_t uc) str 654 maint/gnulib/lib/unistr.in.h u8_strrchr (const uint8_t *str, ucs4_t uc) str 657 maint/gnulib/lib/unistr.in.h u16_strrchr (const uint16_t *str, ucs4_t uc) str 660 maint/gnulib/lib/unistr.in.h u32_strrchr (const uint32_t *str, ucs4_t uc) str 667 maint/gnulib/lib/unistr.in.h u8_strcspn (const uint8_t *str, const uint8_t *reject) str 670 maint/gnulib/lib/unistr.in.h u16_strcspn (const uint16_t *str, const uint16_t *reject) str 673 maint/gnulib/lib/unistr.in.h u32_strcspn (const uint32_t *str, const uint32_t *reject) str 680 maint/gnulib/lib/unistr.in.h u8_strspn (const uint8_t *str, const uint8_t *accept) str 683 maint/gnulib/lib/unistr.in.h u16_strspn (const uint16_t *str, const uint16_t *accept) str 686 maint/gnulib/lib/unistr.in.h u32_strspn (const uint32_t *str, const uint32_t *accept) str 692 maint/gnulib/lib/unistr.in.h u8_strpbrk (const uint8_t *str, const uint8_t *accept) str 695 maint/gnulib/lib/unistr.in.h u16_strpbrk (const uint16_t *str, const uint16_t *accept) str 698 maint/gnulib/lib/unistr.in.h u32_strpbrk (const uint32_t *str, const uint32_t *accept) str 715 maint/gnulib/lib/unistr.in.h u8_startswith (const uint8_t *str, const uint8_t *prefix) str 718 maint/gnulib/lib/unistr.in.h u16_startswith (const uint16_t *str, const uint16_t *prefix) str 721 maint/gnulib/lib/unistr.in.h u32_startswith (const uint32_t *str, const uint32_t *prefix) str 726 maint/gnulib/lib/unistr.in.h u8_endswith (const uint8_t *str, const uint8_t *suffix) str 729 maint/gnulib/lib/unistr.in.h u16_endswith (const uint16_t *str, const uint16_t *suffix) str 732 maint/gnulib/lib/unistr.in.h u32_endswith (const uint32_t *str, const uint32_t *suffix) str 739 maint/gnulib/lib/unistr.in.h u8_strtok (uint8_t *_UC_RESTRICT str, const uint8_t *delim, str 742 maint/gnulib/lib/unistr.in.h u16_strtok (uint16_t *_UC_RESTRICT str, const uint16_t *delim, str 745 maint/gnulib/lib/unistr.in.h u32_strtok (uint32_t *_UC_RESTRICT str, const uint32_t *delim, str 27 maint/gnulib/lib/unistr/u-endswith.h FUNC (const UNIT *str, const UNIT *suffix) str 29 maint/gnulib/lib/unistr/u-endswith.h size_t len = U_STRLEN (str); str 33 maint/gnulib/lib/unistr/u-endswith.h return (U_CMP (str + (len - suffixlen), suffix, suffixlen) == 0); str 27 maint/gnulib/lib/unistr/u-startswith.h FUNC (const UNIT *str, const UNIT *prefix) str 31 maint/gnulib/lib/unistr/u-startswith.h UNIT uc1 = *str++; str 27 maint/gnulib/lib/unistr/u-strcspn.h FUNC (const UNIT *str, const UNIT *reject) str 31 maint/gnulib/lib/unistr/u-strcspn.h return U_STRLEN (str); str 37 maint/gnulib/lib/unistr/u-strcspn.h const UNIT *found = U_STRCHR (str, uc); str 39 maint/gnulib/lib/unistr/u-strcspn.h return found - str; str 41 maint/gnulib/lib/unistr/u-strcspn.h return U_STRLEN (str); str 46 maint/gnulib/lib/unistr/u-strcspn.h const UNIT *ptr = str; str 53 maint/gnulib/lib/unistr/u-strcspn.h return ptr - str; str 57 maint/gnulib/lib/unistr/u-strcspn.h return ptr - str; str 60 maint/gnulib/lib/unistr/u-strcspn.h return U_STRLEN (str); str 27 maint/gnulib/lib/unistr/u-strpbrk.h FUNC (const UNIT *str, const UNIT *accept) str 36 maint/gnulib/lib/unistr/u-strpbrk.h return U_STRCHR (str, uc); str 40 maint/gnulib/lib/unistr/u-strpbrk.h const UNIT *ptr = str; str 27 maint/gnulib/lib/unistr/u-strspn.h FUNC (const UNIT *str, const UNIT *accept) str 37 maint/gnulib/lib/unistr/u-strspn.h const UNIT *ptr = str; str 41 maint/gnulib/lib/unistr/u-strspn.h return ptr - str; str 46 maint/gnulib/lib/unistr/u-strspn.h const UNIT *ptr = str; str 53 maint/gnulib/lib/unistr/u-strspn.h return ptr - str; str 57 maint/gnulib/lib/unistr/u-strspn.h return ptr - str; str 60 maint/gnulib/lib/unistr/u-strspn.h return U_STRLEN (str); str 27 maint/gnulib/lib/unistr/u-strtok.h FUNC (UNIT *str, const UNIT *delim, UNIT **ptr) str 29 maint/gnulib/lib/unistr/u-strtok.h if (str == NULL) str 31 maint/gnulib/lib/unistr/u-strtok.h str = *ptr; str 32 maint/gnulib/lib/unistr/u-strtok.h if (str == NULL) str 37 maint/gnulib/lib/unistr/u-strtok.h str += U_STRSPN (str, delim); str 40 maint/gnulib/lib/unistr/u-strtok.h if (*str == 0) str 48 maint/gnulib/lib/unistr/u-strtok.h UNIT *token_end = U_STRPBRK (str, delim); str 59 maint/gnulib/lib/unistr/u-strtok.h return str; str 37 maint/gnulib/lib/unistr/u32-strcspn.c FUNC (const UNIT *str, const UNIT *reject) str 41 maint/gnulib/lib/unistr/u32-strcspn.c return U_STRLEN (str); str 45 maint/gnulib/lib/unistr/u32-strcspn.c const UNIT *ptr = str; str 49 maint/gnulib/lib/unistr/u32-strcspn.c return ptr - str; str 53 maint/gnulib/lib/unistr/u32-strcspn.c const UNIT *ptr = str; str 57 maint/gnulib/lib/unistr/u32-strcspn.c return ptr - str; str 36 maint/gnulib/lib/unistr/u32-strpbrk.c FUNC (const UNIT *str, const UNIT *accept) str 44 maint/gnulib/lib/unistr/u32-strpbrk.c const UNIT *ptr = str; str 52 maint/gnulib/lib/unistr/u32-strpbrk.c const UNIT *ptr = str; str 36 maint/gnulib/lib/unistr/u32-strspn.c FUNC (const UNIT *str, const UNIT *accept) str 44 maint/gnulib/lib/unistr/u32-strspn.c const UNIT *ptr = str; str 48 maint/gnulib/lib/unistr/u32-strspn.c return ptr - str; str 52 maint/gnulib/lib/unistr/u32-strspn.c const UNIT *ptr = str; str 56 maint/gnulib/lib/unistr/u32-strspn.c return ptr - str; str 88 maint/gnulib/lib/userspec.c is_number (const char *str) str 92 maint/gnulib/lib/userspec.c if (!ISDIGIT (*str)) str 95 maint/gnulib/lib/userspec.c while (*++str); str 39 maint/gnulib/lib/vsnprintf.c vsnprintf (char *str, size_t size, const char *format, va_list args) str 45 maint/gnulib/lib/vsnprintf.c output = vasnprintf (str, &lenbuf, format, args); str 51 maint/gnulib/lib/vsnprintf.c if (output != str) str 56 maint/gnulib/lib/vsnprintf.c memcpy (str, output, pruned_len); str 57 maint/gnulib/lib/vsnprintf.c str[pruned_len] = '\0'; str 40 maint/gnulib/lib/vsprintf.c vsprintf (char *str, const char *format, va_list args) str 53 maint/gnulib/lib/vsprintf.c if (lenbuf > ~ (uintptr_t) str) str 54 maint/gnulib/lib/vsprintf.c lenbuf = ~ (uintptr_t) str; str 56 maint/gnulib/lib/vsprintf.c output = vasnprintf (str, &lenbuf, format, args); str 62 maint/gnulib/lib/vsprintf.c if (output != str) str 37 maint/gnulib/lib/wait-process.c #define _(str) gettext (str) str 101 maint/gnulib/lib/xalloc.h char *xstrdup (char const *str) str 27 maint/gnulib/lib/xsetenv.c #define _(str) gettext (str) str 44 maint/gnulib/lib/xstrtod.c XSTRTOD (char const *str, char const **ptr, DOUBLE *result, str 52 maint/gnulib/lib/xstrtod.c val = convert (str, &terminator); str 55 maint/gnulib/lib/xstrtod.c if (terminator == str || (ptr == NULL && *terminator != '\0')) str 26 maint/gnulib/lib/xstrtod.h bool xstrtod (const char *str, const char **ptr, double *result, str 28 maint/gnulib/lib/xstrtod.h bool xstrtold (const char *str, const char **ptr, long double *result, str 58 maint/gnulib/tests/test-hash.c char *str = ent; str 60 maint/gnulib/tests/test-hash.c switch (*str) str 71 maint/gnulib/tests/test-hash.c get_seed (char const *str, unsigned int *seed) str 73 maint/gnulib/tests/test-hash.c size_t len = strlen (str); str 74 maint/gnulib/tests/test-hash.c if (len == 0 || strspn (str, "0123456789") != len || 10 < len) str 77 maint/gnulib/tests/test-hash.c *seed = atoi (str); str 165 maint/gnulib/tests/test-hash.c char *str = strdup ("a"); str 166 maint/gnulib/tests/test-hash.c ASSERT (str); str 168 maint/gnulib/tests/test-hash.c insert_new (ht, str); str 169 maint/gnulib/tests/test-hash.c ASSERT (hash_lookup (ht, str) == str); str 170 maint/gnulib/tests/test-hash.c free (str); str 35 maint/gnulib/tests/test-oset-c++.cc action (const char *str, int *data) str 37 maint/gnulib/tests/test-oset-c++.cc const_cast<char *> (str) [0] += *data; str 41 maint/gnulib/tests/test-oset-c++.cc is_at_most (const char *str, const char *threshold) str 43 maint/gnulib/tests/test-oset-c++.cc return strcmp (str, threshold) <= 0; str 19 maint/gnulib/tests/test-oset-update.h action (const void *str, void *data) str 21 maint/gnulib/tests/test-oset-update.h ((char *) str)[0] += *(int *)data; str 32 maint/gnulib/tests/test-parse-datetime.c #define LOG(str, now, res) \ str 34 maint/gnulib/tests/test-parse-datetime.c str, res.tv_sec - now.tv_sec, res.tv_nsec - now.tv_nsec); str 36 maint/gnulib/tests/test-parse-datetime.c #define LOG(str, now, res) (void) 0 str 249 maint/gnulib/tests/test-quotearg-simple.c use_quote_double_quotes (const char *str, size_t *len) str 251 maint/gnulib/tests/test-quotearg-simple.c char *p = *len == SIZE_MAX ? quotearg_char (str, '"') str 252 maint/gnulib/tests/test-quotearg-simple.c : quotearg_char_mem (str, *len, '"'); str 347 maint/gnulib/tests/test-quotearg-simple.c char const *str = "____"; str 348 maint/gnulib/tests/test-quotearg-simple.c size_t s_len = strlen (str); str 350 maint/gnulib/tests/test-quotearg-simple.c memcpy (z, str, s_len + 1); str 102 maint/gnulib/tests/test-quotearg.h use_quotearg_buffer (const char *str, size_t *len) str 107 maint/gnulib/tests/test-quotearg.h size = quotearg_buffer (buf, 100, str, *len, NULL); str 114 maint/gnulib/tests/test-quotearg.h use_quotearg (const char *str, size_t *len) str 116 maint/gnulib/tests/test-quotearg.h char *p = *len == SIZE_MAX ? quotearg (str) : quotearg_mem (str, *len); str 122 maint/gnulib/tests/test-quotearg.h use_quotearg_colon (const char *str, size_t *len) str 124 maint/gnulib/tests/test-quotearg.h char *p = (*len == SIZE_MAX ? quotearg_colon (str) str 125 maint/gnulib/tests/test-quotearg.h : quotearg_colon_mem (str, *len)); str 33 maint/gnulib/tests/test-strerror.c char *str; str 36 maint/gnulib/tests/test-strerror.c str = strerror (EACCES); str 37 maint/gnulib/tests/test-strerror.c ASSERT (str); str 38 maint/gnulib/tests/test-strerror.c ASSERT (*str); str 42 maint/gnulib/tests/test-strerror.c str = strerror (ETIMEDOUT); str 43 maint/gnulib/tests/test-strerror.c ASSERT (str); str 44 maint/gnulib/tests/test-strerror.c ASSERT (*str); str 48 maint/gnulib/tests/test-strerror.c str = strerror (EOVERFLOW); str 49 maint/gnulib/tests/test-strerror.c ASSERT (str); str 50 maint/gnulib/tests/test-strerror.c ASSERT (*str); str 58 maint/gnulib/tests/test-strerror.c str = strerror (0); str 59 maint/gnulib/tests/test-strerror.c ASSERT (str); str 60 maint/gnulib/tests/test-strerror.c ASSERT (*str); str 62 maint/gnulib/tests/test-strerror.c ASSERT (strstr (str, "nknown") == NULL); str 63 maint/gnulib/tests/test-strerror.c ASSERT (strstr (str, "ndefined") == NULL); str 69 maint/gnulib/tests/test-strerror.c str = strerror (-3); str 70 maint/gnulib/tests/test-strerror.c ASSERT (str); str 71 maint/gnulib/tests/test-strerror.c ASSERT (*str); str 46 maint/gnulib/tests/test-strsignal.c const char *str; str 53 maint/gnulib/tests/test-strsignal.c str = strsignal (SIGHUP); str 54 maint/gnulib/tests/test-strsignal.c ASSERT (str); str 55 maint/gnulib/tests/test-strsignal.c ASSERT (*str); str 56 maint/gnulib/tests/test-strsignal.c ASSERT_DESCRIPTION (str, "Hangup"); str 60 maint/gnulib/tests/test-strsignal.c str = strsignal (SIGINT); str 61 maint/gnulib/tests/test-strsignal.c ASSERT (str); str 62 maint/gnulib/tests/test-strsignal.c ASSERT (*str); str 63 maint/gnulib/tests/test-strsignal.c ASSERT_DESCRIPTION (str, "Interrupt"); str 68 maint/gnulib/tests/test-strsignal.c str = strsignal (-1); str 69 maint/gnulib/tests/test-strsignal.c ASSERT (str); str 70 maint/gnulib/tests/test-strsignal.c ASSERT (str != (char *) -1); str 71 maint/gnulib/tests/test-strsignal.c ASSERT (strlen (str)); str 73 maint/gnulib/tests/test-strsignal.c str = strsignal (9249234); str 74 maint/gnulib/tests/test-strsignal.c ASSERT (str); str 75 maint/gnulib/tests/test-strsignal.c ASSERT (str != (char *) -1); str 76 maint/gnulib/tests/test-strsignal.c ASSERT (strlen (str)); str 35 maint/gnulib/tests/test-vsnprintf-posix.c my_snprintf (char *str, size_t size, const char *format, ...) str 41 maint/gnulib/tests/test-vsnprintf-posix.c ret = vsnprintf (str, size, format, args); str 38 maint/gnulib/tests/test-vsprintf-posix.c my_sprintf (char *str, const char *format, ...) str 44 maint/gnulib/tests/test-vsprintf-posix.c ret = vsprintf (str, format, args); str 519 tools/cibadmin.c "non-option ARGV-elements: %s\n\n%s", extra->str, help); str 254 tools/crm_node.c out->info(out, "%s", buffer->str); str 398 tools/crm_resource_ban.c g_string_append(buf, rsc_role_substr->str); str 459 tools/crm_resource_ban.c date_expr_node = get_xpath_object((const char *) buf->str, str 127 tools/crm_resource_runtime.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, str 1223 tools/crm_shadow.c "non-option ARGV-elements: %s\n\n%s", extra->str, help); str 363 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, str 411 tools/crm_ticket.c rc = the_cib->cmds->query(the_cib, (const char *) xpath->str, &xml_search, str 528 tools/crm_ticket.c fprintf(stdout, "%s\n", (const char *) warning->str);