/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
lexer.py | 47 self.lines = s.splitlines() 81 while self.lno < len(self.lines): 82 line = self.lines[self.lno] 97 while self.lno < len(self.lines): 98 s = self.lines[self.lno] 128 while self.lno < len(self.lines): 129 s = self.lines[self.lno] 213 # end while self.lno < len(self.lines): 218 return self.lines[self.lno]+"\n"+" "*self.col+"^\n"
|
/external/chromium_org/tools/code_coverage/ |
croc_scan.py | 22 def ScanLines(self, lines): 23 """Scans the lines for executable statements. 26 lines: Iterator returning source lines. 38 for line in lines: 83 # Return executable lines 87 """Reads the file and scans its lines. 147 """Scans a file for executable lines. 154 A list of executable lines, or an empty list if the file was not a handled
|
/external/chromium_org/tools/git/ |
for-all-touched-files.py | 36 output as list of lines, raises exception on error. 60 lines = GitShell('git diff --stat=600,500 %s' % branch_name) 62 for line in lines:
|
/external/llvm/utils/Target/ARM/ |
analyze-match-table.py | 8 lines = data[start:end].split("\n")[1:] 12 for ln in lines:
|
/external/markdown/markdown/extensions/ |
imagelinks.py | 39 def run(self, lines): 51 for line in lines:
|
/external/v8/test/benchmarks/ |
testcfg.py | 53 lines = output.stdout.splitlines() 54 for line in lines:
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthWeekEventsView.java | 230 * checking and reallocation. Used for drawing lines. 589 float lines[] = new float[8 * 4]; local 597 lines[i++] = xOffset; 598 lines[i++] = 0; 599 lines[i++] = xOffset; 600 lines[i++] = mHeight; 604 lines[i++] = 0; 605 lines[i++] = 0; 606 lines[i++] = mWidth; 607 lines[i++] = 0 [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
DiscourseLogger.java | 25 * A class to keep last N of lines sent to the server and responses received from the server. 108 String[] lines = getLines(); local 109 if (lines.length == 0) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
traceback.py | 126 lines = format_exception_only(etype, value) 127 for line in lines: 136 these lines are concatenated and printed, exactly the same text is 155 SyntaxError exceptions, it contains several lines that (when 181 lines = [] 188 lines.append(' File "%s", line %d\n' % (filename, lineno)) 190 lines.append(' %s\n' % badline.strip()) 196 lines.append(' %s^\n' % ''.join(caretspace)) 199 lines.append(_format_final_exc_line(stype, value)) 200 return lines [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
traceback.py | 126 lines = format_exception_only(etype, value) 127 for line in lines: 136 these lines are concatenated and printed, exactly the same text is 155 SyntaxError exceptions, it contains several lines that (when 181 lines = [] 188 lines.append(' File "%s", line %d\n' % (filename, lineno)) 190 lines.append(' %s\n' % badline.strip()) 196 lines.append(' %s^\n' % ''.join(caretspace)) 199 lines.append(_format_final_exc_line(stype, value)) 200 return lines [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AMReceiver.java | 59 * @param lines a portion of the am output 64 public void processNewLines(String[] lines) { 69 for (String s : lines) { 70 // ignore empty lines.
|
/external/chromium_org/base/test/ |
test_file_util_win.cc | 247 std::vector<std::string> lines; 249 base::SplitString(zone_path_contents, '\n', &lines); 251 switch (lines.size()) { 254 if (lines[2] != "") 258 return lines[0] == "[ZoneTransfer]" && lines[1] == "ZoneId=3";
|
/external/chromium_org/chromeos/network/ |
network_event_log_unittest.cc | 41 std::vector<std::string> lines; local 42 base::SplitString(input, '\n', &lines); 43 for (size_t i = 0; i < lines.size(); ++i) { 44 size_t n = lines[i].find(']'); 46 output += "[time] " + lines[i].substr(n+2) + '\n'; 48 output += lines[i];
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
queries.py | 118 lines = [model.get_expectation_line(test) for test in sorted(tests_to_print)] 121 print '\n'.join(self._format_lines(options, port_name, lines)) 135 def _format_lines(self, options, port_name, lines): 138 for line in lines: 140 elif lines: 144 for line in lines:
|
/external/chromium_org/v8/test/webkit/ |
testcfg.py | 72 # Accept several lines of 'Files:'. 103 """Ignore empty lines, valgrind output and Android output.""" 126 def ActIterator(lines): 127 for line in lines: 132 """Iterates over blocks of actual output lines.""" 133 lines = output.stdout.splitlines() 136 for index, line in enumerate(lines): 139 # Iterate over all lines before a separator except the first. 143 yield ActIterator(lines[start_index:index]) 144 # The next block of ouput lines starts after the separator [all...] |
/external/chromium_org/tools/gyp/test/lib/ |
TestCmd.py | 409 def match_exact(lines = None, matches = None): 412 if not is_List(lines): 413 lines = string.split(lines, "\n") 416 if len(lines) != len(matches): 418 for i in range(len(lines)): 419 if lines[i] != matches[i]: 423 def match_re(lines = None, res = None): 426 if not is_List(lines): 427 lines = string.split(lines, "\n" [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
log_view_painter.js | 124 * whose length is a multiple of two. Writes multiple lines to |out| with 155 // lines. 162 * Wrapper around a TablePrinter to simplify outputting lines of text for event 204 * Outputs multiple lines, each indented by numSpaces. 211 writeSpaceIndentedLines: function(numSpaces, lines) { 213 for (var i = 0; i < lines.length; ++i) 214 this.writeLine(prefix + lines[i]); 218 * Outputs multiple lines such that the first line has 219 * an arrow pointing at it, and subsequent lines 226 writeArrowIndentedLines: function(lines) { [all...] |
/external/chromium_org/v8/tools/ |
presubmit.py | 352 lines = [] 358 lines.append(str(line)) 359 linenumbers = ', '.join(lines) 360 if len(lines) > 1: 361 print "%s has trailing whitespaces in lines %s." % (name, linenumbers) 368 # Check two empty lines between declarations. 371 lines = [] 376 lines.append(str(line + 1)) 380 lines.append(str(line + 1)) 383 if len(lines) >= 1 [all...] |
logreader.js | 53 * CSV lines parser. 166 * Processes log lines. 168 * @param {Array.<string>} lines Log lines. 171 LogReader.prototype.processLog_ = function(lines) { 172 for (var i = 0, n = lines.length; i < n; ++i, ++this.lineNum_) { 173 var line = lines[i];
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_mpeg2_stereo_proc.cpp | 289 /* can be between -1 (all lines zero) and 575 (no line zero) */ 312 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* number of lines to process */ 314 /* from sfbStart up sfbNo lines do ms_stereo or normal stereo */ 326 sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process */ 355 sfbNo = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; /* No of lines to process */ 383 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local 385 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 387 while (lines > 0) 393 lines = -10; 395 lines-- 485 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 513 * Return an Iterator for the lines in a <code>Reader</code>.
535 * @return an Iterator of the lines in the reader, never null
544 * Return an Iterator for the lines in an <code>InputStream</code>, using
568 * @return an Iterator of the lines in the reader, never null
[all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_tritemp.h | 125 GLint lines; /* number of lines to be sampled on this edge */ member in struct:__anon13410 252 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); 253 if (eMaj.lines > 0) { 265 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); 266 if (eTop.lines > 0) { 275 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); 276 if (eBot.lines > 0) { 528 int lines; local 535 lines = eRight->lines [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_tritemp.h | 125 GLint lines; /* number of lines to be sampled on this edge */ member in struct:__anon23877 252 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); 253 if (eMaj.lines > 0) { 265 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); 266 if (eTop.lines > 0) { 275 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); 276 if (eBot.lines > 0) { 528 int lines; local 535 lines = eRight->lines [all...] |
/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
normperf.h | 33 ULine* lines; member in class:QuickCheckPerfFunction 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); 70 totalChars+= lines[i].len; 79 lines = srcLines; 89 lines = NULL; 102 ULine* lines; member in class:NormPerfFunction 120 retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status) [all...] |
/external/chromium_org/tools/valgrind/ |
suppressions.py | 94 def StripAndSkipCommentsIterator(lines): 96 for (line_no, line) in enumerate(lines): 100 # Skip comment lines, but not empty lines, they indicate the end of a 112 stack: The lines comprising the stack trace for the suppression. 145 lines = [f.strip() for f in suppression_from_report] 146 return self.regex.match('\n'.join(lines) + '\n') is not None 249 lines = [self.description, self.type] + self.stack 250 return "{\n %s\n}\n" % "\n ".join(lines) 263 def ReadValgrindStyleSuppressions(lines, supp_descriptor) [all...] |