HomeSort by relevance Sort by last modified time
    Searched refs:lines (Results 1 - 25 of 1812) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/1339-dead-reference-safe/
check 20 diff --ignore-matching-lines="DeadReferenceSafe count:" -q $1 $2
  /external/python/cpython2/PC/VS9.0/
vs9to8.py 15 lines = fin.read()
16 lines = lines.replace('Version="9,00"', 'Version="8.00"')
17 lines = lines.replace('Version="9.00"', 'Version="8.00"')
18 lines = lines.replace('Format Version 10.00', 'Format Version 9.00')
19 lines = lines.replace('Visual Studio 2008', 'Visual Studio 2005')
21 lines = lines.replace('wininst-9.0', 'wininst-8.0'
    [all...]
  /external/yapf/yapf/yapflib/
line_joiner.py 14 """Join unwrapped lines together.
16 Determine how many lines can be joined into one line. For instance, we could
28 1. The lines should have been joined in the original source.
29 2. The joined lines must not go over the column boundary if placed on the same
34 follows that there can only be at most two lines to join.
42 def CanMergeMultipleLines(lines, last_was_merged=False):
43 """Determine if multiple lines can be joined into one.
46 lines: (list of UnwrappedLine) This is a splice of UnwrappedLines from the
51 True if two consecutive lines can be joined together. In reality, this will
52 only happen if two consecutive lines can be joined, due to the style guide
    [all...]
  /external/u-boot/test/py/tests/
test_log.py 18 def check_log_entries(lines, mask, max_level=LOGL_INFO):
22 lines: iterator containing lines to check
23 mask: bit mask to select which lines to check for:
30 assert 'log_run() log %d' % i == lines.next()
32 assert 'func() _log %d' % i == lines.next()
40 iterator containing the lines output from the command
45 lines = iter(split)
46 assert 'test %d' % testnum == lines.next()
47 return lines
    [all...]
  /external/openssh/regress/
yes-head.sh 7 lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION=199209 head -2000"' | (sleep 3 ; wc -l)`
10 lines = 0;
12 if [ $lines -ne 2000 ]; then
13 fail "yes|head returns $lines lines instead of 2000"
  /external/elfutils/libdw/
dwarf_onesrcline.c 1 /* Return one of the sources lines of a CU.
38 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx)
40 if (lines == NULL)
43 if (idx >= lines->nlines)
49 return &lines->info[idx];
dwarf_getsrc_die.c 41 Dwarf_Lines *lines; local
44 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0)
47 /* The lines are sorted by address, so we can use binary search. */
54 Dwarf_Line *line = &lines->info[idx];
62 assert (lines->info[nlines - 1].end_sequence);
67 Dwarf_Line *line = &lines->info[l];
69 return &lines->info[l];
  /external/elfutils/libdwfl/
lines.c 40 if (cu->lines == NULL)
42 Dwarf_Lines *lines; local
44 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0)
47 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines]));
48 if (cu->lines == NULL)
50 cu->lines->cu = cu;
52 cu->lines->idx[i].idx = i;
  /external/google-breakpad/src/common/
dwarf_line_to_module_unittest.cc 47 vector<Module::Line> lines; local
48 DwarfLineToModule h(&m, "/", &lines);
59 EXPECT_EQ(1U, lines.size());
60 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address);
61 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size);
62 EXPECT_TRUE(lines[0].file == files[0]);
63 EXPECT_EQ(0x4c090cbf, lines[0].number);
68 vector<Module::Line> lines; local
69 DwarfLineToModule h(&m, "/", &lines);
98 ASSERT_EQ(5U, lines.size())
128 vector<Module::Line> lines; local
146 vector<Module::Line> lines; local
164 vector<Module::Line> lines; local
177 vector<Module::Line> lines; local
190 vector<Module::Line> lines; local
205 vector<Module::Line> lines; local
221 vector<Module::Line> lines; local
237 vector<Module::Line> lines; local
253 vector<Module::Line> lines; local
269 vector<Module::Line> lines; local
283 vector<Module::Line> lines; local
298 vector<Module::Line> lines; local
311 vector<Module::Line> lines; local
328 vector<Module::Line> lines; local
341 vector<Module::Line> lines; local
354 vector<Module::Line> lines; local
375 vector<Module::Line> lines; local
    [all...]
  /external/strace/tests/
