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

<<11121314151617181920>>

  /external/opencv3/samples/python2/
opt_flow.py 20 lines = np.vstack([x, y, x+fx, y+fy]).T.reshape(-1, 2, 2)
21 lines = np.int32(lines + 0.5)
23 cv2.polylines(vis, lines, 0, (0, 255, 0))
24 for (x1, y1), (x2, y2) in lines:
  /build/tools/
java-layers.py 20 sys.stderr.write(" - Lines consisting of two java package names: The\n")
24 sys.stderr.write(" - Lines consisting of one java package name: The\n")
27 sys.stderr.write(" - Lines consisting of a dash (+) followed by one java\n")
31 sys.stderr.write(" - Lines consisting of a plus (-) followed by one java\n")
121 lines = f.readlines()
127 lines = [lineno(x,n) for x in lines]
128 lines = [(n,s.split("#")[0].strip()) for (n,s) in lines]
129 lines = [(n,s) for (n,s) in lines if len(s) > 0
    [all...]
  /external/autotest/server/site_tests/firmware_ECThermal/
firmware_ECThermal.py 80 lines = self.faft_client.system.run_shell_command_get_output(
85 for line in lines:
179 lines = self.faft_client.system.run_shell_command_get_output(
181 for line in lines:
204 lines = self.faft_client.system.run_shell_command_get_output(
206 for line in lines:
261 lines = self.faft_client.system.run_shell_command_get_output(
263 for line in lines:
324 lines = self.faft_client.system.run_shell_command_get_output(
326 for line in lines
    [all...]
  /external/autotest/client/profilers/powertop/src/
powertop.c 76 struct line *lines; variable in typeref:struct:line
95 if (strcmp(string, lines[i].string) == 0) {
96 lines[i].count += count;
100 lines = realloc (lines, (linesize ? (linesize *= 2) : (linesize = 64)) * sizeof (struct line));
101 lines[linehead].string = strdup (string);
102 lines[linehead].count = count;
103 lines[linehead].pid[0] = 0;
112 if (strcmp(string, lines[i].string) == 0) {
113 lines[i].count += count
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
cv_util_unittest.py 75 lines = self.cv_util.ExtendLines(np.asfarray([l1, l2, l3, l4],
77 lines = np.around(lines, 10)
79 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[0], expected0))),
82 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[1], expected1))),
87 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[2], expected2))),
90 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[3], expected3))),
  /external/chromium-trace/catapult/third_party/coverage/coverage/
