name 44 daemons/attrd/attrd_cib.c char *name = user_data; name 45 daemons/attrd/attrd_cib.c attribute_t *a = g_hash_table_lookup(attributes, name); name 48 daemons/attrd/attrd_cib.c crm_info("Attribute %s no longer exists", name); name 110 daemons/attrd/attrd_cib.c name, pcmk__readable_interval(a->timeout_ms)); name 354 daemons/attrd/attrd_utils.c const char *p_name = (const char *) a->name; name 234 daemons/based/based_callbacks.c if (cib_client->name == NULL) { name 238 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); name 240 daemons/based/based_callbacks.c cib_client->name = strdup(value); name 259 daemons/based/based_callbacks.c crm_xml_add(op_request, F_CIB_CLIENTNAME, cib_client->name); name 189 daemons/based/based_io.c const char *name = NULL; name 268 daemons/based/based_io.c name = XML_ATTR_GENERATION_ADMIN; name 269 daemons/based/based_io.c value = crm_element_value(root, name); name 271 daemons/based/based_io.c crm_warn("No value for %s was specified in the configuration.", name); name 277 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 280 daemons/based/based_io.c name = XML_ATTR_GENERATION; name 281 daemons/based/based_io.c value = crm_element_value(root, name); name 283 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 286 daemons/based/based_io.c name = XML_ATTR_NUMUPDATES; name 287 daemons/based/based_io.c value = crm_element_value(root, name); name 289 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 420 daemons/based/based_remote.c if (client->name == NULL) { name 423 daemons/based/based_remote.c client->name = strdup(client->id); name 425 daemons/based/based_remote.c client->name = strdup(value); name 436 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); name 517 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "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 1108 daemons/controld/controld_messages.c const char *name = NULL; name 1111 daemons/controld/controld_messages.c name = crm_element_value(stored_msg, XML_ATTR_UNAME); name 1116 daemons/controld/controld_messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); name 1118 daemons/controld/controld_messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); name 1123 daemons/controld/controld_messages.c reap_crm_member(id, name); name 1129 daemons/controld/controld_messages.c st_fail_count_reset(name); name 462 daemons/controld/controld_te_actions.c char *name; name 471 daemons/controld/controld_te_actions.c free(peer->name); name 503 daemons/controld/controld_te_actions.c r->name = strdup(target); name 504 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 579 daemons/controld/controld_te_actions.c r->name = strdup(target); name 580 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 409 daemons/controld/controld_te_callbacks.c const char *name = NULL; name 455 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; name 460 daemons/controld/controld_te_callbacks.c (name? " matched by " : ""), (name? name : "")); name 468 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 474 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_TAG_TRANSIENT_NODEATTRS, name 482 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { name 486 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_TAG_CIB) == 0) { name 489 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 492 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATE) == 0) { name 495 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_LRM) == 0) { name 498 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 504 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 510 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 518 daemons/controld/controld_te_callbacks.c op, xpath, name); name 244 daemons/controld/controld_te_events.c fail_pair->name = fail_name; name 258 daemons/controld/controld_te_events.c last_pair->name = last_name; 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 556 daemons/execd/execd_commands.c if (client->name == NULL) { name 143 daemons/execd/pacemaker-execd.c if (!client->name) { name 147 daemons/execd/pacemaker-execd.c client->name = pcmk__itoa(pcmk__client_pid(c)); name 149 daemons/execd/pacemaker-execd.c client->name = strdup(value); name 159 daemons/execd/pacemaker-execd.c crm_xml_add(request, F_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 257 daemons/execd/remoted_pidone.c const char *name = "pcmk-init"; name 272 daemons/execd/remoted_pidone.c i = strlen(name); name 275 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 116 daemons/execd/remoted_tls.c if (!client->name) { name 120 daemons/execd/remoted_tls.c client->name = strdup(value); name 130 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 769 daemons/fenced/fenced_commands.c char *name = NULL; name 789 daemons/fenced/fenced_commands.c free(name); name 790 daemons/fenced/fenced_commands.c name = calloc(1, 1 + lpc - last); name 791 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); name 802 daemons/fenced/fenced_commands.c if (name) { name 816 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); name 817 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); name 822 daemons/fenced/fenced_commands.c name = NULL; name 842 daemons/fenced/fenced_commands.c free(name); name 1010 daemons/fenced/fenced_commands.c xml2device_params(const char *name, const xmlNode *dev) name 1022 daemons/fenced/fenced_commands.c name, STONITH_ATTR_ACTION_OP); name 2948 daemons/fenced/fenced_commands.c const char *name = NULL; name 2962 daemons/fenced/fenced_commands.c name = names[lpc]; name 2963 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); name 2964 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); name 3504 daemons/fenced/fenced_commands.c const char *name = NULL; name 3507 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, XML_ATTR_UNAME); name 3508 daemons/fenced/fenced_commands.c reap_crm_member(node_id, name); name 136 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { name 142 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); name 270 daemons/fenced/pacemaker-fenced.c get_stonith_flag(const char *name) name 272 daemons/fenced/pacemaker-fenced.c if (pcmk__str_eq(name, T_STONITH_NOTIFY_FENCE, pcmk__str_casei)) { name 275 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_ADD, pcmk__str_casei)) { name 278 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_DEL, pcmk__str_casei)) { name 281 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY, pcmk__str_casei)) { name 284 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY_SYNCED, pcmk__str_casei)) { name 769 daemons/fenced/pacemaker-fenced.c const char *name = NULL; name 780 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&gIter, (gpointer *) & name, (gpointer *) & value)) { name 781 daemons/fenced/pacemaker-fenced.c if (!name || !value) { name 784 daemons/fenced/pacemaker-fenced.c params = stonith_key_value_add(params, name, value); name 785 daemons/fenced/pacemaker-fenced.c crm_trace(" %s=%s", name, value); name 1002 daemons/fenced/pacemaker-fenced.c node_has_attr(const char *node, const char *name, const char *value) name 1007 daemons/fenced/pacemaker-fenced.c CRM_CHECK((local_cib != NULL) && (node != NULL) && (name != NULL) name 1020 daemons/fenced/pacemaker-fenced.c "[@" XML_NVPAIR_ATTR_NAME "='", name, "' " name 217 daemons/fenced/pacemaker-fenced.h uint64_t get_stonith_flag(const char *name); name 279 daemons/fenced/pacemaker-fenced.h gboolean node_has_attr(const char *node, const char *name, const char *value); name 30 daemons/pacemakerd/pcmkd_subdaemons.c const char *name; name 138 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 152 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 165 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 197 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 204 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 210 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 239 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); name 249 daemons/pacemakerd/pcmkd_subdaemons.c const char *name = mainloop_child_name(p); name 254 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), name 261 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 266 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); name 273 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); name 282 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 299 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); name 311 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); name 317 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); name 321 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 326 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 358 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, name 373 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); name 379 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); name 433 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); name 441 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { name 448 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { name 454 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); name 460 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); name 463 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); name 471 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); name 474 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, name 567 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 615 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); name 620 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { name 734 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, WAIT_TRIES - 1); name 742 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 755 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 781 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, pcmk_rc_str(rc), rc); name 847 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Respawning cluster-based subdaemon: %s", pcmk_children[i].name); name 867 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); name 872 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); name 879 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); name 883 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 121 daemons/schedulerd/schedulerd_messages.c if (pcmk__read_series_sequence(PE_STATE_DIR, series[series_id].name, name 127 daemons/schedulerd/schedulerd_messages.c series[series_id].name, series_wrap, seq, value); name 146 daemons/schedulerd/schedulerd_messages.c series[series_id].name, seq, true); name 167 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 84 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); name 85 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, name 60 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); name 154 include/crm/cluster.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 29 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 44 include/crm/common/attrd_internal.h const char *pcmk__node_attr_target(const char *name); name 101 include/crm/common/cmdline_internal.h void pcmk__add_arg_group(GOptionContext *context, const char *name, name 81 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); name 82 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, name 94 include/crm/common/internal.h pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value); name 107 include/crm/common/internal.h pcmk__xe_attr_is_true(const xmlNode *node, const char *name); name 125 include/crm/common/internal.h pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value); name 130 include/crm/common/internal.h pid_t pcmk__procfs_pid_of(const char *name); name 164 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); name 253 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 167 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 122 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 163 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 171 include/crm/common/ipc_internal.h char *name; name 131 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) name 134 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) QB_LOG_INIT_DATA(name) name 84 include/crm/common/logging_internal.h void pcmk__cli_init_logging(const char *name, unsigned int verbosity); name 66 include/crm/common/mainloop.h mainloop_timer_t *mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata); name 94 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 116 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server_with_prio(const char *name, name 123 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 148 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 75 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_replace(xmlNode *node, const char *name, const char *value); name 50 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); name 51 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); name 52 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); name 57 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); name 58 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); name 59 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); name 60 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); name 61 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); name 64 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); name 38 include/crm/common/options_internal.h const char *name; name 53 include/crm/common/options_internal.h int len, const char *name); name 55 include/crm/common/options_internal.h gchar *pcmk__format_option_metadata(const char *name, const char *desc_short, name 127 include/crm/common/output_internal.h const char *name; name 422 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); name 456 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) name 602 include/crm/common/output_internal.h pcmk__register_format(GOptionGroup *group, const char *name, name 778 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) name 802 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) name 815 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); name 901 include/crm/common/output_internal.h pcmk__html_add_header(const char *name, ...) name 354 include/crm/common/results.h const char **name, const char **desc); name 131 include/crm/common/util.h bool crm_is_daemon_name(const char *name); name 133 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); name 66 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); name 69 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, name 73 include/crm/common/util_compat.h char *pcmk_format_named_time(const char *name, time_t epoch_time); name 77 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); name 87 include/crm/common/xml.h xmlNode *create_xml_node(xmlNode * parent, const char *name); name 97 include/crm/common/xml.h xmlNode *pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content); name 158 include/crm/common/xml.h void xml_remove_prop(xmlNode * obj, const char *name); name 175 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; name 181 include/crm/common/xml.h const char *name = crm_element_name(xml); name 183 include/crm/common/xml.h if (strcmp(name, "master") == 0) { name 186 include/crm/common/xml.h return name; name 241 include/crm/common/xml.h int get_schema_version(const char *name); name 257 include/crm/common/xml.h xmlNode *first_named_child(const xmlNode *parent, const char *name); name 34 include/crm/common/xml_compat.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); name 56 include/crm/common/xml_compat.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) name 58 include/crm/common/xml_compat.h return crm_xml_add(node, name, (value? "true" : "false")); name 202 include/crm/compatibility.h get_resource_type(const char *name) name 204 include/crm/compatibility.h if (safe_str_eq(name, XML_CIB_TAG_RESOURCE)) { name 207 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_GROUP)) { name 210 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_INCARNATION) name 211 include/crm/compatibility.h || safe_str_eq(name, PCMK_XE_PROMOTABLE_LEGACY)) { name 214 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_CONTAINER)) { name 144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); name 236 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); name 238 include/crm/pengine/internal.h char *native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 276 include/crm/pengine/internal.h gchar *pcmk__native_output_string(const pe_resource_t *rsc, const char *name, name 377 include/crm/pengine/internal.h extern pe_action_t *get_pseudo_op(const char *name, pe_working_set_t * data_set); name 447 include/crm/pengine/internal.h enum action_tasks get_complex_task(const pe_resource_t *rsc, const char *name); name 559 include/crm/pengine/internal.h void common_print(pe_resource_t *rsc, const char *pre_text, const char *name, name 562 include/crm/pengine/internal.h const char *name, const pe_node_t *node, name 565 include/crm/pengine/internal.h const char *name, const pe_node_t *node, name 580 include/crm/pengine/internal.h const char *name, name 582 include/crm/pengine/internal.h const char *pe_node_attribute_raw(const pe_node_t *node, const char *name); name 637 include/crm/pengine/internal.h xmlNode *pe__failed_probe_for_rsc(const pe_resource_t *rsc, const char *name); name 257 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, name 272 include/crm/services.h gboolean services_action_kick(const char *name, const char *action, name 365 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 169 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); name 190 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); name 575 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, name 364 include/pacemaker.h const char *name, unsigned int timeout, name 50 include/pcmki/pcmki_fence.h const char *name, unsigned int timeout, name 39 include/portability.h int setenv(const char *name, const char *value, int why); name 548 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 552 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 691 lib/cib/cib_attrs.c if (pcmk__str_eq((const char *)a_child->name, XML_CIB_TAG_NODE, name 421 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); name 469 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); name 471 lib/cib/cib_client.c free(name); name 290 lib/cib/cib_file.c cib_file_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 303 lib/cib/cib_file.c private->filename, name); name 309 lib/cib/cib_file.c private->filename, name, pcmk_strerror(rc)); name 265 lib/cib/cib_native.c cib_native_signon_raw(cib_t *cib, const char *name, enum cib_conn_type type, name 315 lib/cib/cib_native.c crm_info("Could not connect to CIB manager for %s", name); name 325 lib/cib/cib_native.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 355 lib/cib/cib_native.c crm_info("Successfully connected to CIB manager for %s", name); name 360 lib/cib/cib_native.c name, pcmk_strerror(rc)); name 366 lib/cib/cib_native.c cib_native_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 368 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); name 307 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); name 312 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", input->name, ID(input)); name 826 lib/cib/cib_ops.c parent->name, id, name 829 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, name 58 lib/cib/cib_remote.c xmlNode **output_data, int call_options, const char *name) name 433 lib/cib/cib_remote.c cib_remote_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 464 lib/cib/cib_remote.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 471 lib/cib/cib_remote.c private->server, private->port, name); name 477 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); name 228 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); name 623 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) name 626 lib/cib/cib_utils.c name); name 186 lib/cluster/cluster.c static char *name = NULL; name 188 lib/cluster/cluster.c if (name == NULL) { name 189 lib/cluster/cluster.c name = get_node_name(0); name 191 lib/cluster/cluster.c return name; name 206 lib/cluster/cluster.c char *name = NULL; name 212 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); name 220 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { name 221 lib/cluster/cluster.c name = pcmk_hostname(); name 222 lib/cluster/cluster.c if (name == NULL) { name 232 lib/cluster/cluster.c if (name == NULL) { name 236 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 314 lib/cluster/corosync.c char *name = pcmk__corosync_name(0, id); name 317 lib/cluster/corosync.c node = crm_get_peer(id, name); name 318 lib/cluster/corosync.c free(name); name 613 lib/cluster/corosync.c char *name = NULL; name 624 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); name 625 lib/cluster/corosync.c if (name != NULL) { name 631 lib/cluster/corosync.c if(node && node->uname && strcasecmp(node->uname, name) == 0) { name 634 lib/cluster/corosync.c nodeid, name); name 641 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { name 642 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); name 643 lib/cluster/corosync.c crm_get_peer(nodeid, name); name 646 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { name 653 lib/cluster/corosync.c crm_xml_add(node, XML_ATTR_UNAME, name); name 657 lib/cluster/corosync.c free(name); name 28 lib/cluster/election.c char *name; // Descriptive name for this election name 54 lib/cluster/election.c crm_info("%s timed out, declaring local node as winner", e->name); name 89 lib/cluster/election.c election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb) name 110 lib/cluster/election.c e->name = name? crm_strdup_printf("election-%s", name) name 113 lib/cluster/election.c e->timeout = mainloop_timer_add(e->name, period_ms, FALSE, name 115 lib/cluster/election.c crm_trace("Created %s", e->name); name 132 lib/cluster/election.c crm_trace("Discarding %s (no-)vote from lost peer %s", e->name, uname); name 146 lib/cluster/election.c crm_trace("Resetting election %s", e->name); name 169 lib/cluster/election.c crm_trace("Destroying %s", e->name); name 172 lib/cluster/election.c free(e->name); name 304 lib/cluster/election.c e->name); name 322 lib/cluster/election.c crm_debug("Started %s round %d", e->name, e->count); name 353 lib/cluster/election.c crm_trace("%s check requested, but no votes received yet", e->name); name 372 lib/cluster/election.c crm_warn("Received too many votes in %s", e->name); name 387 lib/cluster/election.c crm_info("%s won by local node", e->name); name 393 lib/cluster/election.c e->name, num_members - voted_size, num_members); name 444 lib/cluster/election.c (e? e->name : "election")); name 456 lib/cluster/election.c (e? e->name : "election"), vote->op, vote->from); name 462 lib/cluster/election.c (e? e->name : "election"), vote->from, vote->op); name 479 lib/cluster/election.c e->name, vote->op, vote->from); name 583 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from, name 590 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from); name 638 lib/cluster/election.c e->name, e->election_wins, STORM_INTERVAL); name 661 lib/cluster/election.c e->name, vote.election_id, vote.op, e->count, vote.from, name 683 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 701 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.from, name 709 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 333 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) name 344 lib/cluster/membership.c pcmk__str_update(&search.uname, name); name 154 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { name 402 lib/common/acl.c const char *prop_name = (const char *)xIter->name; name 409 lib/common/acl.c xmlUnsetProp(xml, tmp->name); name 531 lib/common/acl.c if (strcmp((const char *) prop->name, XML_ATTR_ID) != 0) { name 650 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) name 666 lib/common/acl.c if (name != NULL) { name 667 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 684 lib/common/acl.c if (name) { name 685 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); name 702 lib/common/acl.c if (name != NULL) { name 703 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 722 lib/common/acl.c if (name != NULL) { name 723 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 234 lib/common/alerts.c const char *name = NULL; name 238 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || name 239 lib/common/alerts.c (strcmp(name, XML_CIB_TAG_ALERTS) != 0)) { name 39 lib/common/attrs.c pcmk__node_attr_target(const char *name) name 41 lib/common/attrs.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { name 49 lib/common/attrs.c name = host_physical; name 55 lib/common/attrs.c name = host_pcmk; name 63 lib/common/attrs.c return name; name 24 lib/common/cib.c const char *name; // Name of this CIB element name 114 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 135 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 113 lib/common/crmcommon_private.h bool pcmk__xa_filterable(const char *name); name 234 lib/common/digest.c pcmk__xa_filterable(const char *name) name 245 lib/common/digest.c if (strcmp(name, filter[i]) == 0) { 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 71 lib/common/ipc_attrd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { name 260 lib/common/ipc_attrd.c pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, name 265 lib/common/ipc_attrd.c if (name == NULL) { name 279 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); name 324 lib/common/ipc_attrd.c pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 331 lib/common/ipc_attrd.c if (name == NULL) { name 347 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_NAME, name); name 356 lib/common/ipc_attrd.c name, node, pcmk_rc_str(rc), rc); name 359 lib/common/ipc_attrd.c name, pcmk_rc_str(rc), rc); name 419 lib/common/ipc_attrd.c populate_update_op(xmlNode *op, const char *node, const char *name, const char *value, name 423 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_PATTERN, name); name 425 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_NAME, name); name 453 lib/common/ipc_attrd.c pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, name 462 lib/common/ipc_attrd.c if (name == NULL) { name 473 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); name 494 lib/common/ipc_attrd.c name, display_host, pcmk_rc_str(rc), rc); name 558 lib/common/ipc_attrd.c populate_update_op(child, pair->node, pair->name, pair->value, dampen, name 561 lib/common/ipc_attrd.c rc = pcmk__attrd_api_update(api, pair->node, pair->name, pair->value, name 820 lib/common/ipc_client.c crm_ipc_new(const char *name, size_t max_size) name 830 lib/common/ipc_client.c client->server_name = strdup(name); name 833 lib/common/ipc_client.c name, strerror(errno)); name 841 lib/common/ipc_client.c name, strerror(errno)); name 1483 lib/common/ipc_client.c pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 1497 lib/common/ipc_client.c c = qb_ipcc_connect_async(name, 0, name 1500 lib/common/ipc_client.c c = qb_ipcc_connect(name, 0); name 1503 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, strerror(errno)); name 1513 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, name 1527 lib/common/ipc_client.c name, pcmk_rc_str(rc), rc); name 1536 lib/common/ipc_client.c name, (long long) PCMK__SPECIAL_PID_AS_0(found_pid), name 1545 lib/common/ipc_client.c CRM_XS " rc=%d", name, pcmk_rc_str(rc), rc); name 1555 lib/common/ipc_client.c && strncmp(last_asked_name, name, sizeof(last_asked_name))) { name 1560 lib/common/ipc_client.c name, (long long) refuid, (long long) refgid); name 1565 lib/common/ipc_client.c name, (long long) found_uid, (long long) found_gid, name 1568 lib/common/ipc_client.c memccpy(last_asked_name, name, '\0', sizeof(last_asked_name)); name 204 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { name 87 lib/common/ipc_schedulerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { name 103 lib/common/ipc_server.c } else if (c->name != NULL) { name 104 lib/common/ipc_server.c return c->name; name 328 lib/common/ipc_server.c free(c->name); name 996 lib/common/ipc_server.c crm_is_daemon_name(const char *name) name 998 lib/common/ipc_server.c name = pcmk__message_name(name); name 999 lib/common/ipc_server.c return (!strcmp(name, CRM_SYSTEM_CRMD) name 1000 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_STONITHD) name 1001 lib/common/ipc_server.c || !strcmp(name, "stonith-ng") name 1002 lib/common/ipc_server.c || !strcmp(name, "attrd") name 1003 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_CIB) name 1004 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_MCP) name 1005 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_DC) name 1006 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_TENGINE) name 1007 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_LRMD)); name 717 lib/common/logging.c crm_priority2int(const char *name) name 720 lib/common/logging.c const char *name; name 736 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { name 737 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { name 1117 lib/common/logging.c pcmk__cli_init_logging(const char *name, unsigned int verbosity) name 1119 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); name 56 lib/common/mainloop.c char *name; name 650 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 653 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); name 657 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, name 668 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); name 671 lib/common/mainloop.c crm_err("Could not create %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 685 lib/common/mainloop.c crm_err("Could not start %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 701 lib/common/mainloop.c char *name; name 742 lib/common/mainloop.c client->name, pcmk_strerror(read_rc), read_rc); name 749 lib/common/mainloop.c read_rc, client->name, (int) condition); name 751 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 760 lib/common/mainloop.c client->name, (int) condition); name 763 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 772 lib/common/mainloop.c client->name, client, condition); name 777 lib/common/mainloop.c client->name, client, condition); name 821 lib/common/mainloop.c char *c_name = strdup(client->name); name 848 lib/common/mainloop.c free(client->name); client->name = NULL; name 915 lib/common/mainloop.c mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 918 lib/common/mainloop.c crm_ipc_t *ipc = crm_ipc_new(name, max_size); name 926 lib/common/mainloop.c name, pcmk_rc_str(rc)); name 955 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 965 lib/common/mainloop.c client->name = strdup(name); name 990 lib/common/mainloop.c crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd); name 1002 lib/common/mainloop.c crm_trace("Removing client %s[%p]", client->name, client); name 1303 lib/common/mainloop.c crm_trace("Invoking callbacks for timer %s", t->name); name 1306 lib/common/mainloop.c crm_trace("Timer %s complete", t->name); name 1333 lib/common/mainloop.c crm_trace("Starting timer %s", t->name); name 1342 lib/common/mainloop.c crm_trace("Stopping timer %s", t->name); name 1365 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) name 1370 lib/common/mainloop.c if(name) { name 1371 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); name 1373 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); name 1380 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); name 1389 lib/common/mainloop.c crm_trace("Destroying timer %s", t->name); name 1391 lib/common/mainloop.c free(t->name); name 180 lib/common/messages.c pcmk__message_name(const char *name) name 182 lib/common/messages.c if (name == NULL) { name 185 lib/common/messages.c } else if (!strcmp(name, "pacemaker-attrd")) { name 188 lib/common/messages.c } else if (!strcmp(name, "pacemaker-based")) { name 191 lib/common/messages.c } else if (!strcmp(name, "pacemaker-controld")) { name 194 lib/common/messages.c } else if (!strcmp(name, "pacemaker-execd")) { name 197 lib/common/messages.c } else if (!strcmp(name, "pacemaker-fenced")) { name 200 lib/common/messages.c } else if (!strcmp(name, "pacemaker-schedulerd")) { name 204 lib/common/messages.c return name; name 94 lib/common/mock.c __wrap_getenv(const char *name) name 97 lib/common/mock.c return __real_getenv(name); name 99 lib/common/mock.c check_expected_ptr(name); name 121 lib/common/mock.c __wrap_setenv(const char *name, const char *value, int overwrite) name 124 lib/common/mock.c return __real_setenv(name, value, overwrite); name 126 lib/common/mock.c check_expected_ptr(name); name 149 lib/common/mock.c __wrap_unsetenv(const char *name) name 152 lib/common/mock.c return __real_unsetenv(name); name 154 lib/common/mock.c check_expected_ptr(name); name 308 lib/common/mock.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, name 314 lib/common/mock.c check_expected_ptr(name); name 323 lib/common/mock.c return __real_getpwnam_r(name, pwd, buf, buflen, result); name 34 lib/common/mock_private.h char *__real_getenv(const char *name); name 35 lib/common/mock_private.h char *__wrap_getenv(const char *name); name 38 lib/common/mock_private.h int __real_setenv(const char *name, const char *value, int overwrite); name 39 lib/common/mock_private.h int __wrap_setenv(const char *name, const char *value, int overwrite); name 42 lib/common/mock_private.h int __real_unsetenv(const char *name); name 43 lib/common/mock_private.h int __wrap_unsetenv(const char *name); name 58 lib/common/mock_private.h int __real_getpwnam_r(const char *name, struct passwd *pwd, name 60 lib/common/mock_private.h int __wrap_getpwnam_r(const char *name, struct passwd *pwd, name 47 lib/common/nvpair.c pcmk__new_nvpair(const char *name, const char *value) name 51 lib/common/nvpair.c CRM_ASSERT(name); name 56 lib/common/nvpair.c pcmk__str_update(&nvpair->name, name); name 73 lib/common/nvpair.c free(nvpair->name); name 91 lib/common/nvpair.c pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value) name 93 lib/common/nvpair.c return g_slist_prepend(nvpairs, pcmk__new_nvpair(name, value)); name 124 lib/common/nvpair.c CRM_ASSERT(pair_a->name != NULL); name 127 lib/common/nvpair.c CRM_ASSERT(pair_b->name != NULL); name 129 lib/common/nvpair.c rc = strcmp(pair_a->name, pair_b->name); name 169 lib/common/nvpair.c (const char *) iter->name, name 191 lib/common/nvpair.c crm_xml_add(parent, pair->name, pair->value); name 221 lib/common/nvpair.c pcmk__scan_nvpair(const char *input, char **name, char **value) name 224 lib/common/nvpair.c *name = NULL; name 226 lib/common/nvpair.c if (sscanf(input, "%m[^=]=%m[^\n]", name, value) <= 0) { name 231 lib/common/nvpair.c *name = NULL; name 239 lib/common/nvpair.c *name = strndup(input, sep-input); name 241 lib/common/nvpair.c if (*name == NULL) { name 257 lib/common/nvpair.c if (*name != NULL && *value != NULL) { name 259 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { name 284 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) name 286 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); name 302 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) name 308 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); name 315 lib/common/nvpair.c const char *old = crm_element_value(node, name); name 322 lib/common/nvpair.c if (dirty && (pcmk__check_acl(node, name, pcmk__xf_acl_create) == FALSE)) { name 323 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); name 327 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 347 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) name 354 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); name 356 lib/common/nvpair.c old_value = crm_element_value(node, name); name 361 lib/common/nvpair.c if (pcmk__check_acl(node, name, pcmk__xf_acl_write) == FALSE) { name 363 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); name 367 lib/common/nvpair.c xml_remove_prop(node, name); name 377 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 398 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) name 401 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 420 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) name 423 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 448 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) name 455 lib/common/nvpair.c return crm_xml_add(xml, name, s); name 496 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) name 501 lib/common/nvpair.c crm_err("Couldn't find %s in NULL", name ? name : "<null>"); name 505 lib/common/nvpair.c } else if (name == NULL) { name 513 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); name 532 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) name 537 lib/common/nvpair.c value = crm_element_value(data, name); name 564 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) name 569 lib/common/nvpair.c value = crm_element_value(data, name); name 589 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) name 596 lib/common/nvpair.c value = crm_element_value(data, name); name 617 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) name 621 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { name 693 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) name 697 lib/common/nvpair.c pcmk__str_update(&value_copy, crm_element_value(data, name)); name 717 lib/common/nvpair.c const char *name = key; name 722 lib/common/nvpair.c if (isdigit(name[0])) { name 725 lib/common/nvpair.c crm_xml_add(tmp, XML_NVPAIR_ATTR_NAME, name); name 728 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { name 729 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 730 lib/common/nvpair.c crm_trace("dumped: %s=%s", name, s_value); name 733 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 751 lib/common/nvpair.c const char *name = key; name 756 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { name 757 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 760 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 812 lib/common/nvpair.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, name 820 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); name 831 lib/common/nvpair.c (parent_id? parent_id : XML_CIB_TAG_NVPAIR), name); name 833 lib/common/nvpair.c crm_xml_add(nvp, XML_NVPAIR_ATTR_NAME, name); name 852 lib/common/nvpair.c const char *name = key; name 856 lib/common/nvpair.c crm_create_nvpair_xml(xml_node, name, name, s_value); name 857 lib/common/nvpair.c crm_trace("dumped: name=%s value=%s", name, s_value); name 895 lib/common/nvpair.c const char *p_name = (const char *)pIter->name; name 906 lib/common/nvpair.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { name 921 lib/common/nvpair.c pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value) name 923 lib/common/nvpair.c crm_xml_add(node, name, value ? XML_BOOLEAN_TRUE : XML_BOOLEAN_FALSE); name 927 lib/common/nvpair.c pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value) name 934 lib/common/nvpair.c } else if (name == NULL || value == NULL) { name 938 lib/common/nvpair.c xml_value = crm_element_value(node, name); name 954 lib/common/nvpair.c pcmk__xe_attr_is_true(const xmlNode *node, const char *name) name 959 lib/common/nvpair.c rc = pcmk__xe_get_bool_attr(node, name, &value); name 969 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) name 971 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); name 975 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, name 978 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); name 982 lib/common/nvpair.c pcmk_format_named_time(const char *name, time_t epoch_time) name 985 lib/common/nvpair.c char *result = crm_strdup_printf("%s=\"%s\"", name, pcmk__s(now_s, "")); name 323 lib/common/operations.c if (strncmp((const char *) a->name, CRM_META "_", name 327 lib/common/operations.c return pcmk__str_any_of((const char *) a->name, name 263 lib/common/options.c const char *name, const char *old_name, name 269 lib/common/options.c CRM_ASSERT(name != NULL); name 272 lib/common/options.c value = g_hash_table_lookup(options, name); name 280 lib/common/options.c old_name, name); name 284 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 291 lib/common/options.c "because '%s' is invalid", name, value); name 305 lib/common/options.c name); name 311 lib/common/options.c crm_err("Bug: default value for cluster option '%s' is invalid", name); name 316 lib/common/options.c value, name); name 319 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 339 lib/common/options.c int len, const char *name) name 344 lib/common/options.c if (pcmk__str_eq(name, option_list[lpc].name, pcmk__str_casei)) { name 346 lib/common/options.c option_list[lpc].name, name 352 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); name 413 lib/common/options.c pcmk__format_option_metadata(const char *name, const char *desc_short, name 422 lib/common/options.c "<resource-agent name=\"", name, "\" " name 432 lib/common/options.c const char *opt_name = option_list[lpc].name; name 493 lib/common/options.c option_list[lpc].name, name 126 lib/common/output.c pcmk__register_format(GOptionGroup *group, const char *name, name 130 lib/common/output.c CRM_ASSERT(create != NULL && !pcmk__str_empty(name)); name 140 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); name 151 lib/common/output.c for (const pcmk__supported_format_t *entry = formats; entry->name != NULL; name 153 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); name 281 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 335 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 351 lib/common/output_html.c if (name != NULL) { name 352 lib/common/output_html.c crm_xml_add(item_node, "class", name); name 455 lib/common/output_html.c pcmk__html_add_header(const char *name, ...) { name 459 lib/common/output_html.c va_start(ap, name); name 461 lib/common/output_html.c header_node = xmlNewNode(NULL, (pcmkXmlStr) name); name 129 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 136 lib/common/output_log.c node = create_xml_node(NULL, name); name 138 lib/common/output_log.c do_crm_log_xml(priv->log_level, name, node); name 171 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 196 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { name 198 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s: %s", prefix, name, buffer); name 200 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", name, buffer); name 68 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 177 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 282 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 288 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); name 298 lib/common/output_xml.c char *name = NULL; name 312 lib/common/output_xml.c name = g_strdup(s->to); name 318 lib/common/output_xml.c if (name == NULL) { name 319 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); name 323 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); name 326 lib/common/output_xml.c "name", name, name 330 lib/common/output_xml.c g_free(name); name 336 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 351 lib/common/output_xml.c if (name != NULL) { name 352 lib/common/output_xml.c crm_xml_add(item_node, "name", name); name 438 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { name 445 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 447 lib/common/output_xml.c va_start(args, name); name 474 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { name 484 lib/common/output_xml.c node = create_xml_node(g_queue_peek_tail(priv->parent_q), name); name 485 lib/common/output_xml.c va_start(args, name); name 493 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { name 499 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 89 lib/common/patchset.c crm_xml_add(attr, XML_NVPAIR_ATTR_NAME, (const char *)pIter->name); name 96 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 105 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); name 111 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 112 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); name 128 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, pcmk__xf_skip)); name 232 lib/common/patchset.c const char *p_value = crm_element_value(next, (const char *) a->name); name 234 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); name 410 lib/common/patchset.c return strcmp((const char *) attr->name, XML_ATTR_ID) != 0; name 421 lib/common/patchset.c const char *name = NULL; name 434 lib/common/patchset.c name = crm_element_name(target); name 435 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 445 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 475 lib/common/patchset.c const char *name = NULL; name 489 lib/common/patchset.c name = crm_element_name(patch); name 490 lib/common/patchset.c crm_trace("We are the root of the addition: %s.id=%s", name, id); name 496 lib/common/patchset.c name = crm_element_name(patch); name 497 lib/common/patchset.c crm_err("Could not locate: %s.id=%s", name, id); name 505 lib/common/patchset.c name = crm_element_name(target); name 506 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 514 lib/common/patchset.c const char *p_name = (const char *) xIter->name; name 753 lib/common/patchset.c first_matching_xml_child(const xmlNode *parent, const char *name, name 760 lib/common/patchset.c if (strcmp((const char *) cIter->name, name) != 0) { name 931 lib/common/patchset.c crm_trace("Processing %s %s", change->name, op); name 983 lib/common/patchset.c const char *name = (const char *) pIter->name; name 984 lib/common/patchset.c const char *value = crm_element_value(attrs, name); name 986 lib/common/patchset.c crm_xml_add(match, name, value); name 1026 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); name 1031 lib/common/patchset.c child->name, position); name 1036 lib/common/patchset.c child->name, position); name 1063 lib/common/patchset.c match->name, position, name 1078 lib/common/patchset.c match->name, position); name 1083 lib/common/patchset.c match->name, ID(match), name 1254 lib/common/patchset.c const char *name = NULL; name 1283 lib/common/patchset.c name = crm_element_name(left); name 1284 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); name 1292 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 1298 lib/common/patchset.c diff = create_xml_node(parent, name); name 1321 lib/common/patchset.c const char *p_name = (const char *)pIter->name; name 1334 lib/common/patchset.c const char *prop_name = (const char *) xIter->name; name 1362 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 1393 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 244 lib/common/patchset_display.c const char *name = crm_element_value(child, "name"); name 255 lib/common/patchset_display.c pcmk__g_strcat(buffer_set, name, "=", value, NULL); name 259 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 43 lib/common/results.c pcmk_result_get_strings(int code, enum pcmk_result_type type, const char **name, name 66 lib/common/results.c if (name != NULL) { name 67 lib/common/results.c *name = code_name; name 160 lib/common/results.c const char *name; name 331 lib/common/results.c return pcmk__rcs[pcmk_rc_error - rc].name; name 53 lib/common/schemas.c char *name; name 180 lib/common/schemas.c const char *name, const char *transform, name 202 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); name 204 lib/common/schemas.c CRM_ASSERT(name); name 205 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); name 206 lib/common/schemas.c known_schemas[last].name = strdup(name); name 223 lib/common/schemas.c last, known_schemas[last].name); name 227 lib/common/schemas.c last, known_schemas[last].name, name 233 lib/common/schemas.c last, known_schemas[last].name, name 582 lib/common/schemas.c free(known_schemas[lpc].name); name 609 lib/common/schemas.c if (pcmk__str_eq(known_schemas[method].name, "pacemaker-next", name 617 lib/common/schemas.c known_schemas[method].name); name 723 lib/common/schemas.c known_schemas[lpc].name); name 724 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); name 981 lib/common/schemas.c schema->name, schema->transform_enter); name 994 lib/common/schemas.c schema->name, schema->transform); name 1009 lib/common/schemas.c schema->name, transform_leave); name 1029 lib/common/schemas.c return known_schemas[version].name; name 1033 lib/common/schemas.c get_schema_version(const char *name) name 1037 lib/common/schemas.c if (name == NULL) { name 1038 lib/common/schemas.c name = PCMK__VALUE_NONE; name 1041 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { name 1090 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", name 1096 lib/common/schemas.c known_schemas[lpc].name); name 1100 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); name 1111 lib/common/schemas.c known_schemas[next].name); name 1127 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); name 1132 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); name 1143 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); name 1149 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, name 1187 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); name 1188 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); 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 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 86 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) name 98 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); name 106 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); name 110 lib/common/utils.c crm_info("User %s lookup: %s", name, pcmk_strerror(rc)); name 421 lib/common/utils.c pcmk__daemonize(const char *name, const char *pidfile) name 427 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); name 430 lib/common/utils.c name, (long long) pid, pidfile); name 432 lib/common/utils.c name, (long long) pid, pidfile); name 438 lib/common/utils.c fprintf(stderr, "%s: could not start daemon\n", name); name 446 lib/common/utils.c rc = pcmk__lock_pidfile(pidfile, name); name 449 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 451 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 209 lib/common/xml.c if (node->name == NULL || node->name[0] != ' ') { name 407 lib/common/xml.c const char *name = "NULL"; name 410 lib/common/xml.c name = crm_element_name(root); name 420 lib/common/xml.c if (strcmp((const char *)a_child->name, search_path) == 0) { name 427 lib/common/xml.c crm_warn("Could not find %s in %s.", search_path, name); name 429 lib/common/xml.c crm_trace("Could not find %s in %s.", search_path, name); name 462 lib/common/xml.c if (pcmk__str_eq(node_name, (const char *) (child->name), name 491 lib/common/xml.c const char *p_name = (const char *) a->name; name 496 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); name 520 lib/common/xml.c const char *p_name = (const char *) a->name; name 548 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) name 557 lib/common/xml.c if (target == NULL || value == NULL || name == NULL) { name 561 lib/common/xml.c old_value = crm_element_value(target, name); name 567 lib/common/xml.c } else if (strstr(value, name) != value) { name 571 lib/common/xml.c name_len = strlen(name); name 596 lib/common/xml.c crm_xml_add_int(target, name, int_value); name 604 lib/common/xml.c crm_xml_add(target, name, value); name 630 lib/common/xml.c (const char *) a->name, (const char *) element->name); name 677 lib/common/xml.c create_xml_node(xmlNode * parent, const char *name) name 682 lib/common/xml.c if (pcmk__str_empty(name)) { name 683 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); name 689 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 694 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 702 lib/common/xml.c pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content) name 704 lib/common/xml.c xmlNode *node = create_xml_node(parent, name); name 1406 lib/common/xml.c p_name = (const char *) attr->name; name 1427 lib/common/xml.c const char *name = crm_element_name(data); name 1432 lib/common/xml.c CRM_ASSERT(name != NULL); name 1438 lib/common/xml.c pcmk__g_strcat(buffer, "<", name, NULL); name 1443 lib/common/xml.c if (!filtered || !pcmk__xa_filterable((const char *) (attr->name))) { name 1469 lib/common/xml.c pcmk__g_strcat(buffer, "</", name, ">", NULL); name 1735 lib/common/xml.c xml_remove_prop(xmlNode * obj, const char *name) name 1738 lib/common/xml.c crm_trace("Cannot remove %s from %s", name, obj->name); name 1742 lib/common/xml.c xmlAttr *attr = xmlHasProp(obj, (pcmkXmlStr) name); name 1748 lib/common/xml.c xmlUnsetProp(obj, (pcmkXmlStr) name); name 1864 lib/common/xml.c old_attr->name, p_old, p_new, element); name 1890 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); name 1891 lib/common/xml.c const char *name = (const char *) attr_iter->name; name 1892 lib/common/xml.c const char *old_value = crm_element_value(old_xml, name); name 1896 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, name 1905 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); name 1911 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, name 1916 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, name 1943 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; name 1947 lib/common/xml.c new_xml->name); name 1956 lib/common/xml.c xmlUnsetProp(new_xml, new_attr->name); name 2018 lib/common/xml.c new_child->name, (ID(new_child)? ID(new_child) : "<no id>"), name 2019 lib/common/xml.c p_old, p_new, new_parent->name); name 2121 lib/common/xml.c const char *name = crm_element_name(xml_node); name 2123 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, name 2129 lib/common/xml.c const char *p_name = (const char *) a->name; name 2312 lib/common/xml.c xmlUnsetProp(target, a->name); name 2313 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); name 2431 lib/common/xml.c const char *p_name = (const char *) a->name; name 2494 lib/common/xml.c const char *name = NULL; name 2498 lib/common/xml.c name = crm_element_name(input); name 2499 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); name 2501 lib/common/xml.c result = create_xml_node(parent, name); name 2521 lib/common/xml.c first_named_child(const xmlNode *parent, const char *name) name 2532 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { name 2550 lib/common/xml.c const char *name = crm_element_name(sibling); name 2553 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { name 2680 lib/common/xml.c const char *name, *value; name 2682 lib/common/xml.c name = va_arg(pairs, const char *); name 2683 lib/common/xml.c if (name == NULL) { name 2689 lib/common/xml.c crm_xml_add(node, name, value); name 2714 lib/common/xml.c pcmk__str_eq(child_element_name, (const char *) node->name, pcmk__str_null_matches)) { name 2745 lib/common/xml.c add_node_nocopy(xmlNode *parent, const char *name, xmlNode *child) name 95 lib/common/xml_display.c const char *name = crm_element_name(data); name 107 lib/common/xml_display.c pcmk__g_strcat(buffer, "<", name, NULL); name 112 lib/common/xml_display.c const char *p_name = (const char *) attr->name; name 174 lib/common/xml_display.c spaces, "", name); name 302 lib/common/xml_display.c const char *name = (const char *) attr->name; name 307 lib/common/xml_display.c const char *value = crm_element_value(data, name); name 310 lib/common/xml_display.c PCMK__XML_PREFIX_DELETED, spaces, "", name, name 314 lib/common/xml_display.c const char *value = crm_element_value(data, name); name 330 lib/common/xml_display.c prefix, spaces, "", name, value); name 347 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) name 354 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); name 1085 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) name 1089 lib/fencing/st_client.c const char *display_name = name? name : "client"; name 1132 lib/fencing/st_client.c crm_xml_add(hello, F_STONITH_CLIENTNAME, name); name 1895 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) name 1900 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); name 1978 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 1981 lib/fencing/st_client.c stonith__set_call_options(opts, name, name 1984 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 1986 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); name 1987 lib/fencing/st_client.c free(name); name 2023 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 2025 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_sync_call); name 2027 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2029 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); name 2030 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 954 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) name 963 lib/lrmd/lrmd_client.c crm_xml_add(hello, F_LRMD_CLIENTNAME, name); name 1363 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", name 1373 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, name 1383 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1386 lib/lrmd/lrmd_client.c free(name); name 1536 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) name 1557 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1564 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) name 1575 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); name 230 lib/lrmd/proxy_common.c const char *name = crm_element_value(msg, F_LRMD_IPC_CLIENT); name 275 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 286 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 296 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 301 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 315 lib/pacemaker/libpacemaker_private.h pe_action_t *pcmk__new_cancel_action(pe_resource_t *rsc, const char *name, name 151 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 155 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 165 lib/pacemaker/pcmk_acl.c if (!pcmk__check_acl(i_node->parent, (const char *) i_node->name, pcmk__xf_acl_read)) name 169 lib/pacemaker/pcmk_acl.c else if (!pcmk__check_acl(i_node->parent, (const char *) i_node->name, pcmk__xf_acl_write)) name 817 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, XML_ATTR_UNAME); name 822 lib/pacemaker/pcmk_cluster_queries.c name ? name : id, 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 148 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); name 185 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 192 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); name 207 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); name 222 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 225 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, name 837 lib/pacemaker/pcmk_graph_consumer.c const char *name = NULL; name 857 lib/pacemaker/pcmk_graph_consumer.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 858 lib/pacemaker/pcmk_graph_consumer.c g_hash_table_insert(op->params, strdup(name), strdup(value)); name 53 lib/pacemaker/pcmk_injections.c const char *name, const char *value) name 59 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); name 73 lib/pacemaker/pcmk_injections.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); name 100 lib/pacemaker/pcmk_injections.c char *name = NULL; name 103 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); name 104 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, "value++"); name 105 lib/pacemaker/pcmk_injections.c free(name); name 107 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); name 108 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); name 109 lib/pacemaker/pcmk_injections.c free(name); name 898 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 904 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "")); name 907 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "<null>")); name 919 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 923 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", pcmk__s(name, "<null>")); name 933 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 939 lib/pacemaker/pcmk_output.c "name", pcmk__s(name, ""), name 1424 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1437 lib/pacemaker/pcmk_output.c name, value, node_path, ID(cib_node)); name 1447 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1460 lib/pacemaker/pcmk_output.c "name", name, name 2062 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2076 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "name=\"", pcmk__s(name, ""), "\" ", NULL); name 2097 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2104 lib/pacemaker/pcmk_output.c "name", name, name 2194 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2204 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2205 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s - %s\n", name, desc); name 2207 lib/pacemaker/pcmk_output.c } else if ((name != NULL) || (desc != NULL)) { name 2208 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", ((name != NULL)? name : desc)); name 2222 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2233 lib/pacemaker/pcmk_output.c name, desc); name 2236 lib/pacemaker/pcmk_output.c if ((name != NULL) || (desc != NULL)) { name 2238 lib/pacemaker/pcmk_output.c ((name != NULL)? name : desc)); name 2249 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2256 lib/pacemaker/pcmk_output.c XML_ATTR_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 1248 lib/pacemaker/pcmk_sched_actions.c const char *name = XML_LRM_ATTR_MIGRATE_SOURCE; name 1250 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 1252 lib/pacemaker/pcmk_sched_actions.c name = XML_LRM_ATTR_MIGRATE_TARGET; name 1253 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 551 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; name 553 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_UNIQUE); name 554 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); name 555 lib/pacemaker/pcmk_sched_clone.c free(name); name 557 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_NOTIFY); name 558 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); name 559 lib/pacemaker/pcmk_sched_clone.c free(name); name 561 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_MAX); name 562 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_max(rsc)); name 563 lib/pacemaker/pcmk_sched_clone.c free(name); name 565 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_NODEMAX); name 566 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_node_max(rsc)); name 567 lib/pacemaker/pcmk_sched_clone.c free(name); name 573 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_MAX); name 574 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 575 lib/pacemaker/pcmk_sched_clone.c free(name); name 577 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_NODEMAX); name 578 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 579 lib/pacemaker/pcmk_sched_clone.c free(name); name 584 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XA_PROMOTED_MAX_LEGACY); name 585 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 586 lib/pacemaker/pcmk_sched_clone.c free(name); name 588 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XA_PROMOTED_NODE_MAX_LEGACY); name 589 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 590 lib/pacemaker/pcmk_sched_clone.c free(name); name 1407 lib/pacemaker/pcmk_sched_primitive.c char *name = NULL; name 1419 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION); name 1420 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1421 lib/pacemaker/pcmk_sched_primitive.c free(name); name 1427 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(XML_RSC_ATTR_REMOTE_NODE); name 1428 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1429 lib/pacemaker/pcmk_sched_primitive.c free(name); name 644 lib/pacemaker/pcmk_sched_promotable.c const char *name) name 649 lib/pacemaker/pcmk_sched_promotable.c CRM_CHECK((rsc != NULL) && (node != NULL) && (name != NULL), return NULL); name 651 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); name 671 lib/pacemaker/pcmk_sched_promotable.c char *name = NULL; name 709 lib/pacemaker/pcmk_sched_promotable.c name = (rsc->clone_name == NULL)? rsc->id : rsc->clone_name; name 711 lib/pacemaker/pcmk_sched_promotable.c attr_value = promotion_attr_value(rsc, node, name); name 714 lib/pacemaker/pcmk_sched_promotable.c name, pe__node_name(node), pcmk__s(attr_value, "(unset)")); 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, pe__node_name(node), rsc->id, name 727 lib/pacemaker/pcmk_sched_promotable.c free(name); name 23 lib/pacemaker/pcmk_sched_recurring.c const char *name; // Action name name 58 lib/pacemaker/pcmk_sched_recurring.c is_op_dup(const pe_resource_t *rsc, const char *name, guint interval_ms) name 67 lib/pacemaker/pcmk_sched_recurring.c name, pcmk__str_none) name 105 lib/pacemaker/pcmk_sched_recurring.c op_cannot_recur(const char *name) name 107 lib/pacemaker/pcmk_sched_recurring.c return pcmk__str_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, name 139 lib/pacemaker/pcmk_sched_recurring.c op->name = crm_element_value(xml, "name"); name 140 lib/pacemaker/pcmk_sched_recurring.c if (op_cannot_recur(op->name)) { name 142 lib/pacemaker/pcmk_sched_recurring.c op->id, pcmk__s(op->name, "unnamed")); name 147 lib/pacemaker/pcmk_sched_recurring.c if (is_op_dup(rsc, op->name, op->interval_ms)) { name 164 lib/pacemaker/pcmk_sched_recurring.c op->key = pcmk__op_key(rsc->id, op->name, op->interval_ms); name 262 lib/pacemaker/pcmk_sched_recurring.c pe_action_t *cancel_op = pcmk__new_cancel_action(rsc, op->name, name 305 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, TRUE, name 367 lib/pacemaker/pcmk_sched_recurring.c const char *name, guint interval_ms) name 377 lib/pacemaker/pcmk_sched_recurring.c cancel_op = pcmk__new_cancel_action(rsc, name, interval_ms, node); name 397 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), name, rsc->id, name 501 lib/pacemaker/pcmk_sched_recurring.c cancel_if_running(rsc, node, op->key, op->name, op->interval_ms); name 516 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, name 128 lib/pengine/bundle.c create_resource(const char *name, const char *provider, const char *kind) name 132 lib/pengine/bundle.c crm_xml_add(rsc, XML_ATTR_ID, name); name 928 lib/pengine/bundle.c : (const char *)xml_resource->name)); name 931 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); name 393 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { name 303 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) name 305 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); name 500 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) name 505 lib/pengine/common.c pcmk__s(name, "<null>"), pcmk__s(value, "<null>")); name 506 lib/pengine/common.c if (name == NULL || value == NULL) { name 512 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { name 513 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 518 lib/pengine/common.c pe_node_attribute_calculated(const pe_node_t *node, const char *name, name 527 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 532 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 548 lib/pengine/common.c rsc->id, name, pe__node_name(host)); name 549 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); name 553 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); name 558 lib/pengine/common.c pe_node_attribute_raw(const pe_node_t *node, const char *name) name 563 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 80 lib/pengine/complex.c get_resource_type(const char *name) name 82 lib/pengine/complex.c if (pcmk__str_eq(name, XML_CIB_TAG_RESOURCE, pcmk__str_casei)) { name 85 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_GROUP, pcmk__str_casei)) { name 88 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_INCARNATION, pcmk__str_casei)) { name 91 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_PROMOTABLE_LEGACY, pcmk__str_casei)) { name 95 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_CONTAINER, pcmk__str_casei)) { name 172 lib/pengine/complex.c const char *prop_name = (const char *) a->name; name 232 lib/pengine/complex.c const char *name = crm_element_value(op, "name"); name 242 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); name 294 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); name 310 lib/pengine/complex.c if (pcmk__str_eq((const char *)new_child->name, "operations", pcmk__str_none)) { name 185 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 187 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 203 lib/pengine/group.c if (pcmk__str_eq((const char *)xml_native_rsc->name, name 319 lib/pengine/native.c native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 327 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); name 329 lib/pengine/native.c pe_rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); name 331 lib/pengine/native.c value = g_hash_table_lookup(params, name); name 334 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); name 545 lib/pengine/native.c pcmk__native_output_string(const pe_resource_t *rsc, const char *name, name 559 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); name 579 lib/pengine/native.c name, "\t(", class, ((provider == NULL)? "" : PROVIDER_SEP), name 699 lib/pengine/native.c const char *name, const pe_node_t *node, name 743 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 756 lib/pengine/native.c const char *name, const pe_node_t *node, name 776 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 791 lib/pengine/native.c common_print(pe_resource_t *rsc, const char *pre_text, const char *name, name 842 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, name 82 lib/pengine/pe_actions.c const char *name = NULL; name 92 lib/pengine/pe_actions.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 95 lib/pengine/pe_actions.c name = crm_element_value(operation, "name"); name 103 lib/pengine/pe_actions.c match_key = pcmk__op_key(rsc->id, name, interval_ms); name 110 lib/pengine/pe_actions.c match_key = pcmk__op_key(rsc->clone_name, name, interval_ms); name 434 lib/pengine/pe_actions.c const char *name = NULL; name 459 lib/pengine/pe_actions.c if (!pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 462 lib/pengine/pe_actions.c name = crm_element_value(operation, "name"); name 470 lib/pengine/pe_actions.c } else if (!pcmk__str_eq(name, "monitor", pcmk__str_casei) name 487 lib/pengine/pe_actions.c name = crm_element_value(action->op_entry, "name"); name 492 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, CRMD_ACTION_PROMOTE, pcmk__str_casei) name 493 lib/pengine/pe_actions.c && (!pcmk__str_eq(name, CRMD_ACTION_STATUS, pcmk__str_casei) name 499 lib/pengine/pe_actions.c "allowed for it", action->rsc->id, name); name 587 lib/pengine/pe_actions.c const char *name = NULL; name 596 lib/pengine/pe_actions.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 599 lib/pengine/pe_actions.c name = crm_element_value(operation, "name"); name 606 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, RSC_STATUS, pcmk__str_casei)) { name 698 lib/pengine/pe_actions.c const char *prop_name = (const char *)xIter->name; name 979 lib/pengine/pe_actions.c get_pseudo_op(const char *name, pe_working_set_t * data_set) name 981 lib/pengine/pe_actions.c pe_action_t *op = lookup_singleton(data_set, name); name 984 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); name 1265 lib/pengine/pe_actions.c get_complex_task(const pe_resource_t *rsc, const char *name) name 1267 lib/pengine/pe_actions.c enum action_tasks task = text2task(name); name 1276 lib/pengine/pe_actions.c name, rsc->id); name 1678 lib/pengine/pe_actions.c char *name = NULL; name 1682 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TE_TARGET_RC); name 1683 lib/pengine/pe_actions.c CRM_ASSERT (name != NULL); name 1685 lib/pengine/pe_actions.c g_hash_table_insert(action->meta, name, pcmk__itoa(expected_result)); name 56 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 58 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) == NULL) { name 60 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 63 lib/pengine/pe_digest.c free(name); name 72 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 74 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) != NULL) { name 76 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 79 lib/pengine/pe_digest.c free(name); name 165 lib/pengine/pe_digest.c return pcmk_stonith_param((const char *) attr->name); name 117 lib/pengine/pe_health.c const char *name = NULL; name 131 lib/pengine/pe_health.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 133 lib/pengine/pe_health.c if (pcmk__starts_with(name, "#health")) { name 264 lib/pengine/pe_notif.c add_hash_param(action->meta, nvpair->name, nvpair->value); name 68 lib/pengine/pe_output.c const char *name = NULL; name 83 lib/pengine/pe_output.c name = g_hash_table_lookup(params, "name"); name 85 lib/pengine/pe_output.c if (name == NULL) { name 86 lib/pengine/pe_output.c name = "pingd"; name 90 lib/pengine/pe_output.c if (pcmk__str_eq(name, attrname, pcmk__str_casei)) { name 120 lib/pengine/pe_output.c filter_attr_list(GList *attr_list, char *name) name 125 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); name 129 lib/pengine/pe_output.c if (g_str_has_prefix(name, filt_str[i])) { name 134 lib/pengine/pe_output.c return g_list_insert_sorted(attr_list, name, compare_attribute); name 163 lib/pengine/pe_output.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, pcmk__str_none)) { name 1899 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1913 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); name 1915 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); name 1917 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1920 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1929 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1936 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); name 1956 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); name 2070 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 2076 lib/pengine/pe_output.c "name", name, name 2132 lib/pengine/pe_output.c const char *name = aIter->data; name 2137 lib/pengine/pe_output.c value = pe_node_attribute_raw(node, name); name 2140 lib/pengine/pe_output.c data_set, name, &expected_score); name 2143 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, name 231 lib/pengine/rules.c #define CHECK_ONE(spec, name, var) do { \ name 232 lib/pengine/rules.c int subpart_rc = check_one(spec, name, var); \ name 320 lib/pengine/rules.c const char *name; // This block's ID name 339 lib/pengine/rules.c if (pcmk__str_eq(pair_a->name, pair_a->special_name, pcmk__str_casei)) { name 342 lib/pengine/rules.c } else if (pcmk__str_eq(pair_b->name, pair_a->special_name, pcmk__str_casei)) { name 357 lib/pengine/rules.c const char *name = NULL; name 363 lib/pengine/rules.c name = crm_element_name(list->children); name 364 lib/pengine/rules.c if (pcmk__str_eq(XML_TAG_ATTRS, name, pcmk__str_casei)) { name 371 lib/pengine/rules.c if (pcmk__str_eq((const char *)an_attr->name, XML_CIB_TAG_NVPAIR, pcmk__str_none)) { name 374 lib/pengine/rules.c name = crm_element_value(an_attr, XML_NVPAIR_ATTR_NAME); name 375 lib/pengine/rules.c if (name == NULL) { name 376 lib/pengine/rules.c name = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_NAME); name 384 lib/pengine/rules.c if (name == NULL || value == NULL) { name 388 lib/pengine/rules.c old_value = g_hash_table_lookup(hash, name); name 393 lib/pengine/rules.c name, value); name 394 lib/pengine/rules.c g_hash_table_remove(hash, name); name 399 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); name 400 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 404 lib/pengine/rules.c name, value, old_value); name 405 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); name 431 lib/pengine/rules.c pair->name, pair->score, name 459 lib/pengine/rules.c if (pcmk__str_eq(set_name, (const char *) attr_set->name, name 471 lib/pengine/rules.c pair->name = ID(expanded_attr_set); name 1118 lib/pengine/rules.c const char *name = crm_element_value(expr, XML_NVPAIR_ATTR_NAME); name 1140 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { name 1141 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); name 104 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); name 110 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); name 112 lib/pengine/rules_alerts.c entry->id, name, value); name 92 lib/pengine/tests/native/native_find_rsc_test.c char *name = NULL; name 100 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("%sX", rsc->id); name 101 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 102 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 104 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("x%s", rsc->id); name 105 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 106 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 108 lib/pengine/tests/native/native_find_rsc_test.c name = g_ascii_strup(rsc->id, -1); name 109 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 110 lib/pengine/tests/native/native_find_rsc_test.c g_free(name); name 489 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)attr_set->name, XML_TAG_META_SETS, name 497 lib/pengine/unpack.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 499 lib/pengine/unpack.c if (pcmk__str_eq(name, XML_RSC_ATTR_REMOTE_NODE, pcmk__str_casei)) { name 501 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-addr", pcmk__str_casei)) { name 503 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-port", pcmk__str_casei)) { name 505 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-connect-timeout", pcmk__str_casei)) { name 507 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-allow-migrate", pcmk__str_casei)) { name 509 lib/pengine/unpack.c } else if (pcmk__str_eq(name, XML_RSC_ATTR_MANAGED, pcmk__str_casei)) { name 567 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_NODE, pcmk__str_none)) { name 661 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RESOURCE, pcmk__str_none)) { name 679 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_GROUP, pcmk__str_none)) { name 786 lib/pengine/unpack.c if (pcmk__str_eq((const char *) xml_obj->name, XML_CIB_TAG_RSC_TEMPLATE, name 846 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_tag->name, XML_CIB_TAG_TAG, pcmk__str_none)) { name 861 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj_ref->name, XML_CIB_TAG_OBJ_REF, pcmk__str_none)) { name 909 lib/pengine/unpack.c const char *prop_name = (const char *)xIter->name; name 958 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_TICKET_STATE, pcmk__str_none)) { name 975 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 1275 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 1278 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 2505 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)rsc_entry->name, XML_LRM_TAG_RESOURCE, pcmk__str_casei)) { name 4717 lib/pengine/unpack.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, name 4778 lib/pengine/unpack.c if (pcmk__str_eq((const char *)node_state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 4811 lib/pengine/unpack.c if (pcmk__str_eq((const char *)lrm_rsc->name, name 896 lib/pengine/utils.c pe__failed_probe_for_rsc(const pe_resource_t *rsc, const char *name) name 919 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 600 lib/services/dbus.c data->object, data->name, error.message); name 610 lib/services/dbus.c data->object, data->name); name 619 lib/services/dbus.c "Unexpected variant type", data->object, data->name); name 629 lib/services/dbus.c data->object, data->name); name 635 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); name 640 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); name 643 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); name 694 lib/services/dbus.c const char *obj, const gchar * iface, const char *name, name 703 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); name 706 lib/services/dbus.c target, obj, name); name 712 lib/services/dbus.c "Unable to create message", obj, name); name 719 lib/services/dbus.c DBUS_TYPE_STRING, &name, name 722 lib/services/dbus.c "Could not append arguments", obj, name); name 730 lib/services/dbus.c obj, name); name 739 lib/services/dbus.c query_data->name = strdup(name); name 742 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 178 lib/services/services.c required_argument_missing(uint32_t ra_caps, const char *name, name 182 lib/services/services.c if (pcmk__str_empty(name)) { name 189 lib/services/services.c name); name 196 lib/services/services.c "without provider (bug?)", standard, name); name 202 lib/services/services.c name); name 208 lib/services/services.c name); name 216 lib/services/services.c copy_action_arguments(svc_action_t *op, uint32_t ra_caps, const char *name, name 220 lib/services/services.c op->rsc = strdup(name); name 230 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); name 254 lib/services/services.c services__create_resource_action(const char *name, const char *standard, name 285 lib/services/services.c if (required_argument_missing(ra_caps, name, standard, provider, agent, name 293 lib/services/services.c op->id = pcmk__op_key(name, action, interval_ms); name 295 lib/services/services.c if (copy_action_arguments(op, ra_caps, name, standard, provider, agent, name 298 lib/services/services.c action, name, strerror(ENOMEM)); name 328 lib/services/services.c action, name, strerror(rc)); name 335 lib/services/services.c resources_action_create(const char *name, const char *standard, name 340 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, name 664 lib/services/services.c services_action_cancel(const char *name, const char *action, guint interval_ms) name 667 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 732 lib/services/services.c services_action_kick(const char *name, const char *action, guint interval_ms) name 735 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 861 lib/services/services_linux.c const char *name = op->opaque->exec; name 863 lib/services/services_linux.c if (name == NULL) { name 864 lib/services/services_linux.c name = op->agent; name 865 lib/services/services_linux.c if (name == NULL) { name 866 lib/services/services_linux.c name = op->id; name 878 lib/services/services_linux.c name, pcmk_rc_str(error)); name 884 lib/services/services_linux.c name, pcmk_rc_str(error)); name 327 lib/services/services_lsb.c services_action_create(const char *name, const char *action, name 330 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 123 lib/services/systemd.c method, error.message, error.name); name 160 lib/services/systemd.c systemd_get_property(const char *unit, const char *name, name 161 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), name 166 lib/services/systemd.c name, callback, userdata, pending, timeout) name 192 lib/services/systemd.c systemd_unit_extension(const char *name) name 194 lib/services/systemd.c if (name) { name 195 lib/services/systemd.c const char *dot = strrchr(name, '.'); name 209 lib/services/systemd.c systemd_service_name(const char *name, bool add_instance_name) name 213 lib/services/systemd.c if (pcmk__str_empty(name)) { name 226 lib/services/systemd.c dot = systemd_unit_extension(name); name 229 lib/services/systemd.c if (dot != name && *(dot-1) == '@') { name 232 lib/services/systemd.c if (asprintf(&s, "%.*spacemaker%s", (int) (dot-name), name, dot) == -1) { name 234 lib/services/systemd.c return strdup(name); name 239 lib/services/systemd.c return strdup(name); name 242 lib/services/systemd.c } else if (add_instance_name && *(name+strlen(name)-1) == '@') { name 243 lib/services/systemd.c return crm_strdup_printf("%spacemaker.service", name); name 246 lib/services/systemd.c return crm_strdup_printf("%s.service", name); name 307 lib/services/systemd.c if (strstr(error->name, "org.freedesktop.systemd1.InvalidName") name 308 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.LoadFailed") name 309 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.NoSuchUnit")) { name 314 lib/services/systemd.c error->name, pcmk__s(op->rsc, "unknown resource")); name 440 lib/services/systemd.c char *name = NULL; name 462 lib/services/systemd.c name = systemd_service_name(arg_name, op == NULL || pcmk__str_eq(op->action, "meta-data", pcmk__str_none)); name 463 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, name 465 lib/services/systemd.c free(name); name 634 lib/services/systemd.c systemd_unit_exists(const char *name) name 642 lib/services/systemd.c if ((invoke_unit_by_name(name, NULL, &path) != pcmk_rc_ok) name 683 lib/services/systemd.c systemd_unit_metadata(const char *name, int timeout) name 691 lib/services/systemd.c if (invoke_unit_by_name(name, NULL, &path) == pcmk_rc_ok) { name 696 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); name 701 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, escaped, name); name 891 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) name 896 lib/services/systemd.c pcmk__s(op->rsc, "(unspecified)"), name, name 991 lib/services/systemd.c char *name = systemd_service_name(op->agent, pcmk__str_eq(op->action, "meta-data", pcmk__str_none)); name 993 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 996 lib/services/systemd.c free(name); name 27 lib/services/systemd.h G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); name 283 lib/services/upstart.c upstart_job_exists(const char *name) name 285 lib/services/upstart.c return object_path_for_job(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); name 357 lib/services/upstart.c parse_status_result(const char *name, const char *state, void *userdata) name 395 lib/services/upstart.c upstart_job_metadata(const char *name) name 397 lib/services/upstart.c return crm_strdup_printf(METADATA_FORMAT, name, name, name); name 413 lib/services/upstart.c if (strstr(error->name, UPSTART_06_API ".Error.UnknownInstance")) { name 418 lib/services/upstart.c error->name, pcmk__s(op->rsc, "unknown resource")); name 427 lib/services/upstart.c && strstr(error->name, UPSTART_06_API ".Error.AlreadyStarted")) { name 430 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 397 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, pair->name, pair->value, name 86 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { name 55 tools/crm_attribute.c const char *name = va_arg(args, const char *); name 67 tools/crm_attribute.c name ? "name=" : "", name ? name : "", name 510 tools/crm_attribute.c const char *name = crm_element_value(node, XML_NVPAIR_ATTR_NAME); name 517 tools/crm_attribute.c if (od->use_pattern && !pcmk__str_eq(name, options.attr_pattern, pcmk__str_regex)) { name 521 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, host); name 524 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 1817 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { name 1923 tools/crm_mon.c const char *name = NULL; name 1949 tools/crm_mon.c name = (const char *)match->name; name 1952 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); name 1956 tools/crm_mon.c } else if(name == NULL) { name 1960 tools/crm_mon.c } else if(strcmp(name, XML_TAG_CIB) == 0) { name 1964 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 1967 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATE) == 0) { name 1974 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_LRM) == 0) { name 1978 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 1984 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 1990 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 1997 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); name 175 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 316 tools/crm_node.c const char *name = getenv("OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET); name 318 tools/crm_node.c if (name != NULL) { name 319 tools/crm_node.c printf("%s\n", name); name 333 tools/crm_node.c cib_remove_node(long id, const char *name) name 340 tools/crm_node.c crm_trace("Removing %s from the CIB", name); name 342 tools/crm_node.c if(name == NULL && id == 0) { name 349 tools/crm_node.c crm_xml_add(node, XML_ATTR_UNAME, name); name 350 tools/crm_node.c crm_xml_add(node_state, XML_ATTR_UNAME, name); name 362 tools/crm_node.c name, id, pcmk_strerror(rc)); name 367 tools/crm_node.c name, id, pcmk_strerror(rc)); name 784 tools/crm_resource.c char *name = NULL; name 787 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { name 793 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); name 1611 tools/crm_resource.c char *name = calloc(1, strlen(*s)); name 1613 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); name 1616 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); name 1624 tools/crm_resource.c free(name); name 158 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 171 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 185 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 203 tools/crm_resource_print.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 246 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 251 tools/crm_resource_print.c name, value); name 254 tools/crm_resource_print.c rsc_name, name, value); name 264 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 268 tools/crm_resource_print.c "name", name, name 332 tools/crm_resource_print.c const char *name = NULL; name 338 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 339 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 405 tools/crm_resource_print.c const char *name = NULL; name 411 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 412 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 622 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 624 tools/crm_resource_runtime.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 1925 tools/crm_resource_runtime.c char *name = NULL; name 1929 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 1931 tools/crm_resource_runtime.c g_hash_table_replace(params, strdup(name), strdup(value)); name 291 tools/crm_ticket.c const char *name = NULL; name 298 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 302 tools/crm_ticket.c fprintf(stdout, "%s=", name); name 303 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { name 240 tools/stonith_admin.c static char *name = NULL; name 274 tools/stonith_admin.c char *name = NULL; name 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); name 288 tools/stonith_admin.c crm_info("Got: '%s'='%s'", name, value); name 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); name 292 tools/stonith_admin.c free(name); name 299 tools/stonith_admin.c free(name); name 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg); name 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, name 395 tools/stonith_admin.c if (name == NULL) { name 396 tools/stonith_admin.c name = strdup(crm_system_name); name 533 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); name 665 tools/stonith_admin.c free(name);