/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/swiftshader/third_party/LLVM/utils/ |
D | NightlyTest.gnuplot | 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, \ 42 "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \ [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/u-boot/test/py/tests/ |
D | test_log.py | 18 def check_log_entries(lines, mask, max_level=LOGL_INFO): argument 30 assert 'log_run() log %d' % i == lines.next() 32 assert 'func() _log %d' % i == lines.next() 45 lines = iter(split) 46 assert 'test %d' % testnum == lines.next() 47 return lines 50 lines = run_test(0) 51 check_log_entries(lines, 3) 54 lines = run_test(1) 55 check_log_entries(lines, 3) [all …]
|
/external/yapf/yapf/yapflib/ |
D | line_joiner.py | 42 def CanMergeMultipleLines(lines, last_was_merged=False): argument 55 indent_amt = lines[0].depth * style.Get('INDENT_WIDTH') 56 if len(lines) == 1 or indent_amt > style.Get('COLUMN_LIMIT'): 59 if (len(lines) >= 3 and lines[2].depth >= lines[1].depth and 60 lines[0].depth != lines[2].depth): 67 if lines[0].first.value in _CLASS_OR_FUNC: 72 if lines[0].last.total_length < limit: 73 limit -= lines[0].last.total_length 75 if lines[0].first.value == 'if': 76 return _CanMergeLineIntoIfStatement(lines, limit) [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 | 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] 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): 131 for i in range(start_line, len(out.lines)): 137 floats.append(float(out.lines[i][begin:end])) [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 …]
|
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] 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] 190 const_b_name_line = run_start_intro.lines[5] [all …]
|
D | stepper_cli_test.py | 43 def _parse_sorted_nodes_list(lines): argument 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 113 for i, line in enumerate(lines): 122 for line in lines[begin_line:]: 187 output.lines) 201 output.lines) [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() 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]) 174 while 'Cc:' in lines[line]: [all …]
|
/external/boringssl/src/util/ |
D | convert_comments.go | 78 lines []string member 85 (*groups)[len(*groups)-1].lines = append((*groups)[len(*groups)-1].lines, line) 95 lines := strings.Split(string(in), "\n") 98 if len(lines) > 0 && len(lines[len(lines)-1]) == 0 { 99 lines = lines[:len(lines)-1] 107 for len(lines) > 0 { 108 line := lines[0] 109 lines = lines[1:] 124 for len(lines) > 0 { 125 line := lines[0] [all …]
|
D | doc.go | 98 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e… 99 if len(lines) == 0 { 100 return nil, lines, lineNo, nil 104 rest = lines 172 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error… 173 if len(lines) == 0 || len(lines[0]) == 0 { 174 return "", lines, lineNo, nil 177 rest = lines 304 var lines, oldLines []string 306 lines = append(lines, scanner.Text()) [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/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/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/ply/ply/ply/ |
D | ygen.py | 13 def get_source_range(lines, tag): argument 14 srclines = enumerate(lines) 28 def filter_section(lines, tag): argument 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_lines [all …]
|
/external/mockito/src/main/java/org/mockito/internal/debugging/ |
D | LoggingListener.java | 58 List<String> lines = new LinkedList<String>(); in getStubbingInfo() local 59 … lines.add("[Mockito] Additional stubbing information (see javadoc for StubbingInfo class):"); in getStubbingInfo() 62 lines.add("[Mockito]"); in getStubbingInfo() 63 …lines.add("[Mockito] Argument mismatch between stubbing and actual invocation (is stubbing correct… in getStubbingInfo() 64 lines.add("[Mockito]"); in getStubbingInfo() 65 addOrderedList(lines, argMismatchStubs); in getStubbingInfo() 69 lines.add("[Mockito]"); in getStubbingInfo() 70 lines.add("[Mockito] Unused stubbing (perhaps can be removed from the test?):"); in getStubbingInfo() 71 lines.add("[Mockito]"); in getStubbingInfo() 72 addOrderedList(lines, unusedStubs); in getStubbingInfo() [all …]
|
/external/skia/infra/bots/buildstats/ |
D | buildstats_flutter.py | 45 lines = subprocess.check_output([bloaty_path, stripped_file, 49 grand_total = print_skia_lines_file_symbol(lines) 52 lines = subprocess.check_output([bloaty_path, stripped_file, 56 print_skia_lines_file_symbol(lines) 60 lines = subprocess.check_output([bloaty_path, stripped_file, 64 print_skia_lines_symbol_file(lines) 68 lines = subprocess.check_output([bloaty_path, stripped_file, 72 print_skia_lines_symbol_file(lines) 99 def print_skia_lines_file_symbol(lines): argument 100 lines = lines.split('\n') [all …]
|
/external/skqp/infra/bots/buildstats/ |
D | buildstats_flutter.py | 45 lines = subprocess.check_output([bloaty_path, stripped_file, 49 grand_total = print_skia_lines_file_symbol(lines) 52 lines = subprocess.check_output([bloaty_path, stripped_file, 56 print_skia_lines_file_symbol(lines) 60 lines = subprocess.check_output([bloaty_path, stripped_file, 64 print_skia_lines_symbol_file(lines) 68 lines = subprocess.check_output([bloaty_path, stripped_file, 72 print_skia_lines_symbol_file(lines) 99 def print_skia_lines_file_symbol(lines): argument 100 lines = lines.split('\n') [all …]
|
/external/u-boot/tools/buildman/ |
D | test.py | 195 lines = terminal.GetPrintTestLines() 197 for line in lines: 207 lines = terminal.GetPrintTestLines() 208 self.assertEqual(lines[0].text, '01: %s' % commits[0][1]) 209 self.assertEqual(lines[1].text, '02: %s' % commits[1][1]) 213 self.assertSummary(lines[2].text, 'sandbox', '+', ['board4']) 214 self.assertSummary(lines[3].text, 'arm', '+', ['board1']) 215 self.assertSummary(lines[4].text, 'powerpc', '+', ['board2', 'board3']) 218 self.assertEqual(lines[5].text, 'w+%s' % 220 self.assertEqual(lines[5].colour, col.MAGENTA) [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | 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/cpython2/Lib/idlelib/idle_test/ |
D | 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 …]
|