Lines Matching defs:retp
127 NCONF_HANDLE *retp;
135 if ((retp = malloc(sizeof (NCONF_HANDLE))) == NULL) {
140 retp->nc_head = retp->nc_curr = netpp;
141 return ((void *)retp);
179 struct netconfig *retp; /* holds the return value */
190 retp = *(nconf_handlep->nc_curr);
191 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 ||
192 strcmp(retp->nc_netid, "tcp6") == 0)) {
202 if (retp != NULL) {
208 return (retp);
403 NCONF_HANDLE *retp; /* the return value */
415 if ((retp = malloc(sizeof (NCONF_HANDLE))) == NULL) {
490 free(retp);
519 retp->nc_curr = retp->nc_head = rnetpp;
520 return ((void *)retp);
558 struct netconfig *retp; /* holds the return value */
569 retp = *(nconf_handlep->nc_curr);
570 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 ||
571 strcmp(retp->nc_netid, "tcp6") == 0)) {
581 if (retp) {
588 return (retp);
752 char *retp; /* the token to be returned */
773 retp = p;
799 return (strdup(retp));