Searched refs:oldptr (Results 1 – 2 of 2) sorted by relevance
17 static struct unreaped *ualloc (oldptr, n) in ualloc() argument18 struct unreaped *oldptr; in ualloc()24 if (oldptr)25 oldptr = (struct unreaped *) realloc ((char *) oldptr, n);27 oldptr = (struct unreaped *) malloc (n);28 if (oldptr == 0)33 return oldptr;
537 short *oldptr = 0; in copy_termtype() local592 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype()593 ((TERMTYPE *) dst)->Numbers = oldptr; in copy_termtype()599 if ((mode == srcINT) && (oldptr != 0)) { in copy_termtype()603 oldptr[i] = MAX_OF_TYPE(short); in copy_termtype()605 oldptr[i] = (short) src->Numbers[i]; in copy_termtype()