new 46 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); new 49 daemons/based/based_io.c new_fd = mkstemp(new); new 51 daemons/based/based_io.c if ((new_fd < 0) || (rename(old, new) < 0)) { new 56 daemons/based/based_io.c crm_err("Archived unusable file %s as %s", old, new); new 62 daemons/based/based_io.c free(new); new 479 lib/cib/cib_utils.c int new = 0; new 481 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_ADMIN_EPOCH, &new); new 484 lib/cib/cib_utils.c if (old > new) { new 486 lib/cib/cib_utils.c PCMK_XA_ADMIN_EPOCH, old, new, call_options); new 491 lib/cib/cib_utils.c } else if (old == new) { new 492 lib/cib/cib_utils.c crm_element_value_int(scratch, PCMK_XA_EPOCH, &new); new 494 lib/cib/cib_utils.c if (old > new) { new 496 lib/cib/cib_utils.c PCMK_XA_EPOCH, old, new, call_options); new 1435 lib/common/patchset.c pcmk__diff_v1_xml_object(xmlNode *old, xmlNode *new, bool suppress) new 1444 lib/common/patchset.c tmp1 = subtract_v1_xml_object(removed, old, new, false, NULL, new 1450 lib/common/patchset.c tmp1 = subtract_v1_xml_object(added, new, old, true, NULL, "added:top"); new 1565 lib/common/patchset.c diff_xml_object(xmlNode *old, xmlNode *new, gboolean suppress) new 1567 lib/common/patchset.c return pcmk__diff_v1_xml_object(old, new, suppress); new 30 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_set_score(const char *initial, const char *new, new 37 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_int_equal(pcmk__xe_set_score(test_xml, name, new), reference_rc); new 1889 lib/common/xml.c replace_node(xmlNode *old, xmlNode *new) new 1892 lib/common/xml.c new = pcmk__xml_copy(old, new); new 1893 lib/common/xml.c old = xmlReplaceNode(old, new); new 1899 lib/common/xml.c pcmk__xml_tree_foreach(new, reset_xml_node_flags, NULL); new 1901 lib/common/xml.c if (xml_tracking_changes(new)) { new 1903 lib/common/xml.c pcmk__apply_acl(new); new 1905 lib/common/xml.c xml_calculate_changes(old, new); new 2308 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; new 2314 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || new 2315 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { new 2316 lib/fencing/st_client.c hp->next = new; new 2317 lib/fencing/st_client.c new = hp; new 2319 lib/fencing/st_client.c np = new; new 2346 lib/fencing/st_client.c last_pending->next = new; new 2347 lib/fencing/st_client.c new = pending; new 2349 lib/fencing/st_client.c return new; new 80 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; new 86 lib/pacemaker/pcmk_fence.c new = history; new 87 lib/pacemaker/pcmk_fence.c hp = new->next; new 88 lib/pacemaker/pcmk_fence.c new->next = NULL; new 95 lib/pacemaker/pcmk_fence.c for (np = new; ; np = np->next) { new 118 lib/pacemaker/pcmk_fence.c return new; new 38 lib/pengine/rules.c map_rule_input(pcmk_rule_input_t *new, const pe_rule_eval_data_t *old) new 43 lib/pengine/rules.c new->now = old->now; new 44 lib/pengine/rules.c new->node_attrs = old->node_hash; new 46 lib/pengine/rules.c new->rsc_standard = old->rsc_data->standard; new 47 lib/pengine/rules.c new->rsc_provider = old->rsc_data->provider; new 48 lib/pengine/rules.c new->rsc_agent = old->rsc_data->agent; new 51 lib/pengine/rules.c new->rsc_params = old->match_data->params; new 52 lib/pengine/rules.c new->rsc_meta = old->match_data->meta; new 54 lib/pengine/rules.c new->rsc_id = old->match_data->re->string; new 55 lib/pengine/rules.c new->rsc_id_submatches = old->match_data->re->pmatch; new 56 lib/pengine/rules.c new->rsc_id_nmatches = old->match_data->re->nregs; new 60 lib/pengine/rules.c new->op_name = old->op_data->op_name; new 61 lib/pengine/rules.c new->op_interval_ms = old->op_data->interval; new 179 maint/gnulib/lib/alloca.c register header *new; new 185 maint/gnulib/lib/alloca.c new = malloc (combined_size); new 187 maint/gnulib/lib/alloca.c if (! new) new 190 maint/gnulib/lib/alloca.c new->h.next = last_alloca_header; new 191 maint/gnulib/lib/alloca.c new->h.deep = depth; new 193 maint/gnulib/lib/alloca.c last_alloca_header = new; new 197 maint/gnulib/lib/alloca.c return (void *) (new + 1); new 3905 maint/gnulib/lib/dfa.c icatalloc (char *old, char const *new) new 3907 maint/gnulib/lib/dfa.c idx_t newsize = strlen (new); new 3912 maint/gnulib/lib/dfa.c memcpy (result + oldsize, new, newsize + 1); new 3924 maint/gnulib/lib/dfa.c enlistnew (char **cpp, char *new) new 3929 maint/gnulib/lib/dfa.c if (strstr (cpp[i], new) != NULL) new 3931 maint/gnulib/lib/dfa.c free (new); new 3936 maint/gnulib/lib/dfa.c if (strstr (new, cpp[j]) == NULL) new 3948 maint/gnulib/lib/dfa.c cpp[i] = new; new 3986 maint/gnulib/lib/dfa.c addlists (char **old, char **new) new 3988 maint/gnulib/lib/dfa.c for (; *new; new++) new 3989 maint/gnulib/lib/dfa.c old = enlistnew (old, xstrdup (*new)); new 4111 maint/gnulib/lib/dfa.c char **new; new 4147 maint/gnulib/lib/dfa.c new = inboth (lmp->in, rmp->in); new 4150 maint/gnulib/lib/dfa.c lmp->in = new; new 1171 maint/gnulib/lib/glob.c char *new = realloc (pglob->gl_pathv[i], len); new 1172 maint/gnulib/lib/glob.c if (new == NULL) new 1179 maint/gnulib/lib/glob.c strcpy (&new[len - 2], "/"); new 1180 maint/gnulib/lib/glob.c pglob->gl_pathv[i] = new; new 1255 maint/gnulib/lib/glob.c char *new = malloc (dirlen + 1 + eltlen); new 1256 maint/gnulib/lib/glob.c if (new == NULL) new 1264 maint/gnulib/lib/glob.c char *endp = mempcpy (new, dirname, dirlen); new 1269 maint/gnulib/lib/glob.c array[i] = new; new 662 maint/gnulib/lib/hash.c struct hash_entry *new; new 666 maint/gnulib/lib/hash.c new = table->free_entry_list; new 667 maint/gnulib/lib/hash.c table->free_entry_list = new->next; new 672 maint/gnulib/lib/hash.c new = obstack_alloc (&table->entry_stack, sizeof *new); new 674 maint/gnulib/lib/hash.c new = malloc (sizeof *new); new 678 maint/gnulib/lib/hash.c return new; new 126 maint/gnulib/lib/inet_pton.c unsigned new = *tp * 10 + (ch - '0'); new 130 maint/gnulib/lib/inet_pton.c if (new > 255) new 132 maint/gnulib/lib/inet_pton.c *tp = new; new 153 maint/gnulib/lib/scandir.c DIRENT_TYPE **new; new 158 maint/gnulib/lib/scandir.c new = (DIRENT_TYPE **) realloc (v, vsize * sizeof (*v)); new 159 maint/gnulib/lib/scandir.c if (new == NULL) new 161 maint/gnulib/lib/scandir.c v = new; new 42 maint/gnulib/lib/strdup.c void *new = malloc (len); new 44 maint/gnulib/lib/strdup.c if (new == NULL) new 47 maint/gnulib/lib/strdup.c return (char *) memcpy (new, s, len); new 29 maint/gnulib/lib/strndup.c char *new = malloc (len + 1); new 31 maint/gnulib/lib/strndup.c if (new == NULL) new 34 maint/gnulib/lib/strndup.c new[len] = '\0'; new 35 maint/gnulib/lib/strndup.c return memcpy (new, s, len);