Searched refs:newptr (Results 1 - 9 of 9) sorted by relevance
/openbsd-current/lib/libc/stdlib/ |
H A D | recallocarray.c | 34 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 D | malloc.c | 2042 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 D | array.c | 74 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 D | vms-misc.c | 593 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 D | vms-misc.c | 521 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 D | radius.c | 84 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 D | alloc_ttype.c | 538 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 D | if_ix.c | 1568 uint8_t *newptr; local 1571 newptr = addr + IXGBE_ETH_LENGTH_OF_ADDRESS; 1572 *update_ptr = newptr;
|
H A D | if_ngbe.c | 1507 uint8_t *newptr; local 1510 newptr = addr + ETHER_ADDR_LEN; 1511 *mc_addr_ptr = newptr;
|
Completed in 139 milliseconds