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 336 lib/cib/cib_utils.c int new = 0; new 338 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION_ADMIN, &new); new 341 lib/cib/cib_utils.c if (old > new) { new 343 lib/cib/cib_utils.c XML_ATTR_GENERATION_ADMIN, old, new, call_options); new 348 lib/cib/cib_utils.c } else if (old == new) { new 349 lib/cib/cib_utils.c crm_element_value_int(scratch, XML_ATTR_GENERATION, &new); new 351 lib/cib/cib_utils.c if (old > new) { new 353 lib/cib/cib_utils.c XML_ATTR_GENERATION, old, new, call_options); new 1432 lib/common/patchset.c diff_xml_object(xmlNode *old, xmlNode *new, gboolean suppress) new 1441 lib/common/patchset.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); new 1446 lib/common/patchset.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); new 1873 lib/common/xml.c time_t next, new = time(NULL); new 2573 lib/fencing/st_client.c stonith_history_t *new = NULL, *pending = NULL, *hp, *np, *tmp; new 2579 lib/fencing/st_client.c if ((!new) || (hp->completed > new->completed)) { new 2580 lib/fencing/st_client.c hp->next = new; new 2581 lib/fencing/st_client.c new = hp; new 2583 lib/fencing/st_client.c np = new; new 2609 lib/fencing/st_client.c last_pending->next = new; new 2610 lib/fencing/st_client.c new = pending; new 2612 lib/fencing/st_client.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); new 1543 tools/crm_mon.c stonith_history_t *new = history, *hp, *np; new 1545 tools/crm_mon.c if (new) { new 1546 tools/crm_mon.c hp = new->next; new 1547 tools/crm_mon.c new->next = NULL; new 1554 tools/crm_mon.c for (np = new; ; np = np->next) { new 1577 tools/crm_mon.c return new;