Lines Matching refs:str
220 char *str;
254 str = (path == NULL) ? NULL : getenv(path);
255 if (str == NULL)
256 str = (char *)path;
258 if (str != NULL) {
260 wrk = new char[strlen(str) + 1];
261 (void) strcpy(wrk, str);
262 str = wrk;
265 for (prefix = str;
267 prefix = str) {
268 str = strchr(str, ':');
269 if (str != NULL)
270 *str++ = '\0';