Lines Matching defs:pstr
1663 char *thiscmd, *pstr;
2030 if ((pstr = strchr(*argv, '/')) != NULL) {
2033 prefix = strtol(pstr + 1, NULL, 10);
2036 "Invalid prefix %s."), pstr);
2039 /* Recycle pstr */
2040 alloclen = (int)(pstr - *argv);
2041 pstr = malloc(alloclen + 1);
2042 if (pstr == NULL) {
2043 Bail("malloc(pstr)");
2045 (void) strlcpy(pstr, *argv, alloclen + 1);
2047 pstr = *argv;
2056 sa_len = parseaddr(pstr, &isrchp,
2064 if (pstr != *argv)
2065 free(pstr);
2119 if ((pstr = strchr(*argv, '/')) != NULL) {
2122 prefix = strtol(pstr + 1, NULL, 10);
2125 "Invalid prefix %s.\n"), pstr);
2128 /* Recycle pstr */
2129 alloclen = (int)(pstr - *argv);
2130 pstr = malloc(alloclen + 1);
2131 if (pstr == NULL) {
2132 Bail("malloc(pstr)");
2134 (void) strlcpy(pstr, *argv, alloclen + 1);
2136 pstr = *argv;
2145 sa_len = parseaddr(pstr, &idsthp,
2153 if (pstr != *argv)
2154 free(pstr);