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 351 lib/cib/cib_utils.c int new = 0; new 353 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); new 356 lib/cib/cib_utils.c if (old > new) { new 358 lib/cib/cib_utils.c XML_ATTR_GENERATION_ADMIN, old, new, call_options); new 363 lib/cib/cib_utils.c } else if (old == new) { new 364 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); new 366 lib/cib/cib_utils.c if (old > new) { new 368 lib/cib/cib_utils.c XML_ATTR_GENERATION, old, new, call_options); new 1420 lib/common/patchset.c diff_xml_object(xmlNode *old, xmlNode *new, gboolean suppress) new 1429 lib/common/patchset.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); new 1434 lib/common/patchset.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); new 1890 lib/common/xml.c time_t next, new = time(NULL); new 2562 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; new 2568 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed)) { new 2569 lib/fencing/st_client.c hp->next = new; new 2570 lib/fencing/st_client.c new = hp; new 2572 lib/fencing/st_client.c np = new; new 2598 lib/fencing/st_client.c last_pending->next = new; new 2599 lib/fencing/st_client.c new = pending; new 2601 lib/fencing/st_client.c return new; new 525 lib/pacemaker/pcmk_fence.c stonith_history_t *new, *hp, *np; new 531 lib/pacemaker/pcmk_fence.c new = history; new 532 lib/pacemaker/pcmk_fence.c hp = new->next; new 533 lib/pacemaker/pcmk_fence.c new->next = NULL; new 540 lib/pacemaker/pcmk_fence.c for (np = new; ; np = np->next) { new 562 lib/pacemaker/pcmk_fence.c return new; 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);