/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
diff.py | 24 self.lines = [] 28 l = len(self.lines) 31 self.lines.append(line[1:]) 35 return len(self.lines) == self.length 48 self.lines = [] 65 self.lines.append(line)
|
/build/core/tasks/check_boot_jars/ |
check_boot_jars.py | 22 lines = [] 28 lines.append(line) 29 combined_re = r'^(%s)$' % '|'.join(lines)
|
/external/lldb/test/functionalities/memory/read/ |
TestMemoryRead.py | 74 lines = self.res.GetOutput().splitlines() 78 self.assertTrue(argc == int(lines[i].split(':')[1].strip(' {}'), 0)) 79 addr = int(lines[i].split(':')[0], 0)
|
/external/v8/tools/testrunner/local/ |
utils.py | 44 lines = [] 52 lines.append(line) 53 return lines
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 5 lines, and joining lines with backslashes.""" 17 comment character), skip blank lines, join adjacent lines by 24 spans multiple physical lines. Also provides 'unreadline()' for 49 skip lines that are empty *after* stripping comments and 51 then some lines may consist of solely whitespace: these will 56 to it to form one "logical line"; if N consecutive lines end 57 with a backslash, then N+1 physical lines will be joined to 60 strip leading whitespace from lines that are joined to thei [all...] |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 5 lines, and joining lines with backslashes.""" 17 comment character), skip blank lines, join adjacent lines by 24 spans multiple physical lines. Also provides 'unreadline()' for 49 skip lines that are empty *after* stripping comments and 51 then some lines may consist of solely whitespace: these will 56 to it to form one "logical line"; if N consecutive lines end 57 with a backslash, then N+1 physical lines will be joined to 60 strip leading whitespace from lines that are joined to thei [all...] |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
test_config.py | 19 lines = ['Variable is: %s\n' % CONFIG[test_key], 22 lines = [line.encode('utf8') for line in lines] 23 return lines
|
/external/deqp/scripts/egl/ |
common.py | 87 lines = map(renderCommand, iface.commands) 89 lines = khr_util.format.indentLines(lines) 90 writeInlFile(os.path.join(directory, filename), lines)
|
/external/elfutils/src/tests/ |
line2addr.c | 76 Dwfl_Line **lines = NULL; local 79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) 85 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, 105 free (lines);
|
/external/fonttools/MetaTools/ |
roundTrip.py | 48 lines = [] 54 lines.append(line) 55 if lines: 59 report.writelines(lines)
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
gmock_class_test.py | 37 def StripLeadingWhitespace(self, lines): 38 """Strip leading whitespace in each line in 'lines'.""" 39 return '\n'.join([s.lstrip() for s in lines.split('\n')]) 41 def assertEqualIgnoreLeadingWhitespace(self, expected_lines, lines): 43 self.assertEqual(expected_lines, self.StripLeadingWhitespace(lines)) 49 """Convert C++ source to Google Mock output source lines.""" 208 lines = gmock_class._GenerateMocks(filename, cpp_source, ast_list, None) 209 return '\n'.join(lines)
|
/external/guava/guava-tests/test/com/google/common/io/ |
CharSourceTest.java | 58 private static final String LINES = "foo\nbar\r\nbaz\rsomething"; 112 TestCharSource lines = new TestCharSource(LINES); local 113 assertEquals("foo", lines.readFirstLine()); 114 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); 118 TestCharSource lines = new TestCharSource(LINES); local 119 assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines()); 120 assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()) 124 TestCharSource lines = new TestCharSource(LINES); local 144 TestCharSource lines = new TestCharSource(LINES); local [all...] |
/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];
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
nntplib.py | 184 2: also print raw lines read and sent before stripping CR/LF""" 295 # Parse lines into "group last first flag" 312 resp, lines = self.descriptions(group) 313 if len(lines) == 0: 316 return lines[0][1] 328 lines = [] 332 lines.append(match.group(1, 2)) 333 return resp, lines 418 - list: the lines of the article's header""" 430 - list: the lines of the article's body or an empty lis [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
nntplib.py | 184 2: also print raw lines read and sent before stripping CR/LF""" 295 # Parse lines into "group last first flag" 312 resp, lines = self.descriptions(group) 313 if len(lines) == 0: 316 return lines[0][1] 328 lines = [] 332 lines.append(match.group(1, 2)) 333 return resp, lines 418 - list: the lines of the article's header""" 430 - list: the lines of the article's body or an empty lis [all...] |
/external/v8/tools/ |
check-name-clashes.py | 38 self.lines = [] 44 if not self.lines: 54 self.lines.append(line + "\n") 59 for i in range(len(self.lines)): 60 self.lines[i] = re.sub(pattern, "%%(%s)s" % arg, self.lines[i]) 68 for line in self.lines: 162 lines = file_contents.split("\n") 164 for line in lines:
|
/external/icu/icu4c/source/tools/ctestfw/ |
uperf.cpp | 86 lines(NULL), numLines(0), line_mode(TRUE), 102 lines(NULL), numLines(0), line_mode(TRUE), 213 if (lines != NULL) { 214 return lines; // don't do it again 216 lines = new ULine[MAXLINES]; 226 lines[numLines].name = new UChar[len]; 227 lines[numLines].len = len; 228 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 238 delete []lines; 242 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...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
SingleJUnitTestResultParser.java | 57 public void processNewLines(String[] lines) { 58 for (String line : lines) {
|
/dalvik/dx/tests/069-dex-source-position/ |
run | 22 dx --debug --dex --no-optimize --positions=lines --no-locals \
|
/external/doclava/src/com/google/doclava/ |
DocFile.java | 79 // Any blank lines are ignored. 82 Matcher lines = LINE.matcher(filedata); local 84 while (lines.find()) { 85 line = lines.group(1); 88 start = lines.end(); 124 // Any blank lines are ignored. 127 Matcher lines = LINE.matcher(filedata); local 129 while (lines.find()) { 130 line = lines.group(1); 133 start = lines.end() [all...] |
/external/fonttools/Lib/fontTools/ |
unicode.py | 6 lines = iter(f.readlines()) 8 for line in lines:
|
/external/google-breakpad/src/common/ |
dwarf_line_to_module.h | 67 // line parser will call AddLine with a series of lines starting at address 104 // Instead of collecting runs of lines describing code that is not there, 117 // files to MODULE, and add all lines to the end of LINES. LINES 121 // sort out which lines belong to which functions; we don't add them 124 vector<Module::Line> *lines) 127 lines_(lines), 152 // lines are being accumulated. 155 // The vector of lines we're accumulating. Owned by our client [all...] |