Lines Matching refs:nameptr
4124 *nameptr; /* Pointer into name */ local
4140 if ((nameptr = strchr(namebuf, ' ')) != NULL)
4141 *nameptr = '\0';
4142 if ((nameptr = strchr(namebuf, '\t')) != NULL)
4143 *nameptr = '\0';
4145 if ((nameptr = strchr(namebuf, '/')) != NULL)
4146 *nameptr++ = '\0';
4148 *instance = nameptr;
4453 char *nameptr; /* Pointer into name */ local
4456 for (nameptr = name, ptr = serviceName; *ptr && nameptr < (name + namesize - 1); ptr ++)
4463 *nameptr++ = *ptr;
4464 else if (nameptr == name || nameptr[-1] != '_')
4465 *nameptr++ = '_';
4468 *nameptr = '\0';