Searched defs:newaddr (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_mem.c196 caddr_t newaddr = xdrs->x_base + pos; local
199 if (newaddr > lastaddr)
201 xdrs->x_private = newaddr;
202 xdrs->x_handy = (int)((uintptr_t)lastaddr - (uintptr_t)newaddr);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dutil.c159 register char *newaddr = (char *) safemalloc((MEM_SIZE)(strlen(str)+1)); local
161 (void)strcpy(newaddr,str);
162 return newaddr;
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmtrace.c101 Vmuchar_t* oldaddr, Vmuchar_t* newaddr, size_t size, size_t align )
103 static void trtrace(vm, oldaddr, newaddr, size, align)
106 Vmuchar_t* newaddr; /* new data address */
137 bufp = trstrcpy(bufp, tritoa(newaddr ? VLONG(newaddr) : 0L, 0), ':');
100 trtrace(Vmalloc_t* vm, Vmuchar_t* oldaddr, Vmuchar_t* newaddr, size_t size, size_t align ) argument
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_util.c578 * and *newaddr will point to the new Address.
587 checkIPaddress(char *addr, int len, char **newaddr) { argument
621 if (newaddr == 0)
623 if ((*newaddr = am(myself, INET6_ADDRSTRLEN)) == 0)
625 if (inet_ntop(AF_INET6, &addr_ipv6, *newaddr, INET6_ADDRSTRLEN))
627 sfree(*newaddr);
633 if (newaddr == 0)
635 if ((*newaddr = am(myself, INET_ADDRSTRLEN)) == 0)
637 if (inet_ntop(AF_INET, &addr_ipv4, *newaddr, INET_ADDRSTRLEN))
639 sfree(*newaddr);
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dutil.c541 register ADDRESS *newaddr; local
549 newaddr = (ADDRESS *) sm_rpool_malloc_x(rpool,
550 sizeof(*newaddr));
551 STRUCTCOPY(*addr, *newaddr);
552 *tail = newaddr;
553 tail = &newaddr->q_next;
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c2262 * newaddr - Buffer to which this function writes resulting address,
2265 * newaddr_size - Size of the newaddr buffer.
2275 * newaddr - See above (INPUT section).
2280 cvt_hostname2ip(char *server, char *newaddr, int newaddr_size, argument
2338 (void) snprintf(newaddr,
2347 (void) snprintf(newaddr,
2356 (void) strncpy(newaddr, buffer, newaddr_size);
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c77 static int check_ipaddr(char *addr, char **newaddr);
501 * *newaddr will point to the new address.
510 check_ipaddr(char *addr, char **newaddr) { argument
516 if (newaddr == NULL)
523 if ((*newaddr = calloc(1, INET_ADDRSTRLEN)) == NULL) {
528 if (inet_ntop(AF_INET, &addr_ipv4, *newaddr,
531 free(*newaddr);
536 if ((*newaddr = calloc(1, INET6_ADDRSTRLEN)) == NULL) {
540 if (inet_ntop(AF_INET6, &addr_ipv6, *newaddr, INET6_ADDRSTRLEN))
542 free(*newaddr);
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_addr.c2818 ipadm_addrobj_t newaddr; local
2845 if ((newaddr = calloc(1, sizeof (struct ipadm_addrobj_s))) == NULL)
2855 newaddr->ipadm_lifnum = ifsp.ifsp_lun;
2859 (void) strlcpy(newaddr->ipadm_ifname, ifname,
2860 sizeof (newaddr->ipadm_ifname));
2863 (void) snprintf(newaddr->ipadm_aobjname,
2864 sizeof (newaddr->ipadm_aobjname), "%s/%s", ifname, aname);
2869 newaddr->ipadm_intfidlen = 0;
2870 newaddr->ipadm_stateful = B_TRUE;
2871 newaddr
[all...]
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c260 void **newaddr; local
262 newaddr = realloc(uefi_lib->memlist_addr,
265 if (newaddr == NULL) {
269 uefi_lib->memlist_addr = newaddr;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c754 register char *newaddr = Nullch; local
756 New(902,newaddr,strlen(pv)+1,char);
757 (void)strcpy(newaddr,pv);
759 return newaddr;
778 register char *newaddr; local
780 New(903,newaddr,len+1,char);
783 Copy(pv,newaddr,len,char); /* might not be null terminated */
784 newaddr[len] = '\0'; /* is now */
787 Zero(newaddr,len+1,char);
789 return newaddr;
803 register char *newaddr = Nullch; local
[all...]

Completed in 81 milliseconds