/external/v8/tools/testrunner/local/ |
utils.py | 45 lines = [] 53 lines.append(line) 54 return lines
|
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/prebuilts/go/darwin-x86/src/go/types/ |
self_test.go | 73 lines := 0 75 lines += f.LineCount() 81 "%s: %s for %d lines (%d lines/s), ignoreFuncBodies = %v\n", 82 filepath.Base(path), d, lines, int64(float64(lines)/d.Seconds()), ignoreFuncBodies,
|
/prebuilts/go/linux-x86/src/go/types/ |
self_test.go | 73 lines := 0 75 lines += f.LineCount() 81 "%s: %s for %d lines (%d lines/s), ignoreFuncBodies = %v\n", 82 filepath.Base(path), d, lines, int64(float64(lines)/d.Seconds()), ignoreFuncBodies,
|
/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...] |
/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...] |
/external/autotest/server/site_tests/network_DiskFull/ |
network_DiskFull.py | 46 lines = output.splitlines() 47 if len(lines) != 2: 48 raise error.TestFail('Unexpected df output: %s' % lines) 49 _, _, _, free_kb, _, df_mount_point = lines[1].split(None, 5)
|
/external/chromium-trace/catapult/catapult_build/ |
html_checks_unittest.py | 12 def __init__(self, path, lines): 14 self.lines = lines 17 return (l for l in self.lines)
|
/external/chromium-trace/catapult/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 | 90 lines = map(renderCommand, iface.commands) 92 lines = khr_util.format.indentLines(lines) 93 writeInlFile(os.path.join(directory, filename), lines)
|
/external/elfutils/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/libbrillo/brillo/ |
key_value_store.cc | 49 vector<string> lines = base::SplitString(data, "\n", base::KEEP_WHITESPACE, local 51 for (auto it = lines.begin(); it != lines.end(); ++it) { 66 // Append additional lines to the value as long as we see trailing 70 if (it == lines.end() || it->empty())
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
ScreenUtils.java | 105 byte[] lines = new byte[numBytes];
110 pixels.get(lines, i * numBytesPerLine, numBytesPerLine);
114 pixels.get(lines);
116 return 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];
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/autotest/client/profilers/powertop/src/ |
display.c | 283 if (lines[i].count > 0 && counter++ < maxtimerstats) { 284 if ((lines[i].count * 1.0 / ticktime) >= 10.0) 289 print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) [%6s] %s \n", lines[i].count * 100.0 / linectotal, 290 lines[i].count * 1.0 / ticktime, 291 lines[i].pid, lines[i].string); 293 print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) %s \n", lines[i].count * 100.0 / linectotal, 294 lines[i].count * 1.0 / ticktime, 295 lines[i].string);
|
/external/autotest/server/cros/faft/utils/ |
faft_checkers.py | 22 def _parse_crossystem_output(self, lines): 25 @param lines: The list of crossystem output strings. 51 for line in lines: 73 lines = self.faft_client.system.run_shell_command_get_output( 75 got_dict = self._parse_crossystem_output(lines) 192 lines = self.faft_client.system.run_shell_command_get_output( 194 vdat_flags = int(lines[0], 16) 262 lines = self.faft_client.system.run_shell_command_get_output(cmd) 264 for line in lines: 273 logging.info("Wrong output format of '%s':\n%s", cmd, '\n'.join(lines)) [all...] |
/external/boringssl/src/util/ |
doc.go | 79 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, err error) { 80 if len(lines) == 0 { 81 return nil, lines, lineNo, nil 85 rest = lines 117 /* Identing the lines of a paragraph marks them as 141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error) { 142 if len(lines) == 0 { 143 return "", lines, lineNo, nil 146 rest = lines 256 var lines, oldLines []strin [all...] |