Lines Matching refs:cptr
117 char *base, *cptr, *cptr1, *nlspath, *pathP, *pcode; in catopen() local
170 if ((cptr = strchr(cptr1, '@')) != NULL) in catopen()
171 *cptr = '\0'; in catopen()
173 if ((cptr = strchr(cptr1, '_')) != NULL) { in catopen()
174 *cptr++ = '\0'; in catopen()
175 pter = cptr1 = cptr; in catopen()
177 if ((cptr = strchr(cptr1, '.')) != NULL) { in catopen()
178 *cptr++ = '\0'; in catopen()
179 pcode = cptr; in catopen()
185 if ((base = cptr = strdup(nlspath)) == NULL) { in catopen()
192 while ((nlspath = strsep(&cptr, ":")) != NULL) { in catopen()