Home | History | Annotate | Download | only in rpc

Lines Matching defs:stringp

249 	char *stringp;		/* tmp string pointer */
296 stringp = malloc(MAXNETCONFIGLINE);
297 if (stringp == NULL)
311 if (fgets(stringp, MAXNETCONFIGLINE, nc_file) == NULL) {
312 free(stringp);
316 } while (*stringp == '#');
320 free(stringp);
325 free(stringp);
332 list->linep = stringp;
333 if (parse_ncp(stringp, list->ncp) == -1) {
334 free(stringp);
427 char *stringp; /* temporary string pointer */
464 if ((stringp = fgets(linep, MAXNETCONFIGLINE, file))
467 } while (*stringp == '#');
468 if (stringp == NULL) /* eof */
470 if ((tmpp = strpbrk(stringp, "\t ")) == NULL) {
475 if (strlen(netid) == (len = (size_t)(tmpp - stringp)) &&
476 strncmp(stringp, netid, len) == 0) {
487 } while (stringp != NULL);
518 * Note that we modify stringp (putting NULLs after tokens) and
520 * stringp.
525 char *stringp, /* string to parse */
531 _DIAGASSERT(stringp != NULL);
536 stringp[strlen(stringp)-1] = '\0'; /* get rid of newline */
538 if ((ncp->nc_netid = strtok_r(stringp, "\t ", &lasts)) == NULL)