Searched refs:g_line (Results 1 – 1 of 1) sorted by relevance
/system/core/cli-test/ |
D | cli-test.cpp | 62 static size_t g_line; variable 100 Die(0, "%s:%zu: %s already set to '%s'", g_file, g_line, what, field->c_str()); in SetField() 126 g_line = 0; in CollectTests() 129 while (g_line < lines.size()) { in CollectTests() 130 auto line = lines[g_line++]; in CollectTests() 135 Die(0, "%s:%zu: each test requires both a name and a command", g_file, g_line); in CollectTests() 152 while (g_line < lines.size() && !lines[g_line].empty() && lines[g_line][0] == '\t') { in CollectTests() 153 text += lines[g_line++].substr(1) + "\n"; in CollectTests() 157 Die(0, "%s:%zu: syntax error: \"%s\"", g_file, g_line, line.c_str()); in CollectTests()
|