name 29 daemons/attrd/attrd_attributes.c const char *name = crm_element_value(xml, PCMK__XA_ATTR_NAME); name 46 daemons/attrd/attrd_attributes.c pcmk__s(name, "(unidentified)"), set_type); name 52 daemons/attrd/attrd_attributes.c a->id = pcmk__str_copy(name); name 248 daemons/attrd/attrd_cib.c char *name = user_data; name 249 daemons/attrd/attrd_cib.c attribute_t *a = g_hash_table_lookup(attributes, name); name 252 daemons/attrd/attrd_cib.c crm_info("Attribute %s no longer exists", name); name 319 daemons/attrd/attrd_cib.c name, pcmk__readable_interval(a->timeout_ms)); name 27 daemons/attrd/attrd_messages.c return pcmk__str_eq((const char *) attr->name, PCMK__XA_ATTR_SYNC_POINT, pcmk__str_none); name 359 daemons/based/based_callbacks.c if (cib_client->name == NULL) { name 364 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); name 366 daemons/based/based_callbacks.c cib_client->name = pcmk__str_copy(value); name 381 daemons/based/based_callbacks.c crm_xml_add(op_request, PCMK__XA_CIB_CLIENTNAME, cib_client->name); name 194 daemons/based/based_io.c const char *name = NULL; name 273 daemons/based/based_io.c name = PCMK_XA_ADMIN_EPOCH; name 274 daemons/based/based_io.c value = crm_element_value(root, name); name 276 daemons/based/based_io.c crm_warn("No value for %s was specified in the configuration.", name); name 282 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 285 daemons/based/based_io.c name = PCMK_XA_EPOCH; name 286 daemons/based/based_io.c value = crm_element_value(root, name); name 288 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 291 daemons/based/based_io.c name = PCMK_XA_NUM_UPDATES; name 292 daemons/based/based_io.c value = crm_element_value(root, name); name 294 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 166 daemons/based/based_messages.c const char *name = (const char *) the_cib->name; name 167 daemons/based/based_messages.c xmlNode *shallow = pcmk__xe_create(wrapper, name); name 208 daemons/based/based_notify.c type = (const char *) update->name; name 211 daemons/based/based_notify.c type = (const char *) diff->name; name 227 daemons/based/based_remote.c "(element '%s' not '" PCMK__XE_CIB_COMMAND "')", login->name); name 412 daemons/based/based_remote.c if (client->name == NULL) { name 413 daemons/based/based_remote.c client->name = pcmk__str_copy(client->id); name 423 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_CIB_CLIENTNAME, client->name); name 511 daemons/based/based_remote.c client->name = crm_element_value_copy(command, PCMK_XA_NAME); name 63 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, name 77 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_update(attrd_api, host, name, value, name 83 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type(is_remote_node), name 201 daemons/controld/controld_election.c #define dc_takeover_update_attr(name, value) do { \ name 205 daemons/controld/controld_election.c name, value, NULL, NULL); \ name 549 daemons/controld/controld_execd.c static const char *name = CRM_META "_" PCMK__META_CONTAINER; name 551 daemons/controld/controld_execd.c name); name 1173 daemons/controld/controld_messages.c const char *name = NULL; name 1176 daemons/controld/controld_messages.c name = crm_element_value(stored_msg, PCMK_XA_UNAME); name 1181 daemons/controld/controld_messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); name 1183 daemons/controld/controld_messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); name 1188 daemons/controld/controld_messages.c pcmk__cluster_forget_cluster_node(id, name); name 1194 daemons/controld/controld_messages.c st_fail_count_reset(name); name 331 daemons/controld/controld_te_actions.c action->xml->name, action->id, task_uuid, target); name 475 daemons/controld/controld_te_actions.c char *name; name 484 daemons/controld/controld_te_actions.c free(peer->name); name 516 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); name 517 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 595 daemons/controld/controld_te_actions.c r->name = pcmk__str_copy(target); name 596 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 417 daemons/controld/controld_te_callbacks.c const char *name = NULL; name 465 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; name 470 daemons/controld/controld_te_callbacks.c (name? " matched by " : ""), (name? name : "")); name 478 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, PCMK_XE_TICKETS, pcmk__str_none)) { name 484 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, PCMK__XE_TRANSIENT_ATTRIBUTES, name 492 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { name 496 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK_XE_CIB) == 0) { name 499 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK_XE_STATUS) == 0) { name 502 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK__XE_NODE_STATE) == 0) { name 505 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK__XE_LRM) == 0) { name 509 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK__XE_LRM_RESOURCES) == 0) { name 515 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK__XE_LRM_RESOURCE) == 0) { name 521 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, PCMK__XE_LRM_RSC_OP) == 0) { name 529 daemons/controld/controld_te_callbacks.c op, xpath, name); name 252 daemons/controld/controld_te_events.c fail_pair->name = fail_name; name 265 daemons/controld/controld_te_events.c last_pair->name = last_name; name 415 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, reason->name, name 472 daemons/controld/controld_te_utils.c } else if (pcmk__str_any_of((const char *) reason->name, name 479 daemons/controld/controld_te_utils.c reason->name, op, pcmk__s(uname, pcmk__xe_id(reason)), name 489 daemons/controld/controld_te_utils.c reason->name, pcmk__s(id, ""), pcmk__s(op, "change"), name 45 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); name 560 daemons/execd/execd_commands.c if (client->name == NULL) { name 145 daemons/execd/pacemaker-execd.c if (!client->name) { name 150 daemons/execd/pacemaker-execd.c client->name = pcmk__itoa(pcmk__client_pid(c)); name 152 daemons/execd/pacemaker-execd.c client->name = pcmk__str_copy(value); name 162 daemons/execd/pacemaker-execd.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTNAME, client->name); name 108 daemons/execd/remoted_pidone.c char *name = NULL; name 114 daemons/execd/remoted_pidone.c if (find_env_var_name(line, &name, &end) && (*++end == '=')) { name 175 daemons/execd/remoted_pidone.c setenv(name, value, 0); name 261 daemons/execd/remoted_pidone.c const char *name = "pcmk-init"; name 276 daemons/execd/remoted_pidone.c i = strlen(name); name 279 daemons/execd/remoted_pidone.c snprintf(argv[0], maxlen, "%s", name); name 90 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); name 114 daemons/execd/remoted_tls.c if (!client->name) { name 115 daemons/execd/remoted_tls.c client->name = crm_element_value_copy(request, name 125 daemons/execd/remoted_tls.c crm_xml_add(request, PCMK__XA_LRMD_CLIENTNAME, client->name); name 42 daemons/fenced/fenced_cib.c node_has_attr(const char *node, const char *name, const char *value) name 47 daemons/fenced/fenced_cib.c CRM_CHECK((local_cib != NULL) && (node != NULL) && (name != NULL) name 61 daemons/fenced/fenced_cib.c "[@" PCMK_XA_NAME "='", name, "' " name 773 daemons/fenced/fenced_commands.c char *name = NULL; name 793 daemons/fenced/fenced_commands.c free(name); name 794 daemons/fenced/fenced_commands.c name = pcmk__assert_alloc(1, 1 + lpc - last); name 795 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); name 806 daemons/fenced/fenced_commands.c if (name) { name 820 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); name 821 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); name 826 daemons/fenced/fenced_commands.c name = NULL; name 846 daemons/fenced/fenced_commands.c free(name); name 1022 daemons/fenced/fenced_commands.c xml2device_params(const char *name, const xmlNode *dev) name 1034 daemons/fenced/fenced_commands.c name, STONITH_ATTR_ACTION_OP); name 3006 daemons/fenced/fenced_commands.c const char *name = NULL; name 3020 daemons/fenced/fenced_commands.c name = names[lpc]; name 3021 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); name 3022 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); name 3547 daemons/fenced/fenced_commands.c const char *name = NULL; name 3550 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, PCMK_XA_UNAME); name 3551 daemons/fenced/fenced_commands.c pcmk__cluster_forget_cluster_node(node_id, name); name 116 daemons/fenced/fenced_scheduler.c const char *name = NULL; name 187 daemons/fenced/fenced_scheduler.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) &name, name 189 daemons/fenced/fenced_scheduler.c if ((name == NULL) || (value == NULL)) { name 192 daemons/fenced/fenced_scheduler.c params = stonith_key_value_add(params, name, value); name 123 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { name 126 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", pcmk__s(value, "unknown"), c->pid); name 260 daemons/fenced/pacemaker-fenced.c get_stonith_flag(const char *name) name 262 daemons/fenced/pacemaker-fenced.c if (pcmk__str_eq(name, PCMK__VALUE_ST_NOTIFY_FENCE, pcmk__str_none)) { name 265 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_ADD, pcmk__str_casei)) { name 268 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_DEL, pcmk__str_casei)) { name 271 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, PCMK__VALUE_ST_NOTIFY_HISTORY, name 275 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, PCMK__VALUE_ST_NOTIFY_HISTORY_SYNCED, name 504 daemons/fenced/pacemaker-fenced.c const char *name = "pacemaker-fenced"; name 512 daemons/fenced/pacemaker-fenced.c return pcmk__daemon_metadata(out, name, desc_short, desc_long, name 227 daemons/fenced/pacemaker-fenced.h uint64_t get_stonith_flag(const char *name); name 285 daemons/fenced/pacemaker-fenced.h gboolean node_has_attr(const char *node, const char *name, const char *value); name 42 daemons/pacemakerd/pcmkd_subdaemons.c const char *name; name 149 daemons/pacemakerd/pcmkd_subdaemons.c child->name, pid, pcmk_rc_str(rc), rc); name 161 daemons/pacemakerd/pcmkd_subdaemons.c child->name, pid, child->check_count, name 170 daemons/pacemakerd/pcmkd_subdaemons.c child->name, pid, child->check_count, name 199 daemons/pacemakerd/pcmkd_subdaemons.c child->name, pid); name 203 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("%s[%lld] terminated", child->name, pid); name 206 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("%s[%lld] terminated", child->name, pid); name 232 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); name 242 daemons/pacemakerd/pcmkd_subdaemons.c const char *name = mainloop_child_name(p); name 247 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), name 254 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 259 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); name 266 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); name 275 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 292 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); name 304 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); name 310 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); name 314 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 319 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 351 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, name 366 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); name 372 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); name 431 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); name 439 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { name 446 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { name 452 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); name 458 daemons/pacemakerd/pcmkd_subdaemons.c child->uid, child->name); name 467 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); name 472 daemons/pacemakerd/pcmkd_subdaemons.c pcmk__s(child->uid, "root"), (unsigned long) gid, child->name, name 566 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 614 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); name 619 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { name 735 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, WAIT_TRIES - 1); name 743 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 756 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 782 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, pcmk_rc_str(rc), rc); name 848 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Respawning cluster-based subdaemon: %s", pcmk_children[i].name); name 868 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); name 873 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); name 880 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); name 884 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); name 46 daemons/schedulerd/schedulerd_messages.c const char *name; name 123 daemons/schedulerd/schedulerd_messages.c if (pcmk__read_series_sequence(PE_STATE_DIR, series[series_id].name, name 129 daemons/schedulerd/schedulerd_messages.c series[series_id].name, series_wrap, seq, value); name 148 daemons/schedulerd/schedulerd_messages.c series[series_id].name, seq, true); name 170 daemons/schedulerd/schedulerd_messages.c pcmk__write_series_sequence(PE_STATE_DIR, series[series_id].name, name 43 include/crm/cib.h char *get_shadow_file(const char *name); name 44 include/crm/cib.h cib_t *cib_shadow_new(const char *name); name 159 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); name 162 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, name 89 include/crm/cib/internal.h const char *name; name 156 include/crm/cib/internal.h cib__client_triggers_refresh(const char *name) name 158 include/crm/cib/internal.h return !crm_is_daemon_name(name) name 159 include/crm/cib/internal.h && !pcmk__str_any_of(name, name 291 include/crm/cib/internal.h int cib__signon_attempts(cib_t *cib, const char *name, enum cib_conn_type type, name 51 include/crm/cib/util_compat.h const char *cib_pref(GHashTable * options, const char *name); name 130 include/crm/cluster/compat.h guint reap_crm_member(uint32_t id, const char *name); name 69 include/crm/cluster/election_internal.h election_t *election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb); name 32 include/crm/common/acl_internal.h bool pcmk__check_acl(xmlNode *xml, const char *name, name 75 include/crm/common/alerts_internal.h void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 77 include/crm/common/alerts_internal.h void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 49 include/crm/common/attrs_internal.h const char *pcmk__node_attr_target(const char *name); name 50 include/crm/common/attrs_internal.h const char *pcmk__node_attr(const pcmk_node_t *node, const char *name, name 101 include/crm/common/cmdline_internal.h void pcmk__add_arg_group(GOptionContext *context, const char *name, name 80 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); name 81 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, name 93 include/crm/common/internal.h pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value); name 106 include/crm/common/internal.h pcmk__xe_attr_is_true(const xmlNode *node, const char *name); name 124 include/crm/common/internal.h pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value); name 129 include/crm/common/internal.h pid_t pcmk__procfs_pid_of(const char *name); name 157 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); name 248 include/crm/common/internal.h void pcmk__daemonize(const char *name, const char *pidfile); name 31 include/crm/common/io_internal.h void pcmk__sync_directory(const char *name); name 186 include/crm/common/ipc.h crm_ipc_t *crm_ipc_new(const char *name, size_t max_size); name 29 include/crm/common/ipc_attrd_internal.h const char *name; name 87 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, name 123 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 164 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, name 96 include/crm/common/ipc_internal.h int pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 176 include/crm/common/ipc_internal.h char *name; name 140 include/crm/common/logging.h #define CRM_TRACE_INIT_DATA(name) name 143 include/crm/common/logging.h #define CRM_TRACE_INIT_DATA(name) QB_LOG_INIT_DATA(name) name 232 include/crm/common/logging_internal.h void pcmk__cli_init_logging(const char *name, unsigned int verbosity); name 76 include/crm/common/mainloop.h mainloop_timer_t *mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata); name 104 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 126 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server_with_prio(const char *name, name 133 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 158 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 76 include/crm/common/messages_internal.h const char *pcmk__message_name(const char *name); name 30 include/crm/common/nvpair.h char *name; name 34 include/crm/common/nvpair.h GSList *pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value); name 41 include/crm/common/nvpair.h const char *name, const char *value); name 48 include/crm/common/nvpair.h const char *crm_xml_add(xmlNode *node, const char *name, const char *value); name 49 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); name 50 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); name 51 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); name 56 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); name 57 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); name 58 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); name 59 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); name 60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); name 63 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); name 45 include/crm/common/nvpair_internal.h #define pcmk__insert_meta(obj, name, value) do { \ name 51 include/crm/common/nvpair_internal.h "removed in a future release", (name)); \ name 53 include/crm/common/nvpair_internal.h pcmk__insert_dup((obj)->meta, (name), (value)); \ name 58 include/crm/common/nvpair_internal.h int pcmk__xe_get_flags(const xmlNode *xml, const char *name, uint32_t *dest, name 76 include/crm/common/options_internal.h const char *name; name 91 include/crm/common/options_internal.h const char *pcmk__cluster_option(GHashTable *options, const char *name); name 93 include/crm/common/options_internal.h int pcmk__output_cluster_options(pcmk__output_t *out, const char *name, name 96 include/crm/common/options_internal.h int pcmk__output_fencing_params(pcmk__output_t *out, const char *name, name 99 include/crm/common/options_internal.h int pcmk__output_primitive_meta(pcmk__output_t *out, const char *name, name 103 include/crm/common/options_internal.h int pcmk__daemon_metadata(pcmk__output_t *out, const char *name, name 127 include/crm/common/output_internal.h const char *name; name 418 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); name 452 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) name 598 include/crm/common/output_internal.h pcmk__register_format(GOptionGroup *group, const char *name, name 761 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) name 785 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) name 798 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); name 868 include/crm/common/output_internal.h xmlNode *pcmk__html_create(xmlNode *parent, const char *name, const char *id, name 891 include/crm/common/output_internal.h pcmk__html_add_header(const char *name, ...) name 292 include/crm/common/resources.h const char *name, pcmk_scheduler_t *scheduler); name 368 include/crm/common/results.h const char **name, const char **desc); name 21 include/crm/common/schemas_internal.h GList *pcmk__schema_files_later_than(const char *name); name 22 include/crm/common/schemas_internal.h void pcmk__build_schema_xml_node(xmlNode *parent, const char *name, name 25 include/crm/common/schemas_internal.h GList *pcmk__get_schema(const char *name); name 55 include/crm/common/strings_internal.h void pcmk__insert_dup(GHashTable *table, const char *name, const char *value); name 90 include/crm/common/unittest_internal.h void pcmk__test_init_logging(const char *name, const char *filename); name 101 include/crm/common/util.h bool crm_is_daemon_name(const char *name); name 103 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); name 71 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); name 74 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, name 78 include/crm/common/util_compat.h const char *crm_xml_replace(xmlNode *node, const char *name, const char *value); name 81 include/crm/common/util_compat.h char *pcmk_format_named_time(const char *name, time_t epoch_time); name 39 include/crm/common/xml_compat.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); name 64 include/crm/common/xml_compat.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) name 66 include/crm/common/xml_compat.h return crm_xml_add(node, name, (value? "true" : "false")); name 74 include/crm/common/xml_compat.h return (xml == NULL)? NULL : (const char *) xml->name; name 102 include/crm/common/xml_compat.h xmlNode *create_xml_node(xmlNode *parent, const char *name); name 105 include/crm/common/xml_compat.h xmlNode *pcmk_create_xml_text_node(xmlNode *parent, const char *name, name 114 include/crm/common/xml_compat.h xmlNode *first_named_child(const xmlNode *parent, const char *name); name 124 include/crm/common/xml_compat.h void xml_remove_prop(xmlNode *obj, const char *name); name 158 include/crm/common/xml_compat.h int get_schema_version(const char *name); name 181 include/crm/common/xml_compat.h } else if (strcmp((const char *) xml->name, "master") == 0) { name 185 include/crm/common/xml_compat.h return (const char *) xml->name; name 193 include/crm/common/xml_compat.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); name 221 include/crm/common/xml_internal.h void pcmk__xe_remove_attr(xmlNode *element, const char *name); name 361 include/crm/common/xml_internal.h pcmk__xe_is(const xmlNode *xml, const char *name) name 363 include/crm/common/xml_internal.h return (xml != NULL) && (xml->name != NULL) && (name != NULL) name 364 include/crm/common/xml_internal.h && (strcmp((const char *) xml->name, name) == 0); name 424 include/crm/common/xml_internal.h xmlNode *pcmk__xe_create(xmlNode *parent, const char *name); name 452 include/crm/common/xml_internal.h int pcmk__xe_get_score(const xmlNode *xml, const char *name, int *score, name 520 include/crm/common/xml_internal.h const char *name); name 595 include/crm/common/xml_internal.h return (const char *) xml->name; name 203 include/crm/compatibility.h get_resource_type(const char *name) name 205 include/crm/compatibility.h if (safe_str_eq(name, PCMK_XE_PRIMITIVE)) { name 208 include/crm/compatibility.h } else if (safe_str_eq(name, PCMK_XE_GROUP)) { name 211 include/crm/compatibility.h } else if (safe_str_eq(name, PCMK_XE_CLONE) name 212 include/crm/compatibility.h || safe_str_eq(name, PCMK_XE_PROMOTABLE_LEGACY)) { name 215 include/crm/compatibility.h } else if (safe_str_eq(name, PCMK_XE_BUNDLE)) { name 120 include/crm/msg_xml_compat.h #define TYPE(x) (((x) == NULL)? NULL : (const char *) ((x)->name)) name 91 include/crm/pengine/common_compat.h const char *pe_pref(GHashTable * options, const char *name); name 58 include/crm/pengine/internal.h const char *name, pcmk_scheduler_t *scheduler); name 93 include/crm/pengine/internal.h gchar *pcmk__native_output_string(const pcmk_resource_t *rsc, const char *name, name 167 include/crm/pengine/internal.h pcmk_action_t *get_pseudo_op(const char *name, pcmk_scheduler_t *scheduler); name 238 include/crm/pengine/internal.h const char *name); name 331 include/crm/pengine/internal.h void common_print(pcmk_resource_t *rsc, const char *pre_text, const char *name, name 334 include/crm/pengine/internal.h const char *name, const pcmk_node_t *node, name 337 include/crm/pengine/internal.h const char *name, const pcmk_node_t *node, name 417 include/crm/pengine/internal.h xmlNode *pe__failed_probe_for_rsc(const pcmk_resource_t *rsc, const char *name); name 262 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, name 277 include/crm/services.h gboolean services_action_kick(const char *name, const char *action, name 370 include/crm/services.h gboolean services_action_cancel(const char *name, const char *action, name 53 include/crm/services_compat.h svc_action_t *services_action_create(const char *name, const char *action, name 37 include/crm/services_internal.h svc_action_t *services__create_resource_action(const char *name, name 194 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); name 215 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); name 600 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, name 569 include/pacemaker.h const char *name, unsigned int timeout, name 50 include/pcmki/pcmki_fence.h const char *name, unsigned int timeout, name 484 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); name 532 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); name 534 lib/cib/cib_client.c free(name); name 417 lib/cib/cib_file.c cib_file_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 430 lib/cib/cib_file.c private->filename, name); name 437 lib/cib/cib_file.c private->filename, name, private->id, pcmk_strerror(rc)); name 268 lib/cib/cib_native.c cib_native_signon_raw(cib_t *cib, const char *name, enum cib_conn_type type, name 323 lib/cib/cib_native.c crm_info("Could not connect to CIB manager for %s", name); name 329 lib/cib/cib_native.c cib_sync_call, NULL, name, &hello); name 363 lib/cib/cib_native.c crm_info("Successfully connected to CIB manager for %s", name); name 368 lib/cib/cib_native.c name, pcmk_strerror(rc)); name 374 lib/cib/cib_native.c cib_native_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 376 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); name 154 lib/cib/cib_ops.c g_hash_table_insert(operation_table, (gpointer) oper->name, name 196 lib/cib/cib_ops.c (const char *) obj_root->name); name 422 lib/cib/cib_ops.c child->name, pcmk__xe_id(child)); name 540 lib/cib/cib_ops.c object_name = (const char *) new_obj->name; name 590 lib/cib/cib_ops.c crm_xml_add(xml_node, PCMK_XA_OBJECT_TYPE, (const char *) target->name); name 849 lib/cib/cib_ops.c (const char *) match->name); name 868 lib/cib/cib_ops.c parent->name, id, name 871 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, name 484 lib/cib/cib_remote.c cib_remote_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 515 lib/cib/cib_remote.c NULL, name, &hello); name 526 lib/cib/cib_remote.c private->server, private->port, name); name 532 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); name 417 lib/cib/cib_utils.c top = pcmk__xe_create(NULL, (const char *) scratch->name); name 1024 lib/cib/cib_utils.c cib__signon_attempts(cib_t *cib, const char *name, enum cib_conn_type type, name 1033 lib/cib/cib_utils.c rc = cib->cmds->signon(cib, name, type); name 1104 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) name 1106 lib/cib/cib_utils.c return pcmk__cluster_option(options, name); name 271 lib/cluster/cluster.c char *name = NULL; name 278 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); name 279 lib/cluster/cluster.c if (name != NULL) { name 280 lib/cluster/cluster.c return name; name 328 lib/cluster/cluster.c static char *name = NULL; name 330 lib/cluster/cluster.c if (name == NULL) { name 331 lib/cluster/cluster.c name = pcmk__cluster_node_name(0); name 333 lib/cluster/cluster.c return name; name 68 lib/cluster/corosync.c node_name_is_valid(const char *key, const char *name) name 72 lib/cluster/corosync.c if (name == NULL) { name 76 lib/cluster/corosync.c } else if (sscanf(name, "%d.%d.%d.%d", &octet, &octet, &octet, &octet) == 4) { name 77 lib/cluster/corosync.c crm_trace("%s contains an IPv4 address (%s), ignoring", key, name); name 80 lib/cluster/corosync.c } else if (strstr(name, ":") != NULL) { name 81 lib/cluster/corosync.c crm_trace("%s contains an IPv6 address (%s), ignoring", key, name); name 84 lib/cluster/corosync.c crm_trace("'%s: %s' is valid", key, name); name 108 lib/cluster/corosync.c char *name = NULL; name 166 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { name 181 lib/cluster/corosync.c nodeid, lpc, pcmk__s(name, "<null>")); name 182 lib/cluster/corosync.c if (name == NULL) { name 184 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 185 lib/cluster/corosync.c crm_trace("%s = %s", key, pcmk__s(name, "<null>")); name 188 lib/cluster/corosync.c if (name == NULL) { name 190 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 191 lib/cluster/corosync.c crm_trace("%s = %s", key, pcmk__s(name, "<null>")); name 193 lib/cluster/corosync.c if (!node_name_is_valid(key, name)) { name 194 lib/cluster/corosync.c free(name); name 195 lib/cluster/corosync.c name = NULL; name 210 lib/cluster/corosync.c if (name == NULL) { name 213 lib/cluster/corosync.c return name; name 315 lib/cluster/corosync.c char *name = pcmk__corosync_name(0, id); name 318 lib/cluster/corosync.c node = pcmk__get_node(id, name, NULL, name 320 lib/cluster/corosync.c free(name); name 610 lib/cluster/corosync.c char *name = NULL; name 621 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); name 622 lib/cluster/corosync.c if (name != NULL) { name 628 lib/cluster/corosync.c if(node && node->uname && strcasecmp(node->uname, name) == 0) { name 631 lib/cluster/corosync.c nodeid, name); name 638 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { name 639 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); name 640 lib/cluster/corosync.c pcmk__get_node(nodeid, name, NULL, pcmk__node_search_cluster_member); name 643 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { name 650 lib/cluster/corosync.c crm_xml_add(node, PCMK_XA_UNAME, name); name 654 lib/cluster/corosync.c free(name); name 27 lib/cluster/election.c char *name; // Descriptive name for this election name 53 lib/cluster/election.c crm_info("%s timed out, declaring local node as winner", e->name); name 88 lib/cluster/election.c election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb) name 109 lib/cluster/election.c e->name = name? crm_strdup_printf("election-%s", name) name 112 lib/cluster/election.c e->timeout = mainloop_timer_add(e->name, period_ms, FALSE, name 114 lib/cluster/election.c crm_trace("Created %s", e->name); name 131 lib/cluster/election.c crm_trace("Discarding %s (no-)vote from lost peer %s", e->name, uname); name 145 lib/cluster/election.c crm_trace("Resetting election %s", e->name); name 168 lib/cluster/election.c crm_trace("Destroying %s", e->name); name 171 lib/cluster/election.c free(e->name); name 304 lib/cluster/election.c e->name); name 324 lib/cluster/election.c crm_debug("Started %s round %d", e->name, e->count); name 355 lib/cluster/election.c crm_trace("%s check requested, but no votes received yet", e->name); name 374 lib/cluster/election.c crm_warn("Received too many votes in %s", e->name); name 389 lib/cluster/election.c crm_info("%s won by local node", e->name); name 395 lib/cluster/election.c e->name, num_members - voted_size, num_members); name 446 lib/cluster/election.c (e? e->name : "election")); name 460 lib/cluster/election.c (e? e->name : "election"), vote->op, vote->from); name 466 lib/cluster/election.c (e? e->name : "election"), vote->from, vote->op); name 483 lib/cluster/election.c e->name, vote->op, vote->from); name 582 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from, name 589 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from); name 637 lib/cluster/election.c e->name, e->election_wins, STORM_INTERVAL); name 660 lib/cluster/election.c e->name, vote.election_id, vote.op, e->count, vote.from, name 682 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 700 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.from, name 708 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 1513 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) name 1524 lib/cluster/membership.c search.uname = pcmk__str_copy(name); name 70 lib/common/acl.c xml->name); name 80 lib/common/acl.c xml->name, acl->xpath); name 105 lib/common/acl.c xml->name, acl->xpath); name 131 lib/common/acl.c const char *tag = (const char *) child->name; name 154 lib/common/acl.c if (!strcmp(PCMK_XE_ACL_ROLE, (const char *) role->name)) { name 160 lib/common/acl.c role_id, acl_entry->name); name 402 lib/common/acl.c xml->name, pcmk__xe_id(xml)); name 409 lib/common/acl.c const char *prop_name = (const char *)xIter->name; name 538 lib/common/acl.c if (strcmp((const char *) prop->name, PCMK_XA_ID) != 0) { name 581 lib/common/acl.c xml->name, display_id(xml)); name 585 lib/common/acl.c xml->name, display_id(xml)); name 589 lib/common/acl.c PCMK_XA_ID "=\"%s\"", xml->name, display_id(xml)); name 597 lib/common/acl.c xml->name, display_id(xml)); name 658 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) name 673 lib/common/acl.c if (name != NULL) { name 674 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 691 lib/common/acl.c if (name) { name 692 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); name 709 lib/common/acl.c if (name != NULL) { name 710 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 729 lib/common/acl.c if (name != NULL) { name 730 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 149 lib/common/alerts.c pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 152 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 163 lib/common/alerts.c pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 166 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 42 lib/common/attrs.c pcmk__node_attr_target(const char *name) name 44 lib/common/attrs.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { name 61 lib/common/attrs.c name = host_physical; name 67 lib/common/attrs.c name = host_pcmk; name 75 lib/common/attrs.c return name; name 118 lib/common/attrs.c pcmk__node_attr(const pcmk_node_t *node, const char *name, const char *target, name 126 lib/common/attrs.c if ((node == NULL) || (name == NULL)) { name 135 lib/common/attrs.c value = g_hash_table_lookup(node->details->attrs, name); name 137 lib/common/attrs.c name, pcmk__s(value, ""), pcmk__node_name(node)); name 153 lib/common/attrs.c name, pcmk__node_name(node), container->id); name 166 lib/common/attrs.c name, pcmk__node_name(node), container->id); name 178 lib/common/attrs.c value = g_hash_table_lookup(host->details->attrs, name); name 180 lib/common/attrs.c name, pcmk__s(value, ""), pcmk__node_name(node), node_type_s, name 26 lib/common/cib.c const char *name; // Name of this CIB element name 116 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 154 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 132 lib/common/cmdline.c pcmk__add_arg_group(GOptionContext *context, const char *name, name 138 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); name 125 lib/common/crmcommon_private.h xmlAttr *pcmk__xe_set_attr_force(xmlNode *node, const char *name, name 135 lib/common/crmcommon_private.h bool pcmk__xa_filterable(const char *name); name 151 lib/common/crmcommon_private.h int pcmk__xe_set_score(xmlNode *target, const char *name, const char *value); name 425 lib/common/crmcommon_private.h char *name; name 232 lib/common/digest.c pcmk__xa_filterable(const char *name) name 243 lib/common/digest.c if (strcmp(name, filter[i]) == 0) { name 282 lib/common/digest.c if (strncmp((const char *) a->name, CRM_META "_", name 286 lib/common/digest.c return pcmk__str_any_of((const char *) a->name, name 396 lib/common/io.c pcmk__sync_directory(const char *name) name 401 lib/common/io.c directory = opendir(name); name 403 lib/common/io.c crm_perror(LOG_ERR, "Could not open %s for syncing", name); name 409 lib/common/io.c crm_perror(LOG_ERR, "Could not obtain file descriptor for %s", name); name 414 lib/common/io.c crm_perror(LOG_ERR, "Could not sync %s", name); name 417 lib/common/io.c crm_perror(LOG_ERR, "Could not close %s after fsync", name); name 28 lib/common/ipc_attrd.c const char *name = NULL; name 31 lib/common/ipc_attrd.c name = crm_element_value(msg_data, PCMK__XA_ATTR_NAME); name 40 lib/common/ipc_attrd.c pair->name = name; name 219 lib/common/ipc_attrd.c pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, name 224 lib/common/ipc_attrd.c if (name == NULL) { name 238 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); name 270 lib/common/ipc_attrd.c pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 277 lib/common/ipc_attrd.c if (name == NULL) { name 292 lib/common/ipc_attrd.c pcmk_ipc_name(api, true), name, name 297 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_NAME, name); name 344 lib/common/ipc_attrd.c populate_update_op(xmlNode *op, const char *node, const char *name, const char *value, name 348 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_REGEX, name); name 350 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_NAME, name); name 378 lib/common/ipc_attrd.c pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, name 386 lib/common/ipc_attrd.c if (name == NULL) { name 397 lib/common/ipc_attrd.c pcmk_ipc_name(api, true), name, pcmk__s(value, "(null)"), name 401 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); name 468 lib/common/ipc_attrd.c populate_update_op(child, pair->node, pair->name, pair->value, dampen, name 471 lib/common/ipc_attrd.c rc = pcmk__attrd_api_update(api, pair->node, pair->name, pair->value, name 850 lib/common/ipc_client.c crm_ipc_new(const char *name, size_t max_size) name 860 lib/common/ipc_client.c client->server_name = strdup(name); name 863 lib/common/ipc_client.c name, strerror(errno)); name 871 lib/common/ipc_client.c name, strerror(errno)); name 1589 lib/common/ipc_client.c pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 1603 lib/common/ipc_client.c c = qb_ipcc_connect_async(name, 0, name 1606 lib/common/ipc_client.c c = qb_ipcc_connect(name, 0); name 1609 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, strerror(errno)); name 1625 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, name 1637 lib/common/ipc_client.c name, pcmk_rc_str(rc), rc); name 1646 lib/common/ipc_client.c name, (long long) PCMK__SPECIAL_PID_AS_0(found_pid), name 1655 lib/common/ipc_client.c CRM_XS " rc=%d", name, pcmk_rc_str(rc), rc); name 1665 lib/common/ipc_client.c && strncmp(last_asked_name, name, sizeof(last_asked_name))) { name 1670 lib/common/ipc_client.c name, (long long) refuid, (long long) refgid); name 1675 lib/common/ipc_client.c name, (long long) found_uid, (long long) found_gid, name 1678 lib/common/ipc_client.c memccpy(last_asked_name, name, '\0', sizeof(last_asked_name)); name 103 lib/common/ipc_server.c } else if (c->name != NULL) { name 104 lib/common/ipc_server.c return c->name; name 313 lib/common/ipc_server.c free(c->name); name 1020 lib/common/ipc_server.c crm_is_daemon_name(const char *name) name 1022 lib/common/ipc_server.c return pcmk__str_any_of(pcmk__message_name(name), name 736 lib/common/logging.c crm_priority2int(const char *name) name 739 lib/common/logging.c const char *name; name 755 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { name 756 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { name 1135 lib/common/logging.c pcmk__cli_init_logging(const char *name, unsigned int verbosity) name 1137 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); name 56 lib/common/mainloop.c char *name; name 639 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 642 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); name 646 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, name 657 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); name 661 lib/common/mainloop.c name, pcmk_rc_str(errno), errno); name 675 lib/common/mainloop.c crm_err("Could not start %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 691 lib/common/mainloop.c char *name; name 732 lib/common/mainloop.c client->name, pcmk_strerror(read_rc), read_rc); name 739 lib/common/mainloop.c read_rc, client->name, (int) condition); name 741 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 750 lib/common/mainloop.c client->name, (int) condition); name 753 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 762 lib/common/mainloop.c client->name, client, condition); name 767 lib/common/mainloop.c client->name, client, condition); name 811 lib/common/mainloop.c char *c_name = strdup(client->name); name 838 lib/common/mainloop.c free(client->name); client->name = NULL; name 918 lib/common/mainloop.c mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 921 lib/common/mainloop.c crm_ipc_t *ipc = crm_ipc_new(name, max_size); name 929 lib/common/mainloop.c name, pcmk_rc_str(rc)); name 958 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 968 lib/common/mainloop.c client->name = strdup(name); name 993 lib/common/mainloop.c crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd); name 1005 lib/common/mainloop.c crm_trace("Removing client %s[%p]", client->name, client); name 1306 lib/common/mainloop.c crm_trace("Invoking callbacks for timer %s", t->name); name 1309 lib/common/mainloop.c crm_trace("Timer %s complete", t->name); name 1336 lib/common/mainloop.c crm_trace("Starting timer %s", t->name); name 1345 lib/common/mainloop.c crm_trace("Stopping timer %s", t->name); name 1368 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) name 1372 lib/common/mainloop.c if (name != NULL) { name 1373 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); name 1375 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); name 1382 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); name 1390 lib/common/mainloop.c crm_trace("Destroying timer %s", t->name); name 1392 lib/common/mainloop.c free(t->name); name 171 lib/common/messages.c pcmk__message_name(const char *name) name 173 lib/common/messages.c if (name == NULL) { name 176 lib/common/messages.c } else if (!strcmp(name, "pacemaker-attrd")) { name 179 lib/common/messages.c } else if (!strcmp(name, "pacemaker-based")) { name 182 lib/common/messages.c } else if (!strcmp(name, "pacemaker-controld")) { name 185 lib/common/messages.c } else if (!strcmp(name, "pacemaker-execd")) { name 188 lib/common/messages.c } else if (!strcmp(name, "pacemaker-fenced")) { name 191 lib/common/messages.c } else if (!strcmp(name, "pacemaker-schedulerd")) { name 195 lib/common/messages.c return name; name 118 lib/common/mock.c __wrap_getenv(const char *name) name 121 lib/common/mock.c return __real_getenv(name); name 123 lib/common/mock.c check_expected_ptr(name); name 170 lib/common/mock.c __wrap_setenv(const char *name, const char *value, int overwrite) name 173 lib/common/mock.c return __real_setenv(name, value, overwrite); name 175 lib/common/mock.c check_expected_ptr(name); name 198 lib/common/mock.c __wrap_unsetenv(const char *name) name 201 lib/common/mock.c return __real_unsetenv(name); name 203 lib/common/mock.c check_expected_ptr(name); name 379 lib/common/mock.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, name 385 lib/common/mock.c check_expected_ptr(name); name 394 lib/common/mock.c return __real_getpwnam_r(name, pwd, buf, buflen, result); name 41 lib/common/mock_private.h char *__real_getenv(const char *name); name 42 lib/common/mock_private.h char *__wrap_getenv(const char *name); name 49 lib/common/mock_private.h int __real_setenv(const char *name, const char *value, int overwrite); name 50 lib/common/mock_private.h int __wrap_setenv(const char *name, const char *value, int overwrite); name 53 lib/common/mock_private.h int __real_unsetenv(const char *name); name 54 lib/common/mock_private.h int __wrap_unsetenv(const char *name); name 69 lib/common/mock_private.h int __real_getpwnam_r(const char *name, struct passwd *pwd, name 71 lib/common/mock_private.h int __wrap_getpwnam_r(const char *name, struct passwd *pwd, name 49 lib/common/nvpair.c pcmk__new_nvpair(const char *name, const char *value) name 53 lib/common/nvpair.c pcmk__assert(name); name 57 lib/common/nvpair.c nvpair->name = pcmk__str_copy(name); name 74 lib/common/nvpair.c free(nvpair->name); name 92 lib/common/nvpair.c pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value) name 94 lib/common/nvpair.c return g_slist_prepend(nvpairs, pcmk__new_nvpair(name, value)); name 124 lib/common/nvpair.c pcmk__assert((pair_a != NULL) && (pair_a->name != NULL) name 125 lib/common/nvpair.c && (pair_b != NULL) && (pair_b->name != NULL)); name 127 lib/common/nvpair.c rc = strcmp(pair_a->name, pair_b->name); name 167 lib/common/nvpair.c (const char *) iter->name, name 189 lib/common/nvpair.c crm_xml_add(parent, pair->name, pair->value); name 219 lib/common/nvpair.c pcmk__scan_nvpair(const char *input, char **name, char **value) name 222 lib/common/nvpair.c *name = NULL; name 224 lib/common/nvpair.c if (sscanf(input, "%m[^=]=%m[^\n]", name, value) <= 0) { name 229 lib/common/nvpair.c *name = NULL; name 237 lib/common/nvpair.c *name = strndup(input, sep-input); name 239 lib/common/nvpair.c if (*name == NULL) { name 255 lib/common/nvpair.c if (*name != NULL && *value != NULL) { name 257 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { name 282 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) name 284 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); name 290 lib/common/nvpair.c pcmk__xe_set_attr_force(xmlNode *node, const char *name, const char *value) name 292 lib/common/nvpair.c xmlAttr *attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 313 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) name 319 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); name 326 lib/common/nvpair.c const char *old = crm_element_value(node, name); name 333 lib/common/nvpair.c if (dirty && (pcmk__check_acl(node, name, pcmk__xf_acl_create) == FALSE)) { name 334 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); name 338 lib/common/nvpair.c attr = pcmk__xe_set_attr_force(node, name, value); name 360 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) name 363 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 382 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) name 385 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 410 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) name 417 lib/common/nvpair.c return crm_xml_add(xml, name, s); name 458 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) name 463 lib/common/nvpair.c crm_err("Couldn't find %s in NULL", name ? name : "<null>"); name 467 lib/common/nvpair.c } else if (name == NULL) { name 468 lib/common/nvpair.c crm_err("Couldn't find NULL in %s", data->name); name 475 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); name 494 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) name 499 lib/common/nvpair.c value = crm_element_value(data, name); name 508 lib/common/nvpair.c name, value, pcmk_rc_str(rc)); name 511 lib/common/nvpair.c name, value); name 535 lib/common/nvpair.c pcmk__xe_get_flags(const xmlNode *xml, const char *name, uint32_t *dest, name 546 lib/common/nvpair.c if (name == NULL) { name 552 lib/common/nvpair.c value = crm_element_value(xml, name); name 583 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) name 588 lib/common/nvpair.c value = crm_element_value(data, name); name 597 lib/common/nvpair.c name, value, pcmk_rc_str(rc)); name 614 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) name 622 lib/common/nvpair.c value = crm_element_value(data, name); name 627 lib/common/nvpair.c name, value, pcmk_rc_str(rc)); name 632 lib/common/nvpair.c name, value); name 651 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) name 655 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { name 758 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) name 760 lib/common/nvpair.c return pcmk__str_copy(crm_element_value(data, name)); name 788 lib/common/nvpair.c const char *name = key; name 793 lib/common/nvpair.c if (isdigit(name[0])) { name 796 lib/common/nvpair.c crm_xml_add(tmp, PCMK_XA_NAME, name); name 799 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { name 800 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 801 lib/common/nvpair.c crm_trace("dumped: %s=%s", name, s_value); name 804 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 822 lib/common/nvpair.c const char *name = key; name 827 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { name 828 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 831 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 883 lib/common/nvpair.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, name 891 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); name 899 lib/common/nvpair.c pcmk__s(pcmk__xe_id(parent), PCMK_XE_NVPAIR), name); name 901 lib/common/nvpair.c crm_xml_add(nvp, PCMK_XA_NAME, name); name 920 lib/common/nvpair.c const char *name = key; name 924 lib/common/nvpair.c crm_create_nvpair_xml(xml_node, name, name, s_value); name 925 lib/common/nvpair.c crm_trace("dumped: name=%s value=%s", name, s_value); name 954 lib/common/nvpair.c crm_trace("No attributes in %s", parent->name); name 963 lib/common/nvpair.c const char *p_name = (const char *)pIter->name; name 987 lib/common/nvpair.c pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value) name 989 lib/common/nvpair.c crm_xml_add(node, name, pcmk__btoa(value)); name 993 lib/common/nvpair.c pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value) name 1000 lib/common/nvpair.c } else if (name == NULL || value == NULL) { name 1004 lib/common/nvpair.c xml_value = crm_element_value(node, name); name 1020 lib/common/nvpair.c pcmk__xe_attr_is_true(const xmlNode *node, const char *name) name 1025 lib/common/nvpair.c rc = pcmk__xe_get_bool_attr(node, name, &value); name 1089 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) name 1091 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); name 1095 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, name 1098 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); name 1102 lib/common/nvpair.c pcmk_format_named_time(const char *name, time_t epoch_time) name 1105 lib/common/nvpair.c char *result = crm_strdup_printf("%s=\"%s\"", name, pcmk__s(now_s, "")); name 1112 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) name 1119 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); name 1121 lib/common/nvpair.c old_value = crm_element_value(node, name); name 1126 lib/common/nvpair.c if (pcmk__check_acl(node, name, pcmk__xf_acl_write) == FALSE) { name 1128 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); name 1132 lib/common/nvpair.c pcmk__xe_remove_attr(node, name); name 1142 lib/common/nvpair.c attr = pcmk__xe_set_attr_force(node, name, value); name 1356 lib/common/options.c pcmk__assert((option != NULL) && (option->name != NULL)); name 1359 lib/common/options.c value = g_hash_table_lookup(table, option->name); name 1367 lib/common/options.c option->alt_name, option->name); name 1370 lib/common/options.c pcmk__insert_dup(table, option->name, value); name 1378 lib/common/options.c "because '%s' is invalid", option->name, value); name 1392 lib/common/options.c option->name); name 1398 lib/common/options.c option->name); name 1402 lib/common/options.c value, option->name); name 1404 lib/common/options.c pcmk__insert_dup(table, option->name, value); name 1419 lib/common/options.c pcmk__cluster_option(GHashTable *options, const char *name) name 1422 lib/common/options.c option->name != NULL; option++) { name 1424 lib/common/options.c if (pcmk__str_eq(name, option->name, pcmk__str_casei)) { name 1428 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); name 1452 lib/common/options.c pcmk__output_cluster_options(pcmk__output_t *out, const char *name, name 1456 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, filter, name 1475 lib/common/options.c pcmk__output_primitive_meta(pcmk__output_t *out, const char *name, name 1479 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, name 1502 lib/common/options.c pcmk__output_fencing_params(pcmk__output_t *out, const char *name, name 1506 lib/common/options.c return out->message(out, "option-list", name, desc_short, desc_long, name 1524 lib/common/options.c pcmk__daemon_metadata(pcmk__output_t *out, const char *name, name 1543 lib/common/options.c pcmk__output_fencing_params(tmp_out, name, desc_short, desc_long, true); name 1545 lib/common/options.c pcmk__output_cluster_options(tmp_out, name, desc_short, desc_long, name 1568 lib/common/options.c option->name != NULL; option++) { name 92 lib/common/options_display.c out->list_item(out, option->name, "%s", _(desc_short)); name 128 lib/common/options_display.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 156 lib/common/options_display.c option->name != NULL; option++) { name 392 lib/common/options_display.c PCMK_XA_NAME, option->name, name 443 lib/common/options_display.c const char *name = va_arg(args, const char *); name 450 lib/common/options_display.c pcmk__assert((out != NULL) && (name != NULL) && (desc_short != NULL) name 454 lib/common/options_display.c PCMK_XA_NAME, name, name 465 lib/common/options_display.c option->name != NULL; option++) { name 127 lib/common/output.c pcmk__register_format(GOptionGroup *group, const char *name, name 133 lib/common/output.c pcmk__assert((create != NULL) && !pcmk__str_empty(name)); name 135 lib/common/output.c name_copy = strdup(name); name 159 lib/common/output.c for (const pcmk__supported_format_t *entry = formats; entry->name != NULL; name 161 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); name 294 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 348 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 364 lib/common/output_html.c if (name != NULL) { name 365 lib/common/output_html.c crm_xml_add(item_node, PCMK_XA_CLASS, name); name 483 lib/common/output_html.c pcmk__html_create(xmlNode *parent, const char *name, const char *id, name 486 lib/common/output_html.c xmlNode *node = pcmk__xe_create(parent, name); name 496 lib/common/output_html.c pcmk__html_add_header(const char *name, ...) { name 500 lib/common/output_html.c va_start(ap, name); name 502 lib/common/output_html.c header_node = pcmk__xe_create(NULL, name); name 157 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 164 lib/common/output_log.c node = pcmk__xe_create(NULL, name); name 166 lib/common/output_log.c do_crm_log_xml(priv->log_level, name, node); name 199 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 224 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { name 226 lib/common/output_log.c logger(priv, "%s: %s: %s", prefix, name, buffer); name 228 lib/common/output_log.c logger(priv, "%s: %s", name, buffer); name 64 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 197 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 317 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 323 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); name 336 lib/common/output_xml.c char *name = NULL; name 351 lib/common/output_xml.c name = g_strdup(s->to); name 356 lib/common/output_xml.c if (name == NULL) { name 357 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); name 362 lib/common/output_xml.c PCMK_XA_NAME, name, name 365 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); name 368 lib/common/output_xml.c g_free(name); name 374 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 389 lib/common/output_xml.c if (name != NULL) { name 390 lib/common/output_xml.c crm_xml_add(item_node, PCMK_XA_NAME, name); name 478 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { name 485 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 487 lib/common/output_xml.c va_start(args, name); name 515 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { name 527 lib/common/output_xml.c node = pcmk__xe_create(g_queue_peek_tail(priv->parent_q), name); name 528 lib/common/output_xml.c va_start(args, name); name 536 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { name 542 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 93 lib/common/patchset.c crm_xml_add(attr, PCMK_XA_NAME, (const char *) pIter->name); name 109 lib/common/patchset.c result = pcmk__xe_create(change, (const char *)xml->name); name 115 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 116 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); name 132 lib/common/patchset.c xml->name, pcmk__xe_id(xml), name 242 lib/common/patchset.c pcmk__xe_set_attr_force(cib, (const char *) a->name, p_value); name 450 lib/common/patchset.c const char *name = NULL; name 467 lib/common/patchset.c name = (const char *) left->name; name 472 lib/common/patchset.c name, id); name 480 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); name 481 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(left, (const char *) right->name), return NULL); name 486 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 492 lib/common/patchset.c diff = pcmk__xe_create(parent, name); name 515 lib/common/patchset.c const char *p_name = (const char *)pIter->name; name 528 lib/common/patchset.c const char *prop_name = (const char *) xIter->name; name 556 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 583 lib/common/patchset.c "<%s " PCMK_XA_ID "=%s>", prop_name, name, id); name 586 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 596 lib/common/patchset.c prop_name, left_value, right_val, name, id); name 621 lib/common/patchset.c return strcmp((const char *) attr->name, PCMK_XA_ID) != 0; name 647 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); name 657 lib/common/patchset.c target->name, id); name 690 lib/common/patchset.c const char *name = NULL; name 700 lib/common/patchset.c name = (const char *) patch->name; name 705 lib/common/patchset.c crm_trace("We are the root of the addition: %s.id=%s", name, id); name 711 lib/common/patchset.c crm_err("Could not locate: %s.id=%s", name, id); name 719 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, name), return); name 726 lib/common/patchset.c const char *p_name = (const char *) xIter->name; name 985 lib/common/patchset.c first_matching_xml_child(const xmlNode *parent, const char *name, name 992 lib/common/patchset.c if (strcmp((const char *) cIter->name, name) != 0) { name 1157 lib/common/patchset.c crm_trace("Processing %s %s", change->name, op); name 1212 lib/common/patchset.c const char *name = (const char *) pIter->name; name 1215 lib/common/patchset.c crm_xml_add(match, name, value); name 1256 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); name 1261 lib/common/patchset.c child->name, position); name 1285 lib/common/patchset.c match->name, position, name 1300 lib/common/patchset.c match->name, position); name 1305 lib/common/patchset.c match->name, pcmk__xe_id(match), name 1403 lib/common/patchset.c if (pcmk__strcase_any_of((const char *) node->name, name 1411 lib/common/patchset.c const char *p_name = (const char *) a->name; name 249 lib/common/patchset_display.c const char *name = crm_element_value(child, PCMK_XA_NAME); name 260 lib/common/patchset_display.c pcmk__g_strcat(buffer_set, name, "=", value, NULL); name 264 lib/common/patchset_display.c g_string_append(buffer_unset, name); name 214 lib/common/pid.c pcmk__lock_pidfile(const char *filename, const char *name) name 221 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); name 241 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); name 40 lib/common/procfs.c pcmk__procfs_process_info(const struct dirent *entry, char *name, pid_t *pid) name 82 lib/common/procfs.c if (name != NULL) { name 88 lib/common/procfs.c if (fscanf(file, "Name:\t%15[^\n]", name) != 1) { name 92 lib/common/procfs.c name[15] = 0; name 111 lib/common/procfs.c pcmk__procfs_pid_of(const char *name) name 126 lib/common/procfs.c && pcmk__str_eq(entry_name, name, pcmk__str_casei) name 129 lib/common/procfs.c crm_info("Found %s active as process %lld", name, (long long) pid); name 46 lib/common/results.c pcmk_result_get_strings(int code, enum pcmk_result_type type, const char **name, name 69 lib/common/results.c if (name != NULL) { name 70 lib/common/results.c *name = code_name; name 163 lib/common/results.c const char *name; name 346 lib/common/results.c return pcmk__rcs[pcmk_rc_error - rc].name; name 39 lib/common/rules.c const char *name = NULL; name 61 lib/common/rules.c name = crm_element_value(condition, PCMK_XA_ATTRIBUTE); name 63 lib/common/rules.c if (pcmk__str_any_of(name, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, name 1264 lib/common/rules.c const char *name = NULL; name 1283 lib/common/rules.c name = crm_element_value(op_expression, PCMK_XA_NAME); name 1284 lib/common/rules.c if (name == NULL) { // Not possible with schema validation enabled name 1300 lib/common/rules.c if (!pcmk__str_eq(name, rule_input->op_name, pcmk__str_none)) { name 1303 lib/common/rules.c id, pcmk__s(rule_input->op_name, ""), name); name 1317 lib/common/rules.c id, name, pcmk__readable_interval(rule_input->op_interval_ms)); name 1370 lib/common/rules.c (const char *) condition->name); name 101 lib/common/schemas.c return ((pcmk__schema_t *)(entry->data))->name; name 224 lib/common/schemas.c const char *name, const char *transform, name 238 lib/common/schemas.c schema->name = schema_strdup_printf("pacemaker-", *version, ""); name 240 lib/common/schemas.c schema->name = pcmk__str_copy(name); name 433 lib/common/schemas.c if (pcmk__str_eq(schema_a->name, "pacemaker-next", pcmk__str_none)) { name 434 lib/common/schemas.c if (pcmk__str_eq(schema_b->name, PCMK_VALUE_NONE, pcmk__str_none)) { name 439 lib/common/schemas.c } else if (pcmk__str_eq(schema_a->name, PCMK_VALUE_NONE, pcmk__str_none)) { name 441 lib/common/schemas.c } else if (pcmk__str_eq(schema_b->name, "pacemaker-next", pcmk__str_none)) { name 505 lib/common/schemas.c crm_debug("Loaded schema %d: %s", schema_index, schema->name); name 508 lib/common/schemas.c schema_index, schema->name, schema->transform); name 632 lib/common/schemas.c free(schema->name); name 663 lib/common/schemas.c pcmk__get_schema(const char *name) name 666 lib/common/schemas.c if (name == NULL) { name 667 lib/common/schemas.c name = PCMK_VALUE_NONE; name 672 lib/common/schemas.c if (pcmk__str_eq(name, schema->name, pcmk__str_casei)) { name 728 lib/common/schemas.c schema->name); name 779 lib/common/schemas.c crm_xml_add(xml_blob, PCMK_XA_VALIDATE_WITH, schema->name); name 780 lib/common/schemas.c crm_info("XML validated against %s", schema->name); name 1046 lib/common/schemas.c schema->name, upgraded_schema->name, schema->transform_enter); name 1061 lib/common/schemas.c schema->name, upgraded_schema->name, schema->transform); name 1077 lib/common/schemas.c schema->name, upgraded_schema->name, transform_leave); name 1101 lib/common/schemas.c schema->name, upgraded_schema->name, schema->transform); name 1108 lib/common/schemas.c schema->name, upgraded_schema->name); name 1196 lib/common/schemas.c crm_debug("Schema %s does not validate", current_schema->name); name 1205 lib/common/schemas.c crm_debug("Schema %s validates", current_schema->name); name 1240 lib/common/schemas.c best_schema->name); name 1241 lib/common/schemas.c crm_xml_add(*xml, PCMK_XA_VALIDATE_WITH, best_schema->name); name 1283 lib/common/schemas.c effective_original_name = original_schema->name; name 1315 lib/common/schemas.c x_0_schema->name, effective_original_name); name 1322 lib/common/schemas.c x_0_schema->name, effective_original_name); name 1331 lib/common/schemas.c x_0_schema->name, name 1338 lib/common/schemas.c x_0_schema->name, name 1358 lib/common/schemas.c schema->name); name 1364 lib/common/schemas.c schema->name); name 1401 lib/common/schemas.c pcmk__schema_files_later_than(const char *name) name 1406 lib/common/schemas.c if (!version_from_filename(name, &ver)) { name 1419 lib/common/schemas.c s = crm_strdup_printf("%s.rng", schema->name); name 1558 lib/common/schemas.c pcmk__build_schema_xml_node(xmlNode *parent, const char *name, GList **already_included) name 1562 lib/common/schemas.c crm_xml_add(schema_node, PCMK_XA_VERSION, name); name 1563 lib/common/schemas.c add_schema_file_to_xml(schema_node, name, already_included); name 1622 lib/common/schemas.c return (schema != NULL)? schema->name : "unknown"; name 1626 lib/common/schemas.c get_schema_version(const char *name) name 1630 lib/common/schemas.c if (name == NULL) { name 1631 lib/common/schemas.c name = PCMK_VALUE_NONE; name 1637 lib/common/schemas.c if (pcmk__str_eq(name, schema->name, pcmk__str_casei)) { name 1740 lib/common/schemas.c const char *name = crm_element_value(*xml, PCMK_XA_VALIDATE_WITH); name 1742 lib/common/schemas.c if (name == NULL) { name 1745 lib/common/schemas.c GList *entry = pcmk__get_schema(name); name 713 lib/common/strings.c pcmk__insert_dup(GHashTable *table, const char *name, const char *value) name 715 lib/common/strings.c pcmk__assert((table != NULL) && (name != NULL)); name 717 lib/common/strings.c g_hash_table_insert(table, pcmk__str_copy(name), pcmk__str_copy(value)); name 23 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 28 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 33 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 48 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 53 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 58 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 29 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 33 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 46 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 50 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 63 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 67 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 71 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 75 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 89 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 74 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, buf); name 87 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 90 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); name 104 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 117 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 120 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); name 86 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, buf); name 97 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, buf); name 110 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 114 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "HA_env_var"); name 121 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 125 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "HA_env_var"); name 140 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "PCMK_env_var"); name 142 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "HA_env_var"); name 155 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 166 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "PCMK_env_var"); name 168 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "HA_env_var"); name 49 lib/common/tests/schemas/pcmk__find_x_0_schema_test.c assert_string_equal(schema->name, schema_name); name 34 lib/common/tests/schemas/pcmk__get_schema_test.c assert_schema(const char *name, int expected_index) name 39 lib/common/tests/schemas/pcmk__get_schema_test.c schema_entry = pcmk__get_schema(name); name 44 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 66 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 95 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 108 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 29 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); name 58 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); name 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, (const char *) xml->name); name 143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_true(pcmk__str_any_of((const char *) xml->name, name 33 lib/common/tests/xml/pcmk__xe_set_score_test.c const char *name = "X"; name 36 lib/common/tests/xml/pcmk__xe_set_score_test.c crm_xml_add(test_xml, name, initial); name 37 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_int_equal(pcmk__xe_set_score(test_xml, name, new), reference_rc); name 38 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_string_equal(crm_element_value(test_xml, name), reference_val); name 164 lib/common/unittest.c pcmk__test_init_logging(const char *name, const char *filename) name 166 lib/common/unittest.c pcmk__cli_init_logging(name, 0); name 83 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) name 95 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); name 103 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); name 107 lib/common/utils.c crm_info("User %s lookup: %s", name, pcmk_strerror(rc)); name 268 lib/common/utils.c pcmk__daemonize(const char *name, const char *pidfile) name 274 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); name 277 lib/common/utils.c name, (long long) pid, pidfile); name 279 lib/common/utils.c name, (long long) pid, pidfile); name 285 lib/common/utils.c fprintf(stderr, "%s: could not start daemon\n", name); name 293 lib/common/utils.c rc = pcmk__lock_pidfile(pidfile, name); name 296 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 298 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 437 lib/common/xml.c return pcmk__xe_first_child(haystack, (const char *) needle->name, attr, name 495 lib/common/xml.c parent_name = (const char *) parent->name; name 549 lib/common/xml.c pcmk__xe_get_score(const xmlNode *xml, const char *name, int *score, name 554 lib/common/xml.c CRM_CHECK((xml != NULL) && (name != NULL), return EINVAL); name 555 lib/common/xml.c value = crm_element_value(xml, name); name 591 lib/common/xml.c pcmk__xe_set_score(xmlNode *target, const char *name, const char *value) name 595 lib/common/xml.c CRM_CHECK((target != NULL) && (name != NULL), return EINVAL); name 602 lib/common/xml.c old_value = crm_element_value(target, name); name 606 lib/common/xml.c const char *n = name; name 627 lib/common/xml.c "is not a score", name, old_value); name 639 lib/common/xml.c "a valid increment", name, value); name 643 lib/common/xml.c crm_xml_add_int(target, name, pcmk__add_scores(old_value_i, add)); name 650 lib/common/xml.c crm_xml_add(target, name, value); name 676 lib/common/xml.c const char *name = (const char *) attr->name; name 680 lib/common/xml.c && (crm_element_value(target, name) != NULL)) { name 685 lib/common/xml.c pcmk__xe_set_score(target, name, value); name 687 lib/common/xml.c crm_xml_add(target, name, value); name 702 lib/common/xml.c pcmk__xe_remove_attr(xmlNode *element, const char *name) name 704 lib/common/xml.c if (name != NULL) { name 705 lib/common/xml.c pcmk__xa_remove(xmlHasProp(element, (pcmkXmlStr) name), false); name 726 lib/common/xml.c const char *name = user_data; name 728 lib/common/xml.c pcmk__xe_remove_attr(xml, name); name 770 lib/common/xml.c pcmk__xe_create(xmlNode *parent, const char *name) name 774 lib/common/xml.c pcmk__assert(!pcmk__str_empty(name)); name 779 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 785 lib/common/xml.c node = xmlNewChild(parent, NULL, (pcmkXmlStr) name, NULL); name 1396 lib/common/xml.c old_attr->name, p_old, p_new, element); name 1421 lib/common/xml.c const char *name = (const char *) attr_iter->name; name 1423 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); name 1428 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, name 1437 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); name 1443 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, name 1448 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, name 1475 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; name 1479 lib/common/xml.c new_xml->name); name 1551 lib/common/xml.c new_child->name, pcmk__s(pcmk__xe_id(new_child), "<no id>"), name 1552 lib/common/xml.c p_old, p_new, new_parent->name); name 1645 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) name 1714 lib/common/xml.c update_name = (const char *) update->name; name 1759 lib/common/xml.c CRM_CHECK(pcmk__xe_is(target, (const char *) update->name), return); name 1769 lib/common/xml.c xmlAttr *old_attr = xmlHasProp(target, a->name); name 1775 lib/common/xml.c pcmk__xe_set_attr_force(target, (const char *) a->name, p_value); name 1815 lib/common/xml.c if (!pcmk__xe_is(search, (const char *) xml->name)) { name 1824 lib/common/xml.c const char *xml_val = crm_element_value(xml, (const char *) attr->name); name 1936 lib/common/xml.c if (!pcmk__xe_is(replace, (const char *) xml->name)) { name 2030 lib/common/xml.c if (!pcmk__xe_is(update, (const char *) xml->name)) { name 2102 lib/common/xml.c result = pcmk__xe_create(parent, (const char *) input->name); name 2135 lib/common/xml.c if (pcmk__xe_is(match, (const char *) node->name)) { name 2189 lib/common/xml.c xpath = crm_strdup_printf("//%s[@" PCMK_XA_ID "='%s']", input->name, ref); name 2195 lib/common/xml.c input->name, ref, xpath); name 2282 lib/common/xml.c const char *name, *value; name 2284 lib/common/xml.c name = va_arg(pairs, const char *); name 2285 lib/common/xml.c if (name == NULL) { name 2291 lib/common/xml.c crm_xml_add(node, name, value); name 2379 lib/common/xml.c add_node_nocopy(xmlNode *parent, const char *name, xmlNode *child) name 2493 lib/common/xml.c create_xml_node(xmlNode *parent, const char *name) name 2498 lib/common/xml.c CRM_CHECK(!pcmk__str_empty(name), return NULL); name 2503 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 2511 lib/common/xml.c node = xmlNewChild(parent, NULL, (pcmkXmlStr) name, NULL); name 2521 lib/common/xml.c pcmk_create_xml_text_node(xmlNode *parent, const char *name, name 2524 lib/common/xml.c xmlNode *node = pcmk__xe_create(parent, name); name 2541 lib/common/xml.c first_named_child(const xmlNode *parent, const char *name) name 2543 lib/common/xml.c return pcmk__xe_first_child(parent, name, NULL, NULL); name 2561 lib/common/xml.c ((root != NULL)? (const char *) root->name : "<NULL>")); name 2574 lib/common/xml.c xml_remove_prop(xmlNode * obj, const char *name) name 2576 lib/common/xml.c pcmk__xe_remove_attr(obj, name); name 2596 lib/common/xml.c && pcmk__xe_is(update, (const char *) child->name) name 2606 lib/common/xml.c const char *name = (const char *) attr->name; name 2608 lib/common/xml.c const char *child_val = crm_element_value(child, name); name 2696 lib/common/xml.c const char *p_name = (const char *) a->name; name 2719 lib/common/xml.c const char *p_name = (const char *) a->name; name 2724 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); name 2732 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) name 2734 lib/common/xml.c pcmk__xe_set_score(target, name, value); name 58 lib/common/xml_attr.c (const char *) element->name); name 108 lib/common/xml_attr.c const char *name = NULL; name 122 lib/common/xml_attr.c name = (const char *) attr->name; name 137 lib/common/xml_attr.c pcmk__g_strcat(buffer, " ", name, "=\"", value, "\"", NULL); name 105 lib/common/xml_display.c pcmk__g_strcat(buffer, "<", data->name, NULL); name 110 lib/common/xml_display.c const char *p_name = (const char *) attr->name; name 174 lib/common/xml_display.c spaces, "", data->name); name 302 lib/common/xml_display.c const char *name = (const char *) attr->name; name 310 lib/common/xml_display.c PCMK__XML_PREFIX_DELETED, spaces, "", name, name 330 lib/common/xml_display.c prefix, spaces, "", name, value); name 305 lib/common/xml_io.c pcmk__g_strcat(buffer, "<", data->name, NULL); name 310 lib/common/xml_io.c if (!filtered || !pcmk__xa_filterable((const char *) (attr->name))) { name 336 lib/common/xml_io.c pcmk__g_strcat(buffer, "</", data->name, ">", NULL); name 276 lib/common/xpath.c g_string_append(xpath, (const gchar *) xml->name); name 278 lib/common/xpath.c pcmk__g_strcat(xpath, "/", (const char *) xml->name, NULL); name 333 lib/common/xpath.c const char *name) name 335 lib/common/xpath.c if (out == NULL || name == NULL || search == NULL || name 340 lib/common/xpath.c out->info(out, "Multiple attributes match " PCMK_XA_NAME "=%s", name); name 349 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) name 356 lib/fencing/st_client.c crm_xml_add(data, PCMK_XA_ID, name); name 1093 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) name 1097 lib/fencing/st_client.c const char *display_name = name? name : "client"; name 1147 lib/fencing/st_client.c crm_xml_add(hello, PCMK__XA_ST_CLIENTNAME, name); name 1912 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) name 1917 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); name 1995 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 1998 lib/fencing/st_client.c stonith__set_call_options(opts, name, name 2001 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2003 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); name 2004 lib/fencing/st_client.c free(name); name 2040 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 2042 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_sync_call); name 2044 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2046 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); name 2047 lib/fencing/st_client.c free(name); name 27 lib/lrmd/lrmd_alerts.c alert_key2param(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 35 lib/lrmd/lrmd_alerts.c for (key = pcmk__alert_keys[name]; *key; key++) { name 43 lib/lrmd/lrmd_alerts.c alert_key2param_int(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 48 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 54 lib/lrmd/lrmd_alerts.c alert_key2param_ms(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 59 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 1018 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) name 1027 lib/lrmd/lrmd_client.c crm_xml_add(hello, PCMK__XA_LRMD_CLIENTNAME, name); name 1499 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", name 1509 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, name 1519 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1522 lib/lrmd/lrmd_client.c free(name); name 1719 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) name 1742 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1749 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) name 1760 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); name 240 lib/lrmd/proxy_common.c const char *name = crm_element_value(msg, PCMK__XA_LRMD_IPC_CLIENT); name 293 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 304 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 314 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 319 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 322 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 364 lib/pacemaker/libpacemaker_private.h pcmk_action_t *pcmk__new_cancel_action(pcmk_resource_t *rsc, const char *name, name 159 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 163 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 178 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 182 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 817 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, PCMK_XA_UNAME); name 822 lib/pacemaker/pcmk_cluster_queries.c pcmk__s(name, id), id, data->bash_export); name 31 lib/pacemaker/pcmk_fence.c char *name; name 44 lib/pacemaker/pcmk_fence.c const char *name = NULL; name 56 lib/pacemaker/pcmk_fence.c name = target; name 67 lib/pacemaker/pcmk_fence.c name, value, fence_level, name 71 lib/pacemaker/pcmk_fence.c name, value, fence_level); name 149 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); name 188 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 195 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); name 210 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); name 225 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 228 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, name 324 lib/pacemaker/pcmk_graph_consumer.c action->xml->name, id); name 349 lib/pacemaker/pcmk_graph_consumer.c action->xml->name, action->id, synapse->id, name 562 lib/pacemaker/pcmk_graph_consumer.c xml_action->name); name 844 lib/pacemaker/pcmk_graph_consumer.c const char *name = NULL; name 866 lib/pacemaker/pcmk_graph_consumer.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 867 lib/pacemaker/pcmk_graph_consumer.c pcmk__insert_dup(op->params, name, value); name 266 lib/pacemaker/pcmk_graph_producer.c (const char *) action->rsc->xml->name); name 54 lib/pacemaker/pcmk_injections.c const char *name, const char *value) name 60 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); name 76 lib/pacemaker/pcmk_injections.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); name 98 lib/pacemaker/pcmk_injections.c char *name = NULL; name 113 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); name 116 lib/pacemaker/pcmk_injections.c pcmk__xe_id(cib_node), NULL, NULL, NULL, name, name 124 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, value); name 126 lib/pacemaker/pcmk_injections.c free(name); name 130 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); name 132 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, value); name 134 lib/pacemaker/pcmk_injections.c free(name); name 32 lib/pacemaker/pcmk_options.c const char *name = "cluster-options"; name 42 lib/pacemaker/pcmk_options.c return pcmk__output_cluster_options(out, name, desc_short, desc_long, name 83 lib/pacemaker/pcmk_options.c const char *name = "fence-attributes"; name 92 lib/pacemaker/pcmk_options.c return pcmk__output_fencing_params(out, name, desc_short, desc_long, all); name 128 lib/pacemaker/pcmk_options.c const char *name = "primitive-meta"; name 132 lib/pacemaker/pcmk_options.c return pcmk__output_primitive_meta(out, name, desc_short, desc_long, all); name 907 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 913 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "")); name 916 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "<null>")); name 929 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 933 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", pcmk__s(name, "<null>")); name 944 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 950 lib/pacemaker/pcmk_output.c PCMK_XA_NAME, pcmk__s(name, ""), name 1472 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1485 lib/pacemaker/pcmk_output.c name, value, node_path, pcmk__xe_id(cib_node)); name 1495 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1508 lib/pacemaker/pcmk_output.c PCMK_XA_NAME, name, name 2142 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2183 lib/pacemaker/pcmk_output.c KV_PAIR(PCMK_XA_NAME, name); name 2209 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2218 lib/pacemaker/pcmk_output.c PCMK_XA_NAME, name, name 2308 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2318 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2319 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s - %s\n", name, desc); name 2321 lib/pacemaker/pcmk_output.c } else if ((name != NULL) || (desc != NULL)) { name 2322 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", ((name != NULL)? name : desc)); name 2336 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2347 lib/pacemaker/pcmk_output.c name, desc); name 2350 lib/pacemaker/pcmk_output.c if ((name != NULL) || (desc != NULL)) { name 2352 lib/pacemaker/pcmk_output.c ((name != NULL)? name : desc)); name 2363 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2370 lib/pacemaker/pcmk_output.c PCMK_XA_NAME, name, name 2382 lib/pacemaker/pcmk_output.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 2394 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2408 lib/pacemaker/pcmk_output.c PCMK_XA_NAME, name, name 40 lib/pacemaker/pcmk_result_code.c const char *name = NULL; name 43 lib/pacemaker/pcmk_result_code.c rc = pcmk_result_get_strings(code, type, &name, &desc); name 53 lib/pacemaker/pcmk_result_code.c pcmk_is_set(flags, pcmk_rc_disp_name)? name : NULL, name 102 lib/pacemaker/pcmk_result_code.c const char *name = NULL; name 126 lib/pacemaker/pcmk_result_code.c local_rc = pcmk_result_get_strings(code, type, &name, &desc); name 128 lib/pacemaker/pcmk_result_code.c if ((local_rc != pcmk_rc_ok) || (name == NULL) name 129 lib/pacemaker/pcmk_result_code.c || pcmk__str_any_of(name, "Unknown", "CRM_EX_UNKNOWN", NULL)) { name 139 lib/pacemaker/pcmk_result_code.c pcmk_is_set(flags, pcmk_rc_disp_name)? name : NULL, name 1263 lib/pacemaker/pcmk_sched_actions.c const char *name = PCMK__META_MIGRATE_SOURCE; name 1265 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 1267 lib/pacemaker/pcmk_sched_actions.c name = PCMK__META_MIGRATE_TARGET; name 1268 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 618 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; name 622 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_GLOBALLY_UNIQUE); name 623 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_unique)); name 624 lib/pacemaker/pcmk_sched_clone.c free(name); name 626 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_NOTIFY); name 627 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pcmk__flag_text(rsc->flags, pcmk_rsc_notify)); name 628 lib/pacemaker/pcmk_sched_clone.c free(name); name 630 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_CLONE_MAX); name 631 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_max(rsc)); name 632 lib/pacemaker/pcmk_sched_clone.c free(name); name 634 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_CLONE_NODE_MAX); name 635 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_node_max(rsc)); name 636 lib/pacemaker/pcmk_sched_clone.c free(name); name 642 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_PROMOTED_MAX); name 643 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 644 lib/pacemaker/pcmk_sched_clone.c free(name); name 646 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_PROMOTED_NODE_MAX); name 647 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 648 lib/pacemaker/pcmk_sched_clone.c free(name); name 653 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK__META_PROMOTED_MAX_LEGACY); name 654 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 655 lib/pacemaker/pcmk_sched_clone.c free(name); name 657 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK__META_PROMOTED_NODE_MAX_LEGACY); name 658 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 659 lib/pacemaker/pcmk_sched_clone.c free(name); name 851 lib/pacemaker/pcmk_sched_colocation.c xml_obj->name); name 71 lib/pacemaker/pcmk_sched_constraints.c const char *tag = (const char *) xml_obj->name; name 358 lib/pacemaker/pcmk_sched_constraints.c xml_obj->name); name 429 lib/pacemaker/pcmk_sched_location.c xml_obj->name); name 450 lib/pacemaker/pcmk_sched_ordering.c xml_obj->name); name 1504 lib/pacemaker/pcmk_sched_primitive.c char *name = NULL; name 1516 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(PCMK__META_CLONE); name 1517 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1518 lib/pacemaker/pcmk_sched_primitive.c free(name); name 1524 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(PCMK_META_REMOTE_NODE); name 1525 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1526 lib/pacemaker/pcmk_sched_primitive.c free(name); name 635 lib/pacemaker/pcmk_sched_promotable.c const char *name) name 648 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); name 670 lib/pacemaker/pcmk_sched_promotable.c char *name = NULL; name 708 lib/pacemaker/pcmk_sched_promotable.c name = (rsc->clone_name == NULL)? rsc->id : rsc->clone_name; name 710 lib/pacemaker/pcmk_sched_promotable.c attr_value = promotion_attr_value(rsc, node, name); name 713 lib/pacemaker/pcmk_sched_promotable.c name, pcmk__node_name(node), name 720 lib/pacemaker/pcmk_sched_promotable.c name = clone_strip(rsc->id); name 721 lib/pacemaker/pcmk_sched_promotable.c if (strcmp(rsc->id, name) != 0) { name 722 lib/pacemaker/pcmk_sched_promotable.c attr_value = promotion_attr_value(rsc, node, name); name 724 lib/pacemaker/pcmk_sched_promotable.c name, pcmk__node_name(node), rsc->id, name 727 lib/pacemaker/pcmk_sched_promotable.c free(name); name 24 lib/pacemaker/pcmk_sched_recurring.c const char *name; // Action name name 62 lib/pacemaker/pcmk_sched_recurring.c is_op_dup(const pcmk_resource_t *rsc, const char *name, guint interval_ms) name 71 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk__str_eq(crm_element_value(op, PCMK_XA_NAME), name, name 110 lib/pacemaker/pcmk_sched_recurring.c op_cannot_recur(const char *name) name 112 lib/pacemaker/pcmk_sched_recurring.c return pcmk__str_any_of(name, PCMK_ACTION_STOP, PCMK_ACTION_START, name 146 lib/pacemaker/pcmk_sched_recurring.c op->name = crm_element_value(xml, PCMK_XA_NAME); name 147 lib/pacemaker/pcmk_sched_recurring.c if (op_cannot_recur(op->name)) { name 149 lib/pacemaker/pcmk_sched_recurring.c op->id, pcmk__s(op->name, "unnamed")); name 154 lib/pacemaker/pcmk_sched_recurring.c if (is_op_dup(rsc, op->name, op->interval_ms)) { name 172 lib/pacemaker/pcmk_sched_recurring.c if (pcmk__find_action_config(rsc, op->name, op->interval_ms, name 178 lib/pacemaker/pcmk_sched_recurring.c op->name, rsc->id); name 182 lib/pacemaker/pcmk_sched_recurring.c op->key = pcmk__op_key(rsc->id, op->name, op->interval_ms); name 281 lib/pacemaker/pcmk_sched_recurring.c pcmk_action_t *cancel_op = pcmk__new_cancel_action(rsc, op->name, name 325 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, name 391 lib/pacemaker/pcmk_sched_recurring.c const char *key, const char *name, guint interval_ms) name 401 lib/pacemaker/pcmk_sched_recurring.c cancel_op = pcmk__new_cancel_action(rsc, name, interval_ms, node); name 421 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), name, rsc->id, name 527 lib/pacemaker/pcmk_sched_recurring.c cancel_if_running(rsc, node, op->key, op->name, op->interval_ms); name 542 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, name 304 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 375 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 451 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 338 lib/pacemaker/pcmk_scheduler.c rsc->xml->name, rsc->id); name 317 lib/pengine/bundle.c create_resource(const char *name, const char *provider, const char *kind) name 321 lib/pengine/bundle.c crm_xml_add(rsc, PCMK_XA_ID, name); name 1153 lib/pengine/bundle.c : (const char *)xml_resource->name)); name 1156 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); name 1572 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, show_opts, name 1577 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, name 1582 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, name 1587 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, name 1716 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, name 1721 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, name 1727 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, name 1733 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, name 1857 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, name 1862 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, name 1868 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, name 1874 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, name 413 lib/pengine/clone.c if (pcmk__str_any_of((const char *) a_child->name, name 917 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, name 1053 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, name 50 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) name 52 lib/pengine/common.c return pcmk__cluster_option(options, name); name 86 lib/pengine/complex.c get_resource_type(const char *name) name 88 lib/pengine/complex.c if (pcmk__str_eq(name, PCMK_XE_PRIMITIVE, pcmk__str_casei)) { name 91 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_GROUP, pcmk__str_casei)) { name 94 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_CLONE, pcmk__str_casei)) { name 97 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK__XE_PROMOTABLE_LEGACY, name 102 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_BUNDLE, pcmk__str_casei)) { name 201 lib/pengine/complex.c dup_attr((gpointer) a->name, (gpointer) a->children->content, name 278 lib/pengine/complex.c const char *name = crm_element_value(op, PCMK_XA_NAME); name 288 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); name 317 lib/pengine/complex.c pcmk__config_err("'%s' object must have a id", xml_obj->name); name 342 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); name 424 lib/pengine/complex.c pcmk__config_err("'%s' object must have a id", xml_obj->name); name 721 lib/pengine/complex.c xml_obj->name); name 753 lib/pengine/complex.c (*rsc)->variant = get_resource_type((const char *) (*rsc)->xml->name); name 756 lib/pengine/complex.c id, (*rsc)->xml->name); name 186 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 188 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pcmk_rsc_unique)? strdup(name) : clone_strip(name); name 389 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, name 447 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, name 326 lib/pengine/native.c const char *name, pcmk_scheduler_t *scheduler) name 332 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); name 334 lib/pengine/native.c pcmk__rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); name 336 lib/pengine/native.c value = g_hash_table_lookup(params, name); name 339 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); name 559 lib/pengine/native.c pcmk__native_output_string(const pcmk_resource_t *rsc, const char *name, name 573 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); name 593 lib/pengine/native.c name, "\t(", class, ((provider == NULL)? "" : PROVIDER_SEP), name 727 lib/pengine/native.c const char *name, const pcmk_node_t *node, name 773 lib/pengine/native.c content = pcmk__native_output_string(rsc, name, node, show_opts, name 783 lib/pengine/native.c const char *name, const pcmk_node_t *node, name 804 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 819 lib/pengine/native.c common_print(pcmk_resource_t *rsc, const char *pre_text, const char *name, name 870 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, name 455 lib/pengine/pe_actions.c const char *name = NULL; name 498 lib/pengine/pe_actions.c name = crm_element_value(operation, PCMK_XA_NAME); name 500 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, PCMK_ACTION_MONITOR, pcmk__str_none) name 540 lib/pengine/pe_actions.c name = crm_element_value(action_config, PCMK_XA_NAME); name 545 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, PCMK_ACTION_PROMOTE, pcmk__str_none) name 547 lib/pengine/pe_actions.c || !pcmk__str_eq(name, PCMK_ACTION_MONITOR, pcmk__str_none) name 553 lib/pengine/pe_actions.c "allowed for it", rsc->id, name); name 774 lib/pengine/pe_actions.c pcmk__insert_dup(meta, (const char *) attr->name, name 1177 lib/pengine/pe_actions.c get_pseudo_op(const char *name, pcmk_scheduler_t *scheduler) name 1179 lib/pengine/pe_actions.c pcmk_action_t *op = lookup_singleton(scheduler, name); name 1182 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, scheduler); name 1418 lib/pengine/pe_actions.c get_complex_task(const pcmk_resource_t *rsc, const char *name) name 1420 lib/pengine/pe_actions.c enum action_tasks task = pcmk_parse_action(name); name 1429 lib/pengine/pe_actions.c name, rsc->id); name 55 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 57 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) == NULL) { name 59 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 62 lib/pengine/pe_digest.c free(name); name 71 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 73 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) != NULL) { name 75 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 78 lib/pengine/pe_digest.c free(name); name 172 lib/pengine/pe_digest.c return pcmk_stonith_param((const char *) attr->name); name 133 lib/pengine/pe_health.c const char *name = NULL; name 147 lib/pengine/pe_health.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 149 lib/pengine/pe_health.c if (pcmk__starts_with(name, "#health")) { name 168 lib/pengine/pe_health.c name, pcmk__node_name(node), value, name 265 lib/pengine/pe_notif.c pcmk__insert_meta(action, nvpair->name, nvpair->value); name 72 lib/pengine/pe_output.c const char *name = NULL; name 87 lib/pengine/pe_output.c name = g_hash_table_lookup(params, PCMK_XA_NAME); name 89 lib/pengine/pe_output.c if (name == NULL) { name 90 lib/pengine/pe_output.c name = "pingd"; name 94 lib/pengine/pe_output.c if (pcmk__str_eq(name, attrname, pcmk__str_casei)) { name 124 lib/pengine/pe_output.c filter_attr_list(GList *attr_list, char *name) name 129 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); name 133 lib/pengine/pe_output.c if (g_str_has_prefix(name, filt_str[i])) { name 138 lib/pengine/pe_output.c return g_list_insert_sorted(attr_list, name, compare_attribute); name 2119 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 2133 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); name 2135 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); name 2137 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 2140 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 2149 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 2164 lib/pengine/pe_output.c pcmk__xe_set_content(child, "%s: %s", name, value); name 2179 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); name 2309 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 2315 lib/pengine/pe_output.c PCMK_XA_NAME, name, name 2371 lib/pengine/pe_output.c const char *name = aIter->data; name 2376 lib/pengine/pe_output.c value = pcmk__node_attr(node, name, NULL, pcmk__rsc_node_current); name 2379 lib/pengine/pe_output.c scheduler, name, &expected_score); name 2382 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, name 3224 lib/pengine/pe_output.c const char *name = NULL; name 3232 lib/pengine/pe_output.c while (g_hash_table_iter_next(&iter, (void **) &name, (void **) &value)) { name 3234 lib/pengine/pe_output.c g_string_append_printf(detail_str, ", %s=", name); name 3236 lib/pengine/pe_output.c g_string_append_printf(detail_str, "%s=", name); name 3240 lib/pengine/pe_output.c if (pcmk__str_any_of(name, PCMK_XA_LAST_GRANTED, "expires", NULL)) { name 3310 lib/pengine/pe_output.c const char *name = NULL; name 3329 lib/pengine/pe_output.c while (g_hash_table_iter_next(&iter, (void **) &name, (void **) &value)) { name 3333 lib/pengine/pe_output.c if (pcmk__str_any_of(name, PCMK_XA_LAST_GRANTED, PCMK_XA_EXPIRES, name 3338 lib/pengine/pe_output.c crm_xml_add(node, name, value); name 126 lib/pengine/rules.c const char *name = NULL; name 142 lib/pengine/rules.c name = crm_element_value(an_attr, PCMK_XA_NAME); name 143 lib/pengine/rules.c if ((name == NULL) && (ref_nvpair != NULL)) { name 144 lib/pengine/rules.c name = crm_element_value(ref_nvpair, PCMK_XA_NAME); name 152 lib/pengine/rules.c if (name == NULL || value == NULL) { name 156 lib/pengine/rules.c old_value = g_hash_table_lookup(hash, name); name 163 lib/pengine/rules.c "release", name); name 166 lib/pengine/rules.c name, value); name 167 lib/pengine/rules.c g_hash_table_remove(hash, name); name 172 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); name 173 lib/pengine/rules.c pcmk__insert_dup(hash, name, value); name 177 lib/pengine/rules.c name, value, old_value); name 178 lib/pengine/rules.c pcmk__insert_dup(hash, name, value); name 109 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, PCMK_XA_NAME); name 115 lib/pengine/rules_alerts.c pcmk__insert_dup(entry->envvars, name, value); name 117 lib/pengine/rules_alerts.c entry->id, name, value); name 90 lib/pengine/tests/native/native_find_rsc_test.c char *name = NULL; name 98 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("%sX", rsc->id); name 99 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 100 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 102 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("x%s", rsc->id); name 103 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 104 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 106 lib/pengine/tests/native/native_find_rsc_test.c name = g_ascii_strup(rsc->id, -1); name 107 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 108 lib/pengine/tests/native/native_find_rsc_test.c g_free(name); name 570 lib/pengine/unpack.c const char *name = crm_element_value(attr, PCMK_XA_NAME); name 572 lib/pengine/unpack.c if (name == NULL) { // Sanity name 576 lib/pengine/unpack.c if (strcmp(name, PCMK_META_REMOTE_NODE) == 0) { name 579 lib/pengine/unpack.c } else if (strcmp(name, PCMK_META_REMOTE_ADDR) == 0) { name 582 lib/pengine/unpack.c } else if (strcmp(name, PCMK_META_REMOTE_PORT) == 0) { name 585 lib/pengine/unpack.c } else if (strcmp(name, PCMK_META_REMOTE_CONNECT_TIMEOUT) == 0) { name 588 lib/pengine/unpack.c } else if (strcmp(name, PCMK_META_REMOTE_ALLOW_MIGRATE) == 0) { name 591 lib/pengine/unpack.c } else if (strcmp(name, PCMK_META_IS_MANAGED) == 0) { name 886 lib/pengine/unpack.c xml_obj->name); name 899 lib/pengine/unpack.c crm_trace("Unpacking <%s " PCMK_XA_ID "='%s'>", xml_obj->name, id); name 908 lib/pengine/unpack.c xml_obj->name, id); name 991 lib/pengine/unpack.c (const char *) xml_tag->name); name 1006 lib/pengine/unpack.c xml_obj_ref->name, tag_id); name 1048 lib/pengine/unpack.c const char *prop_name = (const char *)xIter->name; name 883 lib/pengine/utils.c pe__failed_probe_for_rsc(const pcmk_resource_t *rsc, const char *name) name 908 lib/pengine/utils.c if (value == NULL || !pcmk__str_eq(value, name, pcmk__str_casei|pcmk__str_null_matches)) { name 383 lib/services/dbus.c error.name, error.message); name 566 lib/services/dbus.c typedef void (*property_callback_func)(const char *name, // Property name name 572 lib/services/dbus.c char *name; // Property name being queried name 584 lib/services/dbus.c free(data->name); name 602 lib/services/dbus.c data->object, data->name, error.message); name 612 lib/services/dbus.c data->object, data->name); name 621 lib/services/dbus.c "Unexpected variant type", data->object, data->name); name 631 lib/services/dbus.c data->object, data->name); name 637 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); name 642 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); name 645 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); name 696 lib/services/dbus.c const char *obj, const gchar * iface, const char *name, name 705 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); name 708 lib/services/dbus.c target, obj, name); name 714 lib/services/dbus.c "Unable to create message", obj, name); name 721 lib/services/dbus.c DBUS_TYPE_STRING, &name, name 724 lib/services/dbus.c "Could not append arguments", obj, name); name 732 lib/services/dbus.c obj, name); name 741 lib/services/dbus.c query_data->name = strdup(name); name 744 lib/services/dbus.c && (query_data->name != NULL), name 37 lib/services/pcmk-dbus.h DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name, name 38 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, name 197 lib/services/services.c required_argument_missing(uint32_t ra_caps, const char *name, name 201 lib/services/services.c if (pcmk__str_empty(name)) { name 208 lib/services/services.c name); name 215 lib/services/services.c "without provider (bug?)", standard, name); name 221 lib/services/services.c name); name 227 lib/services/services.c name); name 235 lib/services/services.c copy_action_arguments(svc_action_t *op, uint32_t ra_caps, const char *name, name 239 lib/services/services.c op->rsc = strdup(name); name 249 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); name 273 lib/services/services.c services__create_resource_action(const char *name, const char *standard, name 304 lib/services/services.c if (required_argument_missing(ra_caps, name, standard, provider, agent, name 312 lib/services/services.c op->id = pcmk__op_key(name, action, interval_ms); name 314 lib/services/services.c if (copy_action_arguments(op, ra_caps, name, standard, provider, agent, name 317 lib/services/services.c action, name, strerror(ENOMEM)); name 348 lib/services/services.c action, name, strerror(rc)); name 355 lib/services/services.c resources_action_create(const char *name, const char *standard, name 360 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, name 684 lib/services/services.c services_action_cancel(const char *name, const char *action, guint interval_ms) name 687 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 752 lib/services/services.c services_action_kick(const char *name, const char *action, guint interval_ms) name 755 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 917 lib/services/services_linux.c const char *name = op->opaque->exec; name 919 lib/services/services_linux.c if (name == NULL) { name 920 lib/services/services_linux.c name = op->agent; name 921 lib/services/services_linux.c if (name == NULL) { name 922 lib/services/services_linux.c name = op->id; name 934 lib/services/services_linux.c name, pcmk_rc_str(error)); name 940 lib/services/services_linux.c name, pcmk_rc_str(error)); name 331 lib/services/services_lsb.c services_action_create(const char *name, const char *action, name 334 lib/services/services_lsb.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, name 155 lib/services/services_nagios.c services__nagios_agent_exists(const char *name) name 161 lib/services/services_nagios.c if (name == NULL) { name 165 lib/services/services_nagios.c buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name); name 124 lib/services/systemd.c method, error.message, error.name); name 161 lib/services/systemd.c systemd_get_property(const char *unit, const char *name, name 162 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), name 167 lib/services/systemd.c name, callback, userdata, pending, timeout) name 193 lib/services/systemd.c systemd_unit_extension(const char *name) name 195 lib/services/systemd.c if (name) { name 196 lib/services/systemd.c const char *dot = strrchr(name, '.'); name 210 lib/services/systemd.c systemd_service_name(const char *name, bool add_instance_name) name 214 lib/services/systemd.c if (pcmk__str_empty(name)) { name 227 lib/services/systemd.c dot = systemd_unit_extension(name); name 230 lib/services/systemd.c if (dot != name && *(dot-1) == '@') { name 233 lib/services/systemd.c if (asprintf(&s, "%.*spacemaker%s", (int) (dot-name), name, dot) == -1) { name 235 lib/services/systemd.c return strdup(name); name 240 lib/services/systemd.c return strdup(name); name 243 lib/services/systemd.c } else if (add_instance_name && *(name+strlen(name)-1) == '@') { name 244 lib/services/systemd.c return crm_strdup_printf("%spacemaker.service", name); name 247 lib/services/systemd.c return crm_strdup_printf("%s.service", name); name 308 lib/services/systemd.c if (strstr(error->name, "org.freedesktop.systemd1.InvalidName") name 309 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.LoadFailed") name 310 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.NoSuchUnit")) { name 315 lib/services/systemd.c error->name, pcmk__s(op->rsc, "unknown resource")); name 441 lib/services/systemd.c char *name = NULL; name 463 lib/services/systemd.c name = systemd_service_name(arg_name, name 468 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, name 470 lib/services/systemd.c free(name); name 639 lib/services/systemd.c systemd_unit_exists(const char *name) name 647 lib/services/systemd.c if ((invoke_unit_by_name(name, NULL, &path) != pcmk_rc_ok) name 698 lib/services/systemd.c systemd_unit_metadata(const char *name, int timeout) name 704 lib/services/systemd.c if (invoke_unit_by_name(name, NULL, &path) == pcmk_rc_ok) { name 709 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); name 715 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, escaped, name); name 719 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, desc, name); name 912 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) name 917 lib/services/systemd.c pcmk__s(op->rsc, "(unspecified)"), name, name 1013 lib/services/systemd.c char *name = systemd_service_name(op->agent, name 1018 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 1021 lib/services/systemd.c free(name); name 27 lib/services/systemd.h G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); name 284 lib/services/upstart.c upstart_job_exists(const char *name) name 286 lib/services/upstart.c return object_path_for_job(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); name 358 lib/services/upstart.c parse_status_result(const char *name, const char *state, void *userdata) name 408 lib/services/upstart.c upstart_job_metadata(const char *name) name 410 lib/services/upstart.c return crm_strdup_printf(METADATA_FORMAT, name, name, name); name 426 lib/services/upstart.c if (strstr(error->name, UPSTART_06_API ".Error.UnknownInstance")) { name 431 lib/services/upstart.c error->name, pcmk__s(op->rsc, "unknown resource")); name 440 lib/services/upstart.c && strstr(error->name, UPSTART_06_API ".Error.AlreadyStarted")) { name 443 lib/services/upstart.c error->name, pcmk__s(op->rsc, "unknown resource")); name 28 lib/services/upstart.h G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); name 137 libltdl/libltdl/lt__private.h #define LT__STRERROR(name) lt__error_string(LT_CONC(LT_ERROR_,name)) name 63 libltdl/libltdl/lt_dlloader.h const char * name; name 77 libltdl/libltdl/lt_dlloader.h LT_SCOPE lt_dlvtable * lt_dlloader_remove (const char *name); name 78 libltdl/libltdl/lt_dlloader.h LT_SCOPE const lt_dlvtable *lt_dlloader_find (const char *name); name 68 libltdl/loaders/dld_link.c if (vtable && !vtable->name) name 70 libltdl/loaders/dld_link.c vtable->name = "lt_dld_link"; name 148 libltdl/loaders/dld_link.c const char *name) name 150 libltdl/loaders/dld_link.c void *address = dld_get_func (name); name 68 libltdl/loaders/dlopen.c if (vtable && !vtable->name) name 70 libltdl/loaders/dlopen.c vtable->name = "lt_dlopen"; name 265 libltdl/loaders/dlopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/dlopen.c void *address = dlsym (module, name); name 69 libltdl/loaders/dyld.c if (vtable && !vtable->name) name 71 libltdl/loaders/dyld.c vtable->name = "lt_dyld"; name 170 libltdl/loaders/dyld.c static const mach_header *lt__match_loadedlib (const char *name); name 322 libltdl/loaders/dyld.c vm_sym (lt_user_data loader_data, lt_module module, const char *name) name 331 libltdl/loaders/dyld.c _dyld_lookup_and_bind (name, (unsigned long*) &address, &unused); name 339 libltdl/loaders/dyld.c if (lt__image_symbol_p (mh, name)) name 341 libltdl/loaders/dyld.c nssym = lt__image_symbol (mh, name, LT__SYMLOOKUP_OPTS); name 348 libltdl/loaders/dyld.c nssym = NSLookupSymbolInModule (module, name); name 359 libltdl/loaders/dyld.c nssym = lt__linkedlib_symbol (name, mh); name 437 libltdl/loaders/dyld.c result=(char*)(((dylib_command*) lc)->dylib.name.offset + name 447 libltdl/loaders/dyld.c lt__match_loadedlib (const char *name) name 458 libltdl/loaders/dyld.c if (id && strneq (id, name)) name 485 libltdl/loaders/dyld.c unsigned long base = ((dylib_command *) lc)->dylib.name.offset; name 486 libltdl/loaders/dyld.c char *name = (char *) (base + (unsigned long) lc); name 487 libltdl/loaders/dyld.c const mach_header *mh1 = lt__match_loadedlib (name); name 492 libltdl/loaders/dyld.c mh1 = lt__addimage (name, name 68 libltdl/loaders/load_add_on.c if (vtable && !vtable->name) name 70 libltdl/loaders/load_add_on.c vtable->name = "lt_load_add_on"; name 122 libltdl/loaders/load_add_on.c image = load_add_on (info.name); name 155 libltdl/loaders/load_add_on.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 160 libltdl/loaders/load_add_on.c if (get_image_symbol (image, name, B_SYMBOL_TYPE_ANY, address) != B_OK) name 74 libltdl/loaders/loadlibrary.c if (vtable && !vtable->name) name 76 libltdl/loaders/loadlibrary.c vtable->name = "lt_loadlibrary"; name 265 libltdl/loaders/loadlibrary.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/loadlibrary.c void *address = (void *) GetProcAddress ((HMODULE) module, name); name 69 libltdl/loaders/preopen.c if (vtable && !vtable->name) name 71 libltdl/loaders/preopen.c vtable->name = "lt_preopen"; name 169 libltdl/loaders/preopen.c for (symbol= lists->symlist; symbol->name; ++symbol) name 171 libltdl/loaders/preopen.c if (!symbol->address && STREQ (symbol->name, filename)) name 179 libltdl/loaders/preopen.c if (next_symbol->address && next_symbol->name) name 209 libltdl/loaders/preopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/preopen.c if (symbol[1].name && STREQ (symbol[1].name, "@INIT@")) name 220 libltdl/loaders/preopen.c while (symbol->name) name 222 libltdl/loaders/preopen.c if (STREQ (symbol->name, name)) name 282 libltdl/loaders/preopen.c if (symlist[1].name && STREQ (symlist[1].name, "@INIT@")) name 351 libltdl/loaders/preopen.c if ((originator && STREQ (list->symlist->name, originator)) name 352 libltdl/loaders/preopen.c || (!originator && STREQ (list->symlist->name, "@PROGRAM@"))) name 361 libltdl/loaders/preopen.c while ((symbol = &list->symlist[++idx])->name != 0) name 364 libltdl/loaders/preopen.c && (STRNEQ (symbol->name, "@PROGRAM@"))) name 366 libltdl/loaders/preopen.c lt_dlhandle handle = lt_dlopen (symbol->name); name 68 libltdl/loaders/shl_load.c if (vtable && !vtable->name) name 70 libltdl/loaders/shl_load.c vtable->name = "lt_shl_load"; name 204 libltdl/loaders/shl_load.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/shl_load.c else if (!shl_findsym((shl_t*) &module, name, TYPE_UNDEFINED, &address)) name 52 libltdl/lt_dlloader.c const char * name = (const char *) userdata; name 56 libltdl/lt_dlloader.c return STREQ (vtable->name, name) ? (void *) item : NULL; name 106 libltdl/lt_dlloader.c fprintf (stderr, ", %s", (vtable && vtable->name) ? vtable->name : "(null)"); name 121 libltdl/lt_dlloader.c fprintf (stderr, "%s", (head && head->name) ? head->name : "(null)"); name 154 libltdl/lt_dlloader.c lt_dlloader_remove (const char *name) name 156 libltdl/lt_dlloader.c const lt_dlvtable * vtable = lt_dlloader_find (name); name 203 libltdl/lt_dlloader.c slist_unbox ((SList *) slist_remove (&loaders, loader_callback, (void *) name)); name 208 libltdl/lt_dlloader.c lt_dlloader_find (const char *name) name 210 libltdl/lt_dlloader.c return lt_dlloader_get (slist_find (loaders, loader_callback, (void *) name)); name 38 libltdl/lt_error.c #define LT_ERROR(name, diagnostic) diagnostic, name 340 libltdl/ltdl.c if ((vtable = lt_dlloader_remove ((char *) vtable->name))) name 378 libltdl/ltdl.c vtable ? vtable->name : "(ALL)"); name 441 libltdl/ltdl.c (loader_vtable && loader_vtable->name) ? loader_vtable->name : "(null)", name 914 libltdl/ltdl.c char *name; name 920 libltdl/ltdl.c name = MALLOC (char, 1+ name_len); name 921 libltdl/ltdl.c if (name) name 922 libltdl/ltdl.c sprintf (name, "lib%s", p+2); name 925 libltdl/ltdl.c name = lt__strdup(p); name 927 libltdl/ltdl.c if (!name) name 930 libltdl/ltdl.c names[depcount++] = name; name 1167 libltdl/ltdl.c char * name = 0; name 1260 libltdl/ltdl.c name = MALLOC (char, ext - base_name + 1); name 1261 libltdl/ltdl.c if (!name) name 1274 libltdl/ltdl.c name[i] = base_name[i]; name 1278 libltdl/ltdl.c name[i] = '_'; name 1281 libltdl/ltdl.c name[ext - base_name] = LT_EOS_CHAR; name 1293 libltdl/ltdl.c archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2); name 1305 libltdl/ltdl.c if (strncmp(name, "lib", 3) == 0) name 1307 libltdl/ltdl.c sprintf (archive_name, "%s%s.%s", libprefix, name + 3, libext); name 1311 libltdl/ltdl.c sprintf (archive_name, "%s.%s", name, libext); name 1501 libltdl/ltdl.c MEMREASSIGN ((*phandle)->info.name, name); name 1512 libltdl/ltdl.c FREE (name); name 1996 libltdl/ltdl.c FREE (cur->info.name); name 2037 libltdl/ltdl.c + LT_STRLEN (handle->info.name); name 2054 libltdl/ltdl.c if (handle->info.name) name 2064 libltdl/ltdl.c strcat(sym, handle->info.name); name 2068 libltdl/ltdl.c strcpy(sym, handle->info.name); name 2438 libltdl/ltdl.c if (cur && cur->info.name && STREQ (cur->info.name, module_name)) name 81 libltdl/ltdl.h LT_SCOPE void * lt_dlsym (lt_dlhandle handle, const char *name); name 93 libltdl/ltdl.h const char *name; name 133 libltdl/ltdl.h char * name; /* module name */ name 131 maint/gnulib/lib/acl-internal.h # define acl_extended_file(name) (-1) name 117 maint/gnulib/lib/argp-help.c const char name[14]; /* User name. */ name 154 maint/gnulib/lib/argp-help.c "rmargin", up->name); name 221 maint/gnulib/lib/argp-help.c if (strlen (un->name) == var_len name 222 maint/gnulib/lib/argp-help.c && strncmp (var, un->name, var_len) == 0) name 488 maint/gnulib/lib/argp-help.c : ((!o->name && !o->key) name 602 maint/gnulib/lib/argp-help.c if (opt->name) name 636 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 637 maint/gnulib/lib/argp-help.c return opt->name; name 644 maint/gnulib/lib/argp-help.c hol_find_entry (struct hol *hol, const char *name) name 655 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt) && strcmp (opt->name, name) == 0) name 669 maint/gnulib/lib/argp-help.c hol_set_group (struct hol *hol, const char *name, int group) name 671 maint/gnulib/lib/argp-help.c struct hol_entry *entry = hol_find_entry (hol, name); name 779 maint/gnulib/lib/argp-help.c canon_doc_option (const char **name) name 783 maint/gnulib/lib/argp-help.c while (isspace ((unsigned char) **name)) name 784 maint/gnulib/lib/argp-help.c (*name)++; name 786 maint/gnulib/lib/argp-help.c non_opt = (**name != '-'); name 788 maint/gnulib/lib/argp-help.c while (**name && !isalnum ((unsigned char) **name)) name 789 maint/gnulib/lib/argp-help.c (*name)++; name 1240 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1273 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1282 maint/gnulib/lib/argp-help.c opt->name)); name 1290 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1293 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, "--%s", opt->name); name 1305 maint/gnulib/lib/argp-help.c if (!oshort (real) && !real->name) name 1448 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s[=%s]]", opt->name, arg); name 1450 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s=%s]", opt->name, arg); name 1453 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s]", opt->name); name 1677 maint/gnulib/lib/argp-help.c unsigned flags, char *name) name 1731 maint/gnulib/lib/argp-help.c name); name 1735 maint/gnulib/lib/argp-help.c name); name 1775 maint/gnulib/lib/argp-help.c name, name); name 1819 maint/gnulib/lib/argp-help.c unsigned flags, char *name) name 1821 maint/gnulib/lib/argp-help.c _help (argp, 0, stream, flags, name); name 1832 maint/gnulib/lib/argp-help.c char *name = strrchr (program_invocation_name, '/'); name 1833 maint/gnulib/lib/argp-help.c return name ? name + 1 : program_invocation_name; name 1857 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); name 1899 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name (), buf); name 1903 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), name 1951 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); name 1953 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), name 112 maint/gnulib/lib/argp-parse.c state->name = __argp_base_name (arg); name 115 maint/gnulib/lib/argp-parse.c program_invocation_short_name = state->name; name 177 maint/gnulib/lib/argp-parse.c find_long_option (struct option *long_options, const char *name) name 180 maint/gnulib/lib/argp-parse.c while (l->name != NULL) name 181 maint/gnulib/lib/argp-parse.c if (name != NULL && strcmp (l->name, name) == 0) name 185 maint/gnulib/lib/argp-parse.c if (name == NULL) name 325 maint/gnulib/lib/argp-parse.c if (opt->name name 326 maint/gnulib/lib/argp-parse.c && find_long_option (cvt->parser->long_opts, opt->name) < 0) name 329 maint/gnulib/lib/argp-parse.c cvt->long_end->name = opt->name; name 348 maint/gnulib/lib/argp-parse.c (++cvt->long_end)->name = NULL; name 407 maint/gnulib/lib/argp-parse.c cvt.long_end->name = NULL; name 562 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_base_name (argv[0]); name 564 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_short_program_name (); name 614 maint/gnulib/lib/argp-parse.c parser->state.name); name 766 maint/gnulib/lib/argp-parse.c while (long_opt->val != opt && long_opt->name) name 769 maint/gnulib/lib/argp-parse.c long_opt->name ? long_opt->name : "???", name 33 maint/gnulib/lib/argp-version-etc.c argp_version_setup (const char *name, const char * const *authors) name 36 maint/gnulib/lib/argp-version-etc.c program_canonical_name = name; name 34 maint/gnulib/lib/argp-version-etc.h extern void argp_version_setup (const char *name, const char * const *authors); name 73 maint/gnulib/lib/argp.h const char *name; name 346 maint/gnulib/lib/argp.h char *name; name 627 maint/gnulib/lib/argp.h return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; name 30 maint/gnulib/lib/basename-lgpl.c last_component (char const *name) name 32 maint/gnulib/lib/basename-lgpl.c char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); name 54 maint/gnulib/lib/basename-lgpl.c base_len (char const *name) name 57 maint/gnulib/lib/basename-lgpl.c size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 59 maint/gnulib/lib/basename-lgpl.c for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) name 63 maint/gnulib/lib/basename-lgpl.c && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) name 67 maint/gnulib/lib/basename-lgpl.c && len == prefix_len && ISSLASH (name[prefix_len])) name 27 maint/gnulib/lib/basename.c base_name (char const *name) name 29 maint/gnulib/lib/basename.c char const *base = last_component (name); name 48 maint/gnulib/lib/basename.c base = name; name 108 maint/gnulib/lib/bitset/stats.c bitset_percent_histogram_print (FILE *file, const char *name, const char *msg, name 118 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s %s", name, msg); name 129 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (FILE *file, const char *name, const char *msg, name 150 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s %s", name, msg); name 176 maint/gnulib/lib/bitset/stats.c bitset_stats_print_1 (FILE *file, const char *name, name 182 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s:\n", name); name 198 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (file, name, _("count log histogram\n"), name 201 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (file, name, _("size log histogram\n"), name 204 maint/gnulib/lib/bitset/stats.c bitset_percent_histogram_print (file, name, _("density histogram\n"), name 202 maint/gnulib/lib/canonicalize-lgpl.c realpath_stk (const char *name, char *resolved, name 210 maint/gnulib/lib/canonicalize-lgpl.c if (name == NULL) name 220 maint/gnulib/lib/canonicalize-lgpl.c if (name[0] == '\0') name 239 maint/gnulib/lib/canonicalize-lgpl.c idx_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 241 maint/gnulib/lib/canonicalize-lgpl.c if (!IS_ABSOLUTE_FILE_NAME (name)) name 255 maint/gnulib/lib/canonicalize-lgpl.c start = name; name 260 maint/gnulib/lib/canonicalize-lgpl.c dest = __mempcpy (rname, name, prefix_len); name 265 maint/gnulib/lib/canonicalize-lgpl.c && ISSLASH (name[1]) && !ISSLASH (name[2])) name 269 maint/gnulib/lib/canonicalize-lgpl.c start = name + prefix_len; name 362 maint/gnulib/lib/canonicalize-lgpl.c name = end = memcpy (extra_buf, buf, n); name 435 maint/gnulib/lib/canonicalize-lgpl.c __realpath (const char *name, char *resolved) name 442 maint/gnulib/lib/canonicalize-lgpl.c return realpath_stk (name, resolved, &rname_buffer); name 453 maint/gnulib/lib/canonicalize-lgpl.c __old_realpath (const char *name, char *resolved) name 461 maint/gnulib/lib/canonicalize-lgpl.c return __realpath (name, resolved); name 468 maint/gnulib/lib/canonicalize-lgpl.c __canonicalize_file_name (const char *name) name 470 maint/gnulib/lib/canonicalize-lgpl.c return __realpath (name, NULL); name 130 maint/gnulib/lib/canonicalize.c canonicalize_file_name (const char *name) name 132 maint/gnulib/lib/canonicalize.c return canonicalize_filename_mode (name, CAN_EXISTING); name 186 maint/gnulib/lib/canonicalize.c canonicalize_filename_mode_stk (const char *name, canonicalize_mode_t can_mode, name 203 maint/gnulib/lib/canonicalize.c if (name == NULL) name 209 maint/gnulib/lib/canonicalize.c if (name[0] == '\0') name 226 maint/gnulib/lib/canonicalize.c idx_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 228 maint/gnulib/lib/canonicalize.c if (!IS_ABSOLUTE_FILE_NAME (name)) name 248 maint/gnulib/lib/canonicalize.c start = name; name 253 maint/gnulib/lib/canonicalize.c dest = mempcpy (rname, name, prefix_len); name 258 maint/gnulib/lib/canonicalize.c && ISSLASH (name[1]) && !ISSLASH (name[2])) name 266 maint/gnulib/lib/canonicalize.c for (i = 2; name[i] != '\0' && !ISSLASH (name[i]); ) name 268 maint/gnulib/lib/canonicalize.c if (name[i] != '\0' /* implies ISSLASH (name[i]) */ name 272 maint/gnulib/lib/canonicalize.c memcpy (dest, name + 2, i - 2 + 1); name 287 maint/gnulib/lib/canonicalize.c start = name + prefix_len; name 405 maint/gnulib/lib/canonicalize.c name = end = memcpy (extra_buf, buf, n); name 481 maint/gnulib/lib/canonicalize.c canonicalize_filename_mode (const char *name, canonicalize_mode_t can_mode) name 488 maint/gnulib/lib/canonicalize.c return canonicalize_filename_mode_stk (name, can_mode, &rname_buffer); name 50 maint/gnulib/lib/cdefs.h # define __glibc_has_builtin(name) __has_builtin (name) name 52 maint/gnulib/lib/cdefs.h # define __glibc_has_builtin(name) 0 name 203 maint/gnulib/lib/cdefs.h # define __errordecl(name, msg) \ name 204 maint/gnulib/lib/cdefs.h extern void name (void) __attribute__((__error__ (msg))) name 207 maint/gnulib/lib/cdefs.h # define __errordecl(name, msg) extern void name (void) name 246 maint/gnulib/lib/cdefs.h # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) name 248 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH(name, proto, alias) \ name 249 maint/gnulib/lib/cdefs.h name proto __THROW __asm__ (__ASMNAME (#alias)) name 250 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTHNL(name, proto, alias) \ name 251 maint/gnulib/lib/cdefs.h name proto __THROWNL __asm__ (__ASMNAME (#alias)) name 253 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH(name, proto, alias) \ name 254 maint/gnulib/lib/cdefs.h name proto __asm__ (__ASMNAME (#alias)) __THROW name 255 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTHNL(name, proto, alias) \ name 256 maint/gnulib/lib/cdefs.h name proto __asm__ (__ASMNAME (#alias)) __THROWNL name 566 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) ... unused__ldbl_redir name 567 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) \ name 568 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee128")); name 571 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) \ name 572 maint/gnulib/lib/cdefs.h extern __typeof (__##name) __##name \ name 573 maint/gnulib/lib/cdefs.h __asm (__ASMNAME ("__" #name "ieee128")); name 576 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) ... unused__ldbl_redir1 name 577 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_DECL(name, alias) \ name 578 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME (#alias)); name 580 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) \ name 581 maint/gnulib/lib/cdefs.h __REDIRECT_NTH (name, proto, alias) name 582 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 583 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __##alias##ieee128) name 586 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) ... unused__redirect_ldbl name 587 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) ... unused__ldbl_redir_nth name 595 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias) name 596 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) \ name 597 maint/gnulib/lib/cdefs.h __LDBL_REDIR1 (name, proto, __nldbl_##name) name 598 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias) name 599 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) \ name 600 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __nldbl_##name) name 601 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) \ name 602 maint/gnulib/lib/cdefs.h extern __typeof (__##name) __##name __asm (__ASMNAME ("__nldbl___" #name)); name 603 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_DECL(name, alias) \ name 604 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME (#alias)); name 605 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) \ name 606 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME ("__nldbl_" #name)); name 607 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) \ name 608 maint/gnulib/lib/cdefs.h __LDBL_REDIR1 (name, proto, __nldbl_##alias) name 609 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 610 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias) name 615 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) name proto name 616 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) name proto name 617 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW name 618 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) name proto __THROW name 619 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) name 620 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) name 622 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias) name 623 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 624 maint/gnulib/lib/cdefs.h __REDIRECT_NTH (name, proto, alias) name 908 maint/gnulib/lib/dfa.c const char *name; name 932 maint/gnulib/lib/dfa.c for (int i = 0; prednames[i].name; i++) name 933 maint/gnulib/lib/dfa.c if (streq (str, prednames[i].name)) name 26 maint/gnulib/lib/dirent-safer.h DIR *opendir_safer (const char *name) name 89 maint/gnulib/lib/duplocale.c char name[SETLOCALE_NULL_MAX]; name 91 maint/gnulib/lib/duplocale.c err = setlocale_null_r (category, name, sizeof (name)); name 97 maint/gnulib/lib/duplocale.c if (strcmp (name, base_name) != 0) name 99 maint/gnulib/lib/duplocale.c locale_t copy = newlocale (category_mask, name, base_copy); name 37 maint/gnulib/lib/faccessat.c orig_faccessat (int fd, char const *name, int mode, int flag) name 39 maint/gnulib/lib/faccessat.c return faccessat (fd, name, mode, flag); name 51 maint/gnulib/lib/fchdir.c char *name; /* Absolute name of the directory, or NULL. */ name 64 maint/gnulib/lib/fchdir.c free (dirs[fd].name); name 118 maint/gnulib/lib/fchdir.c free (dirs[fd].name); name 119 maint/gnulib/lib/fchdir.c dirs[fd].name = NULL; name 138 maint/gnulib/lib/fchdir.c || (dirs[fd].name = get_name (filename)) == NULL) name 158 maint/gnulib/lib/fchdir.c if (oldfd < dirs_allocated && dirs[oldfd].name) name 162 maint/gnulib/lib/fchdir.c || (dirs[newfd].name = strdup (dirs[oldfd].name)) == NULL) name 173 maint/gnulib/lib/fchdir.c free (dirs[newfd].name); name 174 maint/gnulib/lib/fchdir.c dirs[newfd].name = NULL; name 184 maint/gnulib/lib/fchdir.c if (0 <= fd && fd < dirs_allocated && dirs[fd].name != NULL) name 185 maint/gnulib/lib/fchdir.c return dirs[fd].name; name 204 maint/gnulib/lib/fchdir.c const char *name = _gl_directory_name (fd); name 205 maint/gnulib/lib/fchdir.c return name ? chdir (name) : -1; name 194 maint/gnulib/lib/fdopendir.c char const *name = _gl_directory_name (fd); name 195 maint/gnulib/lib/fdopendir.c DIR *dp = name ? opendir (name) : NULL; name 45 maint/gnulib/lib/file-has-acl.c file_has_acl (char const *name, struct stat const *sb) name 55 maint/gnulib/lib/file-has-acl.c ret = getxattr (name, XATTR_NAME_POSIX_ACL_ACCESS, NULL, 0); name 63 maint/gnulib/lib/file-has-acl.c ret = getxattr (name, XATTR_NAME_POSIX_ACL_DEFAULT, NULL, 0); name 85 maint/gnulib/lib/file-has-acl.c ret = acl_extended_file (name); name 95 maint/gnulib/lib/file-has-acl.c acl_t acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 104 maint/gnulib/lib/file-has-acl.c acl_t acl = acl_get_file (name, ACL_TYPE_ACCESS); name 125 maint/gnulib/lib/file-has-acl.c acl = acl_get_file (name, ACL_TYPE_DEFAULT); name 158 maint/gnulib/lib/file-has-acl.c return acl_trivial (name); name 181 maint/gnulib/lib/file-has-acl.c count = acl (name, GETACL, alloc, entries); name 255 maint/gnulib/lib/file-has-acl.c count = acl (name, ACE_GETACL, alloc, entries); name 323 maint/gnulib/lib/file-has-acl.c count = getacl (name, NACLENTRIES, entries); name 352 maint/gnulib/lib/file-has-acl.c if (stat (name, &statbuf) == -1 && errno != EOVERFLOW) name 366 maint/gnulib/lib/file-has-acl.c count = acl ((char *) name, ACL_GET, NACLVENTRIES, entries); name 410 maint/gnulib/lib/file-has-acl.c if (aclx_get (name, 0, &type, aclbuf, &aclsize, &mode) >= 0) name 459 maint/gnulib/lib/file-has-acl.c if (statacl ((char *) name, STX_NORMAL, &u.a, sizeof (u)) < 0) name 470 maint/gnulib/lib/file-has-acl.c count = acl ((char *) name, ACL_GET, NACLENTRIES, entries); name 37 maint/gnulib/lib/file-set.c ent->name = xstrdup (file); name 69 maint/gnulib/lib/file-set.c new_ent.name = (char *) file; name 83 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) name 86 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); name 90 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) name 94 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); name 27 maint/gnulib/lib/forkpty.c rpl_forkpty (int *amaster, char *name, struct termios const *termp, name 31 maint/gnulib/lib/forkpty.c return forkpty (amaster, name, (struct termios *) termp, name 43 maint/gnulib/lib/forkpty.c forkpty (int *amaster, char *name, name 48 maint/gnulib/lib/forkpty.c if (openpty (&master, &slave, name, termp, winp) == -1) name 56 maint/gnulib/lib/freopen-safer.c freopen_safer (char const *name, char const *mode, FILE *f) name 94 maint/gnulib/lib/freopen-safer.c f = freopen (name, mode, f); name 73 maint/gnulib/lib/fstat.c const char *name = _gl_directory_name (fd); name 74 maint/gnulib/lib/fstat.c if (name != NULL) name 75 maint/gnulib/lib/fstat.c return stat (name, buf); name 114 maint/gnulib/lib/fstatat.c stat_func (char const *name, struct stat *st) name 116 maint/gnulib/lib/fstatat.c return stat (name, st); name 94 maint/gnulib/lib/fsusage.c struct utsname name; name 96 maint/gnulib/lib/fsusage.c statvfs_works_cache = (uname (&name) == 0 name 97 maint/gnulib/lib/fsusage.c && 0 <= strverscmp (name.release, "2.6.36")); name 39 maint/gnulib/lib/ftoastr.c # define PREFIX(name) c_ ## name name 41 maint/gnulib/lib/ftoastr.c # define PREFIX(name) name name 938 maint/gnulib/lib/fts.c goto name; name 961 maint/gnulib/lib/fts.c goto name; name 1003 maint/gnulib/lib/fts.c name: t = sp->fts_path + NAPPEND(p->fts_parent); name 1874 maint/gnulib/lib/fts.c fts_alloc (FTS *sp, const char *name, register size_t namelen) name 1888 maint/gnulib/lib/fts.c memcpy(p->fts_name, name, namelen); name 56 maint/gnulib/lib/gen-uni-tables.c const char *name; /* Character name */ name 102 maint/gnulib/lib/gen-uni-tables.c uni->name = strdup (field1); name 178 maint/gnulib/lib/gen-uni-tables.c unicode_attributes[i].name = NULL; name 352 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 360 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 370 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 378 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 386 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 394 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 402 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 410 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 417 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 425 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 433 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 441 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 448 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 456 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 464 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 472 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 479 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 487 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 495 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 503 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 511 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 519 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 527 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 535 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 542 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 550 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 558 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 566 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 574 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 581 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 589 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 597 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 605 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name == NULL name 612 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 620 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 634 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 642 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name == NULL name 751 maint/gnulib/lib/gen-uni-tables.c output_predicate (const char *filename, bool (*predicate) (unsigned int), const char *name, const char *comment, const char *version) name 810 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s =\n", name); name 1100 maint/gnulib/lib/gen-uni-tables.c else if (unicode_attributes[ch].name != NULL) name 1265 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 1571 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 1759 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 1964 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 2165 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 2502 maint/gnulib/lib/gen-uni-tables.c mirrored = (unicode_attributes[ch].name != NULL name 2789 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 2790 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 3161 maint/gnulib/lib/gen-uni-tables.c bool result2 = (unicode_attributes[ch].name != NULL name 3471 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 3472 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, "ZERO WIDTH") != NULL); name 3511 maint/gnulib/lib/gen-uni-tables.c (unicode_attributes[ch].name != NULL name 3512 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") == 0); name 3634 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 3646 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 3659 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 3975 maint/gnulib/lib/gen-uni-tables.c #define TRY(name) else if (strcmp (joining_type_name, #name + 16) == 0) joining_type = name; name 3996 maint/gnulib/lib/gen-uni-tables.c #define TRY(value,name) else if (strcmp (joining_group_name, name) == 0) joining_group = value; name 4944 maint/gnulib/lib/gen-uni-tables.c typedef struct { unsigned int start; unsigned int end; const char *name; } name 4981 maint/gnulib/lib/gen-uni-tables.c blocks[numblocks].name = strdup (blockname); name 5071 maint/gnulib/lib/gen-uni-tables.c blocks[i].end, blocks[i].name); name 5464 maint/gnulib/lib/gen-uni-tables.c output_ident_category (const char *filename, int (*predicate) (unsigned int), const char *name, const char *version) name 5527 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s =\n", name); name 5627 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5637 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5647 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5673 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5691 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, " LETTER ") name 5705 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5734 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 5752 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 5764 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5765 maint/gnulib/lib/gen-uni-tables.c && (strcmp (unicode_attributes[ch].name, "<control>") == 0 name 5797 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5798 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") name 5805 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5806 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") name 5808 maint/gnulib/lib/gen-uni-tables.c && !(unicode_attributes[ch].name != NULL name 5818 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5859 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 6188 maint/gnulib/lib/gen-uni-tables.c unicode_width[i] = (unicode_attributes[i].name != NULL ? "N" : NULL); name 6260 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 6263 maint/gnulib/lib/gen-uni-tables.c || strncmp (unicode_attributes[ch].name, "ZERO WIDTH ", 11) == 0)); name 6529 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name == NULL && (ch >= 0x20BC && ch <= 0x20CF)) name 6532 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 6955 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "HIRAGANA LETTER SMALL ") != NULL name 6956 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "KATAKANA LETTER SMALL ") != NULL) name 7018 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, "FULLWIDTH") == NULL) name 7237 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "FULLWIDTH LATIN ") != NULL name 8041 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 8266 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8267 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 8320 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8321 maint/gnulib/lib/gen-uni-tables.c if (propvalue == value) fprintf (stream, " " name); else name 8855 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8856 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 33 maint/gnulib/lib/get-permissions.c get_permissions (const char *name, int desc, mode_t mode, name 48 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_ACCESS); name 58 maint/gnulib/lib/get-permissions.c ctx->default_acl = acl_get_file (name, ACL_TYPE_DEFAULT); name 88 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 120 maint/gnulib/lib/get-permissions.c ret = acl (name, ACE_GETACLCNT, 0, NULL); name 143 maint/gnulib/lib/get-permissions.c ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); name 175 maint/gnulib/lib/get-permissions.c ret = acl (name, GETACLCNT, 0, NULL); name 198 maint/gnulib/lib/get-permissions.c ret = acl (name, GETACL, ctx->count, ctx->entries); name 230 maint/gnulib/lib/get-permissions.c ret = getacl (name, NACLENTRIES, ctx->entries); name 244 maint/gnulib/lib/get-permissions.c ret = acl ((char *) name, ACL_GET, NACLVENTRIES, ctx->aclv_entries); name 270 maint/gnulib/lib/get-permissions.c ret = statacl ((char *) name, STX_NORMAL, &ctx->u.a, sizeof ctx->u); name 278 maint/gnulib/lib/get-permissions.c int ret = acl ((char *) name, ACL_GET, NACLENTRIES, ctx->entries); name 401 maint/gnulib/lib/get_progname_of.c char *name = buf.pr_fname; name 404 maint/gnulib/lib/get_progname_of.c char *namenul = memchr (name, '\0', namesize); name 405 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 410 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 423 maint/gnulib/lib/get_progname_of.c const char *name = info->progname; name 426 maint/gnulib/lib/get_progname_of.c const char *namenul = memchr (name, '\0', namesize); name 427 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 432 maint/gnulib/lib/get_progname_of.c const char *backslash = memchr (name, '\\', namelen); name 435 maint/gnulib/lib/get_progname_of.c const char *name_end = name + namelen; name 444 maint/gnulib/lib/get_progname_of.c name = backslash + 1; name 445 maint/gnulib/lib/get_progname_of.c namelen = name_end - name; name 454 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 466 maint/gnulib/lib/get_progname_of.c const char *name = info.args; name 469 maint/gnulib/lib/get_progname_of.c const char *namenul = memchr (name, '\0', namesize); name 470 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 474 maint/gnulib/lib/get_progname_of.c const char *space = memchr (name, ' ', namelen); name 476 maint/gnulib/lib/get_progname_of.c namelen = space - name; name 481 maint/gnulib/lib/get_progname_of.c const char *slash = memchr (name, '/', namelen); name 484 maint/gnulib/lib/get_progname_of.c const char *name_end = name + namelen; name 493 maint/gnulib/lib/get_progname_of.c name = slash + 1; name 494 maint/gnulib/lib/get_progname_of.c namelen = name_end - name; name 503 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 44 maint/gnulib/lib/getdomainname.c getdomainname (char *name, size_t len) name 52 maint/gnulib/lib/getdomainname.c return getdomainname (name, (int) len); name 59 maint/gnulib/lib/getdomainname.c ret = sysinfo (SI_SRPC_DOMAIN, name, len > INT_MAX ? INT_MAX : len); name 78 maint/gnulib/lib/getdomainname.c memcpy (name, result, result_len); name 80 maint/gnulib/lib/getdomainname.c name[result_len] = '\0'; name 42 maint/gnulib/lib/gethostname.c gethostname (char *name, size_t len) name 52 maint/gnulib/lib/gethostname.c name[sizeof (uts.nodename)] = '\0'; name 55 maint/gnulib/lib/gethostname.c strncpy (name, uts.nodename, len); name 57 maint/gnulib/lib/gethostname.c strcpy (name, ""); /* Hardcode your system name if you want. */ name 90 maint/gnulib/lib/gethostname.c rpl_gethostname (char *name, size_t len) name 97 maint/gnulib/lib/gethostname.c r = gethostname (name, (int) len); name 44 maint/gnulib/lib/getlogin_r.c getlogin_r (char *name, size_t size) name 57 maint/gnulib/lib/getlogin_r.c if (!GetUserName (name, &sz)) name 69 maint/gnulib/lib/getlogin_r.c int ret = getlogin_r (name, size); name 73 maint/gnulib/lib/getlogin_r.c const char *nul = memchr (name, '\0', size); name 77 maint/gnulib/lib/getlogin_r.c if (size > 0 && nul == name + size - 1) name 86 maint/gnulib/lib/getlogin_r.c if (ret == 0 && memcmp (name, room, size) != 0) name 107 maint/gnulib/lib/getlogin_r.c memcpy (name, n, nlen + 1); name 52 maint/gnulib/lib/getopt-ext.h const char *name; name 212 maint/gnulib/lib/getopt.c for (p = longopts, n_options = 0; p->name; p++, n_options++) name 213 maint/gnulib/lib/getopt.c if (!strncmp (p->name, d->__nextchar, namelen) name 214 maint/gnulib/lib/getopt.c && namelen == strlen (p->name)) name 230 maint/gnulib/lib/getopt.c for (p = longopts, option_index = 0; p->name; p++, option_index++) name 231 maint/gnulib/lib/getopt.c if (!strncmp (p->name, d->__nextchar, namelen)) name 290 maint/gnulib/lib/getopt.c prefix, longopts[option_index].name); name 346 maint/gnulib/lib/getopt.c argv[0], prefix, pfound->name); name 361 maint/gnulib/lib/getopt.c argv[0], prefix, pfound->name); name 102 maint/gnulib/lib/getopt1.c printf ("option %s", long_options[option_index].name); name 244 maint/gnulib/lib/getprogname.c char *name = buf.pr_fname; name 247 maint/gnulib/lib/getprogname.c char *namenul = memchr (name, '\0', namesize); name 248 maint/gnulib/lib/getprogname.c size_t namelen = namenul ? namenul - name : namesize; name 253 maint/gnulib/lib/getprogname.c return memcpy (namecopy, name, namelen); name 141 maint/gnulib/lib/getusershell.c readname (char **name, idx_t *size, FILE *stream) name 153 maint/gnulib/lib/getusershell.c *name = xpalloc (*name, size, 1, -1, sizeof **name); name 156 maint/gnulib/lib/getusershell.c (*name)[name_index++] = c; name 159 maint/gnulib/lib/getusershell.c (*name)[name_index] = '\0'; name 58 maint/gnulib/lib/glob.c # define opendir(name) __opendir (name) name 60 maint/gnulib/lib/glob.c # define getpwnam_r(name, bufp, buf, len, res) \ name 61 maint/gnulib/lib/glob.c __getpwnam_r (name, bufp, buf, len, res) name 122 maint/gnulib/lib/glob.c const char *name; name 1287 maint/gnulib/lib/glob.c struct globnames *next; size_t count; char *name[nnames]; name 1303 maint/gnulib/lib/glob.c - offsetof (struct globnames, name)) name 1304 maint/gnulib/lib/glob.c / sizeof init_names->name[0]); name 1376 maint/gnulib/lib/glob.c if (d.name == NULL) name 1388 maint/gnulib/lib/glob.c if (fnmatch (pattern, d.name, fnm_flags) == 0) name 1394 maint/gnulib/lib/glob.c size_t nameoff = offsetof (struct globnames, name); name 1395 maint/gnulib/lib/glob.c size_t size = FLEXSIZEOF (struct globnames, name, name 1411 maint/gnulib/lib/glob.c names->name[cur] = strdup (d.name); name 1412 maint/gnulib/lib/glob.c if (names->name[cur] == NULL) name 1427 maint/gnulib/lib/glob.c names->name[cur] = malloc (len + 1); name 1428 maint/gnulib/lib/glob.c if (names->name[cur] == NULL) name 1430 maint/gnulib/lib/glob.c *((char *) mempcpy (names->name[cur++], pattern, len)) = '\0'; name 1455 maint/gnulib/lib/glob.c free (names->name[i]); name 1481 maint/gnulib/lib/glob.c = names->name[i]; name 37 maint/gnulib/lib/hash-triple-simple.c size_t tmp = hash_pjw (p->name, table_size); name 49 maint/gnulib/lib/hash-triple-simple.c return (SAME_INODE (*a, *b) && STREQ (a->name, b->name)) ? true : false; name 57 maint/gnulib/lib/hash-triple-simple.c free (a->name); name 43 maint/gnulib/lib/hash-triple.c return (SAME_INODE (*a, *b) && same_name (a->name, b->name)) ? true : false; name 29 maint/gnulib/lib/hash-triple.h char *name; name 45 maint/gnulib/lib/idcache.c char name[FLEXIBLE_ARRAY_MEMBER]; name 86 maint/gnulib/lib/idcache.c char const *name = pwent ? pwent->pw_name : ""; name 87 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); name 89 maint/gnulib/lib/idcache.c strcpy (match->name, name); name 96 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; name 112 maint/gnulib/lib/idcache.c if (*tail->name == *user && !strcmp (tail->name, user)) name 117 maint/gnulib/lib/idcache.c if (*tail->name == *user && !strcmp (tail->name, user)) name 131 maint/gnulib/lib/idcache.c tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (user) + 1)); name 132 maint/gnulib/lib/idcache.c strcpy (tail->name, user); name 168 maint/gnulib/lib/idcache.c char const *name = grent ? grent->gr_name : ""; name 169 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); name 171 maint/gnulib/lib/idcache.c strcpy (match->name, name); name 178 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; name 194 maint/gnulib/lib/idcache.c if (*tail->name == *group && !strcmp (tail->name, group)) name 199 maint/gnulib/lib/idcache.c if (*tail->name == *group && !strcmp (tail->name, group)) name 213 maint/gnulib/lib/idcache.c tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (group) + 1)); name 214 maint/gnulib/lib/idcache.c strcpy (tail->name, group); name 181 maint/gnulib/lib/libc-config.h #define libc_hidden_proto(name) name 182 maint/gnulib/lib/libc-config.h #define libc_hidden_def(name) name 183 maint/gnulib/lib/libc-config.h #define libc_hidden_weak(name) name 184 maint/gnulib/lib/libc-config.h #define libc_hidden_ver(local, name) name 185 maint/gnulib/lib/libc-config.h #define strong_alias(name, aliasname) name 186 maint/gnulib/lib/libc-config.h #define weak_alias(name, aliasname) name 93 maint/gnulib/lib/linkat.c char *name = (char *) file1; name 101 maint/gnulib/lib/linkat.c while (i-- && (target = areadlink (name))) name 105 maint/gnulib/lib/linkat.c if (name != file1) name 106 maint/gnulib/lib/linkat.c free (name); name 107 maint/gnulib/lib/linkat.c name = target; name 111 maint/gnulib/lib/linkat.c char *dir = mdir_name (name); name 112 maint/gnulib/lib/linkat.c if (name != file1) name 113 maint/gnulib/lib/linkat.c free (name); name 120 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); name 123 maint/gnulib/lib/linkat.c if (!name) name 137 maint/gnulib/lib/linkat.c if (name != file1) name 138 maint/gnulib/lib/linkat.c free (name); name 141 maint/gnulib/lib/linkat.c result = link (name, file2); name 142 maint/gnulib/lib/linkat.c if (name != file1) name 143 maint/gnulib/lib/linkat.c free (name); name 211 maint/gnulib/lib/linkat.c char *name = (char *) file1; name 217 maint/gnulib/lib/linkat.c while (i-- && (target = areadlinkat (fd1, name))) name 221 maint/gnulib/lib/linkat.c if (name != file1) name 222 maint/gnulib/lib/linkat.c free (name); name 223 maint/gnulib/lib/linkat.c name = target; name 227 maint/gnulib/lib/linkat.c char *dir = mdir_name (name); name 228 maint/gnulib/lib/linkat.c if (name != file1) name 229 maint/gnulib/lib/linkat.c free (name); name 236 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); name 239 maint/gnulib/lib/linkat.c if (!name) name 253 maint/gnulib/lib/linkat.c if (name != file1) name 254 maint/gnulib/lib/linkat.c free (name); name 257 maint/gnulib/lib/linkat.c result = linkat (fd1, name, fd2, file2, 0); name 258 maint/gnulib/lib/linkat.c if (name != file1) name 259 maint/gnulib/lib/linkat.c free (name); name 222 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base) name 225 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base)); name 229 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base)); name 1163 maint/gnulib/lib/localename.c gl_locale_name_canonicalize (char *name) name 1374 maint/gnulib/lib/localename.c if (name[0] >= 'A' && name[0] <= 'Z') name 1385 maint/gnulib/lib/localename.c if (strcmp (name, p->legacy) < 0) name 1390 maint/gnulib/lib/localename.c if (strcmp (name, legacy_table[i1].legacy) == 0) name 1392 maint/gnulib/lib/localename.c strcpy (name, legacy_table[i1].unixy); name 1398 maint/gnulib/lib/localename.c if (strlen (name) == 7 && name[2] == '-') name 1409 maint/gnulib/lib/localename.c if (strcmp (name, p->langtag) < 0) name 1414 maint/gnulib/lib/localename.c if (strcmp (name, langtag_table[i1].langtag) == 0) name 1416 maint/gnulib/lib/localename.c strcpy (name, langtag_table[i1].unixy); name 1428 maint/gnulib/lib/localename.c if (strcmp (name + 3, p->script) < 0) name 1433 maint/gnulib/lib/localename.c if (strcmp (name + 3, script_table[i1].script) == 0) name 1435 maint/gnulib/lib/localename.c name[2] = '@'; name 1436 maint/gnulib/lib/localename.c strcpy (name + 3, script_table[i1].unixy); name 1444 maint/gnulib/lib/localename.c for (p = name; *p != '\0'; p++) name 1463 maint/gnulib/lib/localename.c gl_locale_name_canonicalize (char *name) name 1469 maint/gnulib/lib/localename.c for (p = name; *p != '\0'; p++) name 2728 maint/gnulib/lib/localename.c const char *name = setlocale_null (category); name 2729 maint/gnulib/lib/localename.c if (name != NULL) name 2730 maint/gnulib/lib/localename.c return struniq (name); name 2743 maint/gnulib/lib/localename.c const char *name = ""; name 2750 maint/gnulib/lib/localename.c name = p->names.category_name[category]; name 2754 maint/gnulib/lib/localename.c return name; name 2764 maint/gnulib/lib/localename.c newlocale (int category_mask, const char *name, locale_t base) name 2775 maint/gnulib/lib/localename.c name = struniq (name); name 2785 maint/gnulib/lib/localename.c name = struniq (name); name 2787 maint/gnulib/lib/localename.c names.category_name[category] = name; name 2824 maint/gnulib/lib/localename.c ((mask & category_mask) != 0 ? name : "C"); name 2860 maint/gnulib/lib/localename.c ? name name 2908 maint/gnulib/lib/localename.c ? name name 2921 maint/gnulib/lib/localename.c result = newlocale (category_mask, name, base); name 3109 maint/gnulib/lib/localename.c const char *name = name 3111 maint/gnulib/lib/localename.c if (name[0] == '\0') name 3114 maint/gnulib/lib/localename.c name = thread_locale->__names[category]; name 3115 maint/gnulib/lib/localename.c return name; name 3216 maint/gnulib/lib/localename.c const char *name = gl_locale_name_thread_unsafe (category, categoryname); name 3217 maint/gnulib/lib/localename.c if (name != NULL) name 3218 maint/gnulib/lib/localename.c return struniq (name); name 3401 maint/gnulib/lib/localename.c CFStringRef name = (CFStringRef)value; name 3403 maint/gnulib/lib/localename.c if (CFStringGetCString (name, namebuf, sizeof (namebuf), name 149 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_CONCAT0(prefix, name) prefix##name name 150 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_CONCAT1(prefix, name) DYNARRAY_CONCAT0(prefix, name) name 151 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_NAME(name) DYNARRAY_CONCAT1(DYNARRAY_PREFIX, name) name 42 maint/gnulib/lib/mkdir.c # define mkdir(name,mode) _mkdir (name) name 30 maint/gnulib/lib/mkfifo.c mkfifo (_GL_UNUSED char const *name, _GL_UNUSED mode_t mode) name 44 maint/gnulib/lib/mkfifo.c rpl_mkfifo (char const *name, mode_t mode) name 47 maint/gnulib/lib/mkfifo.c size_t len = strlen (name); name 48 maint/gnulib/lib/mkfifo.c if (len && name[len - 1] == '/') name 51 maint/gnulib/lib/mkfifo.c if (stat (name, &st) == 0 || errno == EOVERFLOW) name 56 maint/gnulib/lib/mkfifo.c return mkfifo (name, mode); name 30 maint/gnulib/lib/mknod.c mknod (_GL_UNUSED char const *name, _GL_UNUSED mode_t mode, name 47 maint/gnulib/lib/mknod.c rpl_mknod (char const *name, mode_t mode, dev_t dev) name 55 maint/gnulib/lib/mknod.c size_t len = strlen (name); name 56 maint/gnulib/lib/mknod.c if (len && name[len - 1] == '/') name 59 maint/gnulib/lib/mknod.c if (stat (name, &st) == 0 || errno == EOVERFLOW) name 69 maint/gnulib/lib/mknod.c return mkfifo (name, mode & ~S_IFIFO); name 71 maint/gnulib/lib/mknod.c return mknod (name, mode, dev); name 668 maint/gnulib/lib/mountlist.c char *name; name 689 maint/gnulib/lib/mountlist.c char *name; name 696 maint/gnulib/lib/mountlist.c name = xstrdup ("/"); name 699 maint/gnulib/lib/mountlist.c name = xmalloc (1 + strlen (d->d_name) + 1); name 700 maint/gnulib/lib/mountlist.c name[0] = '/'; name 701 maint/gnulib/lib/mountlist.c strcpy (name + 1, d->d_name); name 704 maint/gnulib/lib/mountlist.c if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode)) name 707 maint/gnulib/lib/mountlist.c re->name = name; name 716 maint/gnulib/lib/mountlist.c free (name); name 735 maint/gnulib/lib/mountlist.c me->me_mountdir = xstrdup (re != NULL ? re->name : fi.fsh_name); name 753 maint/gnulib/lib/mountlist.c free (re->name); name 102 maint/gnulib/lib/openat.h statat (int fd, char const *name, struct stat *st) name 104 maint/gnulib/lib/openat.h return fstatat (fd, name, st, 0); name 108 maint/gnulib/lib/openat.h lstatat (int fd, char const *name, struct stat *st) name 110 maint/gnulib/lib/openat.h return fstatat (fd, name, st, AT_SYMLINK_NOFOLLOW); name 31 maint/gnulib/lib/opendir-safer.c opendir_safer (char const *name) name 33 maint/gnulib/lib/opendir-safer.c DIR *dp = opendir (name); name 66 maint/gnulib/lib/opendir-safer.c newdp = opendir_safer (name); name 27 maint/gnulib/lib/openpty.c rpl_openpty (int *amaster, int *aslave, char *name, name 31 maint/gnulib/lib/openpty.c return openpty (amaster, aslave, name, (struct termios *) termp, name 41 maint/gnulib/lib/openpty.c _GL_UNUSED char *name, name 63 maint/gnulib/lib/openpty.c openpty (int *amaster, int *aslave, char *name, name 126 maint/gnulib/lib/openpty.c if (name != NULL) name 127 maint/gnulib/lib/openpty.c strcpy (name, slave_name); name 149 maint/gnulib/lib/parse-datetime.y char const *name; name 523 maint/gnulib/lib/parse-datetime.y print_rel_part (bool space, intmax_t val, char const *name) name 527 maint/gnulib/lib/parse-datetime.y fprintf (stderr, &" %+"PRIdMAX" %s"[!space], val, name); name 1297 maint/gnulib/lib/parse-datetime.y lookup_zone (parser_control const *pc, char const *name) name 1301 maint/gnulib/lib/parse-datetime.y for (tp = universal_time_zone_table; tp->name; tp++) name 1302 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1307 maint/gnulib/lib/parse-datetime.y for (tp = pc->local_time_zone_table; tp->name; tp++) name 1308 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1311 maint/gnulib/lib/parse-datetime.y for (tp = time_zone_table; tp->name; tp++) name 1312 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1359 maint/gnulib/lib/parse-datetime.y for (tp = meridian_table; tp->name; tp++) name 1360 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1367 maint/gnulib/lib/parse-datetime.y for (tp = month_and_day_table; tp->name; tp++) name 1368 maint/gnulib/lib/parse-datetime.y if ((abbrev ? strncmp (word, tp->name, 3) : strcmp (word, tp->name)) == 0) name 1374 maint/gnulib/lib/parse-datetime.y if (strcmp (word, dst_table[0].name) == 0) name 1377 maint/gnulib/lib/parse-datetime.y for (tp = time_units_table; tp->name; tp++) name 1378 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1385 maint/gnulib/lib/parse-datetime.y for (tp = time_units_table; tp->name; tp++) name 1386 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1391 maint/gnulib/lib/parse-datetime.y for (tp = relative_time_table; tp->name; tp++) name 1392 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1397 maint/gnulib/lib/parse-datetime.y for (tp = military_table; tp->name; tp++) name 1398 maint/gnulib/lib/parse-datetime.y if (word[0] == tp->name[0]) name 1842 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = tmp.tm_zone; name 1845 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; name 1861 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = probe_tm.tm_zone; name 1864 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[2].name = NULL; name 1879 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = tzname[i]; name 1883 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = NULL; name 1886 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = NULL; name 1890 maint/gnulib/lib/parse-datetime.y if (pc.local_time_zone_table[0].name && pc.local_time_zone_table[1].name name 1891 maint/gnulib/lib/parse-datetime.y && ! strcmp (pc.local_time_zone_table[0].name, name 1892 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name)) name 1898 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; name 81 maint/gnulib/lib/progreloc.c extern char * canonicalize_file_name (const char *name); name 158 maint/gnulib/lib/propername.c proper_name (const char *name) name 161 maint/gnulib/lib/propername.c const char *translation = gettext (name); name 163 maint/gnulib/lib/propername.c if (translation != name) name 166 maint/gnulib/lib/propername.c if (mbsstr_trimmed_wordbounded (translation, name)) name 172 maint/gnulib/lib/propername.c XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); name 174 maint/gnulib/lib/propername.c sprintf (result, "%s (%s)", translation, name); name 179 maint/gnulib/lib/propername.c return name; name 199 maint/gnulib/lib/propername.c const char *name; name 248 maint/gnulib/lib/propername.c name = (name_converted != NULL ? name_converted : name 274 maint/gnulib/lib/propername.c XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); name 276 maint/gnulib/lib/propername.c sprintf (result, "%s (%s)", translation, name); name 287 maint/gnulib/lib/propername.c if (alloc_name_converted != NULL && alloc_name_converted != name) name 290 maint/gnulib/lib/propername.c && alloc_name_converted_translit != name) name 292 maint/gnulib/lib/propername.c return name; name 82 maint/gnulib/lib/propername.h extern const char * proper_name (const char *name) /* NOT attribute const */; name 71 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 74 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 79 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 83 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 105 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 108 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 113 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 117 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 68 maint/gnulib/lib/putenv.c _unsetenv (const char *name) name 75 maint/gnulib/lib/putenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 81 maint/gnulib/lib/putenv.c len = strlen (name); name 87 maint/gnulib/lib/putenv.c memcpy (name_, name, len); name 100 maint/gnulib/lib/putenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') name 39 maint/gnulib/lib/qset-acl.c qset_acl (char const *name, int desc, mode_t mode) name 46 maint/gnulib/lib/qset-acl.c ret = set_permissions (&ctx, name, desc); name 71 maint/gnulib/lib/random.c # define __libc_lock_define_initialized(class, name) name 72 maint/gnulib/lib/random.c # define __libc_lock_lock(name) ((void) 0) name 73 maint/gnulib/lib/random.c # define __libc_lock_unlock(name) ((void) 0) name 91 maint/gnulib/lib/regcomp.c const unsigned char *name); name 2655 maint/gnulib/lib/regcomp.c && strlen ((char *) start_elem->opr.name) > 1) name 2657 maint/gnulib/lib/regcomp.c && strlen ((char *) end_elem->opr.name) > 1))) name 2662 maint/gnulib/lib/regcomp.c : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0] name 2665 maint/gnulib/lib/regcomp.c : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0] name 2739 maint/gnulib/lib/regcomp.c Idx *coll_sym_alloc, const unsigned char *name, name 2743 maint/gnulib/lib/regcomp.c size_t name_len = strlen ((const char *) name); name 2748 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 2761 maint/gnulib/lib/regcomp.c seek_collating_symbol_entry (const unsigned char *name, size_t name_len, name 2777 maint/gnulib/lib/regcomp.c && memcmp (name, &extra[idx + 1], name_len) == 0) name 2814 maint/gnulib/lib/regcomp.c size_t sym_name_len = strlen ((char *) br_elem->opr.name); name 2818 maint/gnulib/lib/regcomp.c elem = seek_collating_symbol_entry (br_elem->opr.name, name 2844 maint/gnulib/lib/regcomp.c return collseqmb[br_elem->opr.name[0]]; name 2848 maint/gnulib/lib/regcomp.c return collseqmb[br_elem->opr.name[0]]; name 2950 maint/gnulib/lib/regcomp.c Idx *coll_sym_alloc, const unsigned char *name, name 2955 maint/gnulib/lib/regcomp.c size_t name_len = strlen ((const char *) name); name 2958 maint/gnulib/lib/regcomp.c elem = seek_collating_symbol_entry (name, name_len, symb_table, name 2971 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 3002 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 3093 maint/gnulib/lib/regcomp.c start_elem.opr.name = start_name_buf; name 3137 maint/gnulib/lib/regcomp.c end_elem.opr.name = end_name_buf; name 3183 maint/gnulib/lib/regcomp.c start_elem.opr.name); name 3190 maint/gnulib/lib/regcomp.c start_elem.opr.name, name 3198 maint/gnulib/lib/regcomp.c (const char *) start_elem.opr.name, name 3345 maint/gnulib/lib/regcomp.c elem->opr.name[i] = ch; name 3348 maint/gnulib/lib/regcomp.c elem->opr.name[i] = '\0'; name 3374 maint/gnulib/lib/regcomp.c Idx *equiv_class_alloc, const unsigned char *name) name 3387 maint/gnulib/lib/regcomp.c cp = name; name 3440 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (strlen ((const char *) name) != 1)) name 3442 maint/gnulib/lib/regcomp.c bitset_set (sbcset, *name); name 3459 maint/gnulib/lib/regcomp.c const char *name = class_name; name 3464 maint/gnulib/lib/regcomp.c && (strcmp (name, "upper") == 0 || strcmp (name, "lower") == 0)) name 3465 maint/gnulib/lib/regcomp.c name = "alpha"; name 3481 maint/gnulib/lib/regcomp.c mbcset->char_classes[mbcset->nchar_classes++] = __wctype (name); name 3499 maint/gnulib/lib/regcomp.c if (strcmp (name, "alnum") == 0) name 3501 maint/gnulib/lib/regcomp.c else if (strcmp (name, "cntrl") == 0) name 3503 maint/gnulib/lib/regcomp.c else if (strcmp (name, "lower") == 0) name 3505 maint/gnulib/lib/regcomp.c else if (strcmp (name, "space") == 0) name 3507 maint/gnulib/lib/regcomp.c else if (strcmp (name, "alpha") == 0) name 3509 maint/gnulib/lib/regcomp.c else if (strcmp (name, "digit") == 0) name 3511 maint/gnulib/lib/regcomp.c else if (strcmp (name, "print") == 0) name 3513 maint/gnulib/lib/regcomp.c else if (strcmp (name, "upper") == 0) name 3515 maint/gnulib/lib/regcomp.c else if (strcmp (name, "blank") == 0) name 3517 maint/gnulib/lib/regcomp.c else if (strcmp (name, "graph") == 0) name 3519 maint/gnulib/lib/regcomp.c else if (strcmp (name, "punct") == 0) name 3521 maint/gnulib/lib/regcomp.c else if (strcmp (name, "xdigit") == 0) name 408 maint/gnulib/lib/regex.h # define __REPB_PREFIX(name) name name 410 maint/gnulib/lib/regex.h # define __REPB_PREFIX(name) __##name name 51 maint/gnulib/lib/regex_internal.h # define lock_define(name) __libc_lock_define (, name) name 58 maint/gnulib/lib/regex_internal.h # define lock_define(name) gl_lock_define (, name) name 65 maint/gnulib/lib/regex_internal.h # define lock_define(name) pthread_mutex_t name; name 71 maint/gnulib/lib/regex_internal.h # define lock_define(name) name 698 maint/gnulib/lib/regex_internal.h unsigned char *name; name 32 maint/gnulib/lib/remove.c rpl_remove (char const *name) name 39 maint/gnulib/lib/remove.c int result = rmdir (name); name 41 maint/gnulib/lib/remove.c result = unlink (name); name 64 maint/gnulib/lib/save-cwd.c cwd->name = NULL; name 71 maint/gnulib/lib/save-cwd.c cwd->name = getcwd (NULL, 0); name 72 maint/gnulib/lib/save-cwd.c return cwd->name ? 0 : -1; name 88 maint/gnulib/lib/save-cwd.c return chdir_long (cwd->name); name 96 maint/gnulib/lib/save-cwd.c free (cwd->name); name 27 maint/gnulib/lib/save-cwd.h char *name; name 42 maint/gnulib/lib/savedir.c char *name; name 56 maint/gnulib/lib/savedir.c return strcmp (dea->name, deb->name); name 125 maint/gnulib/lib/savedir.c entries[entries_used].name = xstrdup (entry); name 159 maint/gnulib/lib/savedir.c used += stpcpy (dest, entries[i].name) - dest + 1; name 160 maint/gnulib/lib/savedir.c free (entries[i].name); name 117 maint/gnulib/lib/se-selinux.in.h string_to_security_class (char const *name) name 29 maint/gnulib/lib/secure_getenv.c secure_getenv (char const *name) name 32 maint/gnulib/lib/secure_getenv.c return __secure_getenv (name); name 36 maint/gnulib/lib/secure_getenv.c return getenv (name); name 40 maint/gnulib/lib/secure_getenv.c return getenv (name); name 50 maint/gnulib/lib/secure_getenv.c return getenv (name); name 42 maint/gnulib/lib/set-acl.c set_acl (char const *name, int desc, mode_t mode) name 44 maint/gnulib/lib/set-acl.c int ret = qset_acl (name, desc, mode); name 46 maint/gnulib/lib/set-acl.c error (0, errno, _("setting permissions for %s"), quote (name)); name 56 maint/gnulib/lib/set-permissions.c set_acls_from_mode (const char *name, int desc, mode_t mode, bool *must_chmod) name 88 maint/gnulib/lib/set-permissions.c : acl (name, ACE_GETACL, alloc, entries)); name 228 maint/gnulib/lib/set-permissions.c ret = acl (name, ACE_SETACL, count, entries); name 261 maint/gnulib/lib/set-permissions.c ret = acl (name, SETACL, name 278 maint/gnulib/lib/set-permissions.c context_acl_from_mode (struct permission_context *ctx, const char *name, int desc) name 286 maint/gnulib/lib/set-permissions.c ret = stat (name, &statbuf); name 332 maint/gnulib/lib/set-permissions.c set_acls_from_mode (const char *name, int desc, mode_t mode, bool *must_chmod) name 338 maint/gnulib/lib/set-permissions.c if (aclx_gettypes (name, &types, &types_size) < 0 name 363 maint/gnulib/lib/set-permissions.c ret = aclx_put (name, SET_ACL | SET_MODE_S_BITS, name 434 maint/gnulib/lib/set-permissions.c ret = aclx_put (name, SET_ACL | SET_MODE_S_BITS, name 485 maint/gnulib/lib/set-permissions.c set_acls (struct permission_context *ctx, const char *name, int desc, name 519 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_ACCESS, ctx->acl); name 536 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_DEFAULT, name 539 maint/gnulib/lib/set-permissions.c ret = acl_delete_def_file (name); name 578 maint/gnulib/lib/set-permissions.c acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 589 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_EXTENDED, acl); name 601 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_EXTENDED, ctx->acl); name 624 maint/gnulib/lib/set-permissions.c return set_acls_from_mode (name, desc, ctx->mode, must_chmod); name 631 maint/gnulib/lib/set-permissions.c ret = acl (name, SETACL, ctx->count, ctx->entries); name 648 maint/gnulib/lib/set-permissions.c ret = acl (name, ACE_SETACL, ctx->ace_count, ctx->ace_entries); name 663 maint/gnulib/lib/set-permissions.c ret = context_acl_from_mode (ctx, name, desc); name 670 maint/gnulib/lib/set-permissions.c ret = setacl (name, ctx->count, ctx->entries); name 687 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->aclv_count, ctx->aclv_entries); name 704 maint/gnulib/lib/set-permissions.c ret = set_acls_from_mode (name, desc, mode, must_chmod); name 716 maint/gnulib/lib/set-permissions.c ret = chacl ((char *) name, &ctx->u.a, ctx->u.a.acl_len); name 733 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->count, ctx->entries); name 760 maint/gnulib/lib/set-permissions.c chmod_or_fchmod (const char *name, int desc, mode_t mode) name 765 maint/gnulib/lib/set-permissions.c return chmod (name, mode); name 776 maint/gnulib/lib/set-permissions.c set_permissions (struct permission_context *ctx, const char *name, int desc) name 806 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); name 812 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, false, &must_chmod, &acls_set); name 821 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, true, &must_chmod, &acls_set); name 837 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); name 113 maint/gnulib/lib/setenv.c __add_to_environ (const char *name, const char *value, const char *combined, name 118 maint/gnulib/lib/setenv.c const size_t namelen = strlen (name); name 131 maint/gnulib/lib/setenv.c if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') name 169 maint/gnulib/lib/setenv.c __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), name 179 maint/gnulib/lib/setenv.c memcpy (new_value, name, namelen); name 202 maint/gnulib/lib/setenv.c memcpy (new_environ[size], name, namelen); name 237 maint/gnulib/lib/setenv.c __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), name 247 maint/gnulib/lib/setenv.c memcpy (new_value, name, namelen); name 270 maint/gnulib/lib/setenv.c memcpy (np, name, namelen); name 291 maint/gnulib/lib/setenv.c setenv (const char *name, const char *value, int replace) name 293 maint/gnulib/lib/setenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 299 maint/gnulib/lib/setenv.c return __add_to_environ (name, value, NULL, replace); name 359 maint/gnulib/lib/setenv.c rpl_setenv (const char *name, const char *value, int replace) name 362 maint/gnulib/lib/setenv.c if (!name || !*name || strchr (name, '=')) name 369 maint/gnulib/lib/setenv.c result = setenv (name, value, replace); name 372 maint/gnulib/lib/setenv.c char *tmp = getenv (name); name 381 maint/gnulib/lib/setenv.c result = setenv (name, tmp, replace); name 36 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) name 60 maint/gnulib/lib/sethostname.c fprintf (hostf, "%.*s\n", (int) len, name); name 117 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) name 132 maint/gnulib/lib/sethostname.c memcpy (name_asciz, name, len); name 47 maint/gnulib/lib/setlocale.c extern void gl_locale_name_canonicalize (char *name); name 1477 maint/gnulib/lib/setlocale.c const char *name; name 1479 maint/gnulib/lib/setlocale.c name = gl_locale_name_environ (cat, category_to_name (cat)); name 1480 maint/gnulib/lib/setlocale.c if (name == NULL) name 1481 maint/gnulib/lib/setlocale.c name = gl_locale_name_default (); name 1485 maint/gnulib/lib/setlocale.c if (strcmp (name, base_name) != 0 name 1490 maint/gnulib/lib/setlocale.c if (setlocale_single (cat, name) == NULL) name 1560 maint/gnulib/lib/setlocale.c get_main_locale_with_same_language (name); name 1584 maint/gnulib/lib/setlocale.c get_main_locale_with_same_territory (name); name 1601 maint/gnulib/lib/setlocale.c category_to_name (cat), name); name 1621 maint/gnulib/lib/setlocale.c const char *name = name 1623 maint/gnulib/lib/setlocale.c if (name == NULL) name 1624 maint/gnulib/lib/setlocale.c name = gl_locale_name_default (); name 1626 maint/gnulib/lib/setlocale.c return setlocale_single (category, name); name 38 maint/gnulib/lib/sig2str.c #define NUMNAME(name) { SIG##name, #name } name 41 maint/gnulib/lib/sig2str.c static struct numname { int num; char const name[8]; } numname_table[] = name 289 maint/gnulib/lib/sig2str.c if (strcmp (numname_table[i].name, signame) == 0) name 336 maint/gnulib/lib/sig2str.c strcpy (signame, numname_table[i].name); name 204 maint/gnulib/lib/spawni.c open_handle (const char *name, int flags, mode_t mode) name 207 maint/gnulib/lib/spawni.c if (strcmp (name, "/dev/null") == 0) name 208 maint/gnulib/lib/spawni.c name = "NUL"; name 213 maint/gnulib/lib/spawni.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 215 maint/gnulib/lib/spawni.c name += 2; name 216 maint/gnulib/lib/spawni.c while (ISSLASH (name[1])) name 217 maint/gnulib/lib/spawni.c name++; name 220 maint/gnulib/lib/spawni.c size_t len = strlen (name); name 221 maint/gnulib/lib/spawni.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 229 maint/gnulib/lib/spawni.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 245 maint/gnulib/lib/spawni.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) name 255 maint/gnulib/lib/spawni.c rname = name; name 266 maint/gnulib/lib/spawni.c memcpy (malloca_rname, name, rlen); name 730 maint/gnulib/lib/spawni.c char *path, *p, *name; name 917 maint/gnulib/lib/spawni.c name = alloca (pathlen + len + 1); name 919 maint/gnulib/lib/spawni.c name = (char *) memcpy (name + pathlen + 1, file, len); name 921 maint/gnulib/lib/spawni.c *--name = '/'; name 934 maint/gnulib/lib/spawni.c startp = name + 1; name 936 maint/gnulib/lib/spawni.c startp = (char *) memcpy (name - (p - path), path, p - path); name 74 maint/gnulib/lib/stack.h #define _GL_STACK_PREFIX(name) _GL_CONCAT(GL_STACK_NAME, _GL_CONCAT(_, name)) name 112 maint/gnulib/lib/stat.c rpl_stat (char const *name, struct stat *buf) name 126 maint/gnulib/lib/stat.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 128 maint/gnulib/lib/stat.c name += 2; name 129 maint/gnulib/lib/stat.c while (ISSLASH (name[1])) name 130 maint/gnulib/lib/stat.c name++; name 133 maint/gnulib/lib/stat.c size_t len = strlen (name); name 134 maint/gnulib/lib/stat.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 142 maint/gnulib/lib/stat.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 158 maint/gnulib/lib/stat.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) name 168 maint/gnulib/lib/stat.c rname = name; name 179 maint/gnulib/lib/stat.c memcpy (malloca_rname, name, rlen); name 420 maint/gnulib/lib/stat.c int result = orig_stat (name, buf); name 428 maint/gnulib/lib/stat.c size_t len = strlen (name); name 429 maint/gnulib/lib/stat.c if (ISSLASH (name[len - 1])) name 1203 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1204 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (remove, int, (const char *name)); name 1206 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (remove, int, (const char *name)); name 305 maint/gnulib/lib/stdlib.in.h (const char *name) name 308 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); name 312 maint/gnulib/lib/stdlib.in.h (const char *name) name 316 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); name 328 maint/gnulib/lib/stdlib.in.h (const char *name) name 1172 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved) name 1175 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved)); name 1179 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved) name 1183 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved)); name 1214 maint/gnulib/lib/stdlib.in.h (char const *name) _GL_ARG_NONNULL ((1))); name 1216 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); name 1235 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace) name 1238 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace)); name 1242 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace) name 1246 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace)); name 1507 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1508 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); name 1511 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1513 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); name 39 maint/gnulib/lib/striconveha.c const char *name; name 84 maint/gnulib/lib/striconveha.c uniconv_register_autodetect (const char *name, name 105 maint/gnulib/lib/striconveha.c namelen = strlen (name) + 1; name 121 maint/gnulib/lib/striconveha.c memcpy (new_name, name, namelen); name 134 maint/gnulib/lib/striconveha.c new_alias->name = new_name; name 168 maint/gnulib/lib/striconveha.c if (strcmp (from_codeset, alias->name) == 0) name 272 maint/gnulib/lib/striconveha.c if (strcmp (from_codeset, alias->name) == 0) name 87 maint/gnulib/lib/striconveha.h uniconv_register_autodetect (const char *name, name 33 maint/gnulib/lib/symlink.c rpl_symlink (char const *contents, char const *name) name 35 maint/gnulib/lib/symlink.c size_t len = strlen (name); name 36 maint/gnulib/lib/symlink.c if (len && name[len - 1] == '/') name 39 maint/gnulib/lib/symlink.c if (lstat (name, &st) == 0 || errno == EOVERFLOW) name 43 maint/gnulib/lib/symlink.c return symlink (contents, name); name 51 maint/gnulib/lib/symlink.c _GL_UNUSED char const *name) name 36 maint/gnulib/lib/symlinkat.c rpl_symlinkat (char const *contents, int fd, char const *name) name 38 maint/gnulib/lib/symlinkat.c size_t len = strlen (name); name 39 maint/gnulib/lib/symlinkat.c if (len && name[len - 1] == '/') name 42 maint/gnulib/lib/symlinkat.c if (fstatat (fd, name, &st, AT_SYMLINK_NOFOLLOW) == 0 name 47 maint/gnulib/lib/symlinkat.c return symlinkat (contents, fd, name); name 478 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 482 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 487 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 492 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 581 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 588 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf) name 591 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 594 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 617 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode) name 619 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 627 maint/gnulib/lib/sys_stat.in.h rpl_mkdir (char const *name, mode_t mode) name 629 maint/gnulib/lib/sys_stat.in.h return _mkdir (name); name 637 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 639 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); name 655 maint/gnulib/lib/sys_stat.in.h rpl_mkdir (char const *name, mode_t mode) name 657 maint/gnulib/lib/sys_stat.in.h return _mkdir (name); name 665 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 667 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); name 808 maint/gnulib/lib/sys_stat.in.h # define stat64(name, st) rpl_stat (name, st) name 815 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 821 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) name 825 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 829 maint/gnulib/lib/sys_stat.in.h # define _stati64(name, st) rpl_stat (name, st) name 835 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) name 839 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 845 maint/gnulib/lib/sys_stat.in.h # define _stat32(name, st) rpl_stat (name, st) name 849 maint/gnulib/lib/sys_stat.in.h # define _stat64i32(name, st) rpl_stat (name, st) name 853 maint/gnulib/lib/sys_stat.in.h # define stat(name, st) rpl_stat (name, st) name 856 maint/gnulib/lib/sys_stat.in.h _GL_EXTERN_C int stat (const char *restrict name, struct stat *restrict buf) name 900 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, name 903 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, name 907 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, name 911 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, name 66 maint/gnulib/lib/time_rz.c tzalloc (char const *name) name 68 maint/gnulib/lib/time_rz.c size_t name_size = name ? strlen (name) + 1 : 0; name 77 maint/gnulib/lib/time_rz.c tz->tz_is_set = !!name; name 79 maint/gnulib/lib/time_rz.c if (name) name 80 maint/gnulib/lib/time_rz.c extend_abbrs (tz->abbrs, name, name_size); name 54 maint/gnulib/lib/timevar.c const char *name; name 154 maint/gnulib/lib/timevar.c timevars[identifier__].name = name__; name 340 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", tv->name); name 347 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", timevars[tv_total].name); name 82 maint/gnulib/lib/ttyname_r.c char *name = name 86 maint/gnulib/lib/ttyname_r.c if (name == NULL) name 88 maint/gnulib/lib/ttyname_r.c if (name != buf) name 90 maint/gnulib/lib/ttyname_r.c size_t namelen = strlen (name) + 1; name 93 maint/gnulib/lib/ttyname_r.c memmove (buf, name, namelen); name 99 maint/gnulib/lib/ttyname_r.c char *name; name 102 maint/gnulib/lib/ttyname_r.c name = ttyname (fd); name 103 maint/gnulib/lib/ttyname_r.c if (name == NULL) name 105 maint/gnulib/lib/ttyname_r.c namelen = strlen (name) + 1; name 108 maint/gnulib/lib/ttyname_r.c memcpy (buf, name, namelen); name 143 maint/gnulib/lib/uname.c const char *name; name 150 maint/gnulib/lib/uname.c #define VERSION1(major, minor, name) \ name 151 maint/gnulib/lib/uname.c { major, minor, 0, name } name 175 maint/gnulib/lib/uname.c base = v->name + v->server_offset; name 177 maint/gnulib/lib/uname.c base = v->name; name 882 maint/gnulib/lib/unictype.in.h const char *name; name 913 maint/gnulib/lib/unictype.in.h const char *name; name 46 maint/gnulib/lib/uniname.in.h unicode_name_character (const char *name) name 315 maint/gnulib/lib/uniname/uniname.c words = &unicode_names[unicode_index_to_name[i].name]; name 367 maint/gnulib/lib/uniname/uniname.c unicode_name_character (const char *name) name 369 maint/gnulib/lib/uniname/uniname.c size_t len = strlen (name); name 377 maint/gnulib/lib/uniname/uniname.c char c = *name++; name 606 maint/gnulib/lib/uniname/uniname.c const uint16_t *p = &unicode_names[unicode_name_to_index[i].name]; name 41133 maint/gnulib/lib/uniname/uninames.h static const struct { uint16_t index; uint32_t name:24; } ATTRIBUTE_PACKED unicode_name_to_index[29282] = { name 70417 maint/gnulib/lib/uniname/uninames.h static const struct { uint16_t index; uint32_t name:24; } ATTRIBUTE_PACKED unicode_index_to_name[29234] = { name 901 maint/gnulib/lib/unistd.in.h (int fd, char const *name, int mode, int flag) name 904 maint/gnulib/lib/unistd.in.h (int fd, char const *name, int mode, int flag)); name 1122 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) name 1124 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); name 1127 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) name 1130 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); name 1228 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) name 1230 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); name 1233 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) name 1239 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); name 1298 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size) name 1300 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); name 1303 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) name 1308 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); name 1938 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); name 1939 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (rmdir, int, (char const *name)); name 1945 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); name 1947 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); name 1965 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); name 1967 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); name 1983 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) name 1989 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); name 38 maint/gnulib/lib/unlink.c rpl_unlink (char const *name) name 41 maint/gnulib/lib/unlink.c size_t len = strlen (name); name 43 maint/gnulib/lib/unlink.c if (len && ISSLASH (name[len - 1])) name 65 maint/gnulib/lib/unlink.c result = lstat (name, &st); name 72 maint/gnulib/lib/unlink.c memcpy (short_name, name, len); name 88 maint/gnulib/lib/unlink.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' name 89 maint/gnulib/lib/unlink.c && (len == 2 || ISSLASH (name[len - 3]))) name 95 maint/gnulib/lib/unlink.c result = unlink (name); name 46 maint/gnulib/lib/unlinkat.c rpl_unlinkat (int fd, char const *name, int flag) name 52 maint/gnulib/lib/unlinkat.c return unlinkat (fd, name, flag); name 54 maint/gnulib/lib/unlinkat.c len = strlen (name); name 55 maint/gnulib/lib/unlinkat.c if (len && ISSLASH (name[len - 1])) name 61 maint/gnulib/lib/unlinkat.c result = lstatat (fd, name, &st); name 71 maint/gnulib/lib/unlinkat.c memcpy (short_name, name, len); name 87 maint/gnulib/lib/unlinkat.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' name 88 maint/gnulib/lib/unlinkat.c && (len == 2 || ISSLASH (name[len - 3]))) name 94 maint/gnulib/lib/unlinkat.c result = unlinkat (fd, name, flag); name 33 maint/gnulib/lib/unlockpt.c char *name = ptsname (fd); name 34 maint/gnulib/lib/unlockpt.c if (name == NULL) name 36 maint/gnulib/lib/unlockpt.c return revoke (name); name 57 maint/gnulib/lib/unsetenv.c unsetenv (const char *name) name 62 maint/gnulib/lib/unsetenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 68 maint/gnulib/lib/unsetenv.c len = strlen (name); name 74 maint/gnulib/lib/unsetenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') name 111 maint/gnulib/lib/unsetenv.c rpl_unsetenv (const char *name) name 114 maint/gnulib/lib/unsetenv.c if (!name || !*name || strchr (name, '=')) name 119 maint/gnulib/lib/unsetenv.c while (getenv (name)) name 123 maint/gnulib/lib/unsetenv.c unsetenv (name); name 39 maint/gnulib/lib/utime.c _gl_utimens_windows (const char *name, struct timespec ts[2]) name 44 maint/gnulib/lib/utime.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 46 maint/gnulib/lib/utime.c name += 2; name 47 maint/gnulib/lib/utime.c while (ISSLASH (name[1])) name 48 maint/gnulib/lib/utime.c name++; name 51 maint/gnulib/lib/utime.c size_t len = strlen (name); name 52 maint/gnulib/lib/utime.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 60 maint/gnulib/lib/utime.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 72 maint/gnulib/lib/utime.c rname = name; name 83 maint/gnulib/lib/utime.c memcpy (malloca_rname, name, rlen); name 247 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) name 250 maint/gnulib/lib/utime.c return _gl_utimens_windows (name, NULL); name 258 maint/gnulib/lib/utime.c return _gl_utimens_windows (name, ts_with_nanoseconds); name 269 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) name 275 maint/gnulib/lib/utime.c size_t len = strlen (name); name 276 maint/gnulib/lib/utime.c if (len > 0 && ISSLASH (name[len - 1])) name 280 maint/gnulib/lib/utime.c if (stat (name, &buf) == -1 && errno != EOVERFLOW) name 285 maint/gnulib/lib/utime.c return utime (name, ts); name 37 maint/gnulib/lib/utimens.h int fdutimensat (int fd, int dir, char const *name, struct timespec const [2], name 19 maint/gnulib/lib/wctrans-impl.h wctrans (const char *name) name 21 maint/gnulib/lib/wctrans-impl.h if (name[0] == 't' name 22 maint/gnulib/lib/wctrans-impl.h && name[1] == 'o') name 23 maint/gnulib/lib/wctrans-impl.h switch (name[2]) name 26 maint/gnulib/lib/wctrans-impl.h if (strcmp (name + 3, "ower") == 0) name 30 maint/gnulib/lib/wctrans-impl.h if (strcmp (name + 3, "pper") == 0) name 19 maint/gnulib/lib/wctype-impl.h wctype (const char* name) name 21 maint/gnulib/lib/wctype-impl.h switch (name[0]) name 24 maint/gnulib/lib/wctype-impl.h switch (name[1]) name 27 maint/gnulib/lib/wctype-impl.h switch (name[2]) name 30 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 3, "um") == 0) name 34 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 3, "ha") == 0) name 46 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "lank") == 0) name 50 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "ntrl") == 0) name 54 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "igit") == 0) name 58 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "raph") == 0) name 62 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "ower") == 0) name 66 maint/gnulib/lib/wctype-impl.h switch (name[1]) name 69 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 2, "int") == 0) name 73 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 2, "nct") == 0) name 81 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "pace") == 0) name 85 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "pper") == 0) name 89 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "digit") == 0) name 631 maint/gnulib/lib/wctype.in.h _GL_FUNCDECL_SYS (wctype, wctype_t, (const char *name)); name 633 maint/gnulib/lib/wctype.in.h _GL_CXXALIAS_SYS (wctype, wctype_t, (const char *name)); name 695 maint/gnulib/lib/wctype.in.h _GL_FUNCDECL_SYS (wctrans, wctrans_t, (const char *name)); name 697 maint/gnulib/lib/wctype.in.h _GL_CXXALIAS_SYS (wctrans, wctrans_t, (const char *name)); name 36 maint/gnulib/lib/xgetaname-impl.h char *name = buf; name 45 maint/gnulib/lib/xgetaname-impl.h name[size_1] = '\0'; name 47 maint/gnulib/lib/xgetaname-impl.h if (GETANAME (name, size_1) == 0) name 51 maint/gnulib/lib/xgetaname-impl.h idx_t actual_size = strlen (name) + 1; name 53 maint/gnulib/lib/xgetaname-impl.h return alloc ? alloc : ximemdup (name, actual_size); name 61 maint/gnulib/lib/xgetaname-impl.h name = alloc = xpalloc (NULL, &size, 1, -1, 1); name 34 maint/gnulib/lib/xsetenv.c xsetenv (const char *name, const char *value, int replace) name 36 maint/gnulib/lib/xsetenv.c if (setenv (name, value, replace) < 0) name 27 maint/gnulib/lib/xsetenv.h extern void xsetenv (const char *name, const char *value, int replace); name 84 maint/gnulib/lib/xstrtol-error.c option = long_options[opt_idx].name; name 41 maint/gnulib/lib/xstrtol.h # define _DECLARE_XSTRTOL(name, type) \ name 42 maint/gnulib/lib/xstrtol.h strtol_error name (const char *, char **, int, type *, const char *); name 93 maint/gnulib/tests/atomic-int-gnulib.h char name[80]; name 99 maint/gnulib/tests/atomic-int-gnulib.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-gnulib.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-gnulib.h sem_unlink (name); name 93 maint/gnulib/tests/atomic-int-isoc.h char name[80]; name 99 maint/gnulib/tests/atomic-int-isoc.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-isoc.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-isoc.h sem_unlink (name); name 93 maint/gnulib/tests/atomic-int-posix.h char name[80]; name 99 maint/gnulib/tests/atomic-int-posix.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-posix.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-posix.h sem_unlink (name); name 41 maint/gnulib/tests/test-areadlink.c do_areadlink (char const *name, _GL_UNUSED size_t ignored) name 43 maint/gnulib/tests/test-areadlink.c return areadlink (name); name 43 maint/gnulib/tests/test-areadlinkat-with-size.c do_areadlinkat_with_size (char const *name, size_t size) name 45 maint/gnulib/tests/test-areadlinkat-with-size.c return areadlinkat_with_size (dfd, name, size); name 43 maint/gnulib/tests/test-areadlinkat.c do_areadlinkat (char const *name, _GL_UNUSED size_t ignored) name 45 maint/gnulib/tests/test-areadlinkat.c return areadlinkat (dfd, name); name 32 maint/gnulib/tests/test-c32rtomb-w32.c test_one_locale (const char *name, int codepage) name 42 maint/gnulib/tests/test-c32rtomb-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 57 maint/gnulib/tests/test-c32rtomb-w32.c if (setlocale (LC_ALL, name) == NULL) name 27 maint/gnulib/tests/test-dirname.c const char *name; /* Name under test. */ name 137 maint/gnulib/tests/test-dirname.c for (t = tests; t->name; t++) name 139 maint/gnulib/tests/test-dirname.c char *dir = dir_name (t->name); name 140 maint/gnulib/tests/test-dirname.c int dirlen = dir_len (t->name); name 141 maint/gnulib/tests/test-dirname.c char *last = last_component (t->name); name 142 maint/gnulib/tests/test-dirname.c char *base = base_name (t->name); name 144 maint/gnulib/tests/test-dirname.c char *stripped = strdup (t->name); name 146 maint/gnulib/tests/test-dirname.c bool absolute = IS_ABSOLUTE_FILE_NAME (t->name); name 154 maint/gnulib/tests/test-dirname.c t->name, dir, dirlen, name 161 maint/gnulib/tests/test-dirname.c t->name, last, t->last); name 171 maint/gnulib/tests/test-dirname.c t->name, base, baselen, name 178 maint/gnulib/tests/test-dirname.c t->name, stripped, modified ? "changed" : "unchanged", name 184 maint/gnulib/tests/test-dirname.c printf ("'%s': got %s, expected %s\n", t->name, name 33 maint/gnulib/tests/test-execle-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execle-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execle-main.c if (strncmp (assignment, name, name_len) == 0 name 33 maint/gnulib/tests/test-execve-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execve-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execve-main.c if (strncmp (assignment, name, name_len) == 0 name 33 maint/gnulib/tests/test-execvpe-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execvpe-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execvpe-main.c if (strncmp (assignment, name, name_len) == 0 name 50 maint/gnulib/tests/test-fchownat.c do_chown (char const *name, uid_t user, gid_t group) name 53 maint/gnulib/tests/test-fchownat.c return chownat (dfd, name, user, group); name 55 maint/gnulib/tests/test-fchownat.c return fchownat (dfd, name, user, group, 0); name 61 maint/gnulib/tests/test-fchownat.c do_lchown (char const *name, uid_t user, gid_t group) name 64 maint/gnulib/tests/test-fchownat.c return lchownat (dfd, name, user, group); name 66 maint/gnulib/tests/test-fchownat.c return fchownat (dfd, name, user, group, AT_SYMLINK_NOFOLLOW); name 48 maint/gnulib/tests/test-fdutimensat.c do_fdutimens (char const *name, struct timespec const times[2]) name 53 maint/gnulib/tests/test-fdutimensat.c int fd = openat (dfd, name, O_WRONLY); name 55 maint/gnulib/tests/test-fdutimensat.c fd = openat (dfd, name, O_RDONLY); name 57 maint/gnulib/tests/test-fdutimensat.c nofollow_result = fdutimensat (fd, dfd, name, times, AT_SYMLINK_NOFOLLOW); name 59 maint/gnulib/tests/test-fdutimensat.c result = fdutimensat (fd, dfd, name, times, 0); name 73 maint/gnulib/tests/test-fdutimensat.c do_lutimens (const char *name, struct timespec const times[2]) name 75 maint/gnulib/tests/test-fdutimensat.c return lutimensat (dfd, name, times); name 80 maint/gnulib/tests/test-fdutimensat.c do_lutimens1 (const char *name, struct timespec const times[2]) name 82 maint/gnulib/tests/test-fdutimensat.c return fdutimensat (-1, dfd, name, times, AT_SYMLINK_NOFOLLOW); name 87 maint/gnulib/tests/test-fdutimensat.c do_utimens (const char *name, struct timespec const times[2]) name 89 maint/gnulib/tests/test-fdutimensat.c return fdutimensat (-1, dfd, name, times, 0); name 49 maint/gnulib/tests/test-fstatat.c do_stat (char const *name, struct stat *st) name 52 maint/gnulib/tests/test-fstatat.c return statat (dfd, name, st); name 54 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, 0); name 60 maint/gnulib/tests/test-fstatat.c do_lstat (char const *name, struct stat *st) name 63 maint/gnulib/tests/test-fstatat.c return lstatat (dfd, name, st); name 65 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, AT_SYMLINK_NOFOLLOW); name 87 maint/gnulib/tests/test-getlogin.h const char *name = getenv ("USERNAME"); name 88 maint/gnulib/tests/test-getlogin.h if (name != NULL && name[0] != '\0') name 89 maint/gnulib/tests/test-getlogin.h ASSERT (strcmp (buf, name) == 0); name 33 maint/gnulib/tests/test-hard-locale.c test_one (const char *name, int failure_bitmask) name 35 maint/gnulib/tests/test-hard-locale.c if (setlocale (LC_ALL, name) != NULL) name 52 maint/gnulib/tests/test-hard-locale.c name); name 55 maint/gnulib/tests/test-hard-locale.c name); name 65 maint/gnulib/tests/test-hard-locale.c expected = strcmp (name, "C.UTF-8") != 0; name 75 maint/gnulib/tests/test-hard-locale.c name); name 78 maint/gnulib/tests/test-hard-locale.c name); name 71 maint/gnulib/tests/test-localename.c const char *name; name 176 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 183 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); name 185 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 187 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 188 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 197 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 198 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, gl_locale_name_default ()) == 0); name 199 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 200 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 210 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 211 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 212 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 213 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 275 maint/gnulib/tests/test-localename.c const char *name; name 278 maint/gnulib/tests/test-localename.c name = gl_locale_name_thread (LC_CTYPE, "LC_CTYPE"); name 279 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 280 maint/gnulib/tests/test-localename.c name = gl_locale_name_thread (LC_MESSAGES, "LC_MESSAGES"); name 281 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 483 maint/gnulib/tests/test-localename.c const char *name = gl_locale_name_thread (categories[i].cat, categories[i].string); name 484 maint/gnulib/tests/test-localename.c ASSERT (strcmp (unsaved_names[j][i], name) == 0); name 515 maint/gnulib/tests/test-localename.c const char *name; name 545 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 546 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 547 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_NUMERIC, "LC_NUMERIC"); name 548 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 558 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 559 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 566 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 567 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 574 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 575 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 582 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 583 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 593 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 594 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 601 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 602 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 609 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 610 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 620 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); name 622 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); name 624 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 626 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 627 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 636 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); name 637 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 638 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 639 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 654 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 655 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 667 maint/gnulib/tests/test-localename.c const char *name; name 719 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 720 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 726 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 727 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 733 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 734 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 742 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); name 743 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 744 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 745 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 751 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); name 752 maint/gnulib/tests/test-localename.c ASSERT (name == NULL); name 753 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 754 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 768 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 769 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 781 maint/gnulib/tests/test-localename.c const char *name = gl_locale_name_default (); name 783 maint/gnulib/tests/test-localename.c ASSERT (name != NULL); name 788 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 798 maint/gnulib/tests/test-localename.c ASSERT (strcmp (gl_locale_name_default (), name) == 0); name 48 maint/gnulib/tests/test-lstat.c do_lstat (char const *name, struct stat *st) name 50 maint/gnulib/tests/test-lstat.c return lstat (name, st); name 33 maint/gnulib/tests/test-mbrtoc32-w32.c test_one_locale (const char *name, int codepage) name 44 maint/gnulib/tests/test-mbrtoc32-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 59 maint/gnulib/tests/test-mbrtoc32-w32.c if (setlocale (LC_ALL, name) == NULL) name 33 maint/gnulib/tests/test-mbrtowc-w32.c test_one_locale (const char *name, int codepage) name 44 maint/gnulib/tests/test-mbrtowc-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 59 maint/gnulib/tests/test-mbrtowc-w32.c if (setlocale (LC_ALL, name) == NULL) name 44 maint/gnulib/tests/test-mkdirat.c do_mkdir (char const *name, mode_t mode) name 46 maint/gnulib/tests/test-mkdirat.c return mkdirat (dfd, name, mode); name 48 maint/gnulib/tests/test-mkfifoat.c test_mknodat (int fd, char const *name, mode_t mode) name 51 maint/gnulib/tests/test-mkfifoat.c return mknodat (fd, name, mode | S_IFIFO, 0); name 56 maint/gnulib/tests/test-mkfifoat.c do_mkfifoat (char const *name, mode_t mode) name 58 maint/gnulib/tests/test-mkfifoat.c return mkfifoat (dfd, name, mode); name 63 maint/gnulib/tests/test-mkfifoat.c do_mknodat (char const *name, mode_t mode) name 65 maint/gnulib/tests/test-mkfifoat.c return mknodat (dfd, name, mode | S_IFIFO, 0); name 42 maint/gnulib/tests/test-mknod.c do_mknod (char const *name, mode_t mode) name 44 maint/gnulib/tests/test-mknod.c return mknod (name, mode | S_IFIFO, 0); name 42 maint/gnulib/tests/test-openat.c do_open (char const *name, int flags, ...) name 55 maint/gnulib/tests/test-openat.c return openat (dfd, name, flags, mode); name 57 maint/gnulib/tests/test-openat.c return openat (dfd, name, flags); name 42 maint/gnulib/tests/test-posix_openpt.c char *name; name 53 maint/gnulib/tests/test-posix_openpt.c name = ptsname (master); name 54 maint/gnulib/tests/test-posix_openpt.c ASSERT (name); name 57 maint/gnulib/tests/test-posix_openpt.c slave = open (name, O_RDWR); name 48 maint/gnulib/tests/test-readlinkat.c do_readlink (char const *name, char *buf, size_t len) name 50 maint/gnulib/tests/test-readlinkat.c return readlinkat (dfd, name, buf, len); name 26 maint/gnulib/tests/test-rmdir.h test_rmdir_func (int (*func) (char const *name), bool print) name 47 maint/gnulib/tests/test-stat.c do_stat (char const *name, struct stat *st) name 49 maint/gnulib/tests/test-stat.c return stat (name, st); name 48 maint/gnulib/tests/test-symlinkat.c do_symlink (char const *contents, char const *name) name 50 maint/gnulib/tests/test-symlinkat.c return symlinkat (contents, dfd, name); name 26 maint/gnulib/tests/test-unlink.h test_unlink_func (int (*func) (char const *name), bool print) name 46 maint/gnulib/tests/test-unlinkat.c rmdirat (char const *name) name 48 maint/gnulib/tests/test-unlinkat.c return unlinkat (dfd, name, AT_REMOVEDIR); name 53 maint/gnulib/tests/test-unlinkat.c unlinker (char const *name) name 55 maint/gnulib/tests/test-unlinkat.c return unlinkat (dfd, name, 0); name 45 maint/gnulib/tests/test-utimens.c do_fdutimens (char const *name, struct timespec const times[2]) name 48 maint/gnulib/tests/test-utimens.c int fd = open (name, O_WRONLY); name 50 maint/gnulib/tests/test-utimens.c fd = open (name, O_RDONLY); name 52 maint/gnulib/tests/test-utimens.c result = fdutimens (fd, name, times); name 50 maint/gnulib/tests/test-utimensat.c do_utimensat (char const *name, struct timespec const times[2]) name 52 maint/gnulib/tests/test-utimensat.c return utimensat (dfd, name, times, 0); name 57 maint/gnulib/tests/test-utimensat.c do_lutimensat (char const *name, struct timespec const times[2]) name 59 maint/gnulib/tests/test-utimensat.c return utimensat (dfd, name, times, AT_SYMLINK_NOFOLLOW); name 32 maint/gnulib/tests/test-wcrtomb-w32.c test_one_locale (const char *name, int codepage) name 42 maint/gnulib/tests/test-wcrtomb-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 57 maint/gnulib/tests/test-wcrtomb-w32.c if (setlocale (LC_ALL, name) == NULL) name 40 maint/gnulib/tests/unictype/test-block_list.c if (strcmp (blocks[i].name, "Latin") == 0) name 42 maint/gnulib/tests/unictype/test-block_list.c if (strcmp (blocks[i].name, "Hebrew") == 0) name 28 maint/gnulib/tests/unictype/test-block_of.c ASSERT (strcmp (uc_block ('x')->name, "Basic Latin") == 0); name 29 maint/gnulib/tests/unictype/test-block_of.c ASSERT (strcmp (uc_block (0x20AC)->name, "Currency Symbols") == 0); name 50 maint/gnulib/tests/unictype/test-block_of.c if (strcmp (blocks[i].name, "Hebrew") == 0) name 32 maint/gnulib/tests/unictype/test-block_test.c b.name = "CJK Supplemental Area"; name 29 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script ('A')->name, "Latin") == 0); name 30 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script ('%')->name, "Common") == 0); name 34 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script_byname ("Armenian")->name, "Armenian") == 0); name 66 maint/gnulib/tests/unictype/test-scripts.c ASSERT (scripts[i].name != NULL); name 67 maint/gnulib/tests/unictype/test-scripts.c if (strcmp (scripts[i].name, "Hebrew") == 0) name 37 maint/gnulib/tests/uniname/test-uninames.c const char *name; name 176 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[aliases_count].name = xstrdup (field1); name 346 maint/gnulib/tests/uniname/test-uninames.c unsigned int result = unicode_name_character (unicode_aliases[i].name); name 351 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[i].name); name 355 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[i].name, result); name 400 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, pair->name, pair->value, name 562 tools/crm_attribute.c const char *name = crm_element_value(node, PCMK_XA_NAME); name 568 tools/crm_attribute.c if (od->use_pattern && !pcmk__str_eq(name, options.attr_pattern, pcmk__str_regex)) { name 572 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, NULL, name 576 tools/crm_attribute.c pcmk__s(name, "<null>"), pcmk__s(value, ""), name 278 tools/crm_mon.c const char *name; name 304 tools/crm_mon.c find_section_bit(const char *name) { name 305 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { name 306 tools/crm_mon.c if (pcmk__str_eq(sections[i].name, name, pcmk__str_casei)) { name 1844 tools/crm_mon.c if(strcmp((const char*)xml->name, PCMK__XE_LRM_RSC_OP) != 0) { name 1945 tools/crm_mon.c const char *name = NULL; name 1969 tools/crm_mon.c name = (const char *)match->name; name 1972 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); name 1976 tools/crm_mon.c } else if(name == NULL) { name 1981 tools/crm_mon.c } else if (strcmp(name, PCMK_XE_CIB) == 0) { name 1986 tools/crm_mon.c } else if (strcmp(name, PCMK_XE_STATUS) == 0) { name 1989 tools/crm_mon.c } else if (strcmp(name, PCMK__XE_NODE_STATE) == 0) { name 1996 tools/crm_mon.c } else if (strcmp(name, PCMK__XE_LRM) == 0) { name 2000 tools/crm_mon.c } else if (strcmp(name, PCMK__XE_LRM_RESOURCES) == 0) { name 2006 tools/crm_mon.c } else if (strcmp(name, PCMK__XE_LRM_RESOURCE) == 0) { name 2012 tools/crm_mon.c } else if (strcmp(name, PCMK__XE_LRM_RSC_OP) == 0) { name 2019 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); name 179 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 468 tools/crm_node.c const char *name = getenv("OCF_RESKEY_" CRM_META "_" name 471 tools/crm_node.c if (name != NULL) { name 472 tools/crm_node.c rc = out->message(out, "node-name", 0UL, name); name 823 tools/crm_resource.c char *name = NULL; name 826 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { name 832 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); name 1579 tools/crm_resource.c char *name = pcmk__assert_alloc(1, strlen(*s)); name 1581 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); name 1584 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); name 1592 tools/crm_resource.c free(name); name 46 tools/crm_resource_print.c xml_obj->name, name 86 tools/crm_resource_print.c rsc->xml->name, rsc->id, name 163 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, (const char *) ud->rsc->xml->name, name 247 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 260 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 274 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 292 tools/crm_resource_print.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 338 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 343 tools/crm_resource_print.c name, value); name 346 tools/crm_resource_print.c rsc_name, name, value); name 356 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 360 tools/crm_resource_print.c PCMK_XA_NAME, name, name 424 tools/crm_resource_print.c const char *name = NULL; name 430 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 431 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 498 tools/crm_resource_print.c const char *name = NULL; name 504 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 505 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 412 tools/crm_resource_runtime.c xml_top = pcmk__xe_create(NULL, (const char *) rsc->xml->name); name 441 tools/crm_resource_runtime.c attr_set_type = (const char *) xml_search->parent->name; name 725 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 728 tools/crm_resource_runtime.c return strdup(name); name 730 tools/crm_resource_runtime.c return clone_strip(name); name 2114 tools/crm_resource_runtime.c char *name = NULL; name 2118 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 2120 tools/crm_resource_runtime.c pcmk__insert_dup(params, name, value); name 239 tools/stonith_admin.c static char *name = NULL; name 281 tools/stonith_admin.c char *name = NULL; name 288 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); name 295 tools/stonith_admin.c crm_info("Got: '%s'='%s'", name, value); name 296 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); name 299 tools/stonith_admin.c free(name); name 306 tools/stonith_admin.c free(name); name 307 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg); name 347 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, name 406 tools/stonith_admin.c if (name == NULL) { name 407 tools/stonith_admin.c name = strdup(crm_system_name); name 546 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); name 678 tools/stonith_admin.c free(name);