/external/autotest/client/site_tests/security_Minijail0/src/ |
test-netns | 10 lines=$(wc -l < /proc/net/dev) 16 [ $lines -eq 3 ] || die "network interfaces still here"
|
test-userns-netns | 10 lines=$(wc -l < /proc/net/dev) 16 [ $lines -eq 3 ] || die "network interfaces still here"
|
/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 | 36 if (cu->lines == NULL) 38 Dwarf_Lines *lines; local 40 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0) 43 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines])); 44 if (cu->lines == NULL) 46 cu->lines->cu = cu; 48 cu->lines->idx[i].idx = i;
|
dwfl_onesrcline.c | 1 /* Return one of the sources lines of a CU. 39 if (cu->lines == NULL) 49 if (idx >= cu->die.cu->lines->nlines) 55 return &cu->lines->idx[idx];
|
/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 | 36 def ExtractCopyrightAt(lines, i): 37 hash = lines[i].startswith("#") 43 if "/*" in lines[start - 1]: 47 # Read comment lines until we hit something that terminates a 49 while i < len(lines): 50 if "*/" in lines[i]: 52 if hash and len(lines[i]) == 0: 54 if "\t@(#)" in lines[i] or "\tfrom: @(#)" in lines[i] or "From: @(#)" in lines[i] or "from OpenBSD:" in lines[i] 127 lines = content.split("\\n") variable [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)
|
/packages/apps/Calendar/src/com/android/calendar/ |
ColorChipView.java | 116 float[] lines = new float[16]; local 118 lines [ptr++] = 0; 119 lines [ptr++] = top; 120 lines [ptr++] = right; 121 lines [ptr++] = top; 122 lines [ptr++] = 0; 123 lines [ptr++] = bottom - halfBorderWidth; 124 lines [ptr++] = right; 125 lines [ptr++] = bottom - halfBorderWidth; 126 lines [ptr++] = left [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
JavaCrashParserTest.java | 35 List<String> lines = Arrays.asList( local 41 JavaCrashItem jc = new JavaCrashParser().parse(lines); 45 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); 52 List<String> lines = Arrays.asList( local 58 JavaCrashItem jc = new JavaCrashParser().parse(lines); 62 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); 66 * Test that Java crashes are parsed if the message spans multiple lines. 69 List<String> lines = Arrays.asList( local 71 "is many lines", 77 JavaCrashItem jc = new JavaCrashParser().parse(lines); 89 List<String> lines = Arrays.asList( local 113 List<String> lines = Arrays.asList( local 132 List<String> lines = Arrays.asList( local [all...] |
/external/syslinux/gpxe/src/util/ |
sortobjdump.pl | 12 my %lines; 32 $lines{$key} ||= ''; 33 $lines{$key} .= $_; 40 print $lines{$_} foreach sort keys %lines;
|
/system/tools/aidl/tests/ |
aidl_test_sentinel_searcher.cpp | 36 bool ReadLines(const string& input_file_path, vector<string>* lines) { 45 lines->push_back(line); 51 bool HasSentinel(const vector<string>& lines, const string& sentinel) { 52 for (const auto& line : lines) { 85 vector<string> lines; local 92 // Ignore errors when reading lines. The file may not immediately exist 94 lines.clear(); 95 ReadLines(input_file_path, &lines); 97 if (HasSentinel(lines, success_sentinel)) { 101 if (HasSentinel(lines, failure_sentinel)) [all...] |
/external/toybox/toys/posix/ |
head.c | 1 /* head.c - copy first lines from input to stdout. 15 Copy first lines from files to stdout. If no files listed, copy from 18 -n Number of lines to copy. 25 long lines; 31 int i, len, lines=TT.lines, size=sizeof(toybuf); local 40 while (lines) { 45 for(i=0; i<len;) if (toybuf[i++] == '\n' && !--lines) break; 57 TT.lines = atolx(arg+1);
|
/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)
|
common_lint.py | 7 def VerifyLineLength(filename, lines, max_length): 8 """Checks to make sure the file has no lines with lines exceeding the length 13 lines: contents of the file as string array 22 for line in lines: 30 def VerifyTabs(filename, lines): 35 lines: contents of the file as string array 44 for line in lines: 51 def VerifyTrailingWhitespace(filename, lines): 52 """Checks to make sure the file has no lines with trailing whitespace [all...] |
/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)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
util.py | 16 Removes indentation on lines following the first one, using the
21 lines = s.split("\n")
23 first = lines.pop(0)
28 for l in lines:
33 L += [l[indent:] for l in lines]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
rgrep.py | 40 lines = buffer.split("\n")
43 if not lines[-1]:
44 del lines[-1]
46 lines[-1] = lines[-1] + leftover
48 leftover = lines[0]
49 del lines[0]
52 lines.reverse()
53 for line in lines:
|