misc.py 78 def format_lines(statements, lines):
81 Format a list of line numbers for printing by coalescing groups of lines as
82 long as the lines represent consecutive statements. This will coalesce
86 `lines` is [1,2,5,10,11,13,14] then the result will be "1-2, 5-11, 13-14".
94 lines = sorted(lines)
95 while i < len(statements) and j < len(lines):
96 if statements[i] == lines[j]:
98 start = lines[j]
99 end = lines[j
    [all...]
plugin.py 172 returning (5, 7) means that lines 5, 6, and 7 should be considered
175 This function might decide that the frame doesn't indicate any lines
177 tell coverage.py that no lines should be recorded for this frame.
192 There are many methods here, but only :meth:`lines` is required, to provide
193 the set of executable lines in the file.
235 def lines(self): member in class:FileReporter
236 """Get the executable lines in this file.
238 Your plugin must determine which lines in the file were possibly
244 _needs_to_implement(self, "lines")
247 """Get the excluded executable lines in this file
    [all...]
  /external/google-breakpad/src/common/
stabs_to_module_unittest.cc 69 ASSERT_EQ((size_t) 1, function->lines.size());
70 Module::Line *line = &function->lines[0];
135 ASSERT_EQ(0U, function->lines.size());
171 ASSERT_EQ((size_t) 2, function->lines.size());
173 Module::Line *line1 = &function->lines[0];
179 Module::Line *line2 = &function->lines[1];
221 ASSERT_EQ(0U, function->lines.size());
242 // got full coverage of non-failure source lines in dump_stabs.cc.
  /external/libvorbis/vq/
distribution.c 35 long lines=0; local
167 lines++;
169 sprintf(buf,"getting min/max (%.2f::%.2f). lines...",min,max);
170 if(!(lines&0xff))spinnit(buf,lines);
209 lines--;
210 if(!(lines&0xff))spinnit("counting distribution. lines so far...",lines);
  /external/v8/build/android/
tombstones.py 44 lines = device.RunShellCommand(
47 for line in lines:
82 A list of lines
144 lines = []
145 lines += [tombstone['file'] + ' created on ' + str(tombstone['time']) +
149 logging.info('\n'.join(lines))
151 lines += _ResolveSymbols(tombstone['data'], tombstone['stack'],
153 return lines
  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
CodeContext.py 6 the lines which contain the block opening keywords, e.g. 'if', for the
7 enclosing block. The number of hint lines is determined by the numlines
8 variable in the CodeContext section of config-extensions.def. Lines which do
51 # Start two update cycles, one for context lines, one for font changes.
95 The indentation of empty lines (or comment lines) is INFINITY.
108 """Get context lines, starting at new_topvisible and working backwards.
115 lines = []
128 lines.append((linenum, indent, text, opener))
131 lines.reverse(
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
CodeContext.py 6 the lines which contain the block opening keywords, e.g. 'if', for the
7 enclosing block. The number of hint lines is determined by the numlines
8 variable in the CodeContext section of config-extensions.def. Lines which do
51 # Start two update cycles, one for context lines, one for font changes.
95 The indentation of empty lines (or comment lines) is INFINITY.
108 """Get context lines, starting at new_topvisible and working backwards.
115 lines = []
128 lines.append((linenum, indent, text, opener))
131 lines.reverse(
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
CodeContext.py 6 the lines which contain the block opening keywords, e.g. 'if', for the
7 enclosing block. The number of hint lines is determined by the numlines
8 variable in the CodeContext section of config-extensions.def. Lines which do
51 # Start two update cycles, one for context lines, one for font changes.
95 The indentation of empty lines (or comment lines) is INFINITY.
108 """Get context lines, starting at new_topvisible and working backwards.
115 lines = []
128 lines.append((linenum, indent, text, opener))
131 lines.reverse(
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
CodeContext.py 6 the lines which contain the block opening keywords, e.g. 'if', for the
7 enclosing block. The number of hint lines is determined by the numlines
8 variable in the CodeContext section of config-extensions.def. Lines which do
51 # Start two update cycles, one for context lines, one for font changes.
95 The indentation of empty lines (or comment lines) is INFINITY.
108 """Get context lines, starting at new_topvisible and working backwards.
115 lines = []
128 lines.append((linenum, indent, text, opener))
131 lines.reverse(
    [all...]
  /external/autotest/scheduler/
monitor_db_cleanup.py 270 lines = []
272 lines.append(str(entry.get_object_dict()))
279 self._send_inconsistency_message(subject, lines)
297 lines = [' '.join(str(item) for item in row)
299 self._send_inconsistency_message(subject, lines)
336 lines = [' '.join(str(item) for item in row)
338 self._send_inconsistency_message(subject, lines)
341 def _send_inconsistency_message(self, subject, lines):
343 message = '\n'.join(lines)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_binascii.py 65 lines = []
69 lines.append(a)
71 for line in lines:
81 lines = []
85 lines.append(a)
105 for line in map(addnoise, lines):
117 lines = []
121 lines.append(a)
123 for line in lines:
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_binascii.py 65 lines = []
69 lines.append(a)
71 for line in lines:
81 lines = []
85 lines.append(a)
105 for line in map(addnoise, lines):
117 lines = []
121 lines.append(a)
123 for line in lines:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_binascii.py 65 lines = []
69 lines.append(a)
71 for line in lines:
81 lines = []
85 lines.append(a)
105 for line in map(addnoise, lines):
117 lines = []
121 lines.append(a)
123 for line in lines:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_binascii.py 65 lines = []
69 lines.append(a)
71 for line in lines:
81 lines = []
85 lines.append(a)
105 for line in map(addnoise, lines):
117 lines = []
121 lines.append(a)
123 for line in lines:
  /development/tools/axl/
chewperf.py 48 lines = [x for x in rawLines if "Pulled" in x]
50 sidx = lines[0].split().index("Pulled")
52 chewed = [[int(x.split()[sidx + 2]), int(x.split()[sidx + 4])] for x in lines]
  /external/autotest/client/tests/xfstests/
xfstests.py 27 lines = output.split('\n')
28 result_line = lines[-1]
31 detail_line = lines[-3]
  /external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
requireprovidesorter_test.py 76 """Tests that blank lines are omitted in sorted goog.require statements."""
143 """Returns an array of lines based on the specified token stream."""
144 lines = []
149 lines.append(line)
152 return lines
  /external/e2fsprogs/po/
at-expand.pl 68 my $lines = 0;
107 $lines++;
108 if ($lines == 6) {
  /external/elfutils/libdw/
dwarf_getsrc_file.c 68 Dwarf_Lines *lines; local
70 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0)
87 Dwarf_Line *line = &lines->info[cnt];
  /external/skia/tools/
sanitize_source_files.py 28 lines in a file (Eg: TabReplacer).
41 lines = f.readlines()
45 new_lines = [] # Collect changed lines here.
50 for line in lines:
61 old_content = ''.join(lines)

Completed in 718 milliseconds

<<11121314151617181920>>