Lines Matching refs:nptr
335 char *token = NULL, *oname, *ename, *optr, *_optr, *nptr, *_list; in expand() local
343 nptr = _name; in expand()
370 (void) strncpy(nptr, _optr, _len); in expand()
371 nptr = nptr + _len; in expand()
403 (void) strncpy(nptr, in expand()
405 nptr = nptr +_len; in expand()
440 (void) strncpy(nptr, scapset->sc_plat, in expand()
442 nptr = nptr + scapset->sc_platsz; in expand()
477 (void) strncpy(nptr, scapset->sc_mach, in expand()
479 nptr = nptr + scapset->sc_machsz; in expand()
505 (void) strncpy(nptr, uts->uts_osname, in expand()
507 nptr = nptr + uts->uts_osnamesz; in expand()
533 (void) strncpy(nptr, uts->uts_osrel, in expand()
535 nptr = nptr + uts->uts_osrelsz; in expand()
574 (void) strncpy(nptr, opt->isa_name, in expand()
576 nptr = nptr + opt->isa_namesz; in expand()
620 char *bptr = nptr - 1; in expand()
638 nptr--, nlen--; in expand()
646 char *bptr = nptr - 1; in expand()
668 nptr--, nlen--; in expand()
679 *nptr++ = '$'; in expand()
746 if ((nptr = (char *)stravl_insert(*name, 0, in expand()
749 *name = nptr; in expand()
760 (void) strncpy(nptr, _optr, _len); in expand()
761 nptr = nptr + _len; in expand()
768 *nptr = '\0'; in expand()
805 if ((nptr = (char *)stravl_insert(_name, 0, (nlen + 1), 1)) == NULL) in expand()
807 *name = nptr; in expand()