HomeSort by relevance Sort by last modified time
    Searched refs:lines (Results 226 - 250 of 2529) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /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/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...]
  /system/core/crash_reporter/
user_collector_test.cc 84 std::vector<std::string> SplitLines(const std::string &lines) const {
85 return base::SplitString(lines, "\n", base::TRIM_WHITESPACE,
213 std::vector<std::string> lines; local
216 EXPECT_FALSE(collector_.GetFirstLineWithPrefix(lines, "Name:", &line));
219 lines.push_back("Name:\tls");
220 lines.push_back("State:\tR (running)");
221 lines.push_back(" Foo:\t1000");
224 EXPECT_TRUE(collector_.GetFirstLineWithPrefix(lines, "Name:", &line));
225 EXPECT_EQ(lines[0], line);
228 EXPECT_TRUE(collector_.GetFirstLineWithPrefix(lines, "State:", &line))
    [all...]
  /external/autotest/client/site_tests/platform_MemoryMonitor/
platform_MemoryMonitor.py 83 def parse_processes(lines):
86 @param lines: a list of lines from top, the header must be the first
91 headers = [x.lower() for x in lines[0].split()]
93 for line in lines[1:]:
335 lines = output.split('\n')
336 # Ignore the first 3 lines, they're not relevant in this test.
337 lines = lines[3:]
338 mem_general = parse_general_usage(lines[0]
    [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...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/
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/gdb/linux-x86/lib/python2.7/distutils/
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/darwin-x86/2.7.5/lib/python2.7/distutils/
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/
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...]
  /system/extras/simpleperf/
report.py 85 def parse_report_items(lines):
92 for line in lines:
222 lines = fh.readlines()
225 lines = [x.rstrip() for x in lines]
228 for i in range(len(lines)):
229 if not lines[i]:
233 assert blank_line_index + 1 < len(lines)
235 report_context = lines[:blank_line_index]
236 title_line = lines[blank_line_index + 1
    [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/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
main.js 40 // let's call the new listener with all the old log lines
54 var lines = data.split(/[\n\r]+/);
55 for (var i=0; i<lines.length; i++) {
56 var line=lines[i];

Completed in 1175 milliseconds

1 2 3 4 5 6 7 8 91011>>