Lines Matching defs:source
254 static string removeExtraIndentation(const string& source)
258 for (int ndx = 0; ndx < (int)source.length() && isWhitespace(source[ndx]); ndx++)
259 numIndentChars += source[ndx] == '\t' ? 4 : 1;
267 for (int pos = 0; pos < (int)source.length(); pos++)
269 char c = source[pos];
277 if (source[pos] == '\r' && source[pos + 1] == '\n')
621 return "source";
969 string source = parseShaderSource(m_curTokenStr.c_str());
974 bothSource = source;
977 vertexSource = source;
980 fragmentSource = source;