Lines Matching refs:slash
37 const char *slash = dot - 1; in GetFileNameStem() local
38 while (slash >= fileName) { in GetFileNameStem()
39 if (*slash == OS_PATH_SEPARATOR) { in GetFileNameStem()
42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
43 dot = slash; in GetFileNameStem()
45 --slash; in GetFileNameStem()
47 ++slash; in GetFileNameStem()
48 return string(slash, dot - slash); in GetFileNameStem()
71 const char *slash = dot - 1; in InternalFileNameConvert() local
72 while (slash >= rsFileName) { in InternalFileNameConvert()
73 if (*slash == OS_PATH_SEPARATOR) { in InternalFileNameConvert()
76 if ((*slash == '.') && (*dot == 0)) { in InternalFileNameConvert()
77 dot = slash; in InternalFileNameConvert()
79 --slash; in InternalFileNameConvert()
81 ++slash; in InternalFileNameConvert()
84 for (; (i < 255) && (slash < dot); ++slash) { in InternalFileNameConvert()
85 if (isalnum(*slash) || *slash == '_') { in InternalFileNameConvert()
87 ret[i] = tolower(*slash); in InternalFileNameConvert()
89 ret[i] = *slash; in InternalFileNameConvert()