Searched refs:newptr (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/lib/libc/stdlib/
H A Drecallocarray.c34 void *newptr; local
66 newptr = malloc(newsize);
67 if (newptr == NULL)
71 memcpy(newptr, ptr, oldsize);
72 memset((char *)newptr + oldsize, 0, newsize - oldsize);
74 memcpy(newptr, ptr, newsize);
79 return newptr;
H A Dmalloc.c2042 void *newptr; local
2078 newptr = omalloc(pool, newsize, 0);
2079 if (newptr == NULL)
2083 memcpy(newptr, p, oldsize);
2084 memset((char *)newptr + oldsize, 0, newsize - oldsize);
2086 memcpy(newptr, p, newsize);
2096 return newptr;
2103 void *newptr; local
2135 newptr = malloc(newsize);
2136 if (newptr
[all...]
/openbsd-current/libexec/tradcpp/
H A Darray.c74 void **newptr; local
81 newptr = dorealloc(a->v, a->max * sizeof(a->v[0]),
83 a->v = newptr;
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dvms-misc.c593 vms_section *sptr, *newptr;
599 newptr = (vms_section *) bfd_alloc (abfd,
601 if (newptr == (vms_section *) NULL)
603 newptr->contents = (unsigned char *) bfd_alloc (abfd, section->_raw_size);
604 if (newptr->contents == (unsigned char *) NULL)
606 newptr->offset = 0;
607 newptr->size = section->_raw_size;
608 newptr->next = 0;
609 PRIV (vms_section_table)[section->index] = newptr;
610 return newptr;
588 vms_section *sptr, *newptr; local
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dvms-misc.c521 vms_section *sptr, *newptr;
527 newptr = bfd_alloc (abfd, (bfd_size_type) sizeof (vms_section));
528 if (newptr == NULL)
530 newptr->contents = bfd_alloc (abfd, section->size);
531 if (newptr->contents == NULL)
533 newptr->offset = 0;
534 newptr->size = section->size;
535 newptr->next = 0;
536 PRIV (vms_section_table)[section->index] = newptr;
537 return newptr;
515 vms_section *sptr, *newptr; local
[all...]
/openbsd-current/lib/libradius/
H A Dradius.c84 void *newptr; local
96 newptr = realloc(packet->pdata, newsize);
97 if (newptr == NULL)
100 packet->pdata = (RADIUS_PACKET_DATA *)newptr;
/openbsd-current/lib/libcurses/tinfo/
H A Dalloc_ttype.c538 int *newptr = 0; local
596 TYPE_MALLOC(int, NUM_NUMBERS(dst), newptr);
597 dst->Numbers = newptr;
608 } else if ((mode == dstINT) && (newptr != 0)) {
611 newptr[i] = ((const short *) (src->Numbers))[i];
/openbsd-current/sys/dev/pci/
H A Dif_ix.c1568 uint8_t *newptr; local
1571 newptr = addr + IXGBE_ETH_LENGTH_OF_ADDRESS;
1572 *update_ptr = newptr;
H A Dif_ngbe.c1507 uint8_t *newptr; local
1510 newptr = addr + ETHER_ADDR_LEN;
1511 *mc_addr_ptr = newptr;

Completed in 139 milliseconds