/external/swiftshader/third_party/LLVM/utils/ |
D | NightlyTest.gnuplot | 6 set ylabel "Lines of Code" 14 plot "running_loc.txt" using 1:2 title '' with lines, \ 15 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines 23 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines 36 plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \ 37 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \ 38 "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \ 39 "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \ 40 "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \ 41 "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \ [all …]
|
/external/google-breakpad/src/common/ |
D | dwarf_line_to_module_unittest.cc | 47 vector<Module::Line> lines; in TEST() local 48 DwarfLineToModule h(&m, "/", &lines); in TEST() 59 EXPECT_EQ(1U, lines.size()); in TEST() 60 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address); in TEST() 61 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size); in TEST() 62 EXPECT_TRUE(lines[0].file == files[0]); in TEST() 63 EXPECT_EQ(0x4c090cbf, lines[0].number); in TEST() 68 vector<Module::Line> lines; in TEST() local 69 DwarfLineToModule h(&m, "/", &lines); in TEST() 98 ASSERT_EQ(5U, lines.size()); in TEST() [all …]
|
/external/yapf/yapf/yapflib/ |
D | 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): argument 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/ |
D | test_log.py | 18 def check_log_entries(lines, mask, max_level=LOGL_INFO): argument 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 50 lines = run_test(0) [all …]
|
/external/python/cpython2/PC/VS9.0/ |
D | 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') 22 lines = lines.replace('..\\', '..\\..\\') 23 lines = lines.replace('..\\..\\..\\..\\', '..\\..\\..\\') 27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.6.21') 28 … lines = lines.replace('$(bsddbDir)\\..\\..', '..\\..\\..\\db-4.7.25.0\\build_windows\\..') [all …]
|
/external/fonttools/Lib/fontTools/mtiLib/ |
D | __init__.py | 100 def parseScriptList(lines, featureMap=None): argument 103 with lines.between('script table'): 104 for line in lines: 150 def parseFeatureList(lines, lookupMap=None, featureMap=None): argument 153 with lines.between('feature table'): 154 for line in lines: 179 def parseLookupFlags(lines): argument 190 while lines.peeks()[0].lower() in allFlags: 191 line = next(lines) 211 def parseSingleSubst(lines, font, _lookupMap=None): argument [all …]
|
/external/v8/tools/ |
D | js2c.py | 53 def RemoveCommentsEmptyLinesAndWhitespace(lines): argument 54 lines = re.sub(r'\n+', '\n', lines) # empty lines 55 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments 56 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. 57 lines = re.sub(r'\s+\n', '\n', lines) # trailing whitespace 58 lines = re.sub(r'\n\s+', '\n', lines) # initial whitespace 59 return lines 65 lines = file.read() 68 return lines 77 def Validate(lines): argument [all …]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | tensor_format_test.py | 58 ValueError: if any ellipses ("...") are found in the lines representing 62 while not out.lines[begin_line_num].startswith("array"): 65 for line_num in range(begin_line_num, len(out.lines)): 66 line = out.lines[line_num] 88 ValueError: if any ellipses ("...") are found in the lines representing 93 while not out.lines[begin_line_num].startswith("array"): 97 for line_num in range(begin_line_num, len(out.lines)): 98 line = out.lines[line_num] 113 def _findFirst(self, lines, string): argument 115 for i, line in enumerate(lines): [all …]
|
D | stepper_cli_test.py | 43 def _parse_sorted_nodes_list(lines): argument 44 """Parsed a list of lines to extract the node list. 47 lines: (list of str) Lines from which the node list and associated 62 for line in lines: 78 def _parsed_used_feeds(lines): argument 82 for i, line in enumerate(lines): 90 for line in lines[begin_line:]: 100 def _parse_updated(lines): argument 101 """Parse the Updated section in the output text lines. 104 lines: (list of str) The output text lines to be parsed. [all …]
|
D | cli_shared_test.py | 126 self.assertTrue(run_start_intro.lines[1].endswith("run() call #12:")) 129 const_a_name_line = run_start_intro.lines[4] 133 feeds_line = run_start_intro.lines[7] 136 # Verify lines about possible commands and their font attributes. 137 self.assertEqual("run:", run_start_intro.lines[11][2:]) 148 self.assertEqual("run -t <T>:", run_start_intro.lines[15][2:]) 150 self.assertEqual("run -f <filter_name>:", run_start_intro.lines[17][2:]) 174 self.assertEqual(str(self.sparse_d), run_start_intro.lines[7].strip()) 183 self.assertEqual(str(self.sparse_d), run_start_intro.lines[4].strip()) 189 const_a_name_line = run_start_intro.lines[4] [all …]
|
D | profile_analyzer_cli_test.py | 51 def _at_least_one_line_matches(pattern, lines): argument 53 for i, line in enumerate(lines): 59 def _assert_at_least_one_line_matches(pattern, lines): argument 60 any_match, _ = _at_least_one_line_matches(pattern, lines) 63 "%s does not match any line in %s." % (pattern, str(lines))) 66 def _assert_no_lines_match(pattern, lines): argument 67 any_match, _ = _at_least_one_line_matches(pattern, lines) 70 "%s matched at least one line in %s." % (pattern, str(lines))) 81 prof_output = prof_analyzer.list_profile([]).lines 114 prof_output = prof_analyzer.list_profile([]).lines [all …]
|
/external/clang/test/Preprocessor/ |
D | arm-target-features.c | 1 // RUN: %clang -target armv8a-none-linux-gnu -x c -E -dM %s -o - | FileCheck -match-full-lines --ch… 12 // RUN: %clang -target armv7a-none-linux-gnu -x c -E -dM %s -o - | FileCheck -match-full-lines --ch… 21 …pple-macosx10.10 -arch armv7s -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE… 30 // RUN: %clang -target armv8a -mfloat-abi=hard -x c -E -dM %s | FileCheck -match-full-lines --check… 42 …8a -mfloat-abi=hard -mfpu=fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE… 47 …float-abi=hard -mfpu=neon-fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE… 48 …bi=hard -mfpu=crypto-neon-fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE… 53 // RUN: %clang -target armv8a -mnocrc -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=C… 58 // RUN: %clang -target armv8 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=V8 %s 59 // RUN: %clang -target armv8 -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-pref… [all …]
|
D | x86_target_features.c | 1 …n-unknown -march=core2 -msse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE… 12 …arch=core2 -msse4.1 -mno-sse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=NOS… 16 …-march=core2 -msse4 -mno-sse2 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE… 27 …nown-unknown -march=pentium-m -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE… 38 …arch=pentium-m -mno-sse -mavx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX… 50 …arch=pentium-m -mxop -mno-avx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE… 62 …unknown -march=atom -mavx512f -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX… 76 …nknown -march=atom -mavx512cd -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX… 91 …nknown -march=atom -mavx512er -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX… 106 …nknown -march=atom -mavx512pf -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX… [all …]
|
/external/eigen/bench/btl/data/ |
D | perlib_plot_settings.txt | 1 eigen3 ; with lines lw 4 lt 1 lc rgbcolor "black" 2 eigen2 ; with lines lw 3 lt 1 lc rgbcolor "#999999" 3 EigenBLAS ; with lines lw 3 lt 3 lc rgbcolor "#999999" 4 eigen3_novec ; with lines lw 2 lt 1 lc rgbcolor "#999999" 5 eigen3_nogccvec ; with lines lw 2 lt 2 lc rgbcolor "#991010" 6 INTEL_MKL ; with lines lw 3 lt 1 lc rgbcolor "#ff0000" 7 ATLAS ; with lines lw 3 lt 1 lc rgbcolor "#008000" 8 gmm ; with lines lw 3 lt 1 lc rgbcolor "#0000ff" 9 ublas ; with lines lw 3 lt 1 lc rgbcolor "#00b7ff" 10 mtl4 ; with lines lw 3 lt 1 lc rgbcolor "#d18847" [all …]
|
/external/python/cpython3/Tools/msi/ |
D | 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)… 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), mak… [all …]
|
/external/u-boot/tools/patman/ |
D | func_test.py | 161 lines = out[0].splitlines() 162 #print '\n'.join(lines) 163 self.assertEqual('Cleaned %s patches' % len(series.commits), lines[0]) 164 self.assertEqual('Change log missing for v2', lines[1]) 165 self.assertEqual('Change log missing for v3', lines[2]) 166 self.assertEqual('Change log for unknown version v4', lines[3]) 167 self.assertEqual("Alias 'pci' not found", lines[4]) 168 self.assertIn('Dry run', lines[5]) 169 self.assertIn('Send a total of %d patches' % count, lines[7]) 172 self.assertEqual(' %s' % args[i], lines[line + 0]) [all …]
|
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n"); in BreakableBlockComment() 262 LeadingWhitespace.resize(Lines.size()); in BreakableBlockComment() 263 StartOfLineColumn.resize(Lines.size()); in BreakableBlockComment() 265 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment() 269 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment() 272 // lines with the first one. in BreakableBlockComment() 277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { in BreakableBlockComment() 279 if (i + 1 == e && Lines[i].empty()) in BreakableBlockComment() 281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i])) in BreakableBlockComment() 283 while (!Lines[i].startswith(Decoration)) in BreakableBlockComment() [all …]
|
/external/googletest/googletest/scripts/ |
D | pump.py | 163 def StartsWith(lines, pos, string): argument 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): argument 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): argument [all …]
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | pump.py | 163 def StartsWith(lines, pos, string): argument 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): argument 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): argument [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | write.py | 154 lines = [] 161 lines.append('') 162 lines.append('') 165 lines.append(line) 166 lines.append('~' * len(line)) 169 lines.append('') 170 lines.append('.. rst-class:: benchmark') 171 lines.append('') 176 lines.append(separator()) 177 lines.append('|'.join([''] + [ [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
D | write.py | 153 lines = [] 160 lines.append('') 161 lines.append('') 164 lines.append(line) 165 lines.append('~' * len(line)) 168 lines.append('') 169 lines.append('.. rst-class:: benchmark') 170 lines.append('') 175 lines.append(separator()) 176 lines.append('|'.join([''] + [ [all …]
|
/external/autotest/client/common_lib/cros/cfm/ |
D | cras_node_collector.py | 45 lines = self._host.run_output(cmd).split('\n') 46 # Ignore the first two lines ("Input Devices" and headers) and the 48 lines = lines[2:-1] 50 for line in lines] 56 lines = self._host.run_output(cmd).split('\n') 57 # Ignore the first two lines ("Output Devices" and headers) and the 59 lines = lines[2:-1] 61 for line in lines] 74 lines = self._host.run_output(cmd).split('\n') 75 # Ignore the first two lines ("Output Nodes:" and headers) and the [all …]
|
/external/llvm/test/tools/llvm-cov/Inputs/ |
D | test_-f.output | 2 Lines executed:100.00% of 1 5 Lines executed:0.00% of 1 8 Lines executed:0.00% of 1 11 Lines executed:100.00% of 2 14 Lines executed:0.00% of 2 17 Lines executed:100.00% of 3 20 Lines executed:100.00% of 4 23 Lines executed:91.67% of 24 26 Lines executed:100.00% of 1 29 Lines executed:100.00% of 1 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/Inputs/ |
D | test_-f.output | 2 Lines executed:100.00% of 1 5 Lines executed:100.00% of 1 8 Lines executed:100.00% of 1 11 Lines executed:0.00% of 1 14 Lines executed:0.00% of 1 17 Lines executed:100.00% of 2 20 Lines executed:0.00% of 2 23 Lines executed:100.00% of 3 26 Lines executed:100.00% of 4 29 Lines executed:91.67% of 24 [all …]
|
/external/llvm/utils/lint/ |
D | common_lint.py | 7 def VerifyLineLength(filename, lines, max_length): argument 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): argument 35 lines: contents of the file as string array 44 for line in lines: 51 def VerifyTrailingWhitespace(filename, lines): argument 52 """Checks to make sure the file has no lines with trailing whitespace. 56 lines: contents of the file as string array [all …]
|