Lines Matching defs:retp
124 NCONF_HANDLE *retp;
132 if ((retp = malloc(sizeof (NCONF_HANDLE))) == NULL) {
137 retp->nc_head = retp->nc_curr = netpp;
138 return ((void *)retp);
176 struct netconfig *retp; /* holds the return value */
187 retp = *(nconf_handlep->nc_curr);
188 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 ||
189 strcmp(retp->nc_netid, "tcp6") == 0)) {
199 if (retp != NULL) {
205 return (retp);
400 NCONF_HANDLE *retp; /* the return value */
412 if ((retp = malloc(sizeof (NCONF_HANDLE))) == NULL) {
489 free(retp);
518 retp->nc_curr = retp->nc_head = rnetpp;
519 return ((void *)retp);
557 struct netconfig *retp; /* holds the return value */
568 retp = *(nconf_handlep->nc_curr);
569 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 ||
570 strcmp(retp->nc_netid, "tcp6") == 0)) {
580 if (retp) {
587 return (retp);
751 char *retp; /* the token to be returned */
772 retp = p;
798 return (strdup(retp));