new 44 daemons/based/based_io.c char *new = crm_strdup_printf("%s/cib.auto.XXXXXX", cib_root); new 47 daemons/based/based_io.c new_fd = mkstemp(new); new 48 daemons/based/based_io.c crm_err("Archiving unusable file %s as %s", old, new); new 49 daemons/based/based_io.c if ((new_fd < 0) || (rename(old, new) < 0)) { new 50 daemons/based/based_io.c crm_perror(LOG_ERR, "Couldn't rename %s as %s", old, new); new 57 daemons/based/based_io.c free(new); new 274 lib/cib/cib_utils.c int new = 0; new 276 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); new 279 lib/cib/cib_utils.c if (old > new) { new 281 lib/cib/cib_utils.c XML_ATTR_GENERATION_ADMIN, old, new, call_options); new 286 lib/cib/cib_utils.c } else if (old == new) { new 287 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); new 289 lib/cib/cib_utils.c if (old > new) { new 291 lib/cib/cib_utils.c XML_ATTR_GENERATION, old, new, call_options); new 1411 lib/common/patchset.c diff_xml_object(xmlNode *old, xmlNode *new, gboolean suppress) new 1420 lib/common/patchset.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); new 1425 lib/common/patchset.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); new 2000 lib/common/xml.c time_t next, new = time(NULL); new 2289 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; new 2295 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed) || new 2296 lib/fencing/st_client.c ((hp->completed == new->completed) && (hp->completed_nsec > new->completed_nsec))) { new 2297 lib/fencing/st_client.c hp->next = new; new 2298 lib/fencing/st_client.c new = hp; new 2300 lib/fencing/st_client.c np = new; new 2327 lib/fencing/st_client.c last_pending->next = new; new 2328 lib/fencing/st_client.c new = pending; new 2330 lib/fencing/st_client.c return new; new 79 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; new 85 lib/pacemaker/pcmk_fence.c new = history; new 86 lib/pacemaker/pcmk_fence.c hp = new->next; new 87 lib/pacemaker/pcmk_fence.c new->next = NULL; new 94 lib/pacemaker/pcmk_fence.c for (np = new; ; np = np->next) { new 116 lib/pacemaker/pcmk_fence.c return new; 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); new 30 replace/strndup.c char *new = (char *)malloc(len + 1); new 32 replace/strndup.c if (NULL == new) { new 36 replace/strndup.c new[n] = '\0'; new 37 replace/strndup.c return (char *)memcpy(new, str, len);