/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
changelog.py | 35 """Processes text lines for checking style.""" 58 def check(self, lines): 59 self._tab_checker.check(lines) 63 for line_index, line in enumerate(lines): 65 # If we transitioned from finding changed lines to 66 # unchanged lines, then we are done.
|
test_expectations.py | 54 """Processes test_expectations.txt lines for validating the syntax.""" 109 def check_tabs(self, lines): 110 self._tab_checker.check(lines) 112 def check(self, lines): 114 expectations = '\n'.join(lines) 118 # Warn tabs in lines as well 119 self.check_tabs(lines)
|
python.py | 30 """Processes text lines for checking style.""" 36 def check(self, lines):
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
MultiLineReceiver.java | 25 * <p/>Additionally, it splits the string by lines. 27 * new parsed lines as they become available. 39 * Set the trim lines flag. 40 * @param trim hether the lines are trimmed, or not. 69 // now we split the lines 95 // at this point we've split all the lines. 97 String[] lines = mArray.toArray(new String[mArray.size()]); local 100 processNewLines(lines); 119 * Terminates the process. This is called after the last lines have been through 127 * Called when new lines are being received by the remote process [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogCatMessageParser.java | 39 * following lines are the message (can be several lines).<br> 58 * @param lines list of raw strings obtained from logcat -v long 62 public List<LogCatMessage> processLogLines(String[] lines, 64 List<LogCatMessage> messages = new ArrayList<LogCatMessage>(lines.length); 66 for (String line : lines) {
|
LogCatReceiver.java | 142 public void processNewLines(String[] lines) { 144 processLogLines(lines); 149 private void processLogLines(String[] lines) { 150 List<LogCatMessage> messages = mLogCatMessageParser.processLogLines(lines,
|
/external/markdown/markdown/ |
blockprocessors.py | 42 lines = text.split('\n') 43 for line in lines: 50 return '\n'.join(newtext), '\n'.join(lines[len(newtext):]) 53 """ Remove a tab from front of lines but allowing dedented lines. """ 54 lines = text.split('\n') 55 for i in range(len(lines)): 56 if lines[i].startswith(' '*markdown.TAB_LENGTH*level): 57 lines[i] = lines[i][markdown.TAB_LENGTH*level: [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_vms.cc | 183 const std::vector<string16>& lines, 190 for (size_t i = 0; i < lines.size(); i++) { 191 if (lines[i].empty()) 194 if (StartsWith(lines[i], ASCIIToUTF16("Total of "), true)) { 195 // After the "total" line, all following lines must be empty. 196 for (size_t j = i + 1; j < lines.size(); j++) 197 if (!lines[j].empty()) 208 if (LooksLikePermissionDeniedError(lines[i])) 212 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); 216 if (i == lines.size() - 1 [all...] |
/external/markdown/markdown/extensions/ |
codehilite.py | 120 lines = txt.splitlines() 122 for line in lines: 130 Determines language of a code block from shebang lines and whether said 132 path (even a single /) then it is assumed to be a real shebang lines and 145 #split text into lines 146 lines = self.src.split("\n") 148 fl = lines.pop(0) 165 lines.insert(0, fl) 171 lines.insert(0, fl) 173 self.src = "\n".join(lines).strip("\n" [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
VisualDiffUtils.java | 65 LinkedList<Integer> lineNums, LinkedList<String> lines) { 79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff); 90 lines.add(line); 96 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff); 106 LinkedList<Integer> lineNums, LinkedList<String> lines) { 120 line = processDiff(diff, lineNums, lines, line, i, insSpan, isLastDiff); 131 lines.add(line); 137 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff); 152 * @param lines 160 LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) [all...] |
/external/skia/bench/ |
bench_graph_svg.py | 120 lines = {} # {Label:[(x,y)] | x[n] <= x[n+1]} 148 if line_name not in lines: 149 lines[line_name] = [] 151 lines[line_name].append((revision, point.time)) 153 return lines 155 def bounds(lines): 156 """Finds the bounding rectangle for the lines. 164 for line in lines.itervalues(): 173 def create_regressions(lines, start_x, end_x): 180 for label, line in lines.iteritems() [all...] |
/build/tools/ |
adbs | 37 lines = stream.readlines() 38 list = map(string.strip, lines) 80 lines = stream.readlines() 81 map(string.strip, lines) 96 num_lines = len(lines) 99 func_name = lines[num_lines-2]
|
/external/chromium/testing/ |
generate_gmock_mutant.py | 370 lines = Clean(s).splitlines() 372 lines[0] = Wrap(lines[0], 80, 10) 373 lines[2] = Wrap(lines[2], 80, 4) 374 return "\n".join(lines)
|
/external/webkit/Tools/CodeCoverage/ |
cov.py | 85 Parse one source file and return a list of lines 136 lines = open(f, "r").readlines() 137 results[f] = (len(lines), 0, "".join(lines)) 144 # Our requirement is that we have the same amount of lines as 147 lines = open(cov_file, "r").readlines() 153 if len(lines) != len(base_gcov_lines): 154 print "Error Base: %s and Target: %s have different amount of lines" % (possible_gcovs[0],cov_file) 158 # and the same number of lines things might work out 161 for line in lines [all...] |
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseSvnPropertyValue.pl | 114 multiple lines. 118 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "\n"], 127 multiple lines. 132 expectedReturn => ["A\r\nlong sentence that spans\r\nmultiple lines.", "\r\n"], 141 multiple lines. 144 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", " + A single-line.\n"], 153 multiple lines. 156 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "Added: svn:executable\n"], 165 multiple lines. 168 multiple lines [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
diff_parser.py | 74 """Gets a converter function of diff lines. 94 The field "lines" is a list which contains tuples in this format: 105 return [line[1] for line in self.lines if not line[0]] 109 self.lines = [] 112 self.lines.append((0, line_number, line)) 115 self.lines.append((line_number, 0, line)) 118 self.lines.append((deleted_line_number, new_line_number, line)) 181 # Nothing to do. We may still have some added lines.
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 52 QStringList lines = QStringList::split(QChar('\n'), res); local 54 for (QStringList::Iterator it = lines.begin(); it != lines.end(); it++) {
|
/external/elfutils/tests/ |
line2addr.c | 84 Dwfl_Line **lines = NULL; local 87 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) 93 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, 113 free (lines);
|
/external/libvpx/examples/includes/geshi/geshi/ |
povray.php | 176 # normal hash lines
|
/external/quake/quake/src/QW/client/ |
console.h | 43 extern int con_notifylines; // scan lines to clear for notify lines 49 void Con_DrawConsole (int lines);
|
/external/v8/test/mjsunit/ |
debug-sourceslice.js | 29 // Source lines for test. 30 var lines = [ 'function a() { b(); };\n', variable 42 // Build source by putting all lines together 44 for (var i = 0; i < lines.length; i++) { 45 source += lines[i]; 61 for (var slice_size = 0; slice_size < lines.length; slice_size++) { 62 for (var n = 0; n < lines.length - slice_size; n++) { 70 expected += lines[n + i];
|
/external/webkit/Tools/iExploder/iexploder-1.3.2/htdocs/ |
iexploder.rb | 29 attr_accessor :offset, :lines, :stop_num 229 if (@mangledTagTotal >= @offset) && (@mangledTagTotal < (@offset + @lines)) 248 # If we are at line 30 with 8 extra lines, there is no point to try line 31 249 # with 8 lines as well.. skip back to 1 and bump up the line count. 251 if (@offset + @lines) > @htmlMaxTags 252 nextNum = ((@lines * 2 -1)) * @htmlMaxTags 265 @lines = @subtest_num.div(@htmlMaxTags) + 1 273 if (! @lookup_mode) && (@lines <= @htmlMaxTags) && (@stop_num != @test_num) 325 test.lines=0 327 while test.lines < ma [all...] |
/external/icu4c/tools/ctestfw/ |
uperf.cpp | 82 lines(NULL), numLines(0), line_mode(TRUE), 98 lines(NULL), numLines(0), line_mode(TRUE), 209 if (lines != NULL) { 210 return lines; // don't do it again 212 lines = new ULine[MAXLINES]; 222 lines[numLines].name = new UChar[len]; 223 lines[numLines].len = len; 224 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 234 delete []lines; 238 memcpy(newLines, lines, numLines*sizeof(ULine)) [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_stereo_proc.cpp | 355 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to process */ 373 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 405 int32 lines; local 406 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; 407 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 409 while (lines > 0) 415 lines = -10; 417 lines--; 449 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 488 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb] local [all...] |
/dalvik/dx/tests/069-dex-source-position/ |
run | 22 dx --debug --dex --no-optimize --positions=lines --no-locals \
|