match.awk 31 NR > lines { next }
48 if (fail == 0 && NR != lines) {
50 print "Expected " lines " lines, found " NR " line(s)."
  /external/strace/tests-m32/
match.awk 31 NR > lines { next }
48 if (fail == 0 && NR != lines) {
50 print "Expected " lines " lines, found " NR " line(s)."
  /external/strace/tests-mx32/
match.awk 31 NR > lines { next }
48 if (fail == 0 && NR != lines) {
50 print "Expected " lines " lines, found " NR " line(s)."
  /external/webrtc/webrtc/build/
extra_gitignore.py 31 lines = open(gitignore_file, 'r').readlines()
32 for i, line in enumerate(lines):
36 lines = lines[:i]
38 lines.append(modify_string)
41 f.write(''.join(lines))
  /external/mockito/src/main/java/org/mockito/internal/debugging/
LoggingListener.java 58 List<String> lines = new LinkedList<String>(); local
59 lines.add("[Mockito] Additional stubbing information (see javadoc for StubbingInfo class):");
62 lines.add("[Mockito]");
63 lines.add("[Mockito] Argument mismatch between stubbing and actual invocation (is stubbing correct in the test?):");
64 lines.add("[Mockito]");
65 addOrderedList(lines, argMismatchStubs);
69 lines.add("[Mockito]");
70 lines.add("[Mockito] Unused stubbing (perhaps can be removed from the test?):");
71 lines.add("[Mockito]");
72 addOrderedList(lines, unusedStubs)
    [all...]
  /bionic/libc/tools/
generate-NOTICE.py 52 def extract_copyright_at(lines, i):
53 hash = lines[i].startswith("#")
59 if "/*" in lines[start - 1]:
63 # Read comment lines until we hit something that terminates a
65 while i < len(lines):
66 if "*/" in lines[i]:
68 if hash and len(lines[i]) == 0:
70 if "\t@(#)" in lines[i] or "\tfrom: @(#)" in lines[i] or "From: @(#)" in lines[i] or "from OpenBSD:" in lines[i]
    [all...]
  /external/ply/ply/ply/
ygen.py 13 def get_source_range(lines, tag):
14 srclines = enumerate(lines)
28 def filter_section(lines, tag):
32 for line in lines:
43 lines = f.readlines()
45 parse_start, parse_end = get_source_range(lines, 'parsedebug')
46 parseopt_start, parseopt_end = get_source_range(lines, 'parseopt')
47 parseopt_notrack_start, parseopt_notrack_end = get_source_range(lines, 'parseopt-notrack')
50 orig_lines = lines[parse_start:parse_end]
59 lines[parseopt_notrack_start:parseopt_notrack_end] = parseopt_notrack_line
    [all...]
  /build/kati/testcase/
override_define.mk 4 override define two-lines
13 override define three-lines
18 override define four-lines
28 echo two BEGIN $(two-lines) END $(flavor two-lines)
29 echo three BEGIN $(three-lines) END $(flavor three-lines)
30 echo four BEGIN $(four-lines) END $(flavor four-lines)
  /external/python/cpython2/Lib/idlelib/idle_test/
test_grep.py 55 lines = s.getvalue().split('\n')
56 lines.pop() # remove bogus '' after last \n
57 return lines
61 lines = self.report(pat)
62 self.assertEqual(len(lines), 2)
63 self.assertIn(pat, lines[0])
64 self.assertEqual(lines[1], 'No hits.')
69 lines = self.report(pat)
70 self.assertEqual(len(lines), 5)
71 self.assertIn(pat, lines[0]
    [all...]
  /external/python/cpython3/Lib/idlelib/idle_test/
test_grep.py 57 lines = s.getvalue().split('\n')
58 lines.pop() # remove bogus '' after last \n
59 return lines
63 lines = self.report(pat)
64 self.assertEqual(len(lines), 2)
65 self.assertIn(pat, lines[0])
66 self.assertEqual(lines[1], 'No hits.')
71 lines = self.report(pat)
72 self.assertEqual(len(lines), 5)
73 self.assertIn(pat, lines[0]
    [all...]
  /external/python/cpython3/Tools/msi/
csv_to_wxs.py 64 lines = [
69 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
71 lines.append(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name), dir_name))
72 lines.append(' </DirectoryRef>')
74 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
75 lines.append(' <Directory Id="{}___pycache__" Name="__pycache__" />'.format(dir_parent))
76 lines.append(' </DirectoryRef>')
77 lines.append(' </Fragment>')
80 lines.extend([
85 lines.append(' <Component Id="{}" Directory="{}" Guid="*">'.format(make_id(target), make_id(t (…)
    [all...]
  /external/llvm/utils/lint/
generic_lint.py 12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
  /external/pcre/dist2/
Detrail 3 # This is a script for removing trailing whitespace from lines in files that
12 @lines = <IN>;
14 foreach (@lines)
25 print OUT @lines;
  /external/swiftshader/third_party/LLVM/utils/lint/
generic_lint.py 12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/lint/
generic_lint.py 12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
  /external/tensorflow/tensorflow/python/util/
decorator_utils.py 38 Replaces tabs with spaces, removes leading and trailing blanks lines, and
53 # and split into a list of lines:
54 lines = docstring.expandtabs().splitlines()
58 for line in lines[1:]:
63 trimmed = [lines[0].strip()]
65 for line in lines[1:]:
67 # Strip off trailing and leading blank lines:
94 lines = [no_doc_str]
96 lines = _normalize_docstring(doc).splitlines()
97 lines[0] += ' ' + suffix_st
    [all...]

Completed in 2439 milliseconds

1 2 3 4 5 6 7 8 91011>>