Lines Matching refs:tokp
64 char *tokp, *cp1, *cp2; in init_env() local
123 if ((tokp = strtok(line, " \t")) == NULL) in init_env()
127 cp1 = strchr(tokp, '='); in init_env()
128 if (cp1 == NULL || cp1 == tokp) in init_env()
130 length = strlen(tokp); in init_env()
131 while ((cp1 = strpbrk(tokp, "\"\'")) != NULL) { in init_env()
132 for (cp2 = cp1; cp2 < &tokp[length]; cp2++) in init_env()
141 if (strncmp(tokp, "CMASK=", 6) == 0 || in init_env()
142 strncmp(tokp, "SMF_", 4) == 0) in init_env()
146 (void) strcpy(glob_envp[i], tokp); in init_env()
162 } while ((tokp = strtok(NULL, " \t")) != NULL); in init_env()