state 154 daemons/attrd/attrd_corosync.c #define state_text(state) pcmk__s((state), "in unknown state") state 199 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state)); state 213 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state), state_text(data)); state 214 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(peer->state, CRM_NODE_MEMBER, pcmk__str_casei)) { state 48 daemons/controld/controld_alerts.c node->uname, node->id, node->state); state 78 daemons/controld/controld_based.c if (fsa_cib_conn->state != cib_disconnected) { state 98 daemons/controld/controld_based.c if (fsa_cib_conn->state != cib_disconnected && last_resource_update != 0) { state 84 daemons/controld/controld_callbacks.c return pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei) ? 1: -1; state 91 daemons/controld/controld_callbacks.c && !pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)) { state 100 daemons/controld/controld_callbacks.c #define state_text(state) ((state)? (const char *)(state) : "in unknown state") state 144 daemons/controld/controld_callbacks.c node->uname, state_text(node->state)); state 151 daemons/controld/controld_callbacks.c CRM_CHECK(!pcmk__str_eq(data, node->state, pcmk__str_casei), state 156 daemons/controld/controld_callbacks.c node->uname, state_text(node->state), state_text(data)); state 158 daemons/controld/controld_callbacks.c if (pcmk__str_eq(CRM_NODE_MEMBER, node->state, pcmk__str_casei)) { state 345 daemons/controld/controld_callbacks.c fsa_cib_conn->state = cib_disconnected; state 111 daemons/controld/controld_execd_state.c lrm_state_t *state = NULL; state 118 daemons/controld/controld_execd_state.c state = calloc(1, sizeof(lrm_state_t)); state 119 daemons/controld/controld_execd_state.c if (!state) { state 123 daemons/controld/controld_execd_state.c state->node_name = strdup(node_name); state 124 daemons/controld/controld_execd_state.c state->rsc_info_cache = pcmk__strkey_table(NULL, free_rsc_info); state 125 daemons/controld/controld_execd_state.c state->deletion_ops = pcmk__strkey_table(free, free_deletion_op); state 126 daemons/controld/controld_execd_state.c state->pending_ops = pcmk__strkey_table(free, free_recurring_op); state 127 daemons/controld/controld_execd_state.c state->resource_history = pcmk__strkey_table(NULL, history_free); state 128 daemons/controld/controld_execd_state.c state->metadata_cache = metadata_cache_new(); state 130 daemons/controld/controld_execd_state.c g_hash_table_insert(lrm_state_table, (char *)state->node_name, state); state 131 daemons/controld/controld_execd_state.c return state; state 196 daemons/controld/controld_fencing.c if (peer->state == NULL) { state 427 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 630 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 698 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 722 daemons/controld/controld_fencing.c if (stonith_api && (stonith_api->state != stonith_disconnected)) { state 962 daemons/controld/controld_fencing.c if (stonith_api && (stonith_api->state != stonith_disconnected) && state 524 daemons/controld/controld_fsa.h const char *fsa_state2string(enum crmd_fsa_state state); state 128 daemons/controld/controld_join_dc.c if(member->expected == NULL && pcmk__str_eq(member->state, CRM_NODE_LOST, pcmk__str_casei)) { state 133 daemons/controld/controld_membership.c if (!node->state) { state 154 daemons/controld/controld_membership.c if ((flags & node_update_cluster) && node->state) { state 156 daemons/controld/controld_membership.c pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)); state 805 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); state 861 daemons/controld/controld_messages.c crm_xml_add(reply_data, XML_NODE_IS_PEER, node->state); state 177 daemons/controld/controld_remote_ra.c xmlNode *update, *state; state 220 daemons/controld/controld_remote_ra.c state = create_node_state_update(node, node_update_cluster, update, state 227 daemons/controld/controld_remote_ra.c crm_xml_add(state, XML_NODE_IS_FENCED, "0"); state 1276 daemons/controld/controld_remote_ra.c xmlNode *update, *state; state 1284 daemons/controld/controld_remote_ra.c state = create_node_state_update(node, node_update_none, update, state 1286 daemons/controld/controld_remote_ra.c crm_xml_add(state, XML_NODE_IS_MAINTENANCE, maintenance?"1":"0"); state 244 daemons/controld/controld_te_actions.c xmlNode *state = NULL; state 276 daemons/controld/controld_te_actions.c state = create_xml_node(NULL, XML_CIB_TAG_STATE); state 278 daemons/controld/controld_te_actions.c crm_xml_add(state, XML_ATTR_UUID, target_uuid); state 279 daemons/controld/controld_te_actions.c crm_xml_add(state, XML_ATTR_UNAME, target); state 281 daemons/controld/controld_te_actions.c rsc = create_xml_node(state, XML_CIB_TAG_LRM); state 296 daemons/controld/controld_te_actions.c rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, state, call_options); state 298 daemons/controld/controld_te_actions.c free_xml(state); state 368 daemons/controld/controld_te_callbacks.c process_node_state_diff(xmlNode *state, xmlNode *change, const char *op, state 371 daemons/controld/controld_te_callbacks.c xmlNode *lrm = first_named_child(state, XML_CIB_TAG_LRM); state 373 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(state), lrm, change, op, xpath); state 380 daemons/controld/controld_te_callbacks.c for (xmlNode *state = pcmk__xml_first_child(status); state != NULL; state 381 daemons/controld/controld_te_callbacks.c state = pcmk__xml_next(state)) { state 382 daemons/controld/controld_te_callbacks.c process_node_state_diff(state, change, op, xpath); state 164 daemons/controld/controld_throttle.c char state = 0; state 169 daemons/controld/controld_throttle.c &pid, comm, &state, state 141 daemons/controld/controld_utils.c fsa_state2string(enum crmd_fsa_state state) state 145 daemons/controld/controld_utils.c switch (state) { state 194 daemons/controld/controld_utils.c crm_err("State %d is unknown", state); state 751 daemons/controld/controld_utils.c if(full && peer->state == NULL) { state 152 daemons/controld/pacemaker-controld.c enum crmd_fsa_state state; state 163 daemons/controld/pacemaker-controld.c state = s_crmd_fsa(C_STARTUP); state 165 daemons/controld/pacemaker-controld.c if (state == S_PENDING || state == S_STARTING) { state 176 daemons/controld/pacemaker-controld.c crm_system_name, fsa_state2string(state)); state 45 daemons/execd/pacemaker-execd.c stonith_api->state = stonith_disconnected; state 52 daemons/execd/pacemaker-execd.c if (stonith_api && stonith_api->state == stonith_disconnected) { state 135 daemons/fenced/cts-fence-helper.c if (st->state == stonith_disconnected) { state 73 daemons/fenced/fenced_history.c if ((op->state == st_failed) || (op->state == st_done)) { state 142 daemons/fenced/fenced_history.c gboolean a_pending = ((*a)->state != st_failed) && ((*a)->state != st_done); state 143 daemons/fenced/fenced_history.c gboolean b_pending = ((*b)->state != st_failed) && ((*b)->state != st_done); state 203 daemons/fenced/fenced_history.c if ((ops[i]->state == st_failed) || (ops[i]->state == st_done)) { state 235 daemons/fenced/fenced_history.c int state; state 260 daemons/fenced/fenced_history.c crm_element_value_int(xml_op, F_STONITH_STATE, &state); state 261 daemons/fenced/fenced_history.c op->state = (enum op_state) state; state 323 daemons/fenced/fenced_history.c if (stonith__op_state_pending(op->state) state 324 daemons/fenced/fenced_history.c && !stonith__op_state_pending(remote_op->state)) { state 329 daemons/fenced/fenced_history.c op->id, stonith_op_state_str(op->state), state 330 daemons/fenced/fenced_history.c stonith_op_state_str(remote_op->state)); state 340 daemons/fenced/fenced_history.c } else if (!stonith__op_state_pending(op->state) state 341 daemons/fenced/fenced_history.c && stonith__op_state_pending(remote_op->state)) { state 346 daemons/fenced/fenced_history.c op->id, stonith_op_state_str(op->state), state 347 daemons/fenced/fenced_history.c stonith_op_state_str(remote_op->state)); state 375 daemons/fenced/fenced_history.c crm_xml_add_int(entry, F_STONITH_STATE, op->state); state 387 daemons/fenced/fenced_history.c if (stonith__op_state_pending(op->state) && state 392 daemons/fenced/fenced_history.c op->state = st_failed; state 383 daemons/fenced/fenced_remote.c crm_xml_add_int(notify_data, "state", op->state); state 450 daemons/fenced/fenced_remote.c crm_xml_add_int(data, "state", op->state); state 489 daemons/fenced/fenced_remote.c if (other->state == st_duplicate) { state 490 daemons/fenced/fenced_remote.c other->state = op->state; state 504 daemons/fenced/fenced_remote.c stonith_op_state_str(other->state), other->id); state 655 daemons/fenced/fenced_remote.c op->state = st_done; state 699 daemons/fenced/fenced_remote.c op->state = st_done; state 702 daemons/fenced/fenced_remote.c op->state = st_failed; state 721 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 740 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 743 daemons/fenced/fenced_remote.c } else if (op->state == st_exec) { state 749 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); state 753 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); state 1000 daemons/fenced/fenced_remote.c if (other->state > st_exec) { state 1032 daemons/fenced/fenced_remote.c other->state = st_failed; state 1060 daemons/fenced/fenced_remote.c op->state = st_duplicate; state 1103 daemons/fenced/fenced_remote.c op->state = st_done; state 1168 daemons/fenced/fenced_remote.c op->state = st_query; state 1232 daemons/fenced/fenced_remote.c if (op->state != st_duplicate) { state 1280 daemons/fenced/fenced_remote.c op->state = st_failed; state 1283 daemons/fenced/fenced_remote.c switch (op->state) { state 1302 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state), op->base_timeout); state 1692 daemons/fenced/fenced_remote.c op->state = st_done; state 1734 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1825 daemons/fenced/fenced_remote.c op->state = st_exec; state 1878 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1879 daemons/fenced/fenced_remote.c CRM_CHECK(op->state < st_done, return); state 1895 daemons/fenced/fenced_remote.c if (op->state == st_query) { state 1899 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1920 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1923 daemons/fenced/fenced_remote.c op->state = st_failed; state 2203 daemons/fenced/fenced_remote.c if ((++op->replies >= replies_expected) && (op->state == st_query)) { state 2222 daemons/fenced/fenced_remote.c if (op->state == st_query && all_topology_devices_found(op)) { state 2233 daemons/fenced/fenced_remote.c } else if (op->state == st_query) { state 2254 daemons/fenced/fenced_remote.c } else if ((peer != NULL) && (op->state == st_done)) { state 2258 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 2325 daemons/fenced/fenced_remote.c op->state = st_done; state 2327 daemons/fenced/fenced_remote.c op->state = st_failed; state 2347 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 2388 daemons/fenced/fenced_remote.c op->state = st_failed; state 2395 daemons/fenced/fenced_remote.c op->state = st_done; state 2402 daemons/fenced/fenced_remote.c op->state = st_failed; state 2433 daemons/fenced/fenced_remote.c } else if (rop->state != st_done) { state 123 daemons/fenced/pacemaker-fenced.h enum op_state state; state 167 include/crm/cib/cib_types.h enum cib_state state; state 55 include/crm/cluster.h char *state; // @TODO change to enum state 116 include/crm/cluster/internal.h const char *state, uint64_t membership); state 44 include/crm/common/ipc_controld.h const char *state; state 71 include/crm/common/ipc_controld.h const char *state; state 282 include/crm/common/ipc_internal.h const char *pcmk__pcmkd_state_enum2friendly(enum pcmk_pacemakerd_state state); state 55 include/crm/common/ipc_pacemakerd.h enum pcmk_pacemakerd_state state; state 70 include/crm/common/ipc_pacemakerd.h pcmk_pacemakerd_api_daemon_state_text2enum(const char *state); state 72 include/crm/common/ipc_pacemakerd.h *pcmk_pacemakerd_api_daemon_state_enum2text(enum pcmk_pacemakerd_state state); state 213 include/crm/fencing/internal.h stonith__op_state_pending(enum op_state state) state 215 include/crm/fencing/internal.h return state != st_failed && state != st_done; state 28 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, const char *state); state 54 include/crm/pengine/pe_types.h enum rsc_role_e (*state) (const pe_resource_t*, gboolean); state 457 include/crm/pengine/pe_types.h GHashTable *state; state 529 include/crm/pengine/pe_types.h enum pe_link_state state; state 110 include/crm/stonith-ng.h int state; state 550 include/crm/stonith-ng.h enum stonith_state state; state 577 include/crm/stonith-ng.h const char *stonith_op_state_str(enum op_state state); state 24 include/pcmki/pcmki_cluster_queries.h enum pcmk_pacemakerd_state *state); state 153 include/pcmki/pcmki_transition.h const char *pcmk__graph_status2text(enum pcmk__graph_status state); state 381 lib/cib/cib_client.c new_cib->state = cib_disconnected; state 605 lib/cib/cib_file.c cib->state = cib_connected_command; state 712 lib/cib/cib_file.c cib->state = cib_disconnected; state 752 lib/cib/cib_file.c if (cib->state != cib_disconnected) { state 824 lib/cib/cib_file.c if (cib->state == cib_disconnected) { state 146 lib/cib/cib_native.c cib->state = cib_disconnected; state 170 lib/cib/cib_native.c cib->state = cib_connected_command; state 174 lib/cib/cib_native.c cib->state = cib_connected_command; state 178 lib/cib/cib_native.c cib->state = cib_connected_query; state 280 lib/cib/cib_native.c cib->state = cib_disconnected; state 291 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 295 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 329 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 410 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { state 445 lib/cib/cib_native.c cib->state = cib_disconnected; state 475 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 413 lib/cib/cib_remote.c cib->state = cib_connected_command; state 436 lib/cib/cib_remote.c cib->state = cib_disconnected; state 448 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { state 478 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { state 537 lib/cluster/corosync.c } else if (!pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)) { state 539 lib/cluster/corosync.c node->uname, node->state); state 742 lib/cluster/cpg.c if (peer && peer->state && strcmp(peer->state, CRM_NODE_MEMBER)) { state 26 lib/cluster/election.c enum election_result state; state 42 lib/cluster/election.c e->state = election_won; state 69 lib/cluster/election.c return (e == NULL)? election_error : e->state; state 308 lib/cluster/election.c e->state = election_in_progress; state 585 lib/cluster/election.c if (e->state != election_in_progress) { state 589 lib/cluster/election.c return e->state; state 661 lib/cluster/election.c return e->state; state 688 lib/cluster/election.c e->state = election_start; state 689 lib/cluster/election.c return e->state; state 712 lib/cluster/election.c e->state = election_lost; state 713 lib/cluster/election.c return e->state; state 195 lib/cluster/membership.c const char *state = NULL; state 202 lib/cluster/membership.c state = remote_state_from_cib(result); state 212 lib/cluster/membership.c if (state) { state 213 lib/cluster/membership.c pcmk__update_peer_state(__func__, node, state, 0); state 219 lib/cluster/membership.c if (state) { state 220 lib/cluster/membership.c pcmk__update_peer_state(__func__, node, state, 0); state 392 lib/cluster/membership.c free(node->state); state 1006 lib/cluster/membership.c update_peer_state_iter(const char *source, crm_node_t *node, const char *state, state 1013 lib/cluster/membership.c CRM_XS " source=%s", state, source); state 1016 lib/cluster/membership.c is_member = pcmk__str_eq(state, CRM_NODE_MEMBER, pcmk__str_casei); state 1024 lib/cluster/membership.c if (state && !pcmk__str_eq(node->state, state, pcmk__str_casei)) { state 1025 lib/cluster/membership.c char *last = node->state; state 1027 lib/cluster/membership.c node->state = strdup(state); state 1029 lib/cluster/membership.c " nodeid=%u previous=%s source=%s", node->uname, state, state 1054 lib/cluster/membership.c " nodeid=%u source=%s", node->uname, state, node->id, source); state 1076 lib/cluster/membership.c const char *state, uint64_t membership) state 1078 lib/cluster/membership.c return update_peer_state_iter(source, node, state, membership, NULL); state 1097 lib/cluster/membership.c if (node->state) { state 104 lib/common/ipc_controld.c data->data.node_info.state = crm_element_value(msg_data, XML_NODE_IS_PEER); state 138 lib/common/ipc_controld.c node_info->state = crm_element_value(node, XML_NODE_IN_CLUSTER); state 24 lib/common/ipc_pacemakerd.c enum pcmk_pacemakerd_state state; state 38 lib/common/ipc_pacemakerd.c pcmk_pacemakerd_api_daemon_state_text2enum(const char *state) state 42 lib/common/ipc_pacemakerd.c if (state == NULL) { state 47 lib/common/ipc_pacemakerd.c if (pcmk__str_eq(state, pacemakerd_state_str[i], pcmk__str_none)) { state 56 lib/common/ipc_pacemakerd.c enum pcmk_pacemakerd_state state) state 58 lib/common/ipc_pacemakerd.c if ((state >= pcmk_pacemakerd_state_init) && state 59 lib/common/ipc_pacemakerd.c (state <= pcmk_pacemakerd_state_max)) { state 60 lib/common/ipc_pacemakerd.c return pacemakerd_state_str[state]; state 75 lib/common/ipc_pacemakerd.c pcmk__pcmkd_state_enum2friendly(enum pcmk_pacemakerd_state state) state 77 lib/common/ipc_pacemakerd.c switch (state) { state 111 lib/common/ipc_pacemakerd.c private->state = pcmk_pacemakerd_state_invalid; state 137 lib/common/ipc_pacemakerd.c private->state = pcmk_pacemakerd_state_invalid; state 151 lib/common/ipc_pacemakerd.c private->state = pcmk_pacemakerd_state_invalid; state 210 lib/common/ipc_pacemakerd.c reply_data.data.ping.state = state 19 lib/common/tests/acl/pcmk__is_user_in_group_test.c is_pcmk__is_user_in_group(void **state) state 16 lib/common/tests/acl/pcmk_acl_required_test.c is_pcmk_acl_required(void **state) state 18 lib/common/tests/acl/xml_acl_denied_test.c is_xml_acl_denied_without_node(void **state) state 34 lib/common/tests/acl/xml_acl_denied_test.c is_xml_acl_denied_with_node(void **state) state 18 lib/common/tests/acl/xml_acl_enabled_test.c is_xml_acl_enabled_without_node(void **state) state 34 lib/common/tests/acl/xml_acl_enabled_test.c is_xml_acl_enabled_with_node(void **state) state 16 lib/common/tests/agents/crm_generate_ra_key_test.c all_params_null(void **state) { state 21 lib/common/tests/agents/crm_generate_ra_key_test.c some_params_null(void **state) { state 37 lib/common/tests/agents/crm_generate_ra_key_test.c no_params_null(void **state) { state 16 lib/common/tests/agents/crm_parse_agent_spec_test.c all_params_null(void **state) { state 24 lib/common/tests/agents/crm_parse_agent_spec_test.c no_prov_or_type(void **state) { state 31 lib/common/tests/agents/crm_parse_agent_spec_test.c no_type(void **state) { state 36 lib/common/tests/agents/crm_parse_agent_spec_test.c get_std_and_ty(void **state) { state 51 lib/common/tests/agents/crm_parse_agent_spec_test.c get_all_values(void **state) { state 67 lib/common/tests/agents/crm_parse_agent_spec_test.c get_systemd_values(void **state) { state 16 lib/common/tests/agents/pcmk__effective_rc_test.c pcmk__effective_rc_test(void **state) { state 16 lib/common/tests/agents/pcmk_get_ra_caps_test.c ocf_standard(void **state) { state 25 lib/common/tests/agents/pcmk_get_ra_caps_test.c stonith_standard(void **state) { state 34 lib/common/tests/agents/pcmk_get_ra_caps_test.c service_standard(void **state) { state 46 lib/common/tests/agents/pcmk_get_ra_caps_test.c nagios_standard(void **state) { state 52 lib/common/tests/agents/pcmk_get_ra_caps_test.c unknown_standard(void **state) { state 16 lib/common/tests/agents/pcmk_stonith_param_test.c is_stonith_param(void **state) state 37 lib/common/tests/agents/pcmk_stonith_param_test.c is_stonith_action_param(void **state) state 26 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c empty_input(void **state) { state 31 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c no_specials(void **state) { state 45 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c single_dash(void **state) { state 55 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c double_dash(void **state) { state 65 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c special_args(void **state) { state 75 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c special_arg_at_end(void **state) { state 85 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c long_arg(void **state) { state 95 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c negative_score(void **state) { state 105 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c negative_score_2(void **state) { state 115 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c string_arg_with_dash(void **state) { state 125 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c string_arg_with_dash_2(void **state) { state 135 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c string_arg_with_dash_3(void **state) { state 18 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c empty_input(void **state) { state 23 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c no_spaces(void **state) { state 33 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c spaces_no_quote(void **state) { state 43 lib/common/tests/cmdline/pcmk__quote_cmdline_test.c spaces_with_quote(void **state) { state 15 lib/common/tests/flags/pcmk__clear_flags_as_test.c clear_none(void **state) { state 23 lib/common/tests/flags/pcmk__clear_flags_as_test.c clear_some(void **state) { state 31 lib/common/tests/flags/pcmk__clear_flags_as_test.c clear_all(void **state) { state 15 lib/common/tests/flags/pcmk__set_flags_as_test.c set_flags(void **state) { state 15 lib/common/tests/flags/pcmk_all_flags_set_test.c all_set(void **state) { state 25 lib/common/tests/flags/pcmk_all_flags_set_test.c one_is_set(void **state) { state 15 lib/common/tests/flags/pcmk_any_flags_set_test.c any_set(void **state) { state 15 lib/common/tests/health/pcmk__parse_health_strategy_test.c valid(void **state) { state 45 lib/common/tests/health/pcmk__parse_health_strategy_test.c invalid(void **state) { state 17 lib/common/tests/health/pcmk__validate_health_strategy_test.c valid_strategy(void **state) { state 29 lib/common/tests/health/pcmk__validate_health_strategy_test.c invalid_strategy(void **state) { state 17 lib/common/tests/io/pcmk__full_path_test.c function_asserts(void **state) state 33 lib/common/tests/io/pcmk__full_path_test.c full_path(void **state) state 17 lib/common/tests/io/pcmk__get_tmpdir_test.c getenv_returns_invalid(void **state) state 42 lib/common/tests/io/pcmk__get_tmpdir_test.c getenv_returns_valid(void **state) state 17 lib/common/tests/iso8601/pcmk__readable_interval_test.c readable_interval(void **state) state 17 lib/common/tests/lists/pcmk__list_of_1_test.c empty_list(void **state) { state 22 lib/common/tests/lists/pcmk__list_of_1_test.c singleton_list(void **state) { state 32 lib/common/tests/lists/pcmk__list_of_1_test.c longer_list(void **state) { state 17 lib/common/tests/lists/pcmk__list_of_multiple_test.c empty_list(void **state) { state 22 lib/common/tests/lists/pcmk__list_of_multiple_test.c singleton_list(void **state) { state 32 lib/common/tests/lists/pcmk__list_of_multiple_test.c longer_list(void **state) { state 18 lib/common/tests/lists/pcmk__subtract_lists_test.c different_lists(void **state) state 44 lib/common/tests/lists/pcmk__subtract_lists_test.c remove_first_item(void **state) state 68 lib/common/tests/lists/pcmk__subtract_lists_test.c remove_middle_item(void **state) state 92 lib/common/tests/lists/pcmk__subtract_lists_test.c remove_last_item(void **state) state 116 lib/common/tests/lists/pcmk__subtract_lists_test.c remove_all_items(void **state) state 16 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c empty_input(void **state) state 28 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c attr_missing(void **state) state 37 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c attr_present(void **state) state 16 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c empty_input(void **state) state 30 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c attr_missing(void **state) state 40 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c attr_present(void **state) state 17 lib/common/tests/nvpair/pcmk__xe_set_bool_attr_test.c set_attr(void **state) state 17 lib/common/tests/operations/copy_in_properties_test.c target_is_NULL(void **state) state 30 lib/common/tests/operations/copy_in_properties_test.c src_is_NULL(void **state) state 41 lib/common/tests/operations/copy_in_properties_test.c copying_is_successful(void **state) state 17 lib/common/tests/operations/expand_plus_plus_test.c value_is_name_plus_plus(void **state) state 28 lib/common/tests/operations/expand_plus_plus_test.c value_is_name_plus_equals_integer(void **state) state 41 lib/common/tests/operations/expand_plus_plus_test.c target_is_NULL(void **state) state 53 lib/common/tests/operations/expand_plus_plus_test.c name_is_NULL(void **state) state 64 lib/common/tests/operations/expand_plus_plus_test.c value_is_NULL(void **state) state 77 lib/common/tests/operations/expand_plus_plus_test.c value_is_wrong_name(void **state) state 88 lib/common/tests/operations/expand_plus_plus_test.c value_is_only_an_integer(void **state) state 101 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_NULL(void **state) state 112 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_non_numeric(void **state) state 123 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_non_numeric_2(void **state) state 134 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_numeric_and_decimal_point_containing(void **state) state 145 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_numeric_and_decimal_point_containing_2(void **state) state 156 lib/common/tests/operations/expand_plus_plus_test.c variable_is_initialized_to_be_numeric_and_decimal_point_containing_3(void **state) state 167 lib/common/tests/operations/expand_plus_plus_test.c value_is_non_numeric(void **state) state 178 lib/common/tests/operations/expand_plus_plus_test.c value_is_numeric_and_decimal_point_containing(void **state) state 189 lib/common/tests/operations/expand_plus_plus_test.c value_is_numeric_and_decimal_point_containing_2(void **state) state 200 lib/common/tests/operations/expand_plus_plus_test.c value_is_numeric_and_decimal_point_containing_3(void **state) state 213 lib/common/tests/operations/expand_plus_plus_test.c name_is_undefined(void **state) state 226 lib/common/tests/operations/expand_plus_plus_test.c assignment_result_is_too_large(void **state) state 17 lib/common/tests/operations/fix_plus_plus_recursive_test.c element_nodes(void **state) state 17 lib/common/tests/operations/parse_op_key_test.c basic(void **state) state 32 lib/common/tests/operations/parse_op_key_test.c colon_in_rsc(void **state) state 54 lib/common/tests/operations/parse_op_key_test.c dashes_in_rsc(void **state) state 76 lib/common/tests/operations/parse_op_key_test.c migrate_to_from(void **state) state 105 lib/common/tests/operations/parse_op_key_test.c pre_post(void **state) state 134 lib/common/tests/operations/parse_op_key_test.c skip_rsc(void **state) state 146 lib/common/tests/operations/parse_op_key_test.c skip_ty(void **state) state 158 lib/common/tests/operations/parse_op_key_test.c skip_ms(void **state) state 171 lib/common/tests/operations/parse_op_key_test.c empty_input(void **state) state 189 lib/common/tests/operations/parse_op_key_test.c malformed_input(void **state) state 15 lib/common/tests/operations/pcmk_is_probe_test.c is_probe_test(void **state) state 15 lib/common/tests/operations/pcmk_xe_is_probe_test.c op_is_probe_test(void **state) state 15 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c op_is_not_probe_test(void **state) { state 28 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c op_does_not_have_right_values_test(void **state) { state 41 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c check_values_test(void **state) { state 16 lib/common/tests/options/pcmk__env_option_enabled_test.c disabled_null_value(void **state) state 24 lib/common/tests/options/pcmk__env_option_enabled_test.c enabled_true_value(void **state) state 41 lib/common/tests/options/pcmk__env_option_enabled_test.c disabled_false_value(void **state) state 58 lib/common/tests/options/pcmk__env_option_enabled_test.c enabled_daemon_in_list(void **state) state 84 lib/common/tests/options/pcmk__env_option_enabled_test.c disabled_daemon_not_in_list(void **state) state 16 lib/common/tests/options/pcmk__env_option_test.c empty_input_string(void **state) state 28 lib/common/tests/options/pcmk__env_option_test.c input_too_long_for_both(void **state) state 51 lib/common/tests/options/pcmk__env_option_test.c input_too_long_for_pcmk(void **state) state 82 lib/common/tests/options/pcmk__env_option_test.c value_not_found(void **state) state 99 lib/common/tests/options/pcmk__env_option_test.c value_found_pcmk(void **state) state 112 lib/common/tests/options/pcmk__env_option_test.c value_found_ha(void **state) state 16 lib/common/tests/options/pcmk__set_env_option_test.c bad_input_string(void **state) state 40 lib/common/tests/options/pcmk__set_env_option_test.c input_too_long_for_both(void **state) state 65 lib/common/tests/options/pcmk__set_env_option_test.c input_too_long_for_pcmk(void **state) state 105 lib/common/tests/options/pcmk__set_env_option_test.c valid_inputs_set(void **state) state 135 lib/common/tests/options/pcmk__set_env_option_test.c valid_inputs_unset(void **state) state 68 lib/common/tests/output/pcmk__call_message_test.c setup(void **state) { state 74 lib/common/tests/output/pcmk__call_message_test.c teardown(void **state) { state 80 lib/common/tests/output/pcmk__call_message_test.c no_such_message(void **state) { state 93 lib/common/tests/output/pcmk__call_message_test.c message_return_value(void **state) { state 117 lib/common/tests/output/pcmk__call_message_test.c wrong_format(void **state) { state 134 lib/common/tests/output/pcmk__call_message_test.c default_called(void **state) { state 54 lib/common/tests/output/pcmk__output_and_clear_error_test.c setup(void **state) { state 60 lib/common/tests/output/pcmk__output_and_clear_error_test.c teardown(void **state) { state 66 lib/common/tests/output/pcmk__output_and_clear_error_test.c standard_usage(void **state) { state 50 lib/common/tests/output/pcmk__output_free_test.c setup(void **state) { state 56 lib/common/tests/output/pcmk__output_free_test.c teardown(void **state) { state 62 lib/common/tests/output/pcmk__output_free_test.c no_messages(void **state) { state 72 lib/common/tests/output/pcmk__output_free_test.c messages(void **state) { state 49 lib/common/tests/output/pcmk__output_new_test.c setup(void **state) { state 55 lib/common/tests/output/pcmk__output_new_test.c teardown(void **state) { state 61 lib/common/tests/output/pcmk__output_new_test.c empty_formatters(void **state) { state 68 lib/common/tests/output/pcmk__output_new_test.c invalid_params(void **state) { state 74 lib/common/tests/output/pcmk__output_new_test.c no_such_format(void **state) { state 81 lib/common/tests/output/pcmk__output_new_test.c create_fails(void **state) { state 94 lib/common/tests/output/pcmk__output_new_test.c fopen_fails(void **state) { state 108 lib/common/tests/output/pcmk__output_new_test.c init_fails(void **state) { state 117 lib/common/tests/output/pcmk__output_new_test.c everything_succeeds(void **state) { state 131 lib/common/tests/output/pcmk__output_new_test.c no_fmt_name_given(void **state) { state 26 lib/common/tests/output/pcmk__register_format_test.c invalid_params(void **state) { state 33 lib/common/tests/output/pcmk__register_format_test.c add_format(void **state) { state 26 lib/common/tests/output/pcmk__register_formats_test.c no_formats(void **state) { state 32 lib/common/tests/output/pcmk__register_formats_test.c invalid_entries(void **state) { state 45 lib/common/tests/output/pcmk__register_formats_test.c valid_entries(void **state) { state 65 lib/common/tests/output/pcmk__register_formats_test.c duplicate_keys(void **state) { state 84 lib/common/tests/output/pcmk__register_formats_test.c duplicate_values(void **state) { state 54 lib/common/tests/output/pcmk__register_message_test.c setup(void **state) { state 60 lib/common/tests/output/pcmk__register_message_test.c teardown(void **state) { state 66 lib/common/tests/output/pcmk__register_message_test.c null_params(void **state) { state 80 lib/common/tests/output/pcmk__register_message_test.c add_message(void **state) { state 54 lib/common/tests/output/pcmk__register_messages_test.c setup(void **state) { state 60 lib/common/tests/output/pcmk__register_messages_test.c teardown(void **state) { state 66 lib/common/tests/output/pcmk__register_messages_test.c invalid_entries(void **state) { state 88 lib/common/tests/output/pcmk__register_messages_test.c valid_entries(void **state) { state 108 lib/common/tests/output/pcmk__register_messages_test.c duplicate_message_ids(void **state) { state 127 lib/common/tests/output/pcmk__register_messages_test.c duplicate_functions(void **state) { state 147 lib/common/tests/output/pcmk__register_messages_test.c default_handler(void **state) { state 165 lib/common/tests/output/pcmk__register_messages_test.c override_default_handler(void **state) { state 21 lib/common/tests/output/pcmk__unregister_formats_test.c invalid_params(void **state) { state 30 lib/common/tests/output/pcmk__unregister_formats_test.c non_null_formatters(void **state) { state 22 lib/common/tests/procfs/pcmk__procfs_has_pids_false_test.c no_pids(void **state) state 21 lib/common/tests/procfs/pcmk__procfs_has_pids_true_test.c has_pids(void **state) state 21 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c no_exe_file(void **state) state 43 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c contents_too_long(void **state) state 66 lib/common/tests/procfs/pcmk__procfs_pid2path_test.c contents_ok(void **state) state 18 lib/common/tests/results/pcmk__results_test.c test_for_pcmk_rc_name(void **state) { state 26 lib/common/tests/results/pcmk__results_test.c test_for_pcmk_rc_str(void **state) { state 33 lib/common/tests/results/pcmk__results_test.c test_for_crm_exit_name(void **state) { state 38 lib/common/tests/results/pcmk__results_test.c test_for_crm_exit_str(void **state) { state 45 lib/common/tests/results/pcmk__results_test.c test_for_pcmk_rc2exitc(void **state) { state 51 lib/common/tests/results/pcmk__results_test.c test_for_bz2_strerror(void **state) { state 19 lib/common/tests/scores/char2score_test.c empty_input(void **state) state 25 lib/common/tests/scores/char2score_test.c bad_input(void **state) state 33 lib/common/tests/scores/char2score_test.c special_values(void **state) state 57 lib/common/tests/scores/char2score_test.c outside_limits(void **state) state 64 lib/common/tests/scores/char2score_test.c inside_limits(void **state) state 15 lib/common/tests/scores/pcmk__add_scores_test.c score1_minus_inf(void **state) state 25 lib/common/tests/scores/pcmk__add_scores_test.c score2_minus_inf(void **state) state 34 lib/common/tests/scores/pcmk__add_scores_test.c score1_pos_inf(void **state) state 43 lib/common/tests/scores/pcmk__add_scores_test.c score2_pos_inf(void **state) state 51 lib/common/tests/scores/pcmk__add_scores_test.c result_infinite(void **state) state 60 lib/common/tests/scores/pcmk__add_scores_test.c result_finite(void **state) state 15 lib/common/tests/scores/pcmk_readable_score_test.c outside_limits(void **state) state 24 lib/common/tests/scores/pcmk_readable_score_test.c inside_limits(void **state) state 15 lib/common/tests/strings/crm_get_msec_test.c bad_input(void **state) { state 25 lib/common/tests/strings/crm_get_msec_test.c good_input(void **state) { state 43 lib/common/tests/strings/crm_get_msec_test.c overflow(void **state) { state 15 lib/common/tests/strings/crm_is_true_test.c bad_input(void **state) { state 20 lib/common/tests/strings/crm_is_true_test.c is_true(void **state) { state 33 lib/common/tests/strings/crm_is_true_test.c is_false(void **state) { state 15 lib/common/tests/strings/crm_str_to_boolean_test.c bad_input(void **state) { state 22 lib/common/tests/strings/crm_str_to_boolean_test.c is_true(void **state) { state 46 lib/common/tests/strings/crm_str_to_boolean_test.c is_not_true(void **state) { state 55 lib/common/tests/strings/crm_str_to_boolean_test.c is_false(void **state) { state 79 lib/common/tests/strings/crm_str_to_boolean_test.c is_not_false(void **state) { state 15 lib/common/tests/strings/pcmk__add_word_test.c add_words(void **state) state 26 lib/common/tests/strings/pcmk__add_word_test.c add_with_no_len(void **state) state 37 lib/common/tests/strings/pcmk__add_word_test.c add_nothing(void **state) state 49 lib/common/tests/strings/pcmk__add_word_test.c add_with_null(void **state) state 62 lib/common/tests/strings/pcmk__add_word_test.c add_with_comma(void **state) state 75 lib/common/tests/strings/pcmk__add_word_test.c add_with_comma_and_space(void **state) state 15 lib/common/tests/strings/pcmk__btoa_test.c btoa(void **state) { state 15 lib/common/tests/strings/pcmk__char_in_any_str_test.c empty_list(void **state) state 22 lib/common/tests/strings/pcmk__char_in_any_str_test.c null_char(void **state) state 29 lib/common/tests/strings/pcmk__char_in_any_str_test.c in_list(void **state) state 35 lib/common/tests/strings/pcmk__char_in_any_str_test.c not_in_list(void **state) state 21 lib/common/tests/strings/pcmk__compress_test.c simple_compress(void **state) state 31 lib/common/tests/strings/pcmk__compress_test.c max_too_small(void **state) state 40 lib/common/tests/strings/pcmk__compress_test.c calloc_fails(void **state) { state 15 lib/common/tests/strings/pcmk__ends_with_test.c bad_input(void **state) { state 27 lib/common/tests/strings/pcmk__ends_with_test.c ends_with(void **state) { state 42 lib/common/tests/strings/pcmk__ends_with_test.c ends_with_ext(void **state) { state 15 lib/common/tests/strings/pcmk__g_strcat_test.c add_to_null(void **state) state 22 lib/common/tests/strings/pcmk__g_strcat_test.c add_nothing(void **state) state 44 lib/common/tests/strings/pcmk__g_strcat_test.c add_words(void **state) state 59 lib/common/tests/strings/pcmk__g_strcat_test.c stop_early(void **state) state 17 lib/common/tests/strings/pcmk__guint_from_hash_test.c null_args(void **state) state 29 lib/common/tests/strings/pcmk__guint_from_hash_test.c missing_key(void **state) state 41 lib/common/tests/strings/pcmk__guint_from_hash_test.c standard_usage(void **state) state 55 lib/common/tests/strings/pcmk__guint_from_hash_test.c conversion_errors(void **state) state 15 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c null_ptr(void **state) state 23 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c no_numbers(void **state) state 36 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c trailing_numbers(void **state) state 55 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c middle_numbers(void **state) state 65 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c unequal_lengths(void **state) state 15 lib/common/tests/strings/pcmk__parse_ll_range_test.c empty_input_string(void **state) state 24 lib/common/tests/strings/pcmk__parse_ll_range_test.c null_input_variables(void **state) state 33 lib/common/tests/strings/pcmk__parse_ll_range_test.c missing_separator(void **state) state 43 lib/common/tests/strings/pcmk__parse_ll_range_test.c only_separator(void **state) state 53 lib/common/tests/strings/pcmk__parse_ll_range_test.c no_range_end(void **state) state 63 lib/common/tests/strings/pcmk__parse_ll_range_test.c no_range_start(void **state) state 73 lib/common/tests/strings/pcmk__parse_ll_range_test.c range_start_and_end(void **state) state 85 lib/common/tests/strings/pcmk__parse_ll_range_test.c garbage(void **state) state 99 lib/common/tests/strings/pcmk__parse_ll_range_test.c strtoll_errors(void **state) state 15 lib/common/tests/strings/pcmk__s_test.c s_is_null(void **state) { state 22 lib/common/tests/strings/pcmk__s_test.c s_is_not_null(void **state) { state 29 lib/common/tests/strings/pcmk__scan_double_test.c empty_input_string(void **state) state 49 lib/common/tests/strings/pcmk__scan_double_test.c bad_input_string(void **state) state 69 lib/common/tests/strings/pcmk__scan_double_test.c trailing_chars(void **state) state 80 lib/common/tests/strings/pcmk__scan_double_test.c no_result_variable(void **state) state 86 lib/common/tests/strings/pcmk__scan_double_test.c typical_case(void **state) state 110 lib/common/tests/strings/pcmk__scan_double_test.c double_overflow(void **state) state 129 lib/common/tests/strings/pcmk__scan_double_test.c double_underflow(void **state) state 15 lib/common/tests/strings/pcmk__scan_min_int_test.c empty_input_string(void **state) state 27 lib/common/tests/strings/pcmk__scan_min_int_test.c input_below_minimum(void **state) state 36 lib/common/tests/strings/pcmk__scan_min_int_test.c input_above_maximum(void **state) state 45 lib/common/tests/strings/pcmk__scan_min_int_test.c input_just_right(void **state) state 15 lib/common/tests/strings/pcmk__scan_port_test.c empty_input_string(void **state) state 24 lib/common/tests/strings/pcmk__scan_port_test.c bad_input_string(void **state) state 33 lib/common/tests/strings/pcmk__scan_port_test.c out_of_range(void **state) state 44 lib/common/tests/strings/pcmk__scan_port_test.c typical_case(void **state) state 15 lib/common/tests/strings/pcmk__starts_with_test.c bad_input(void **state) { state 21 lib/common/tests/strings/pcmk__starts_with_test.c starts_with(void **state) { state 15 lib/common/tests/strings/pcmk__str_any_of_test.c empty_input_list(void **state) { state 23 lib/common/tests/strings/pcmk__str_any_of_test.c empty_string(void **state) { state 31 lib/common/tests/strings/pcmk__str_any_of_test.c in_list(void **state) { state 38 lib/common/tests/strings/pcmk__str_any_of_test.c not_in_list(void **state) { state 17 lib/common/tests/strings/pcmk__str_in_list_test.c empty_input_list(void **state) { state 25 lib/common/tests/strings/pcmk__str_in_list_test.c empty_string(void **state) { state 39 lib/common/tests/strings/pcmk__str_in_list_test.c star_matches(void **state) { state 54 lib/common/tests/strings/pcmk__str_in_list_test.c star_doesnt_match(void **state) { state 69 lib/common/tests/strings/pcmk__str_in_list_test.c in_list(void **state) { state 87 lib/common/tests/strings/pcmk__str_in_list_test.c not_in_list(void **state) { state 17 lib/common/tests/strings/pcmk__str_table_dup_test.c null_input_table(void **state) state 23 lib/common/tests/strings/pcmk__str_table_dup_test.c empty_input_table(void **state) state 36 lib/common/tests/strings/pcmk__str_table_dup_test.c regular_input_table(void **state) state 17 lib/common/tests/strings/pcmk__str_update_test.c update_null(void **state) { state 35 lib/common/tests/strings/pcmk__str_update_test.c update_same(void **state) { state 47 lib/common/tests/strings/pcmk__str_update_test.c update_different(void **state) { state 57 lib/common/tests/strings/pcmk__str_update_test.c strdup_fails(void **state) { state 15 lib/common/tests/strings/pcmk__strcmp_test.c same_pointer(void **state) { state 27 lib/common/tests/strings/pcmk__strcmp_test.c one_is_null(void **state) { state 39 lib/common/tests/strings/pcmk__strcmp_test.c case_matters(void **state) { state 49 lib/common/tests/strings/pcmk__strcmp_test.c case_insensitive(void **state) { state 58 lib/common/tests/strings/pcmk__strcmp_test.c regex(void **state) { state 17 lib/common/tests/strings/pcmk__strikey_table_test.c store_strs(void **state) state 17 lib/common/tests/strings/pcmk__strkey_table_test.c store_strs(void **state) state 17 lib/common/tests/strings/pcmk__trim_test.c empty_input(void **state) state 28 lib/common/tests/strings/pcmk__trim_test.c leading_newline(void **state) state 37 lib/common/tests/strings/pcmk__trim_test.c middle_newline(void **state) state 46 lib/common/tests/strings/pcmk__trim_test.c trailing_newline(void **state) state 59 lib/common/tests/strings/pcmk__trim_test.c other_whitespace(void **state) state 15 lib/common/tests/utils/compare_version_test.c empty_params(void **state) state 25 lib/common/tests/utils/compare_version_test.c equal_versions(void **state) state 32 lib/common/tests/utils/compare_version_test.c unequal_versions(void **state) state 45 lib/common/tests/utils/compare_version_test.c shorter_versions(void **state) state 16 lib/common/tests/utils/crm_meta_name_test.c empty_params(void **state) state 22 lib/common/tests/utils/crm_meta_name_test.c standard_usage(void **state) state 18 lib/common/tests/utils/crm_meta_value_test.c empty_params(void **state) state 29 lib/common/tests/utils/crm_meta_value_test.c key_not_in_table(void **state) state 40 lib/common/tests/utils/crm_meta_value_test.c key_in_table(void **state) state 21 lib/common/tests/utils/crm_user_lookup_test.c calloc_fails(void **state) state 36 lib/common/tests/utils/crm_user_lookup_test.c getpwnam_r_fails(void **state) state 58 lib/common/tests/utils/crm_user_lookup_test.c no_matching_pwent(void **state) state 80 lib/common/tests/utils/crm_user_lookup_test.c entry_found(void **state) state 20 lib/common/tests/utils/pcmk__getpid_s_test.c pcmk__getpid_s_test(void **state) state 21 lib/common/tests/utils/pcmk_daemon_user_test.c no_matching_pwent(void **state) state 43 lib/common/tests/utils/pcmk_daemon_user_test.c entry_found(void **state) state 19 lib/common/tests/utils/pcmk_hostname_test.c uname_succeeded_test(void **state) state 40 lib/common/tests/utils/pcmk_hostname_test.c uname_failed_test(void **state) state 15 lib/common/tests/utils/pcmk_str_is_infinity_test.c uppercase_str_passes(void **state) state 22 lib/common/tests/utils/pcmk_str_is_infinity_test.c mixed_case_str_fails(void **state) state 31 lib/common/tests/utils/pcmk_str_is_infinity_test.c added_whitespace_fails(void **state) state 40 lib/common/tests/utils/pcmk_str_is_infinity_test.c empty_str_fails(void **state) state 47 lib/common/tests/utils/pcmk_str_is_infinity_test.c minus_infinity_fails(void **state) state 15 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c uppercase_str_passes(void **state) state 21 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c mixed_case_str_fails(void **state) state 28 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c added_whitespace_fails(void **state) state 37 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c empty_str_fails(void **state) state 44 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c infinity_fails(void **state) state 38 lib/common/tests/xml/pcmk__xe_foreach_child_test.c bad_input(void **state) { state 47 lib/common/tests/xml/pcmk__xe_foreach_child_test.c name_given_test(void **state) { state 60 lib/common/tests/xml/pcmk__xe_foreach_child_test.c no_name_given_test(void **state) { state 73 lib/common/tests/xml/pcmk__xe_foreach_child_test.c name_doesnt_exist_test(void **state) { state 102 lib/common/tests/xml/pcmk__xe_foreach_child_test.c multiple_levels_test(void **state) { state 114 lib/common/tests/xml/pcmk__xe_foreach_child_test.c multiple_levels_no_name_test(void **state) { state 148 lib/common/tests/xml/pcmk__xe_foreach_child_test.c any_of_test(void **state) { state 191 lib/common/tests/xml/pcmk__xe_foreach_child_test.c one_of_test(void **state) { state 16 lib/common/tests/xpath/pcmk__xpath_node_id_test.c empty_input(void **state) { state 25 lib/common/tests/xpath/pcmk__xpath_node_id_test.c no_quotes(void **state) { state 30 lib/common/tests/xpath/pcmk__xpath_node_id_test.c not_present(void **state) { state 36 lib/common/tests/xpath/pcmk__xpath_node_id_test.c present(void **state) { state 179 lib/fencing/st_client.c if (stonith_api->state == stonith_disconnected) { state 187 lib/fencing/st_client.c if (stonith_api->state != stonith_disconnected) { state 284 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 737 lib/fencing/st_client.c crm_element_value_int(op, F_STONITH_STATE, &kvp->state); state 860 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1104 lib/fencing/st_client.c stonith->state = stonith_connected_command; state 1185 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 1549 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { state 1641 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1682 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 1687 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { state 1839 lib/fencing/st_client.c new_stonith->state = stonith_disconnected; state 2035 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { state 2039 lib/fencing/st_client.c } else if (hp->state == st_done) { state 2256 lib/fencing/st_client.c if ((prev_hp->state == st_done) && state 2293 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { state 2341 lib/fencing/st_client.c stonith_op_state_str(enum op_state state) state 2343 lib/fencing/st_client.c switch (state) { state 2370 lib/fencing/st_client.c return history->state != st_failed && history->state != st_done; state 2376 lib/fencing/st_client.c return history->state == GPOINTER_TO_INT(user_data); state 2382 lib/fencing/st_client.c return history->state != GPOINTER_TO_INT(user_data); state 49 lib/fencing/st_output.c switch (history->state) { state 80 lib/fencing/st_output.c if ((history->state == st_failed) || (history->state == st_done)) { state 90 lib/fencing/st_output.c if (((history->state == st_failed) || (history->state == st_done)) state 105 lib/fencing/st_output.c if ((history->state == st_failed) && (history->exit_reason != NULL)) { state 114 lib/fencing/st_output.c if (((history->state == st_failed) || (history->state == st_done)) state 129 lib/fencing/st_output.c } else if (history->state == st_failed) { state 142 lib/fencing/st_output.c if ((history->state == st_failed) && (later_succeeded != NULL)) { state 166 lib/fencing/st_output.c if (hp->state != st_failed) { state 203 lib/fencing/st_output.c if (hp->state != st_failed) { state 361 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { state 390 lib/fencing/st_output.c switch(event->state) { state 451 lib/fencing/st_output.c switch (event->state) { state 463 lib/fencing/st_output.c char *state = pcmk__itoa(event->state); state 465 lib/fencing/st_output.c "extended-status", state, state 467 lib/fencing/st_output.c free(state); state 476 lib/fencing/st_output.c if (event->state == st_failed || event->state == st_done) { state 274 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) state 284 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_desc, state); state 221 lib/pacemaker/pcmk_cluster_queries.c data->pcmkd_state = reply->data.ping.state; state 233 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply->data.ping.state, NULL, state 241 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply->data.ping.state, state 427 lib/pacemaker/pcmk_cluster_queries.c enum pcmk_pacemakerd_state *state) state 460 lib/pacemaker/pcmk_cluster_queries.c if (state != NULL) { state 461 lib/pacemaker/pcmk_cluster_queries.c *state = data.pcmkd_state; state 95 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { state 99 lib/pacemaker/pcmk_fence.c (hp->state == np->state) && state 100 lib/pacemaker/pcmk_fence.c ((hp->state == st_done) || state 265 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { state 26 lib/pacemaker/pcmk_graph_logging.c pcmk__graph_status2text(enum pcmk__graph_status state) state 28 lib/pacemaker/pcmk_graph_logging.c switch (state) { state 601 lib/pacemaker/pcmk_graph_producer.c if (input->state == pe_link_dumped) { state 915 lib/pacemaker/pcmk_graph_producer.c input->state = pe_link_dumped; state 666 lib/pacemaker/pcmk_output.c enum pcmk_pacemakerd_state state = state 672 lib/pacemaker/pcmk_output.c state_s = pcmk__pcmkd_state_enum2friendly(state); state 685 lib/pacemaker/pcmk_output.c enum pcmk_pacemakerd_state state = state 692 lib/pacemaker/pcmk_output.c state_s = pcmk__pcmkd_state_enum2friendly(state); state 713 lib/pacemaker/pcmk_output.c enum pcmk_pacemakerd_state state = state 719 lib/pacemaker/pcmk_output.c state_s = pcmk_pacemakerd_api_daemon_state_enum2text(state); state 732 lib/pacemaker/pcmk_output.c enum pcmk_pacemakerd_state state = state 738 lib/pacemaker/pcmk_output.c state_s = pcmk_pacemakerd_api_daemon_state_enum2text(state); state 714 lib/pacemaker/pcmk_sched_actions.c then_rsc_role = then->rsc->fns->state(then->rsc, TRUE); state 1368 lib/pacemaker/pcmk_sched_actions.c if (input->state == pe_link_dumped) { state 1369 lib/pacemaker/pcmk_sched_actions.c last_input->state = pe_link_dumped; state 1377 lib/pacemaker/pcmk_sched_actions.c input->state = pe_link_not_dumped; state 625 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); state 372 lib/pacemaker/pcmk_sched_location.c const char *state = NULL; state 410 lib/pacemaker/pcmk_sched_location.c state = crm_element_value(xml_obj, XML_RULE_ATTR_ROLE); state 423 lib/pacemaker/pcmk_sched_location.c if (state != NULL) { state 425 lib/pacemaker/pcmk_sched_location.c crm_xml_add(rsc_set, "role", state); state 1311 lib/pacemaker/pcmk_sched_ordering.c if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_STOPPED) state 1318 lib/pacemaker/pcmk_sched_ordering.c } else if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_UNPROMOTED) state 179 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { state 265 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); state 266 lib/pacemaker/pcmk_sched_promotable.c role2 = rsc2->fns->state(rsc2, TRUE); state 884 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, TRUE) == RSC_ROLE_STARTED) { state 899 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); state 1196 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { state 35 lib/pacemaker/pcmk_sched_remote.c state2text(enum remote_connection_state state) state 37 lib/pacemaker/pcmk_sched_remote.c switch (state) { state 169 lib/pacemaker/pcmk_sched_remote.c enum remote_connection_state state = get_remote_node_state(action->node); state 185 lib/pacemaker/pcmk_sched_remote.c remote_rsc->id, state2text(state)); state 200 lib/pacemaker/pcmk_sched_remote.c if (state == remote_state_failed) { state 210 lib/pacemaker/pcmk_sched_remote.c if (state == remote_state_alive) { state 214 lib/pacemaker/pcmk_sched_remote.c } else if (state == remote_state_failed) { state 247 lib/pacemaker/pcmk_sched_remote.c if ((state == remote_state_resting) state 248 lib/pacemaker/pcmk_sched_remote.c || (state == remote_state_unknown)) { state 268 lib/pacemaker/pcmk_sched_remote.c if ((task == monitor_rsc) && (state == remote_state_failed)) { state 278 lib/pacemaker/pcmk_sched_remote.c if ((cluster_node != NULL) && (state == remote_state_stopped)) { state 151 lib/pacemaker/pcmk_sched_tickets.c const char *state, const char *loss_policy, state 167 lib/pacemaker/pcmk_sched_tickets.c if (pcmk__str_eq(state, RSC_ROLE_STARTED_S, state 169 lib/pacemaker/pcmk_sched_tickets.c state = RSC_ROLE_UNKNOWN_S; state 175 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->role = text2role(state); state 290 lib/pacemaker/pcmk_sched_tickets.c const char *state = crm_element_value(xml_obj, state 357 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(id, rsc, ticket, state, loss_policy, data_set); state 367 lib/pacemaker/pcmk_sched_tickets.c const char *state = NULL; state 407 lib/pacemaker/pcmk_sched_tickets.c state = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE); state 420 lib/pacemaker/pcmk_sched_tickets.c if (state != NULL) { state 422 lib/pacemaker/pcmk_sched_tickets.c crm_xml_add(rsc_set, "role", state); state 283 lib/pacemaker/pcmk_simulate.c if (before->state == pe_link_dumped) { state 31 lib/pacemaker/pcmk_status.c if (cib->state == cib_connected_query || state 32 lib/pacemaker/pcmk_status.c cib->state == cib_connected_command) { state 247 lib/pacemaker/pcmk_status.c enum pcmk_pacemakerd_state state = pcmk_pacemakerd_state_invalid; state 254 lib/pacemaker/pcmk_status.c && (cib->state != cib_connected_query) state 255 lib/pacemaker/pcmk_status.c && (cib->state != cib_connected_command)) { state 257 lib/pacemaker/pcmk_status.c rc = pcmk__pacemakerd_status(out, crm_system_name, timeout_ms, &state); state 260 lib/pacemaker/pcmk_status.c switch (state) { state 299 lib/pacemaker/pcmk_status.c if (stonith->state != stonith_disconnected) { state 617 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 697 lib/pengine/clone.c const char *state = "Stopped"; state 701 lib/pengine/clone.c state = "Stopped (disabled)"; state 734 lib/pengine/clone.c short_print((const char *) stopped_list->str, child_text, state, state 903 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 1034 lib/pengine/clone.c const char *state = "Stopped"; state 1037 lib/pengine/clone.c state = "Stopped (disabled)"; state 1051 lib/pengine/clone.c strdup(state)); state 1139 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); state 461 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); state 30 lib/pengine/tests/native/native_find_rsc_test.c setup(void **state) { state 82 lib/pengine/tests/native/native_find_rsc_test.c teardown(void **state) { state 89 lib/pengine/tests/native/native_find_rsc_test.c bad_args(void **state) { state 119 lib/pengine/tests/native/native_find_rsc_test.c primitive_rsc(void **state) { state 153 lib/pengine/tests/native/native_find_rsc_test.c group_rsc(void **state) { state 175 lib/pengine/tests/native/native_find_rsc_test.c inactive_group_rsc(void **state) { state 198 lib/pengine/tests/native/native_find_rsc_test.c group_member_rsc(void **state) { state 232 lib/pengine/tests/native/native_find_rsc_test.c inactive_group_member_rsc(void **state) { state 266 lib/pengine/tests/native/native_find_rsc_test.c clone_rsc(void **state) { state 292 lib/pengine/tests/native/native_find_rsc_test.c inactive_clone_rsc(void **state) { state 312 lib/pengine/tests/native/native_find_rsc_test.c clone_instance_rsc(void **state) { state 389 lib/pengine/tests/native/native_find_rsc_test.c renamed_rsc(void **state) { state 413 lib/pengine/tests/native/native_find_rsc_test.c bundle_rsc(void **state) { state 432 lib/pengine/tests/native/native_find_rsc_test.c bundle_replica_rsc(void **state) { state 618 lib/pengine/tests/native/native_find_rsc_test.c clone_group_member_rsc(void **state) { state 26 lib/pengine/tests/native/pe_base_name_eq_test.c setup(void **state) { state 87 lib/pengine/tests/native/pe_base_name_eq_test.c teardown(void **state) { state 94 lib/pengine/tests/native/pe_base_name_eq_test.c bad_args(void **state) { state 106 lib/pengine/tests/native/pe_base_name_eq_test.c primitive_rsc(void **state) { state 115 lib/pengine/tests/native/pe_base_name_eq_test.c group_rsc(void **state) { state 124 lib/pengine/tests/native/pe_base_name_eq_test.c clone_rsc(void **state) { state 137 lib/pengine/tests/native/pe_base_name_eq_test.c bundle_rsc(void **state) { state 30 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c no_time_given(void **state) { state 35 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c any_time_satisfies_empty_spec(void **state) { state 44 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_satisfies_year_spec(void **state) { state 49 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_after_year_spec(void **state) { state 54 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_satisfies_year_range(void **state) { state 59 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_before_year_range(void **state) { state 64 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_after_year_range(void **state) { state 69 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c range_without_start_year_passes(void **state) { state 74 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c range_without_end_year_passes(void **state) { state 80 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c yeardays_satisfies(void **state) { state 85 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_after_yeardays_spec(void **state) { state 90 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c yeardays_feb_29_satisfies(void **state) { state 95 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c exact_ymd_satisfies(void **state) { state 100 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c range_in_month_satisfies(void **state) { state 105 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c exact_ymd_after_range(void **state) { state 110 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c time_after_monthdays_range(void **state) { state 16 lib/pengine/tests/status/pe_find_node_any_test.c empty_list(void **state) { state 24 lib/pengine/tests/status/pe_find_node_any_test.c non_null_list(void **state) { state 16 lib/pengine/tests/status/pe_find_node_id_test.c empty_list(void **state) { state 22 lib/pengine/tests/status/pe_find_node_id_test.c non_null_list(void **state) { state 16 lib/pengine/tests/status/pe_find_node_test.c empty_list(void **state) { state 22 lib/pengine/tests/status/pe_find_node_test.c non_null_list(void **state) { state 18 lib/pengine/tests/status/pe_new_working_set_test.c calloc_fails(void **state) { state 29 lib/pengine/tests/status/pe_new_working_set_test.c calloc_succeeds(void **state) { state 20 lib/pengine/tests/status/set_working_set_defaults_test.c check_defaults(void **state) { state 16 lib/pengine/tests/unpack/pe_base_name_end_test.c bad_args(void **state) { state 22 lib/pengine/tests/unpack/pe_base_name_end_test.c no_suffix(void **state) { state 28 lib/pengine/tests/unpack/pe_base_name_end_test.c has_suffix(void **state) { state 22 lib/pengine/tests/utils/pe__cmp_node_name_test.c nodes_equal(void **state) state 32 lib/pengine/tests/utils/pe__cmp_node_name_test.c node1_first(void **state) state 43 lib/pengine/tests/utils/pe__cmp_node_name_test.c node2_first(void **state) state 21 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rscs_equal(void **state) state 30 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1_first(void **state) state 39 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc2_first(void **state) state 909 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); state 912 lib/pengine/unpack.c granted = g_hash_table_lookup(ticket->state, "granted"); state 921 lib/pengine/unpack.c last_granted = g_hash_table_lookup(ticket->state, "last-granted"); state 929 lib/pengine/unpack.c standby = g_hash_table_lookup(ticket->state, "standby"); state 962 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) state 968 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { state 977 lib/pengine/unpack.c pcmk__scan_min_int(crm_element_value(state, XML_NODE_IS_MAINTENANCE), state 985 lib/pengine/unpack.c attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1034 lib/pengine/unpack.c unpack_transient_attributes(xmlNode *state, pe_node_t *node, state 1038 lib/pengine/unpack.c xmlNode *attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1073 lib/pengine/unpack.c unpack_node_state(xmlNode *state, pe_working_set_t *data_set) state 1079 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); state 1086 lib/pengine/unpack.c uname = crm_element_value(state, XML_ATTR_UNAME); state 1106 lib/pengine/unpack.c pcmk__scan_min_int(crm_element_value(state, XML_NODE_IS_FENCED), state 1111 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); state 1121 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); state 1158 lib/pengine/unpack.c for (xmlNode *state = first_named_child(status, XML_CIB_TAG_STATE); state 1159 lib/pengine/unpack.c state != NULL; state = crm_next_same_xml(state)) { state 1161 lib/pengine/unpack.c const char *id = ID(state); state 1162 lib/pengine/unpack.c const char *uname = crm_element_value(state, XML_ATTR_UNAME); state 1235 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); state 1242 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); state 1255 lib/pengine/unpack.c xmlNode *state = NULL; state 1263 lib/pengine/unpack.c for (state = pcmk__xe_first_child(status); state != NULL; state 1264 lib/pengine/unpack.c state = pcmk__xe_next(state)) { state 1266 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { state 1267 lib/pengine/unpack.c unpack_tickets_state((xmlNode *) state, data_set); state 1269 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { state 1270 lib/pengine/unpack.c unpack_node_state(state, data_set); state 525 lib/pengine/utils.c if (ticket->state) { state 526 lib/pengine/utils.c g_hash_table_destroy(ticket->state); state 560 lib/pengine/utils.c ticket->state = pcmk__strkey_table(free, free); state 637 lib/services/systemd.c char *state = NULL; state 651 lib/services/systemd.c state = systemd_get_property(path, "LoadState", NULL, NULL, NULL, state 654 lib/services/systemd.c if (pcmk__str_any_of(state, "loaded", "masked", NULL)) { state 655 lib/services/systemd.c free(state); state 658 lib/services/systemd.c free(state); state 891 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) state 897 lib/services/systemd.c pcmk__s(state, "<null>")); state 899 lib/services/systemd.c if (pcmk__str_eq(state, "active", pcmk__str_none)) { state 902 lib/services/systemd.c } else if (pcmk__str_eq(state, "reloading", pcmk__str_none)) { state 905 lib/services/systemd.c } else if (pcmk__str_eq(state, "activating", pcmk__str_none)) { state 908 lib/services/systemd.c } else if (pcmk__str_eq(state, "deactivating", pcmk__str_none)) { state 912 lib/services/systemd.c services__set_result(op, PCMK_OCF_NOT_RUNNING, PCMK_EXEC_DONE, state); state 937 lib/services/systemd.c char *state; state 939 lib/services/systemd.c state = systemd_get_property(unit, "ActiveState", state 944 lib/services/systemd.c parse_status_result("ActiveState", state, op); state 945 lib/services/systemd.c free(state); state 357 lib/services/upstart.c parse_status_result(const char *name, const char *state, void *userdata) state 361 lib/services/upstart.c if (pcmk__str_eq(state, "running", pcmk__str_none)) { state 364 lib/services/upstart.c services__set_result(op, PCMK_OCF_NOT_RUNNING, PCMK_EXEC_DONE, state); state 568 lib/services/upstart.c char *state = NULL; state 576 lib/services/upstart.c state = pcmk_dbus_get_property(upstart_proxy, BUS_NAME, path, state 585 lib/services/upstart.c parse_status_result("state", state, op); state 586 lib/services/upstart.c free(state); state 138 maint/gnulib/lib/argp-help.c validate_uparams (const struct argp_state *state, struct uparams *upptr) state 149 maint/gnulib/lib/argp-help.c __argp_failure (state, 0, 0, state 150 maint/gnulib/lib/argp-help.c dgettext (state == NULL ? NULL state 151 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, state 164 maint/gnulib/lib/argp-help.c fill_in_uparams (const struct argp_state *state) state 225 maint/gnulib/lib/argp-help.c __argp_failure (state, 0, 0, state 226 maint/gnulib/lib/argp-help.c dgettext (state == NULL ? NULL state 227 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, state 236 maint/gnulib/lib/argp-help.c __argp_failure (state, 0, 0, state 237 maint/gnulib/lib/argp-help.c dgettext (state == NULL ? NULL state 238 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, "\ state 248 maint/gnulib/lib/argp-help.c __argp_failure (state, 0, 0, state 249 maint/gnulib/lib/argp-help.c dgettext (state == NULL ? NULL state 250 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, state 255 maint/gnulib/lib/argp-help.c validate_uparams (state, &new_params); state 1122 maint/gnulib/lib/argp-help.c const struct argp_state *state; state 1128 maint/gnulib/lib/argp-help.c const struct argp_state *state) state 1133 maint/gnulib/lib/argp-help.c void *input = __argp_input (argp, state); state 1151 maint/gnulib/lib/argp-help.c const char *fstr = filter_doc (tstr, ARGP_KEY_HELP_HEADER, argp, pest->state); state 1224 maint/gnulib/lib/argp-help.c hol_entry_help (struct hol_entry *entry, const struct argp_state *state, state 1236 maint/gnulib/lib/argp-help.c struct pentry_state pest = { entry, stream, hhstate, 1, state }; state 1259 maint/gnulib/lib/argp-help.c state == NULL ? NULL : state->root_argp->argp_domain, state 1280 maint/gnulib/lib/argp-help.c dgettext (state == NULL ? NULL state 1281 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, state 1295 maint/gnulib/lib/argp-help.c state == NULL ? NULL : state->root_argp->argp_domain, stream); state 1314 maint/gnulib/lib/argp-help.c const char *tstr = real->doc ? dgettext (state == NULL ? NULL state 1315 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, state 1317 maint/gnulib/lib/argp-help.c const char *fstr = filter_doc (tstr, real->key, entry->argp, state); state 1351 maint/gnulib/lib/argp-help.c hol_help (struct hol *hol, const struct argp_state *state, state 1359 maint/gnulib/lib/argp-help.c hol_entry_help (entry, state, stream, &hhstate); state 1363 maint/gnulib/lib/argp-help.c const char *tstr = dgettext (state == NULL ? NULL state 1364 maint/gnulib/lib/argp-help.c : state->root_argp->argp_domain, "\ state 1368 maint/gnulib/lib/argp-help.c state ? state->root_argp : 0, state); state 1522 maint/gnulib/lib/argp-help.c argp_args_usage (const struct argp *argp, const struct argp_state *state, state 1530 maint/gnulib/lib/argp-help.c const char *fdoc = filter_doc (tdoc, ARGP_KEY_HELP_ARGS_DOC, argp, state); state 1559 maint/gnulib/lib/argp-help.c advance = !argp_args_usage ((child++)->argp, state, levels, advance, stream); state 1586 maint/gnulib/lib/argp-help.c argp_doc (const struct argp *argp, const struct argp_state *state, state 1613 maint/gnulib/lib/argp-help.c input = __argp_input (argp, state); state 1664 maint/gnulib/lib/argp-help.c argp_doc ((child++)->argp, state, state 1676 maint/gnulib/lib/argp-help.c _help (const struct argp *argp, const struct argp_state *state, FILE *stream, state 1691 maint/gnulib/lib/argp-help.c fill_in_uparams (state); state 1755 maint/gnulib/lib/argp-help.c more_patterns = argp_args_usage (argp, state, &levels, 1, fs); state 1769 maint/gnulib/lib/argp-help.c anything |= argp_doc (argp, state, 0, 0, 1, fs); state 1787 maint/gnulib/lib/argp-help.c hol_help (hol, state, fs); state 1794 maint/gnulib/lib/argp-help.c anything |= argp_doc (argp, state, 1, anything, 0, fs); state 1849 maint/gnulib/lib/argp-help.c __argp_state_help (const struct argp_state *state, FILE *stream, unsigned flags) state 1851 maint/gnulib/lib/argp-help.c if ((!state || ! (state->flags & ARGP_NO_ERRS)) && stream) state 1853 maint/gnulib/lib/argp-help.c if (state && (state->flags & ARGP_LONG_ONLY)) state 1856 maint/gnulib/lib/argp-help.c _help (state ? state->root_argp : 0, state, stream, flags, state 1857 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); state 1859 maint/gnulib/lib/argp-help.c if (!state || ! (state->flags & ARGP_NO_EXIT)) state 1876 maint/gnulib/lib/argp-help.c __argp_error (const struct argp_state *state, const char *fmt, ...) state 1878 maint/gnulib/lib/argp-help.c if (!state || !(state->flags & ARGP_NO_ERRS)) state 1880 maint/gnulib/lib/argp-help.c FILE *stream = state ? state->err_stream : stderr; state 1899 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name (), buf); state 1903 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), state 1913 maint/gnulib/lib/argp-help.c __argp_state_help (state, stream, ARGP_HELP_STD_ERR); state 1936 maint/gnulib/lib/argp-help.c __argp_failure (const struct argp_state *state, int status, int errnum, state 1939 maint/gnulib/lib/argp-help.c if (!state || !(state->flags & ARGP_NO_ERRS)) state 1941 maint/gnulib/lib/argp-help.c FILE *stream = state ? state->err_stream : stderr; state 1951 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); state 1953 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), state 2001 maint/gnulib/lib/argp-help.c s = dgettext (state->root_argp->argp_domain, state 2018 maint/gnulib/lib/argp-help.c if (status && (!state || !(state->flags & ARGP_NO_EXIT))) state 91 maint/gnulib/lib/argp-parse.c argp_default_parser (int key, char *arg, struct argp_state *state) state 96 maint/gnulib/lib/argp-parse.c __argp_state_help (state, state->out_stream, ARGP_HELP_STD_HELP); state 99 maint/gnulib/lib/argp-parse.c __argp_state_help (state, state->out_stream, state 112 maint/gnulib/lib/argp-parse.c state->name = __argp_base_name (arg); state 115 maint/gnulib/lib/argp-parse.c program_invocation_short_name = state->name; state 118 maint/gnulib/lib/argp-parse.c if ((state->flags & (ARGP_PARSE_ARGV0 | ARGP_NO_ERRS)) state 121 maint/gnulib/lib/argp-parse.c state->argv[0] = arg; state 148 maint/gnulib/lib/argp-parse.c argp_version_parser (int key, char *arg, struct argp_state *state) state 154 maint/gnulib/lib/argp-parse.c (*argp_program_version_hook) (state->out_stream, state); state 156 maint/gnulib/lib/argp-parse.c fprintf (state->out_stream, "%s\n", argp_program_version); state 158 maint/gnulib/lib/argp-parse.c __argp_error (state, "%s", state 159 maint/gnulib/lib/argp-parse.c dgettext (state->root_argp->argp_domain, state 161 maint/gnulib/lib/argp-parse.c if (! (state->flags & ARGP_NO_EXIT)) state 225 maint/gnulib/lib/argp-parse.c group_parse (struct group *group, struct argp_state *state, int key, char *arg) state 230 maint/gnulib/lib/argp-parse.c state->hook = group->hook; state 231 maint/gnulib/lib/argp-parse.c state->input = group->input; state 232 maint/gnulib/lib/argp-parse.c state->child_inputs = group->child_inputs; state 233 maint/gnulib/lib/argp-parse.c state->arg_num = group->args_processed; state 234 maint/gnulib/lib/argp-parse.c err = (*group->parser)(key, arg, state); state 235 maint/gnulib/lib/argp-parse.c group->hook = state->hook; state 269 maint/gnulib/lib/argp-parse.c struct argp_state state; state 510 maint/gnulib/lib/argp-parse.c memset (&parser->state, 0, sizeof (struct argp_state)); state 511 maint/gnulib/lib/argp-parse.c parser->state.root_argp = parser->argp; state 512 maint/gnulib/lib/argp-parse.c parser->state.argc = argc; state 513 maint/gnulib/lib/argp-parse.c parser->state.argv = argv; state 514 maint/gnulib/lib/argp-parse.c parser->state.flags = flags; state 515 maint/gnulib/lib/argp-parse.c parser->state.err_stream = stderr; state 516 maint/gnulib/lib/argp-parse.c parser->state.out_stream = stdout; state 517 maint/gnulib/lib/argp-parse.c parser->state.next = 0; /* Tell getopt to initialize. */ state 518 maint/gnulib/lib/argp-parse.c parser->state.pstate = parser; state 541 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_INIT, 0); state 549 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_NO_ERRS) state 552 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_PARSE_ARGV0) state 555 maint/gnulib/lib/argp-parse.c parser->state.argv--, parser->state.argc++; state 560 maint/gnulib/lib/argp-parse.c if (parser->state.argv == argv && argv[0]) state 562 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_base_name (argv[0]); state 564 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_short_program_name (); state 582 maint/gnulib/lib/argp-parse.c if (parser->state.next == parser->state.argc) state 590 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_NO_ARGS, 0); state 594 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_END, 0); state 601 maint/gnulib/lib/argp-parse.c *end_index = parser->state.next; state 605 maint/gnulib/lib/argp-parse.c *end_index = parser->state.next; state 609 maint/gnulib/lib/argp-parse.c if (!(parser->state.flags & ARGP_NO_ERRS) state 610 maint/gnulib/lib/argp-parse.c && parser->state.err_stream) state 611 maint/gnulib/lib/argp-parse.c fprintf (parser->state.err_stream, state 614 maint/gnulib/lib/argp-parse.c parser->state.name); state 628 maint/gnulib/lib/argp-parse.c __argp_state_help (&parser->state, parser->state.err_stream, state 633 maint/gnulib/lib/argp-parse.c group_parse (group, &parser->state, ARGP_KEY_ERROR, 0); state 644 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, ARGP_KEY_SUCCESS, 0); state 651 maint/gnulib/lib/argp-parse.c group_parse (group, &parser->state, ARGP_KEY_FINI, 0); state 671 maint/gnulib/lib/argp-parse.c int index = --parser->state.next; state 681 maint/gnulib/lib/argp-parse.c parser->state.next++; /* For ARGP_KEY_ARG, consume the arg. */ state 683 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, key, val); state 688 maint/gnulib/lib/argp-parse.c parser->state.next--; /* For ARGP_KEY_ARGS, put back the arg. */ state 690 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, key, 0); state 700 maint/gnulib/lib/argp-parse.c parser->state.next = parser->state.argc; state 702 maint/gnulib/lib/argp-parse.c if (parser->state.next > index) state 706 maint/gnulib/lib/argp-parse.c (--group)->args_processed += (parser->state.next - index); state 737 maint/gnulib/lib/argp-parse.c err = group_parse (group, &parser->state, opt, state 749 maint/gnulib/lib/argp-parse.c group_parse (&parser->groups[group_key - 1], &parser->state, state 761 maint/gnulib/lib/argp-parse.c __argp_error (&parser->state, "-%c: %s", opt, state 768 maint/gnulib/lib/argp-parse.c __argp_error (&parser->state, "--%s: %s", state 787 maint/gnulib/lib/argp-parse.c if (parser->state.quoted && parser->state.next < parser->state.quoted) state 792 maint/gnulib/lib/argp-parse.c parser->state.quoted = 0; state 794 maint/gnulib/lib/argp-parse.c if (parser->try_getopt && !parser->state.quoted) state 798 maint/gnulib/lib/argp-parse.c parser->opt_data.optind = parser->state.next; state 801 maint/gnulib/lib/argp-parse.c if (parser->state.flags & ARGP_LONG_ONLY) state 802 maint/gnulib/lib/argp-parse.c opt = _getopt_long_only_r (parser->state.argc, parser->state.argv, state 806 maint/gnulib/lib/argp-parse.c opt = _getopt_long_r (parser->state.argc, parser->state.argv, state 810 maint/gnulib/lib/argp-parse.c parser->state.next = parser->opt_data.optind; state 817 maint/gnulib/lib/argp-parse.c if (parser->state.next > 1 state 818 maint/gnulib/lib/argp-parse.c && strcmp (parser->state.argv[parser->state.next - 1], QUOTE) state 824 maint/gnulib/lib/argp-parse.c parser->state.quoted = parser->state.next; state 841 maint/gnulib/lib/argp-parse.c if (parser->state.next >= parser->state.argc state 842 maint/gnulib/lib/argp-parse.c || (parser->state.flags & ARGP_NO_ARGS)) state 852 maint/gnulib/lib/argp-parse.c parser->opt_data.optarg = parser->state.argv[parser->state.next++]; state 941 maint/gnulib/lib/argp-parse.c __argp_input (const struct argp *argp, const struct argp_state *state) state 943 maint/gnulib/lib/argp-parse.c if (state) state 946 maint/gnulib/lib/argp-parse.c struct parser *parser = state->pstate; state 30 maint/gnulib/lib/argp-pvh.c void (*argp_program_version_hook) (FILE *stream, struct argp_state *state) = NULL; state 26 maint/gnulib/lib/argp-version-etc.c version_etc_hook (FILE *stream, struct argp_state *state) state 35 maint/gnulib/lib/btoc32.c mbstate_t state; state 39 maint/gnulib/lib/btoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/lib/btoc32.c if (mbrtoc32 (&wc, s, 1, &state) <= 1) state 29 maint/gnulib/lib/c32stombs.c mbstate_t state; state 31 maint/gnulib/lib/c32stombs.c memset (&state, '\0', sizeof (mbstate_t)); state 32 maint/gnulib/lib/c32stombs.c return c32srtombs (dest, &src, len, &state); state 36 maint/gnulib/lib/c32tob.c mbstate_t state; state 39 maint/gnulib/lib/c32tob.c memset (&state, '\0', sizeof (mbstate_t)); state 40 maint/gnulib/lib/c32tob.c if (c32rtomb (buf, wc, &state) == 1) state 43 maint/gnulib/lib/cycle-check.c cycle_check_init (struct cycle_check_state *state) state 45 maint/gnulib/lib/cycle-check.c state->chdir_counter = 0; state 46 maint/gnulib/lib/cycle-check.c state->magic = CC_MAGIC; state 58 maint/gnulib/lib/cycle-check.c cycle_check (struct cycle_check_state *state, struct stat const *sb) state 60 maint/gnulib/lib/cycle-check.c assure (state->magic == CC_MAGIC); state 65 maint/gnulib/lib/cycle-check.c if (state->chdir_counter && SAME_INODE (*sb, state->dev_ino)) state 70 maint/gnulib/lib/cycle-check.c if (is_zero_or_power_of_two (++(state->chdir_counter))) state 77 maint/gnulib/lib/cycle-check.c if (state->chdir_counter == 0) state 80 maint/gnulib/lib/cycle-check.c state->dev_ino.st_dev = sb->st_dev; state 81 maint/gnulib/lib/cycle-check.c state->dev_ino.st_ino = sb->st_ino; state 35 maint/gnulib/lib/cycle-check.h void cycle_check_init (struct cycle_check_state *state); state 36 maint/gnulib/lib/cycle-check.h bool cycle_check (struct cycle_check_state *state, struct stat const *sb); state 610 maint/gnulib/lib/dfa.c accepts_in_context (int prev, int curr, state_num state, struct dfa const *dfa) state 612 maint/gnulib/lib/dfa.c return succeeds_in_context (dfa->states[state].constraint, prev, curr); state 2922 maint/gnulib/lib/dfa.c state_num state; /* New state. */ state 3122 maint/gnulib/lib/dfa.c state = state_index (d, &group, separate_contexts ^ CTX_ANY); state 3124 maint/gnulib/lib/dfa.c state = -1; state 3128 maint/gnulib/lib/dfa.c state_newline = state; state 3132 maint/gnulib/lib/dfa.c state_letter = state; state 3145 maint/gnulib/lib/dfa.c state = d->initstate_notbol; state 3151 maint/gnulib/lib/dfa.c state = -1; state 3166 maint/gnulib/lib/dfa.c trans[i] = state; state 302 maint/gnulib/lib/error.c int state = PTHREAD_CANCEL_ENABLE; state 303 maint/gnulib/lib/error.c __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), state 329 maint/gnulib/lib/error.c __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); state 365 maint/gnulib/lib/error.c int state = PTHREAD_CANCEL_ENABLE; state 366 maint/gnulib/lib/error.c __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), state 400 maint/gnulib/lib/error.c __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); state 94 maint/gnulib/lib/freadahead.c if (fp->state == 4 /* WR */ || fp->rp >= fp->wp) state 68 maint/gnulib/lib/freading.c if (fp->state == 0 /* CLOSED */ || fp->state == 4 /* WR */) state 70 maint/gnulib/lib/freading.c return (fp->state == 3 /* RD */ && (fp->bufl == 0 || fp->rp < fp->wp)); state 112 maint/gnulib/lib/freadptr.c if (fp->state == 4 /* WR */) state 54 maint/gnulib/lib/fseterr.c if (fp->state != 0 /* CLOSED */) state 55 maint/gnulib/lib/fseterr.c fp->state = 5 /* ERR */; state 62 maint/gnulib/lib/fts-cycle.c fts->fts_cycle.state = malloc (sizeof *fts->fts_cycle.state); state 63 maint/gnulib/lib/fts-cycle.c if (! fts->fts_cycle.state) state 65 maint/gnulib/lib/fts-cycle.c cycle_check_init (fts->fts_cycle.state); state 108 maint/gnulib/lib/fts-cycle.c if (cycle_check (fts->fts_cycle.state, ent->fts_statp)) state 143 maint/gnulib/lib/fts-cycle.c CYCLE_CHECK_REFLECT_CHDIR_UP (fts->fts_cycle.state, state 159 maint/gnulib/lib/fts-cycle.c free (sp->fts_cycle.state); state 190 maint/gnulib/lib/fts_.h struct cycle_check_state *state; state 62 maint/gnulib/lib/fwriting.c if (fp->state == 0 /* CLOSED */ || fp->state == 3 /* RD */) state 64 maint/gnulib/lib/fwriting.c return (fp->state == 4 /* WR */ && (fp->bufl == 0 || fp->wp < fp->rp)); state 70 maint/gnulib/lib/mbfile.h mbstate_t state; state 108 maint/gnulib/lib/mbfile.h if (mbf->bufcount == 1 && mbsinit (&mbf->state) && is_basic (mbf->buf[0])) state 136 maint/gnulib/lib/mbfile.h mbstate_t backup_state = mbf->state; state 138 maint/gnulib/lib/mbfile.h bytes = mbrtowc (&mbc->wc, &mbf->buf[0], mbf->bufcount, &mbf->state); state 151 maint/gnulib/lib/mbfile.h mbf->state = backup_state; state 234 maint/gnulib/lib/mbfile.h memset (&(mbf).state, '\0', sizeof (mbstate_t)), \ state 105 maint/gnulib/lib/mbiter.h mbstate_t state; /* if in_shift: current shift state */ state 135 maint/gnulib/lib/mbiter.h assert (mbsinit (&iter->state)); state 139 maint/gnulib/lib/mbiter.h iter->limit - iter->cur.ptr, &iter->state); state 169 maint/gnulib/lib/mbiter.h if (mbsinit (&iter->state)) state 188 maint/gnulib/lib/mbiter.h memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); state 190 maint/gnulib/lib/mbiter.h memset (&new_iter->state, 0, sizeof (mbstate_t)); state 199 maint/gnulib/lib/mbiter.h (iter).in_shift = false, memset (&(iter).state, '\0', sizeof (mbstate_t)), \ state 56 maint/gnulib/lib/mbmemcasecoll.c mbstate_t state; state 58 maint/gnulib/lib/mbmemcasecoll.c memset (&state, '\0', sizeof (mbstate_t)); state 59 maint/gnulib/lib/mbmemcasecoll.c n1 = mbrtowc (&wc1, inbuf, remaining, &state); state 74 maint/gnulib/lib/mbmemcasecoll.c memset (&state, '\0', sizeof (mbstate_t)); state 75 maint/gnulib/lib/mbmemcasecoll.c n2 = wcrtomb (outbuf, wc2, &state); state 75 maint/gnulib/lib/mbsnrtowcs-impl.h mbstate_t state = *ps; state 97 maint/gnulib/lib/mbsnrtowcs-impl.h ret = MBRTOWC (NULL, src, src_avail, &state); state 74 maint/gnulib/lib/mbsrtowcs-impl.h mbstate_t state = *ps; state 96 maint/gnulib/lib/mbsrtowcs-impl.h ret = MBRTOWC (NULL, src, src_avail, &state); state 29 maint/gnulib/lib/mbstoc32s.c mbstate_t state; state 31 maint/gnulib/lib/mbstoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 32 maint/gnulib/lib/mbstoc32s.c return mbsrtoc32s (dest, &src, len, &state); state 29 maint/gnulib/lib/mbtowc-impl.h mbstate_t state; state 33 maint/gnulib/lib/mbtowc-impl.h memset (&state, 0, sizeof (mbstate_t)); state 34 maint/gnulib/lib/mbtowc-impl.h result = mbrtowc (&wc, s, n, &state); state 113 maint/gnulib/lib/mbuiter.h mbstate_t state; /* if in_shift: current shift state */ state 143 maint/gnulib/lib/mbuiter.h assert (mbsinit (&iter->state)); state 148 maint/gnulib/lib/mbuiter.h &iter->state); state 178 maint/gnulib/lib/mbuiter.h if (mbsinit (&iter->state)) state 195 maint/gnulib/lib/mbuiter.h memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); state 197 maint/gnulib/lib/mbuiter.h memset (&new_iter->state, 0, sizeof (mbstate_t)); state 206 maint/gnulib/lib/mbuiter.h (iter).in_shift = false, memset (&(iter).state, '\0', sizeof (mbstate_t)), \ state 57 maint/gnulib/lib/nonblocking.c DWORD state; state 58 maint/gnulib/lib/nonblocking.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, NULL, NULL, 0)) state 60 maint/gnulib/lib/nonblocking.c return (state & PIPE_NOWAIT) != 0; state 84 maint/gnulib/lib/nonblocking.c DWORD state; state 85 maint/gnulib/lib/nonblocking.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, NULL, NULL, 0)) state 88 maint/gnulib/lib/nonblocking.c if ((state & PIPE_NOWAIT) != 0) state 92 maint/gnulib/lib/nonblocking.c state &= ~PIPE_NOWAIT; state 98 maint/gnulib/lib/nonblocking.c state |= PIPE_NOWAIT; state 100 maint/gnulib/lib/nonblocking.c if (SetNamedPipeHandleState (h, &state, NULL, NULL)) state 202 maint/gnulib/lib/random.c .state = &randtbl[1], state 254 maint/gnulib/lib/random.c ostate = &unsafe_state.state[-1]; state 280 maint/gnulib/lib/random.c ostate = &unsafe_state.state[-1]; state 191 maint/gnulib/lib/random_r.c int32_t *state; state 203 maint/gnulib/lib/random_r.c state = buf->state; state 207 maint/gnulib/lib/random_r.c set_int32 (&state[0], seed); state 211 maint/gnulib/lib/random_r.c dst = state; state 227 maint/gnulib/lib/random_r.c buf->fptr = &state[buf->rand_sep]; state 228 maint/gnulib/lib/random_r.c buf->rptr = &state[0]; state 263 maint/gnulib/lib/random_r.c int32_t *old_state = buf->state; state 292 maint/gnulib/lib/random_r.c int32_t *state = &((int32_t *) arg_state)[1]; /* First location. */ state 294 maint/gnulib/lib/random_r.c buf->end_ptr = &state[degree]; state 296 maint/gnulib/lib/random_r.c buf->state = state; state 300 maint/gnulib/lib/random_r.c set_int32 (&state[-1], state 301 maint/gnulib/lib/random_r.c type == TYPE_0 ? TYPE_0 : (buf->rptr - state) * MAX_TYPES + type); state 334 maint/gnulib/lib/random_r.c old_state = buf->state; state 354 maint/gnulib/lib/random_r.c buf->state = new_state; state 381 maint/gnulib/lib/random_r.c int32_t *state; state 386 maint/gnulib/lib/random_r.c state = buf->state; state 390 maint/gnulib/lib/random_r.c int32_t val = (((get_int32 (&state[0]) * 1103515245U) + 12345U) state 392 maint/gnulib/lib/random_r.c set_int32 (&state[0], val); state 411 maint/gnulib/lib/random_r.c fptr = state; state 418 maint/gnulib/lib/random_r.c rptr = state; state 82 maint/gnulib/lib/read.c DWORD state; state 83 maint/gnulib/lib/read.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, NULL, NULL, 0) state 84 maint/gnulib/lib/read.c && (state & PIPE_NOWAIT) != 0) state 300 maint/gnulib/lib/regcomp.c mbstate_t state; state 308 maint/gnulib/lib/regcomp.c memset (&state, '\0', sizeof (state)); state 310 maint/gnulib/lib/regcomp.c &state) == p - buf state 311 maint/gnulib/lib/regcomp.c && (__wcrtomb ((char *) buf, __towlower (wc), &state) state 379 maint/gnulib/lib/regcomp.c mbstate_t state; state 380 maint/gnulib/lib/regcomp.c memset (&state, '\0', sizeof (state)); state 381 maint/gnulib/lib/regcomp.c if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) state 385 maint/gnulib/lib/regcomp.c if (__wcrtomb (buf, __towlower (cset->mbchars[i]), &state) state 587 maint/gnulib/lib/regcomp.c re_dfastate_t *state = entry->array[j]; state 588 maint/gnulib/lib/regcomp.c free_state (state); state 1471 maint/gnulib/lib/regex_internal.c re_dfastate_t *state = spot->array[i]; state 1472 maint/gnulib/lib/regex_internal.c if (hash != state->hash) state 1474 maint/gnulib/lib/regex_internal.c if (re_node_set_compare (&state->nodes, nodes)) state 1475 maint/gnulib/lib/regex_internal.c return state; state 1519 maint/gnulib/lib/regex_internal.c re_dfastate_t *state = spot->array[i]; state 1520 maint/gnulib/lib/regex_internal.c if (state->hash == hash state 1521 maint/gnulib/lib/regex_internal.c && state->context == context state 1522 maint/gnulib/lib/regex_internal.c && re_node_set_compare (state->entrance_nodes, nodes)) state 1523 maint/gnulib/lib/regex_internal.c return state; state 1574 maint/gnulib/lib/regex_internal.c free_state (re_dfastate_t *state) state 1576 maint/gnulib/lib/regex_internal.c re_node_set_free (&state->non_eps_nodes); state 1577 maint/gnulib/lib/regex_internal.c re_node_set_free (&state->inveclosure); state 1578 maint/gnulib/lib/regex_internal.c if (state->entrance_nodes != &state->nodes) state 1580 maint/gnulib/lib/regex_internal.c re_node_set_free (state->entrance_nodes); state 1581 maint/gnulib/lib/regex_internal.c re_free (state->entrance_nodes); state 1583 maint/gnulib/lib/regex_internal.c re_node_set_free (&state->nodes); state 1584 maint/gnulib/lib/regex_internal.c re_free (state->word_trtable); state 1585 maint/gnulib/lib/regex_internal.c re_free (state->trtable); state 1586 maint/gnulib/lib/regex_internal.c re_free (state); state 56 maint/gnulib/lib/regexec.c const re_dfastate_t *state, Idx idx); state 112 maint/gnulib/lib/regexec.c re_dfastate_t *state); state 154 maint/gnulib/lib/regexec.c static bool build_trtable (const re_dfa_t *dfa, re_dfastate_t *state); state 162 maint/gnulib/lib/regexec.c const re_dfastate_t *state, state 1181 maint/gnulib/lib/regexec.c const re_dfastate_t *state, Idx idx) state 1185 maint/gnulib/lib/regexec.c DEBUG_ASSERT (state->halt); state 1187 maint/gnulib/lib/regexec.c for (i = 0; i < state->nodes.nelem; ++i) state 1188 maint/gnulib/lib/regexec.c if (check_halt_node_context (mctx->dfa, state->nodes.elems[i], context)) state 1189 maint/gnulib/lib/regexec.c return state->nodes.elems[i]; state 1540 maint/gnulib/lib/regexec.c #define STATE_NODE_CONTAINS(state,node) \ state 1541 maint/gnulib/lib/regexec.c ((state) != NULL && re_node_set_contains (&(state)->nodes, node)) state 1762 maint/gnulib/lib/regexec.c re_dfastate_t *state = re_acquire_state (&err, dfa, dest_nodes); state 1766 maint/gnulib/lib/regexec.c if (!state->inveclosure.alloc) state 1768 maint/gnulib/lib/regexec.c err = re_node_set_alloc (&state->inveclosure, dest_nodes->nelem); state 1773 maint/gnulib/lib/regexec.c err = re_node_set_merge (&state->inveclosure, state 1780 maint/gnulib/lib/regexec.c &state->inveclosure); state 2193 maint/gnulib/lib/regexec.c re_dfastate_t *state) state 2199 maint/gnulib/lib/regexec.c if (__glibc_unlikely (state->accept_mb)) state 2201 maint/gnulib/lib/regexec.c *err = transit_state_mb (mctx, state); state 2210 maint/gnulib/lib/regexec.c return transit_state_sb (err, mctx, state); state 2217 maint/gnulib/lib/regexec.c trtable = state->trtable; state 2221 maint/gnulib/lib/regexec.c trtable = state->word_trtable; state 2235 maint/gnulib/lib/regexec.c if (!build_trtable (mctx->dfa, state)) state 2389 maint/gnulib/lib/regexec.c re_dfastate_t *state) state 2397 maint/gnulib/lib/regexec.c *err = re_node_set_alloc (&next_nodes, state->nodes.nelem + 1); state 2400 maint/gnulib/lib/regexec.c for (node_cnt = 0; node_cnt < state->nodes.nelem; ++node_cnt) state 2402 maint/gnulib/lib/regexec.c Idx cur_node = state->nodes.elems[node_cnt]; state 3234 maint/gnulib/lib/regexec.c build_trtable (const re_dfa_t *dfa, re_dfastate_t *state) state 3257 maint/gnulib/lib/regexec.c state->word_trtable = state->trtable = NULL; state 3261 maint/gnulib/lib/regexec.c ndests = group_nodes_into_DFAstates (dfa, state, dests_node, dests_ch); state 3267 maint/gnulib/lib/regexec.c state->trtable = (re_dfastate_t **) state 3269 maint/gnulib/lib/regexec.c if (__glibc_unlikely (state->trtable == NULL)) state 3339 maint/gnulib/lib/regexec.c trtable = state->trtable = state 3370 maint/gnulib/lib/regexec.c trtable = state->word_trtable = state 3423 maint/gnulib/lib/regexec.c group_nodes_into_DFAstates (const re_dfa_t *dfa, const re_dfastate_t *state, state 3431 maint/gnulib/lib/regexec.c const re_node_set *cur_nodes = &state->nodes; state 46 maint/gnulib/lib/savewd.c switch (wd->state) state 54 maint/gnulib/lib/savewd.c wd->state = FD_STATE; state 60 maint/gnulib/lib/savewd.c wd->state = ERROR_STATE; state 65 maint/gnulib/lib/savewd.c wd->state = FORKING_STATE; state 79 maint/gnulib/lib/savewd.c wd->state = ERROR_STATE; state 136 maint/gnulib/lib/savewd.c switch (wd->state) state 139 maint/gnulib/lib/savewd.c wd->state = FD_POST_CHDIR_STATE; state 170 maint/gnulib/lib/savewd.c switch (wd->state) state 182 maint/gnulib/lib/savewd.c wd->state = FD_STATE; state 189 maint/gnulib/lib/savewd.c wd->state = ERROR_STATE; state 228 maint/gnulib/lib/savewd.c switch (wd->state) state 247 maint/gnulib/lib/savewd.c wd->state = FINAL_STATE; state 263 maint/gnulib/lib/savewd.c return wd->state == FORKING_STATE && 0 < wd->val.child; state 66 maint/gnulib/lib/savewd.h } state; state 81 maint/gnulib/lib/savewd.h wd->state = INITIAL_STATE; state 126 maint/gnulib/lib/savewd.h return (wd->state == ERROR_STATE ? wd->val.errnum : 0); state 57 maint/gnulib/lib/sha256.c ctx->state[0] = 0x6a09e667UL; state 58 maint/gnulib/lib/sha256.c ctx->state[1] = 0xbb67ae85UL; state 59 maint/gnulib/lib/sha256.c ctx->state[2] = 0x3c6ef372UL; state 60 maint/gnulib/lib/sha256.c ctx->state[3] = 0xa54ff53aUL; state 61 maint/gnulib/lib/sha256.c ctx->state[4] = 0x510e527fUL; state 62 maint/gnulib/lib/sha256.c ctx->state[5] = 0x9b05688cUL; state 63 maint/gnulib/lib/sha256.c ctx->state[6] = 0x1f83d9abUL; state 64 maint/gnulib/lib/sha256.c ctx->state[7] = 0x5be0cd19UL; state 73 maint/gnulib/lib/sha256.c ctx->state[0] = 0xc1059ed8UL; state 74 maint/gnulib/lib/sha256.c ctx->state[1] = 0x367cd507UL; state 75 maint/gnulib/lib/sha256.c ctx->state[2] = 0x3070dd17UL; state 76 maint/gnulib/lib/sha256.c ctx->state[3] = 0xf70e5939UL; state 77 maint/gnulib/lib/sha256.c ctx->state[4] = 0xffc00b31UL; state 78 maint/gnulib/lib/sha256.c ctx->state[5] = 0x68581511UL; state 79 maint/gnulib/lib/sha256.c ctx->state[6] = 0x64f98fa7UL; state 80 maint/gnulib/lib/sha256.c ctx->state[7] = 0xbefa4fa4UL; state 104 maint/gnulib/lib/sha256.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); state 116 maint/gnulib/lib/sha256.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); state 304 maint/gnulib/lib/sha256.c uint32_t a = ctx->state[0]; state 305 maint/gnulib/lib/sha256.c uint32_t b = ctx->state[1]; state 306 maint/gnulib/lib/sha256.c uint32_t c = ctx->state[2]; state 307 maint/gnulib/lib/sha256.c uint32_t d = ctx->state[3]; state 308 maint/gnulib/lib/sha256.c uint32_t e = ctx->state[4]; state 309 maint/gnulib/lib/sha256.c uint32_t f = ctx->state[5]; state 310 maint/gnulib/lib/sha256.c uint32_t g = ctx->state[6]; state 311 maint/gnulib/lib/sha256.c uint32_t h = ctx->state[7]; state 415 maint/gnulib/lib/sha256.c a = ctx->state[0] += a; state 416 maint/gnulib/lib/sha256.c b = ctx->state[1] += b; state 417 maint/gnulib/lib/sha256.c c = ctx->state[2] += c; state 418 maint/gnulib/lib/sha256.c d = ctx->state[3] += d; state 419 maint/gnulib/lib/sha256.c e = ctx->state[4] += e; state 420 maint/gnulib/lib/sha256.c f = ctx->state[5] += f; state 421 maint/gnulib/lib/sha256.c g = ctx->state[6] += g; state 422 maint/gnulib/lib/sha256.c h = ctx->state[7] += h; state 44 maint/gnulib/lib/sha256.h uint32_t state[8]; state 57 maint/gnulib/lib/sha512.c ctx->state[0] = u64hilo (0x6a09e667, 0xf3bcc908); state 58 maint/gnulib/lib/sha512.c ctx->state[1] = u64hilo (0xbb67ae85, 0x84caa73b); state 59 maint/gnulib/lib/sha512.c ctx->state[2] = u64hilo (0x3c6ef372, 0xfe94f82b); state 60 maint/gnulib/lib/sha512.c ctx->state[3] = u64hilo (0xa54ff53a, 0x5f1d36f1); state 61 maint/gnulib/lib/sha512.c ctx->state[4] = u64hilo (0x510e527f, 0xade682d1); state 62 maint/gnulib/lib/sha512.c ctx->state[5] = u64hilo (0x9b05688c, 0x2b3e6c1f); state 63 maint/gnulib/lib/sha512.c ctx->state[6] = u64hilo (0x1f83d9ab, 0xfb41bd6b); state 64 maint/gnulib/lib/sha512.c ctx->state[7] = u64hilo (0x5be0cd19, 0x137e2179); state 73 maint/gnulib/lib/sha512.c ctx->state[0] = u64hilo (0xcbbb9d5d, 0xc1059ed8); state 74 maint/gnulib/lib/sha512.c ctx->state[1] = u64hilo (0x629a292a, 0x367cd507); state 75 maint/gnulib/lib/sha512.c ctx->state[2] = u64hilo (0x9159015a, 0x3070dd17); state 76 maint/gnulib/lib/sha512.c ctx->state[3] = u64hilo (0x152fecd8, 0xf70e5939); state 77 maint/gnulib/lib/sha512.c ctx->state[4] = u64hilo (0x67332667, 0xffc00b31); state 78 maint/gnulib/lib/sha512.c ctx->state[5] = u64hilo (0x8eb44a87, 0x68581511); state 79 maint/gnulib/lib/sha512.c ctx->state[6] = u64hilo (0xdb0c2e0d, 0x64f98fa7); state 80 maint/gnulib/lib/sha512.c ctx->state[7] = u64hilo (0x47b5481d, 0xbefa4fa4); state 104 maint/gnulib/lib/sha512.c set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); state 116 maint/gnulib/lib/sha512.c set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); state 328 maint/gnulib/lib/sha512.c u64 a = ctx->state[0]; state 329 maint/gnulib/lib/sha512.c u64 b = ctx->state[1]; state 330 maint/gnulib/lib/sha512.c u64 c = ctx->state[2]; state 331 maint/gnulib/lib/sha512.c u64 d = ctx->state[3]; state 332 maint/gnulib/lib/sha512.c u64 e = ctx->state[4]; state 333 maint/gnulib/lib/sha512.c u64 f = ctx->state[5]; state 334 maint/gnulib/lib/sha512.c u64 g = ctx->state[6]; state 335 maint/gnulib/lib/sha512.c u64 h = ctx->state[7]; state 460 maint/gnulib/lib/sha512.c a = ctx->state[0] = u64plus (ctx->state[0], a); state 461 maint/gnulib/lib/sha512.c b = ctx->state[1] = u64plus (ctx->state[1], b); state 462 maint/gnulib/lib/sha512.c c = ctx->state[2] = u64plus (ctx->state[2], c); state 463 maint/gnulib/lib/sha512.c d = ctx->state[3] = u64plus (ctx->state[3], d); state 464 maint/gnulib/lib/sha512.c e = ctx->state[4] = u64plus (ctx->state[4], e); state 465 maint/gnulib/lib/sha512.c f = ctx->state[5] = u64plus (ctx->state[5], f); state 466 maint/gnulib/lib/sha512.c g = ctx->state[6] = u64plus (ctx->state[6], g); state 467 maint/gnulib/lib/sha512.c h = ctx->state[7] = u64plus (ctx->state[7], h); state 44 maint/gnulib/lib/sha512.h u64 state[8]; state 70 maint/gnulib/lib/sm3.c ctx->state[0] = 0x7380166fUL; state 71 maint/gnulib/lib/sm3.c ctx->state[1] = 0x4914b2b9UL; state 72 maint/gnulib/lib/sm3.c ctx->state[2] = 0x172442d7UL; state 73 maint/gnulib/lib/sm3.c ctx->state[3] = 0xda8a0600UL; state 74 maint/gnulib/lib/sm3.c ctx->state[4] = 0xa96f30bcUL; state 75 maint/gnulib/lib/sm3.c ctx->state[5] = 0x163138aaUL; state 76 maint/gnulib/lib/sm3.c ctx->state[6] = 0xe38dee4dUL; state 77 maint/gnulib/lib/sm3.c ctx->state[7] = 0xb0fb0e4eUL; state 101 maint/gnulib/lib/sm3.c set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); state 269 maint/gnulib/lib/sm3.c uint32_t a = ctx->state[0]; state 270 maint/gnulib/lib/sm3.c uint32_t b = ctx->state[1]; state 271 maint/gnulib/lib/sm3.c uint32_t c = ctx->state[2]; state 272 maint/gnulib/lib/sm3.c uint32_t d = ctx->state[3]; state 273 maint/gnulib/lib/sm3.c uint32_t e = ctx->state[4]; state 274 maint/gnulib/lib/sm3.c uint32_t f = ctx->state[5]; state 275 maint/gnulib/lib/sm3.c uint32_t g = ctx->state[6]; state 276 maint/gnulib/lib/sm3.c uint32_t h = ctx->state[7]; state 398 maint/gnulib/lib/sm3.c a = ctx->state[0] ^= a; state 399 maint/gnulib/lib/sm3.c b = ctx->state[1] ^= b; state 400 maint/gnulib/lib/sm3.c c = ctx->state[2] ^= c; state 401 maint/gnulib/lib/sm3.c d = ctx->state[3] ^= d; state 402 maint/gnulib/lib/sm3.c e = ctx->state[4] ^= e; state 403 maint/gnulib/lib/sm3.c f = ctx->state[5] ^= f; state 404 maint/gnulib/lib/sm3.c g = ctx->state[6] ^= g; state 405 maint/gnulib/lib/sm3.c h = ctx->state[7] ^= h; state 50 maint/gnulib/lib/sm3.h uint32_t state[8]; state 69 maint/gnulib/lib/stdio-read.c DWORD state; \ state 70 maint/gnulib/lib/stdio-read.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, \ state 72 maint/gnulib/lib/stdio-read.c && (state & PIPE_NOWAIT) != 0) \ state 65 maint/gnulib/lib/stdio-write.c DWORD state; \ state 66 maint/gnulib/lib/stdio-write.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, \ state 68 maint/gnulib/lib/stdio-write.c && (state & PIPE_NOWAIT) != 0) \ state 82 maint/gnulib/lib/stdlib.in.h int32_t *state; /* Array of state values. */ state 79 maint/gnulib/lib/strverscmp.c int state = S_N + ((c1 == '0') + (isdigit (c1) != 0)); state 87 maint/gnulib/lib/strverscmp.c state = next_state[state]; state 90 maint/gnulib/lib/strverscmp.c state += (c1 == '0') + (isdigit (c1) != 0); state 93 maint/gnulib/lib/strverscmp.c state = result_type[state * 3 + (((c2 == '0') + (isdigit (c2) != 0)))]; state 95 maint/gnulib/lib/strverscmp.c switch (state) state 108 maint/gnulib/lib/strverscmp.c return state; state 68 maint/gnulib/lib/trim.c unsigned int state = 0; state 75 maint/gnulib/lib/trim.c if (state == 0 && mb_isspace (mbi_cur (i))) state 78 maint/gnulib/lib/trim.c if (state == 0 && !mb_isspace (mbi_cur (i))) state 80 maint/gnulib/lib/trim.c state = 1; state 84 maint/gnulib/lib/trim.c if (state == 1 && !mb_isspace (mbi_cur (i))) state 87 maint/gnulib/lib/trim.c if (state == 1 && mb_isspace (mbi_cur (i))) state 89 maint/gnulib/lib/trim.c state = 2; state 92 maint/gnulib/lib/trim.c else if (state == 2 && mb_isspace (mbi_cur (i))) state 98 maint/gnulib/lib/trim.c state = 1; state 102 maint/gnulib/lib/trim.c if (state == 2) state 2576 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2577 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2585 maint/gnulib/lib/vasnprintf.c count = mbrlen (arg_end, MB_CUR_MAX, &state); state 2612 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2613 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2621 maint/gnulib/lib/vasnprintf.c count = mbrlen (arg_end, MB_CUR_MAX, &state); state 2664 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2665 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2673 maint/gnulib/lib/vasnprintf.c count = mbrtowc (&wc, arg, arg_end - arg, &state); state 2690 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2691 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2698 maint/gnulib/lib/vasnprintf.c count = mbrtowc (&wc, arg, arg_end - arg, &state); state 2740 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2741 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2753 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, *arg_end, &state); state 2781 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2782 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2794 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, *arg_end, &state); state 2829 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2830 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2839 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, *arg, &state); state 2903 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2904 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2914 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, *arg, &state); state 2929 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 2930 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 2939 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, *arg, &state); state 3041 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 3042 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 3045 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, arg, &state); state 3067 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 3068 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 3071 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, arg, &state); state 3130 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 3131 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 3134 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (result + length, arg, &state); state 3148 maint/gnulib/lib/vasnprintf.c mbstate_t state; state 3149 maint/gnulib/lib/vasnprintf.c memset (&state, '\0', sizeof (mbstate_t)); state 3152 maint/gnulib/lib/vasnprintf.c count = local_wcrtomb (cbuf, arg, &state); state 64 maint/gnulib/lib/wcsnrtombs-impl.h mbstate_t state = *ps; state 70 maint/gnulib/lib/wcsnrtombs-impl.h size_t ret = WCRTOMB (buf, wc, &state); state 64 maint/gnulib/lib/wcsrtombs-impl.h mbstate_t state = *ps; state 70 maint/gnulib/lib/wcsrtombs-impl.h size_t ret = WCRTOMB (buf, wc, &state); state 25 maint/gnulib/lib/wctomb-impl.h mbstate_t state; state 28 maint/gnulib/lib/wctomb-impl.h memset (&state, 0, sizeof (mbstate_t)); state 29 maint/gnulib/lib/wctomb-impl.h result = wcrtomb (s, wc, &state); state 91 maint/gnulib/lib/write.c DWORD state; state 92 maint/gnulib/lib/write.c if (GetNamedPipeHandleState (h, &state, NULL, NULL, NULL, state 94 maint/gnulib/lib/write.c && (state & PIPE_NOWAIT) != 0) state 56 maint/gnulib/tests/test-argp.c group1_parser (int key, char *arg, struct argp_state *state) state 58 maint/gnulib/tests/test-argp.c struct test_args *args = state->input; state 104 maint/gnulib/tests/test-argp.c group1_1_parser (int key, char *arg, struct argp_state *state) state 106 maint/gnulib/tests/test-argp.c struct test_args *args = state->input; state 144 maint/gnulib/tests/test-argp.c group2_parser (int key, char *arg, struct argp_state *state) state 146 maint/gnulib/tests/test-argp.c struct test_args *args = state->input; state 186 maint/gnulib/tests/test-argp.c group2_1_parser (int key, char *arg, struct argp_state *state) state 188 maint/gnulib/tests/test-argp.c struct test_args *args = state->input; state 221 maint/gnulib/tests/test-argp.c parse_opt (int key, char *arg, struct argp_state *state) state 223 maint/gnulib/tests/test-argp.c struct test_args *args = state->input; state 229 maint/gnulib/tests/test-argp.c for (i = 0; state->root_argp->children[i].argp; i++) state 230 maint/gnulib/tests/test-argp.c state->child_inputs[i] = args; state 35 maint/gnulib/tests/test-c32isalnum.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isalnum.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isalnum.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isalpha.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isalpha.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isalpha.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isblank.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isblank.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isblank.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32iscntrl.c mbstate_t state; state 39 maint/gnulib/tests/test-c32iscntrl.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32iscntrl.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isdigit.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isdigit.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isdigit.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isgraph.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isgraph.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isgraph.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32islower.c mbstate_t state; state 39 maint/gnulib/tests/test-c32islower.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32islower.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isprint.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isprint.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isprint.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32ispunct.c mbstate_t state; state 39 maint/gnulib/tests/test-c32ispunct.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32ispunct.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isspace.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isspace.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isspace.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isupper.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isupper.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isupper.c ret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-c32isxdigit.c mbstate_t state; state 39 maint/gnulib/tests/test-c32isxdigit.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-c32isxdigit.c ret = mbrtoc32 (&wc, s, n, &state); state 81 maint/gnulib/tests/test-c32rtomb-w32.c mbstate_t state; state 84 maint/gnulib/tests/test-c32rtomb-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 85 maint/gnulib/tests/test-c32rtomb-w32.c if (mbrtowc (&wc, " ", 1, &state) == (size_t)(-1)) state 36 maint/gnulib/tests/test-c32rtomb.c mbstate_t state; state 42 maint/gnulib/tests/test-c32rtomb.c memset (&state, '\0', sizeof (mbstate_t)); state 44 maint/gnulib/tests/test-c32rtomb.c iret = mbrtoc32 (&wc, s, n, &state); state 35 maint/gnulib/tests/test-iswdigit.c mbstate_t state; state 39 maint/gnulib/tests/test-iswdigit.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-iswdigit.c ret = mbrtowc (&wc, s, n, &state); state 35 maint/gnulib/tests/test-iswxdigit.c mbstate_t state; state 39 maint/gnulib/tests/test-iswxdigit.c memset (&state, '\0', sizeof (mbstate_t)); state 41 maint/gnulib/tests/test-iswxdigit.c ret = mbrtowc (&wc, s, n, &state); state 35 maint/gnulib/tests/test-mbrtoc32-w32.c mbstate_t state; state 82 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 83 maint/gnulib/tests/test-mbrtoc32-w32.c if (mbrtoc32 (&wc, " ", 1, &state) == (size_t)(-1)) state 90 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 92 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "x", 0, &state); state 97 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 102 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 104 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "", 1, &state); state 107 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, "", 1, &state); state 110 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 118 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, buf, 1, &state); state 149 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 150 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, buf, 1, &state); state 152 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 159 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 161 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, NULL, 5, &state); state 164 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 173 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 176 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 179 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 183 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 187 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 191 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 2, 3, &state); state 193 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 196 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 2, 3, &state); state 200 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 204 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 2, &state); state 207 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 211 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 4, 1, &state); state 214 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 222 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 225 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 228 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 232 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 236 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 240 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 2, 3, &state); state 242 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 245 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 2, 3, &state); state 249 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 253 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 2, &state); state 257 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 261 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 4, 1, &state); state 264 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 272 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 275 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 278 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 282 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 286 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 291 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 294 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (!mbsinit (&state)); state 298 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 4, 4, &state); state 302 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 306 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 5, 3, &state); state 308 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 311 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 5, 3, &state); state 315 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 320 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 7, 1, &state); state 323 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 326 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 328 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\377", 1, &state); /* 0xFF */ state 331 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 333 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 342 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 345 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 348 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 352 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 356 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 361 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 364 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (!mbsinit (&state)); state 368 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 4, 4, &state); state 372 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 376 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 5, 3, &state); state 378 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 381 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 5, 3, &state); state 385 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 390 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 7, 1, &state); state 393 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 396 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 398 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\377", 1, &state); /* 0xFF */ state 401 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 403 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 412 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 415 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 418 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 422 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 426 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 431 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 434 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (!mbsinit (&state)); state 438 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 4, 4, &state); state 442 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 446 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 5, 3, &state); state 448 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 451 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 5, 3, &state); state 455 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 460 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 7, 1, &state); state 463 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 466 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 468 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\377", 1, &state); /* 0xFF */ state 471 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 473 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 484 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 487 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 490 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 494 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 497 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (!mbsinit (&state)); state 501 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 2, 9, &state); state 505 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 509 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 3, 8, &state); state 511 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 514 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 8, &state); state 518 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 525 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 7, 4, &state); state 527 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 530 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 7, 4, &state); state 534 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 541 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 11, 1, &state); state 544 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 547 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 549 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\377", 1, &state); /* 0xFF */ state 553 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 555 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 559 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 561 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\201\045", 2, &state); /* 0x81 0x25 */ state 565 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 567 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\201\060\377", 3, &state); /* 0x81 0x30 0xFF */ state 571 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 573 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\201\060\377\064", 4, &state); /* 0x81 0x30 0xFF 0x34 */ state 577 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 579 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\201\060\211\072", 4, &state); /* 0x81 0x30 0x89 0x3A */ state 591 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 594 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input, 1, &state); state 597 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 601 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 604 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (!mbsinit (&state)); state 608 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 2, 7, &state); state 612 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 616 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 3, 6, &state); state 618 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 621 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 3, 6, &state); state 625 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 630 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (NULL, input + 5, 4, &state); state 632 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 635 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 5, 4, &state); state 639 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 646 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, input + 9, 1, &state); state 649 maint/gnulib/tests/test-mbrtoc32-w32.c ASSERT (mbsinit (&state)); state 652 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 654 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\377", 1, &state); /* 0xFF */ state 658 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 660 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\303\300", 2, &state); /* 0xC3 0xC0 */ state 664 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 666 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\343\300", 2, &state); /* 0xE3 0xC0 */ state 670 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 672 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\343\300\200", 3, &state); /* 0xE3 0xC0 0x80 */ state 676 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 678 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\343\200\300", 3, &state); /* 0xE3 0x80 0xC0 */ state 682 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 684 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\363\300", 2, &state); /* 0xF3 0xC0 */ state 688 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 690 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\363\300\200\200", 4, &state); /* 0xF3 0xC0 0x80 0x80 */ state 694 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 696 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\363\200\300", 3, &state); /* 0xF3 0x80 0xC0 */ state 700 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 702 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\363\200\300\200", 4, &state); /* 0xF3 0x80 0xC0 0x80 */ state 706 maint/gnulib/tests/test-mbrtoc32-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 708 maint/gnulib/tests/test-mbrtoc32-w32.c ret = mbrtoc32 (&wc, "\363\200\200\300", 4, &state); /* 0xF3 0x80 0x80 0xC0 */ state 36 maint/gnulib/tests/test-mbrtoc32.c mbstate_t state; state 46 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 48 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, "x", 0, &state); state 50 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 55 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 57 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, "", 1, &state); state 60 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 61 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, "", 1, &state); state 63 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 71 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 104 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, buf, 1, &state); state 115 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 116 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, buf, 1, &state); state 118 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 125 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 127 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, NULL, 5, &state); state 130 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 140 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 143 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input, 1, &state); state 146 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 150 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 153 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 157 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 2, 3, &state); state 159 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 162 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 2, 3, &state); state 165 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 169 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 3, 2, &state); state 172 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 176 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 4, 1, &state); state 179 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 187 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 190 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input, 1, &state); state 193 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 197 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 200 maint/gnulib/tests/test-mbrtoc32.c ASSERT (!mbsinit (&state)); state 204 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 2, 7, &state); state 208 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 212 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 3, 6, &state); state 214 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 217 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 3, 6, &state); state 221 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 226 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 5, 4, &state); state 228 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 231 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 5, 4, &state); state 235 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 9, 1, &state); state 245 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 253 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 256 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input, 1, &state); state 259 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 263 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 266 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 271 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 274 maint/gnulib/tests/test-mbrtoc32.c ASSERT (!mbsinit (&state)); state 278 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 4, 4, &state); state 281 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 285 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 5, 3, &state); state 287 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 290 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 5, 3, &state); state 293 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 298 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 7, 1, &state); state 301 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 309 maint/gnulib/tests/test-mbrtoc32.c memset (&state, '\0', sizeof (mbstate_t)); state 312 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input, 1, &state); state 315 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 319 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 322 maint/gnulib/tests/test-mbrtoc32.c ASSERT (!mbsinit (&state)); state 326 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 2, 9, &state); state 329 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 333 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 3, 8, &state); state 335 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 338 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 3, 8, &state); state 341 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 348 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (NULL, input + 7, 4, &state); state 350 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 353 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 7, 4, &state); state 356 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 363 maint/gnulib/tests/test-mbrtoc32.c ret = mbrtoc32 (&wc, input + 11, 1, &state); state 366 maint/gnulib/tests/test-mbrtoc32.c ASSERT (mbsinit (&state)); state 35 maint/gnulib/tests/test-mbrtowc-w32.c mbstate_t state; state 82 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 83 maint/gnulib/tests/test-mbrtowc-w32.c if (mbrtowc (&wc, " ", 1, &state) == (size_t)(-1)) state 90 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 92 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "x", 0, &state); state 97 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 102 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 104 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "", 1, &state); state 107 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, "", 1, &state); state 110 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 118 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, buf, 1, &state); state 149 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 150 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, buf, 1, &state); state 152 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 159 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 161 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, NULL, 5, &state); state 164 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 173 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 176 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 179 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 183 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 1, &state); state 187 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 191 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 2, 3, &state); state 193 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 196 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 2, 3, &state); state 200 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 204 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 2, &state); state 207 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 211 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 4, 1, &state); state 214 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 222 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 225 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 228 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 232 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 1, &state); state 236 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 240 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 2, 3, &state); state 242 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 245 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 2, 3, &state); state 249 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 253 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 2, &state); state 257 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 261 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 4, 1, &state); state 264 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 272 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 275 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 278 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 282 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 2, &state); state 286 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 291 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 1, &state); state 294 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (!mbsinit (&state)); state 298 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 4, 4, &state); state 302 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 306 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 5, 3, &state); state 308 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 311 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 5, 3, &state); state 315 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 320 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 7, 1, &state); state 323 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 326 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 328 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ state 331 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 333 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 342 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 345 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 348 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 352 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 2, &state); state 356 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 361 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 1, &state); state 364 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (!mbsinit (&state)); state 368 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 4, 4, &state); state 372 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 376 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 5, 3, &state); state 378 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 381 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 5, 3, &state); state 385 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 390 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 7, 1, &state); state 393 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 396 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 398 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ state 401 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 403 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 412 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 415 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 418 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 422 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 2, &state); state 426 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 431 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 1, &state); state 434 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (!mbsinit (&state)); state 438 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 4, 4, &state); state 442 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 446 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 5, 3, &state); state 448 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 451 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 5, 3, &state); state 455 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 460 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 7, 1, &state); state 463 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 466 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 468 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ state 471 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 473 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 484 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 487 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 490 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 494 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 1, &state); state 497 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (!mbsinit (&state)); state 501 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 2, 7, &state); state 505 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 509 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 3, 6, &state); state 511 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 514 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 6, &state); state 518 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 525 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 7, 2, &state); state 528 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 532 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 8, 1, &state); state 535 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 538 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 540 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ state 544 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 546 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\225\377", 2, &state); /* 0x95 0xFF */ state 550 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 552 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\201\045", 2, &state); /* 0x81 0x25 */ state 556 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 558 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\201\060\377", 3, &state); /* 0x81 0x30 0xFF */ state 562 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 564 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\201\060\377\064", 4, &state); /* 0x81 0x30 0xFF 0x34 */ state 568 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 570 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\201\060\211\072", 4, &state); /* 0x81 0x30 0x89 0x3A */ state 582 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 585 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input, 1, &state); state 588 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 592 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 1, 1, &state); state 595 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (!mbsinit (&state)); state 599 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 2, 5, &state); state 603 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 607 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (NULL, input + 3, 4, &state); state 609 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 612 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 3, 4, &state); state 616 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 621 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 5, 2, &state); state 624 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 628 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, input + 6, 1, &state); state 631 maint/gnulib/tests/test-mbrtowc-w32.c ASSERT (mbsinit (&state)); state 634 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 636 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\377", 1, &state); /* 0xFF */ state 640 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 642 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\303\300", 2, &state); /* 0xC3 0xC0 */ state 646 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 648 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\343\300", 2, &state); /* 0xE3 0xC0 */ state 652 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 654 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\343\300\200", 3, &state); /* 0xE3 0xC0 0x80 */ state 658 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 660 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\343\200\300", 3, &state); /* 0xE3 0x80 0xC0 */ state 664 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 666 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\363\300", 2, &state); /* 0xF3 0xC0 */ state 670 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 672 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\363\300\200\200", 4, &state); /* 0xF3 0xC0 0x80 0x80 */ state 676 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 678 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\363\200\300", 3, &state); /* 0xF3 0x80 0xC0 */ state 682 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 684 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\363\200\300\200", 4, &state); /* 0xF3 0x80 0xC0 0x80 */ state 688 maint/gnulib/tests/test-mbrtowc-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 690 maint/gnulib/tests/test-mbrtowc-w32.c ret = mbrtowc (&wc, "\363\200\200\300", 4, &state); /* 0xF3 0x80 0x80 0xC0 */ state 36 maint/gnulib/tests/test-mbrtowc.c mbstate_t state; state 46 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 48 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, "x", 0, &state); state 50 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 55 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 57 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, "", 1, &state); state 60 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 61 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, "", 1, &state); state 63 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 71 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 104 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, buf, 1, &state); state 115 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 116 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, buf, 1, &state); state 118 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 125 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 127 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, NULL, 5, &state); state 130 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 140 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 143 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input, 1, &state); state 146 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 150 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 1, 1, &state); state 153 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 157 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, input + 2, 3, &state); state 159 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 162 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 2, 3, &state); state 165 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 169 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 3, 2, &state); state 172 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 176 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 4, 1, &state); state 179 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 187 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 190 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input, 1, &state); state 193 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 197 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 1, 1, &state); state 200 maint/gnulib/tests/test-mbrtowc.c ASSERT (!mbsinit (&state)); state 204 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 2, 5, &state); state 207 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 211 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, input + 3, 4, &state); state 213 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 216 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 3, 4, &state); state 219 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 224 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 5, 2, &state); state 227 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 231 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 6, 1, &state); state 234 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 245 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input, 1, &state); state 248 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 252 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 1, 2, &state); state 255 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 260 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 3, 1, &state); state 263 maint/gnulib/tests/test-mbrtowc.c ASSERT (!mbsinit (&state)); state 267 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 4, 4, &state); state 270 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 274 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, input + 5, 3, &state); state 276 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 279 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 5, 3, &state); state 282 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 287 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 7, 1, &state); state 290 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 298 maint/gnulib/tests/test-mbrtowc.c memset (&state, '\0', sizeof (mbstate_t)); state 301 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input, 1, &state); state 304 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 308 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 1, 1, &state); state 311 maint/gnulib/tests/test-mbrtowc.c ASSERT (!mbsinit (&state)); state 315 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 2, 7, &state); state 318 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 322 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (NULL, input + 3, 6, &state); state 324 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 327 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 3, 6, &state); state 330 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 337 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 7, 2, &state); state 340 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 344 maint/gnulib/tests/test-mbrtowc.c ret = mbrtowc (&wc, input + 8, 1, &state); state 347 maint/gnulib/tests/test-mbrtowc.c ASSERT (mbsinit (&state)); state 33 maint/gnulib/tests/test-mbsinit.c static mbstate_t state; state 37 maint/gnulib/tests/test-mbsinit.c ASSERT (mbsinit (&state)); state 49 maint/gnulib/tests/test-mbsinit.c ret = mbrtowc (&wc, input, 1, &state); state 51 maint/gnulib/tests/test-mbsinit.c ASSERT (!mbsinit (&state)); state 36 maint/gnulib/tests/test-mbsnrtoc32s.c mbstate_t state; state 48 maint/gnulib/tests/test-mbsnrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 51 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 1, 0, &state); state 53 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 56 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (NULL, &src, 1, 1, &state); state 58 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 62 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (&wc, &src, 1, 0, &state); state 65 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 69 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (&wc, &src, 1, 1, &state); state 72 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 98 maint/gnulib/tests/test-mbsnrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 101 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 104 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 111 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 115 maint/gnulib/tests/test-mbsnrtoc32s.c temp_state = state; state 119 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 122 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); state 135 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 143 maint/gnulib/tests/test-mbsnrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 149 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 153 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 156 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 160 maint/gnulib/tests/test-mbsnrtoc32s.c temp_state = state; state 164 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 167 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 9, unlimited ? BUFSIZE : 2, &state); state 181 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 189 maint/gnulib/tests/test-mbsnrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 192 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 195 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 199 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 202 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 207 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 210 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 214 maint/gnulib/tests/test-mbsnrtoc32s.c temp_state = state; state 218 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 221 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); state 234 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbsnrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 245 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 248 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 252 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 255 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 259 maint/gnulib/tests/test-mbsnrtoc32s.c temp_state = state; state 263 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (!mbsinit (&state)); state 266 maint/gnulib/tests/test-mbsnrtoc32s.c ret = mbsnrtoc32s (buf, &src, 11, unlimited ? BUFSIZE : 2, &state); state 280 maint/gnulib/tests/test-mbsnrtoc32s.c ASSERT (mbsinit (&state)); state 36 maint/gnulib/tests/test-mbsnrtowcs.c mbstate_t state; state 48 maint/gnulib/tests/test-mbsnrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 51 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 1, 0, &state); state 53 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 56 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (NULL, &src, 1, 1, &state); state 58 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 62 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (&wc, &src, 1, 0, &state); state 65 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 69 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (&wc, &src, 1, 1, &state); state 72 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 98 maint/gnulib/tests/test-mbsnrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 101 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 104 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 111 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 115 maint/gnulib/tests/test-mbsnrtowcs.c temp_state = state; state 119 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 122 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 4, unlimited ? BUFSIZE : 1, &state); state 135 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 143 maint/gnulib/tests/test-mbsnrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 149 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 153 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 156 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 160 maint/gnulib/tests/test-mbsnrtowcs.c temp_state = state; state 164 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 167 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 6, unlimited ? BUFSIZE : 2, &state); state 181 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 189 maint/gnulib/tests/test-mbsnrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 192 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 195 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 199 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input + 1, 2, &state); state 202 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 207 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input + 3, 1, &state); state 210 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 214 maint/gnulib/tests/test-mbsnrtowcs.c temp_state = state; state 218 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 221 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 5, unlimited ? BUFSIZE : 2, &state); state 234 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbsnrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 245 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 248 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 252 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 255 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 259 maint/gnulib/tests/test-mbsnrtowcs.c temp_state = state; state 263 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (!mbsinit (&state)); state 266 maint/gnulib/tests/test-mbsnrtowcs.c ret = mbsnrtowcs (buf, &src, 8, unlimited ? BUFSIZE : 2, &state); state 280 maint/gnulib/tests/test-mbsnrtowcs.c ASSERT (mbsinit (&state)); state 36 maint/gnulib/tests/test-mbsrtoc32s.c mbstate_t state; state 48 maint/gnulib/tests/test-mbsrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 51 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, 0, &state); state 53 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 56 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (NULL, &src, 1, &state); state 58 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 62 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (&wc, &src, 0, &state); state 65 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 69 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (&wc, &src, 1, &state); state 72 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 98 maint/gnulib/tests/test-mbsrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 101 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 104 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 111 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 115 maint/gnulib/tests/test-mbsrtoc32s.c temp_state = state; state 119 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 122 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 1, &state); state 135 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 143 maint/gnulib/tests/test-mbsrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 149 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 153 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 156 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 160 maint/gnulib/tests/test-mbsrtoc32s.c temp_state = state; state 164 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 167 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); state 181 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 189 maint/gnulib/tests/test-mbsrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 192 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 195 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 199 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 2, &state); state 202 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 207 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input + 3, 1, &state); state 210 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 214 maint/gnulib/tests/test-mbsrtoc32s.c temp_state = state; state 218 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 221 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); state 234 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbsrtoc32s.c memset (&state, '\0', sizeof (mbstate_t)); state 245 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input, 1, &state); state 248 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 252 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbrtoc32 (&wc, input + 1, 1, &state); state 255 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 259 maint/gnulib/tests/test-mbsrtoc32s.c temp_state = state; state 263 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (!mbsinit (&state)); state 266 maint/gnulib/tests/test-mbsrtoc32s.c ret = mbsrtoc32s (buf, &src, unlimited ? BUFSIZE : 2, &state); state 280 maint/gnulib/tests/test-mbsrtoc32s.c ASSERT (mbsinit (&state)); state 36 maint/gnulib/tests/test-mbsrtowcs.c mbstate_t state; state 48 maint/gnulib/tests/test-mbsrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 51 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, 0, &state); state 53 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 56 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (NULL, &src, 1, &state); state 58 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 62 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (&wc, &src, 0, &state); state 65 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 69 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (&wc, &src, 1, &state); state 72 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 98 maint/gnulib/tests/test-mbsrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 101 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 104 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 108 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 111 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 115 maint/gnulib/tests/test-mbsrtowcs.c temp_state = state; state 119 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 122 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 1, &state); state 135 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 143 maint/gnulib/tests/test-mbsrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 146 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 149 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 153 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 156 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 160 maint/gnulib/tests/test-mbsrtowcs.c temp_state = state; state 164 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 167 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); state 181 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 189 maint/gnulib/tests/test-mbsrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 192 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 195 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 199 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input + 1, 2, &state); state 202 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 207 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input + 3, 1, &state); state 210 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 214 maint/gnulib/tests/test-mbsrtowcs.c temp_state = state; state 218 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 221 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); state 234 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 242 maint/gnulib/tests/test-mbsrtowcs.c memset (&state, '\0', sizeof (mbstate_t)); state 245 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input, 1, &state); state 248 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 252 maint/gnulib/tests/test-mbsrtowcs.c ret = mbrtowc (&wc, input + 1, 1, &state); state 255 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 259 maint/gnulib/tests/test-mbsrtowcs.c temp_state = state; state 263 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (!mbsinit (&state)); state 266 maint/gnulib/tests/test-mbsrtowcs.c ret = mbsrtowcs (buf, &src, unlimited ? BUFSIZE : 2, &state); state 280 maint/gnulib/tests/test-mbsrtowcs.c ASSERT (mbsinit (&state)); state 40 maint/gnulib/tests/test-random_r.c rand_state.state = NULL; state 271 maint/gnulib/tests/test-tsearch.c static char state[8] = { 1, 2, 3, 4, 5, 6, 7, 8 }; state 273 maint/gnulib/tests/test-tsearch.c initstate (SEED, state, 8); state 77 maint/gnulib/tests/test-verify.c void test_assume_expressions (state *s); state 82 maint/gnulib/tests/test-verify.c test_assume_expressions (state *s) state 115 maint/gnulib/tests/test-verify.c state s = { 0, 1 }; state 81 maint/gnulib/tests/test-wcrtomb-w32.c mbstate_t state; state 84 maint/gnulib/tests/test-wcrtomb-w32.c memset (&state, '\0', sizeof (mbstate_t)); state 85 maint/gnulib/tests/test-wcrtomb-w32.c if (mbrtowc (&wc, " ", 1, &state) == (size_t)(-1)) state 23 maint/gnulib/tests/unistr/test-u-strtok.h UNIT *state; state 24 maint/gnulib/tests/unistr/test-u-strtok.h const UNIT *result = U_STRTOK (input, delim, &state); state 34 maint/gnulib/tests/unistr/test-u-strtok.h UNIT *state; state 36 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (input, delim, &state); state 38 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 40 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 42 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 57 maint/gnulib/tests/unistr/test-u-strtok.h UNIT *state; state 77 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (input, delim, &state); state 79 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 81 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 83 maint/gnulib/tests/unistr/test-u-strtok.h result = U_STRTOK (NULL, delim, &state); state 752 tools/crm_mon.c if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) { state 782 tools/crm_mon.c if (cib->state == cib_connected_query || state 783 tools/crm_mon.c cib->state == cib_connected_command) { state 882 tools/crm_mon.c enum pcmk_pacemakerd_state *state = state 886 tools/crm_mon.c *state = pcmk_pacemakerd_state_invalid; state 908 tools/crm_mon.c *state = reply->data.ping.state; state 918 tools/crm_mon.c enum pcmk_pacemakerd_state state = pcmk_pacemakerd_state_invalid; state 925 tools/crm_mon.c (cib->state == cib_connected_query || state 926 tools/crm_mon.c cib->state == cib_connected_command)) { state 945 tools/crm_mon.c pcmk_register_ipc_callback(pacemakerd_api, pacemakerd_event_cb, (void *) &state); state 959 tools/crm_mon.c state_str = pcmk__pcmkd_state_enum2friendly(state); state 960 tools/crm_mon.c switch (state) { state 982 tools/crm_mon.c switch (state) { state 2029 tools/crm_mon.c if (st->state == stonith_disconnected) { state 2094 tools/crm_mon.c if (st->state == stonith_disconnected) { state 2110 tools/crm_mon.c if (st->state != stonith_disconnected) { state 235 tools/crm_node.c const char *state = (node->state? node->state : ""); state 239 tools/crm_node.c (unsigned long) node->id, uname, state); state 242 tools/crm_node.c } else if (!strcmp(state, "member")) { state 977 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 31 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; state 64 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); state 2035 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 289 tools/crm_ticket.c if (details && g_hash_table_size(ticket->state) > 0) { state 297 tools/crm_ticket.c g_hash_table_iter_init(&iter, ticket->state); state 486 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name);