/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
WrappedGTestResultParser.java | 75 for (String line : lines) { 77 if (line.startsWith("INSTRUMENTATION_RESULT: ")) { 83 CLog.e(line); 87 if (line.startsWith("INSTRUMENTATION_STATUS: gtest=")) { 88 output.add(line.replace("INSTRUMENTATION_STATUS: gtest=", "")); 93 if (line.startsWith("INSTRUMENTATION_")) { 99 output.add(line);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ClassicToken.java | 40 protected int line; field in class:ClassicToken 54 line = oldToken.getLine(); 74 public void setLine(int line) { 75 this.line = line; 87 return line; 139 return "[@"+getTokenIndex()+",'"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine()+"]";
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
die.cc | 47 void Die::SandboxDie(const char* msg, const char* file, int line) { 49 LogToStderr(msg, file, line); 51 logging::LogMessage(file, line, logging::LOG_FATAL).stream() << msg; 63 void Die::SandboxInfo(const char* msg, const char* file, int line) { 65 logging::LogMessage(file, line, logging::LOG_INFO).stream() << msg; 69 void Die::LogToStderr(const char* msg, const char* file, int line) { 72 snprintf(buf, sizeof(buf), "%d", line);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tokiter.cpp | 32 if (!reader->readLineSkippingComments(line, ec)) { 54 * Read the next token from 'this->line' and append it to 'token'. 57 * the opening quote. If a '#' is encountered, the rest of the line 62 * of the line is reached or an error occurs 65 ICU_Utility::skipWhitespace(line, pos, TRUE); 66 if (pos == line.length()) { 69 UChar c = line.charAt(pos++); 82 while (pos < line.length()) { 83 c = line.charAt(pos); // 16-bit ok 85 UChar32 c32 = line.unescapeAt(pos) [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
xml_formatted_writer.py | 68 # Get all the XML content in a one-line string. 70 # Determine where the line breaks will be. (They will only be between tags.) 74 # Determine indent for each line. 75 for i, line in enumerate(lines): 76 if line[0] == '/': 77 # If the current line starts with a closing tag, decrease indent before 80 lines[i] = indent + '<' + line + '>' 81 if (line[0] not in ['/', '?', '!'] and '</' not in line and 82 line[len(line) - 1] != '/') [all...] |
/external/dropbear/ |
cli-kex.c | 217 buffer * line = NULL; local 227 line = buf_new(MAX_KNOWNHOSTS_LINE); 232 if (buf_getline(line, hostsfile) == DROPBEAR_FAILURE) { 233 TRACE(("failed reading line: prob EOF")) 237 /* The line is too short to be sensible */ 241 if (line->len < (hostlen+30) ) { 242 TRACE(("line is too short to be sensible")) 247 if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), 253 buf_incrpos(line, hostlen); 254 if (buf_getbyte(line) != ' ') [all...] |
/external/icu4c/test/intltest/ |
tokiter.cpp | 33 if (!reader->readLineSkippingComments(line, ec)) { 55 * Read the next token from 'this->line' and append it to 'token'. 58 * the opening quote. If a '#' is encountered, the rest of the line 63 * of the line is reached or an error occurs 66 ICU_Utility::skipWhitespace(line, pos, TRUE); 67 if (pos == line.length()) { 70 UChar c = line.charAt(pos++); 83 while (pos < line.length()) { 84 c = line.charAt(pos); // 16-bit ok 86 UChar32 c32 = line.unescapeAt(pos) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
robotparser.py | 58 lines = [line.strip() for line in f] 79 We allow that a user-agent: line is not preceded by 83 # 1: saw user-agent line 84 # 2: saw an allow or disallow line 89 for line in lines: 91 if not line: 99 # remove optional comment and strip line 100 i = line.find('#') 102 line = line[:i [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
robotparser.py | 58 lines = [line.strip() for line in f] 79 We allow that a user-agent: line is not preceded by 83 # 1: saw user-agent line 84 # 2: saw an allow or disallow line 89 for line in lines: 91 if not line: 99 # remove optional comment and strip line 100 i = line.find('#') 102 line = line[:i [all...] |
/external/libpcap/ |
scanner.c | 2 #line 3 "<stdout>" 210 /* Whether we're considered to be at the beginning of a line. 216 int yy_bs_lineno; /**< The line count. */ [all...] |
/external/bison/examples/calc++/ |
position.hh | 55 /* Line 36 of location.cc */ 56 #line 57 "../../../../examples/calc++/position.hh" 67 , line (l) 79 line = l; 83 /** \name Line and Column related manipulators 85 /// (line related) Advance to the COUNT next lines. 89 line += count; 101 /// Current line number. 102 unsigned int line; member in class:yy::position 141 return (pos1.line == pos2.lin [all...] |
/external/chromium_org/tools/checkdeps/ |
cpp_checker.py | 28 # The maximum line length, this is to be efficient in the case of very long 40 def CheckLine(self, rules, line, dependee_path, fail_on_temp_allow=False): 41 """Checks the given line with the given rule set. 44 is_include is True only if the line is an #include or #import 46 results.DependencyViolation if the line violates a rule, or None 49 found_item = self._EXTRACT_INCLUDE_PATH.match(line) 83 for line_num, line in enumerate(f): 87 line = line.strip() 90 if line.startswith('#if 0') [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/JavaExtensions/ |
ExceptionExtensions.cs | 44 foreach ( string line in trace.Split( '\n', '\r' ) ) 46 if ( !string.IsNullOrEmpty( line ) ) 47 writer.WriteLine( " " + line );
|
/external/bison/src/ |
location.c | 60 int line = cur->line; local 72 line += line < INT_MAX; 87 cur->line = line; 92 if (line == INT_MAX && loc->start.line != INT_MAX) 93 warn_at (*loc, _("line number overflow")); 108 if (0 <= loc.start.line) 147 size_t line; member in struct:caret_info [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
tokenizer.py | 58 file: An iterable that yields one line of the file at a time. 69 # The current line number. 72 for line in file: 74 self.__TokenizeLine(line) 78 def _CreateToken(self, string, token_type, line, line_number, values=None): 84 line: The text of the line this token is in. 85 line_number: The line number of the token. 93 return tokens.Token(string, token_type, line, line_number, values) 95 def __TokenizeLine(self, line) [all...] |
/external/chromium_org/build/android/gyp/ |
ant.py | 12 output up until the BUILD SUCCESSFUL line. 31 for line in stdout: 32 if line.strip() == 'BUILD SUCCESSFUL': 34 print line
|
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
tokenizer.py | 58 file: An iterable that yields one line of the file at a time. 69 # The current line number. 72 for line in file: 74 self.__TokenizeLine(line) 78 def _CreateToken(self, string, token_type, line, line_number, values=None): 84 line: The text of the line this token is in. 85 line_number: The line number of the token. 93 return tokens.Token(string, token_type, line, line_number, values) 95 def __TokenizeLine(self, line) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
common.cc | 71 void LogAssert(const char* function, const char* file, int line, 74 custom_assert_logger_(function, file, line, expression); 76 LOG(LS_ERROR) << file << "(" << line << ")" << ": ASSERT FAILED: "
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
token.h | 8 unsigned int line; member in struct:Token 18 r->line = l; 26 r->line = l;
|
/external/elfutils/tests/ |
line2addr.c | 72 int line; member in struct:args 87 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) 92 int line = a->line, col = 0; local 93 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, 101 if (strcmp (file, a->file) || line != a->line || col != 0) 103 file, line); 107 || strcmp (file, a->file) || line != a->line || col != 0 [all...] |
/external/jdiff/src/jdiff/ |
StreamReader.java | 26 String line = null; local 27 while((line = br.readLine()) != null) 28 System.out.println(line);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
errors.py | 40 def __init__(self, line=None): 41 self.line = line 50 """A message had a continuation line as its first header line."""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
errors.py | 40 def __init__(self, line=None): 41 self.line = line 50 """A message had a continuation line as its first header line."""
|
/system/core/fastbootd/ |
config.c | 61 static int config_parse_line(char *line) 67 c = strchr(line, '#'); 71 if (strspn(line, " \t") == strlen(line)) 74 c = strchr(line, '='); 78 key = line; 97 char *line = buffer; local 101 for (c = 1; line != NULL; c++) { 102 line = strtok_r(str, "\r\n", &saveptr); 103 if (line != NULL) [all...] |
/external/clang/tools/libclang/ |
CXSourceLocation.cpp | 123 unsigned line, 132 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); 136 File->getName(), line, column); 143 *Log << llvm::format("(\"%s\", %d, %d) = ", File->getName(), line, column) 173 static void createNullLocation(CXFile *file, unsigned *line, 177 if (line) 178 *line = 0; 186 static void createNullLocation(CXString *filename, unsigned *line, 190 if (line) 191 *line = 0 [all...] |