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

1 2 3 4 56 7 8 91011>>

  /external/llvm/utils/
sort_includes.py 3 """Script to sort the top-most block of #include lines.
15 """Sort the #include lines of a specific file."""
25 lines = f.readlines()
35 for (i, l) in enumerate(lines):
78 lines = lines[:headers_begin] + header_lines + lines[headers_end + 1:]
82 f.writelines(lines)
  /external/opencv3/samples/python2/
hist.py 92 lines = hist_lines(im) variable
93 cv2.imshow('histogram',lines)
98 lines = hist_lines(equ) variable
99 cv2.imshow('histogram',lines)
109 lines = hist_lines(norm) variable
110 cv2.imshow('histogram',lines)
  /external/vulkan-validation-layers/loader/
vk-loader-generate.py 134 lines = []
135 lines.append("#include \"vk_loader_platform.h\"")
136 lines.append("#include \"loader.h\"")
137 lines.append("#if defined(__linux__)")
138 lines.append("#pragma GCC optimize(3) // force gcc to use tail-calls")
139 lines.append("#endif")
140 return "\n".join(lines)
143 lines = []
145 lines.append('\nVKAPI_ATTR void VKAPI_CALL vkDevExt%s(VkDevice device)' % i)
146 lines.append('{'
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_fileinput.py 18 # Write lines (a list of lines) to temp file number i, and return the
20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default
23 f.writelines(lines)
51 lines = list(fi)
53 self.assertEqual(len(lines), 31)
54 self.assertEqual(lines[4], 'Line 5 of file 1\n')
55 self.assertEqual(lines[30], 'Line 1 of file 4\n')
84 lines = list(fi)
85 self.assertEqual(len(lines), 33
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_fileinput.py 18 # Write lines (a list of lines) to temp file number i, and return the
20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default
23 f.writelines(lines)
51 lines = list(fi)
53 self.assertEqual(len(lines), 31)
54 self.assertEqual(lines[4], 'Line 5 of file 1\n')
55 self.assertEqual(lines[30], 'Line 1 of file 4\n')
84 lines = list(fi)
85 self.assertEqual(len(lines), 33
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fileinput.py 18 # Write lines (a list of lines) to temp file number i, and return the
20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default
23 f.writelines(lines)
51 lines = list(fi)
53 self.assertEqual(len(lines), 31)
54 self.assertEqual(lines[4], 'Line 5 of file 1\n')
55 self.assertEqual(lines[30], 'Line 1 of file 4\n')
84 lines = list(fi)
85 self.assertEqual(len(lines), 33
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fileinput.py 18 # Write lines (a list of lines) to temp file number i, and return the
20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default
23 f.writelines(lines)
51 lines = list(fi)
53 self.assertEqual(len(lines), 31)
54 self.assertEqual(lines[4], 'Line 5 of file 1\n')
55 self.assertEqual(lines[30], 'Line 1 of file 4\n')
84 lines = list(fi)
85 self.assertEqual(len(lines), 33
    [all...]
  /external/chromium-trace/catapult/third_party/typ/typ/
json_results.py 166 lines = []
169 lines.append('--' + BOUNDARY)
170 lines.append('Content-Disposition: form-data; name="%s"' % key)
171 lines.append('')
172 lines.append(value)
174 lines.append('--' + BOUNDARY)
175 lines.append('Content-Disposition: form-data; name="file"; '
177 lines.append('Content-Type: application/json')
178 lines.append('')
179 lines.append(json.dumps(test_results)
    [all...]
  /external/google-breakpad/src/testing/gtest/scripts/
pump.py 163 def StartsWith(lines, pos, string):
164 """Returns True iff the given position in lines starts with 'string'."""
166 return lines[pos.line][pos.column:].startswith(string)
174 # We found regex in lines
186 def FindFirst(lines, token_table, cursor):
187 """Finds the first occurrence of any string in strings in lines."""
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
204 # We failed to find str in lines
208 def SubString(lines, start, end)
    [all...]
  /external/libvncserver/utils/
git2cl.pl 94 my @lines = split /\n/, $text;
96 $lines[0] =~ s/^$indent1\s+/$indent1/;
98 for @lines[1..$#lines];
99 my $newtext = join "\n", @lines;
107 my @lines = split (/\n/, $files_list);
108 my $last_line = pop (@lines);
128 my @lines = split (/\n/, $text);
129 while (@lines) # Don't use `foreach' here, it won't work.
131 my $this_line = shift (@lines);
    [all...]
  /external/protobuf/gtest/scripts/
pump.py 164 def StartsWith(lines, pos, string):
165 """Returns True iff the given position in lines starts with 'string'."""
167 return lines[pos.line][pos.column:].startswith(string)
175 # We found regex in lines
187 def FindFirst(lines, token_table, cursor):
188 """Finds the first occurrence of any string in strings in lines."""
192 for line in lines[start.line:]:
203 return MakeToken(lines, found_start, found_end, token_type)
205 # We failed to find str in lines
209 def SubString(lines, start, end)
    [all...]
  /external/valgrind/auxprogs/
nightly-build-summary 84 my (@lines) = @_;
86 foreach my $line (@lines) {
99 my (@lines, $msgno) = @_;
102 $n = scalar @lines;
108 last if ($lines[$i] =~ /^valgrind revision:/);
115 $line = $lines[$i];
131 $line = $lines[$i];
145 $line = $lines[$i];
156 $line = $lines[$i];
164 $line = $lines[$i]
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
pump.py 163 def StartsWith(lines, pos, string):
164 """Returns True iff the given position in lines starts with 'string'."""
166 return lines[pos.line][pos.column:].startswith(string)
174 # We found regex in lines
186 def FindFirst(lines, token_table, cursor):
187 """Finds the first occurrence of any string in strings in lines."""
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
204 # We failed to find str in lines
208 def SubString(lines, start, end)
    [all...]
  /art/compiler/
cfi_test.h 40 std::vector<std::string> lines; local
56 ReformatCfi(Objdump(false, "-W"), &lines); local
65 ReformatAsm(&stream, &lines);
67 std::stable_sort(lines.begin(), lines.end(), CompareByAddress);
68 for (const std::string& line : lines) {
82 // Spit to lines and remove raw instruction bytes.
100 // Find interesting parts of objdump output and prefix the lines with address.
101 static void ReformatCfi(const std::vector<std::string>& lines,
104 for (const std::string& line : lines) {
    [all...]
  /bootable/recovery/update_verifier/
update_verifier.cpp 115 // Care map file has four lines (two lines if vendor partition is not present):
118 // The next two lines have the same format but for vendor partition.
125 std::vector<std::string> lines; local
126 lines = android::base::Split(android::base::Trim(file_content), "\n");
127 if (lines.size() != 2 && lines.size() != 4) {
128 SLOGE("Invalid lines in care_map: found %zu lines, expecting 2 or 4 lines.\n"
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
WifiStatus.java 86 * Print lines.
88 * Print lines in ArrayList<String>
90 * @param lines ArrayList<String>
92 private void printLines(final ArrayList<String> lines) {
93 for (String line : lines) {
117 ArrayList<String> lines = new ArrayList<String>(); local
122 lines.add(line);
124 printLines(lines);
125 lines.clear();
131 lines.add(line)
    [all...]
  /development/scripts/
stack 69 lines = f.readlines()
72 stack_core.ConvertTrace(lines)
  /external/autotest/client/site_tests/hardware_Badblocks/
hardware_Badblocks.py 108 lines = stdout.split('\n')
109 del lines[-1] # Remove blank line at end.
110 logging.info(lines[0])
111 logging.info(lines[1])
113 for line in lines[2:-1]:
123 logging.info(lines[-1])
126 min_sec = re.match(r'(\w+):(\w+)', lines[-2].split()[-4])
134 result = lines[-1].strip()
  /external/doclava/test/com/google/doclava/
StubsTest.java 101 private static String parseLicenseHeader(String... lines) throws IOException {
103 for (String line : lines) {
  /external/fonttools/Lib/fontTools/ttLib/tables/
asciiTable.py 21 lines = strjoin(content).replace("\r", "\n").split("\n")
22 self.data = tobytes("\r".join(lines[1:-1]))
  /external/icu/icu4c/source/test/perf/dicttrieperf/
dicttrieperf.cpp 50 // Skip comment lines (start with a character below 'A').
51 if(lines[i].name[0]>=0x41) {
54 int32_t len=lines[i].len;
56 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) {
59 lines[i].len=len;
70 const ULine *getCachedLines() const { return lines; }
72 int32_t numTextLines; // excluding comment lines
408 const ULine *lines=perf.getCachedLines(); local
411 // Skip comment lines (start with a character below 'A').
412 if(lines[i].name[0]<0x41)
441 const ULine *lines=perf.getCachedLines(); local
465 const ULine *lines=perf.getCachedLines(); local
511 const ULine *lines=perf.getCachedLines(); local
590 const ULine *lines=perf.getCachedLines(); local
617 const ULine *lines=perf.getCachedLines(); local
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpPutRequestTest.java 70 List<String> lines = readLinesFromFile(reader); local
71 assertLinesOfText(expectedInputToServeMethodViaFile, lines);
  /external/skia/tests/
PathOpsCubicIntersectionTestData.h 14 extern const SkDCubic lines[];
  /external/sl4a/Docs/
generate_api_reference_md.pl 38 my @lines = <FILE>;
46 for (my $i = 0; $i < scalar(@lines); $i++) {
47 my $line = $lines[$i];
53 for (my $j = $i; $j < scalar(@lines); $j++) {
54 my $l = $lines[$j];
82 for (my $j = $i; $j < scalar(@lines); $j++) {
83 $func_names_and_params = $func_names_and_params . $lines[$j];
84 if ($lines[$j] =~ m/{$/) {
  /external/valgrind/nightly/conf/
cellbuzz-cross.conf 20 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]

Completed in 536 milliseconds

1 2 3 4 56 7 8 91011>>