Lines Matching defs:nameptr
4124 *nameptr; /* Pointer into name */
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 */
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';