Lines Matching refs:line
125 next_token(char*& line, const char* lineEnd, Token& token)
128 while (line != lineEnd && isspace(*line))
129 line++;
131 // comment/end of line
132 if (line == lineEnd || *line == '#') {
137 switch (*line) {
140 line++;
149 line++;
150 while (line != lineEnd) {
151 if (*line == '"') {
153 line++;
157 if (*line == '\\') {
159 line++;
160 if (line == lineEnd)
164 token.PushChar(*(line++));
174 while (line != lineEnd && *line != '#' && *line != '='
175 && !isspace(*line)) {
176 token.PushChar(*(line++));
245 char* line = descriptor;
246 char* descriptorEnd = line + descriptorSize;
247 while (line < descriptorEnd) {
248 // determine the end of the line
249 char* lineEnd = strchr(line, '\n');
256 if (next_token(line, lineEnd, token) == TOKEN_END) {
257 line = lineEnd + 1;
262 switch (next_token(line, lineEnd, token2)) {
267 if (next_token(line, lineEnd, token2) != TOKEN_STRING) {
298 if (next_token(line, lineEnd, token) != TOKEN_STRING
300 || next_token(line, lineEnd, token) != TOKEN_STRING
302 || next_token(line, lineEnd, token2) != TOKEN_STRING) {
303 TRACE("Invalid/unsupported extend line\n");
316 line = lineEnd + 1;