/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/v8/tools/ |
D | js2c.py | 53 def RemoveCommentsAndTrailingWhitespace(lines): argument 54 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments 55 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. 56 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace 57 return lines 63 lines = file.read() 66 return lines 75 def Validate(lines): argument 78 if EVAL_PATTERN.search(lines): 80 if WITH_PATTERN.search(lines): [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_parallel_cp.py | 53 lines = self.AssertNObjectsInBucket(dst_bucket_uri, 1) 54 self.assertEqual(suri(dst_bucket_uri, 'f0'), lines[0]) 64 lines = self.AssertNObjectsInBucket(dst_bucket_uri, 2) 65 self.assertEqual(suri(dst_bucket_uri, 'f0'), lines[0]) 66 self.assertEqual(suri(dst_bucket_uri, 'f1'), lines[1]) 84 lines = self.AssertNObjectsInBucket(dst_bucket_uri, 2) 85 self.assertEqual(suri(dst_bucket_uri, 'subdir/a'), lines[0]) 86 self.assertEqual(suri(dst_bucket_uri, 'subdir/obj'), lines[1]) 97 lines = self.AssertNObjectsInBucket(dst_bucket_uri, 4) 99 'dir0', 'dir1', 'nested'), lines[0]) [all …]
|
/external/vulkan-validation-layers/demos/smoke/ |
D | generate-dispatch-table | 87 lines = [] 88 lines.append("Extension(name=%s, version=%s, guard=%s, commands=[" % 92 lines.append(" %s," % repr(cmd)) 94 lines.append("])") 96 return "\n".join(lines) 320 lines = [] 321 lines.append("// This file is generated.") 322 lines.append("#ifndef %s" % guard) 323 lines.append("#define %s" % guard) 324 lines.append("") [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/third_party/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/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/ |
D | write.py | 156 lines = [] 163 lines.append('') 164 lines.append('') 167 lines.append(line) 168 lines.append('~' * len(line)) 171 lines.append('') 172 lines.append('.. rst-class:: benchmark') 173 lines.append('') 178 lines.append(separator()) 179 lines.append('|'.join([''] + [ [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | screen_finder_unittest.py | 127 lines = [] 129 lines.append(np.asfarray(((0, 1001, 0, -1)))) 130 lines.append(np.asfarray(((-1, 0, 1001, 0)))) 131 lines.append(np.asfarray(((1000, 1001, 1000, -1)))) 132 lines.append(np.asfarray(((-1, 1000, 1001, 1000)))) 133 expected.append(_BuildResult([0, 0], lines[0], lines[1])) 134 expected.append(_BuildResult([0, 1000], lines[0], lines[3])) 135 expected.append(_BuildResult([1000, 0], lines[1], lines[2])) 136 expected.append(_BuildResult([1000, 1000], lines[2], lines[3])) 139 lines.append(np.asfarray(((0, 500, 500, 0)))) [all …]
|
D | cv_util.py | 53 def ExtendLines(lines, length): argument 57 angles = np.arctan2(lines[:, 1] - lines[:, 3], lines[:, 0] - lines[:, 2]) 60 centerx = (lines[:, 0] + lines[:, 2]) / 2.0 61 centery = (lines[:, 1] + lines[:, 3]) / 2.0 62 lines[:, 0] = centerx - xoffsets 63 lines[:, 2] = centerx + xoffsets 64 lines[:, 1] = centery - yoffsets 65 lines[:, 3] = centery + yoffsets 66 return lines
|
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/ |
D | formatter.py | 42 lines = [] 54 lines.append(self.format_sup_line_pos(sup.line, sup.column)) 56 lines.append(self.format_sup_expression(sup.expression)) 59 lines.append(self.format_sup_warning(warning)) 61 lines.extend(self.format_sup_info(sup.info)) 63 lines.append('Exception in supplement:') 64 lines.append(self.quote_long(frame.supplement_exception)) 66 lines.append(self.format_traceback_info(frame.traceback_info)) 73 lines.append(self.format_source_line(filename or '?', frame)) 77 lines.append(self.format_long_source( [all …]
|
/external/v8/test/mjsunit/es6/ |
D | tail-call-megatest.js | 51 var lines = [ 57 return lines.join("\n"); 86 var lines = [ 97 return lines.join("\n"); 113 var lines = [ 125 return lines.join("\n"); 141 var lines = [ 153 return lines.join("\n"); 167 var lines = [ 181 return lines.join("\n"); [all …]
|
/external/boringssl/src/util/ |
D | doc.go | 79 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e… 80 if len(lines) == 0 { 81 return nil, lines, lineNo, nil 85 rest = lines 141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error… 142 if len(lines) == 0 { 143 return "", lines, lineNo, nil 146 rest = lines 256 var lines, oldLines []string 258 lines = append(lines, scanner.Text()) [all …]
|
/external/elfutils/libdw/ |
D | dwarf_entry_breakpoints.c | 68 Dwarf_Lines *lines, size_t nlines, in search_range() argument 75 if (lines->info[idx].addr < low) in search_range() 77 else if (lines->info[idx].addr > low) in search_range() 79 else if (lines->info[idx].end_sequence) in search_range() 90 for (size_t i = l; i < u && lines->info[i].addr < high; ++i) in search_range() 91 if (lines->info[i].prologue_end in search_range() 92 && add_bkpt (lines->info[i].addr, bkpts, pnbkpts) < 0) in search_range() 95 while (++l < nlines && lines->info[l].addr < high) in search_range() 96 if (!lines->info[l].end_sequence) in search_range() 97 return add_bkpt (lines->info[l].addr, bkpts, pnbkpts); in search_range() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/csv/ |
D | CSVFormatterTest.java | 62 final List<String> lines = getLines(); in testStructureWithGroup() local 63 assertEquals(HEADER, lines.get(0)); in testStructureWithGroup() 66 lines.get(1)); in testStructureWithGroup() 72 final List<String> lines = getLines(); in testStructureWithNestedGroups() local 73 assertEquals(HEADER, lines.get(0)); in testStructureWithNestedGroups() 76 lines.get(1)); in testStructureWithNestedGroups() 79 lines.get(2)); in testStructureWithNestedGroups() 85 final List<String> lines = getLines(); in testStructureWithBundleOnly() local 86 assertEquals(HEADER, lines.get(0)); in testStructureWithBundleOnly() 89 lines.get(1)); in testStructureWithBundleOnly() [all …]
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/docmaker/ |
D | sources.py | 263 def __init__( self, processor, filename, lineno, lines ): argument 267 self.lines = lines[:] 277 lines = [] 279 for line0 in self.lines: 282 lines.append( m.group( 1 ) ) 285 for l in lines: 290 self.content = lines 309 for line in self.lines: 335 self.lines = [] 352 self.lines = [] [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | rietveld_service.py | 109 lines = [] 111 lines.append('--' + boundary) 112 lines.append('Content-Disposition: form-data; name="%s"' % key) 113 lines.append('') 116 lines.append(value) 118 lines.append('--' + boundary) 119 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 123 lines.append('Content-Type: %s' % content_type) 124 lines.append('') 127 lines.append(value) [all …]
|
/external/harfbuzz_ng/test/shaping/ |
D | hb_test_tools.py | 80 def colorize_lines (self, lines): argument 81 lines = (l if l else '' for l in lines) 82 ss = [self.diff_regex.sub (r'\1\n\2\n', l).splitlines (True) for l in lines] 110 lines = [None, None] 116 if lines[i]: 118 for line in self.colorize_lines (lines): 120 lines = [None, None] 121 lines[i] = l[1:] 122 if (all (lines)): 124 for line in self.colorize_lines (lines): [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/ |
D | MarkedYAMLException.java | 58 StringBuilder lines = new StringBuilder(); in toString() local 60 lines.append(context); in toString() 61 lines.append("\n"); in toString() 68 lines.append(contextMark.toString()); in toString() 69 lines.append("\n"); in toString() 72 lines.append(problem); in toString() 73 lines.append("\n"); in toString() 76 lines.append(problemMark.toString()); in toString() 77 lines.append("\n"); in toString() 80 lines.append(note); in toString() [all …]
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
D | gmock_class.py | 123 lines = [] 133 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 134 lines.append('') 137 lines.append('class Mock%s : public %s {' % (class_name, class_name)) # } 138 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 141 _GenerateMethods(lines, source, class_node) 144 if lines: 146 if len(lines) == 2: 147 del lines[-1] 150 lines.append('};') [all …]
|
/external/libvncserver/utils/ |
D | 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); 200 my $next_next_line = shift (@lines); [all …]
|
/external/protobuf/gtest/scripts/ |
D | pump.py | 164 def StartsWith(lines, pos, string): argument 167 return lines[pos.line][pos.column:].startswith(string) 187 def FindFirst(lines, token_table, cursor): argument 192 for line in lines[start.line:]: 203 return MakeToken(lines, found_start, found_end, token_type) 209 def SubString(lines, start, end): argument 213 end = Cursor(len(lines) - 1, len(lines[-1])) 219 return lines[start.line][start.column:end.column] 221 result_lines = ([lines[start.line][start.column:]] + 222 lines[start.line + 1:end.line] + [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
D | pump.py | 163 def StartsWith(lines, pos, string): argument 166 return lines[pos.line][pos.column:].startswith(string) 186 def FindFirst(lines, token_table, cursor): argument 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 208 def SubString(lines, start, end): argument 212 end = Cursor(len(lines) - 1, len(lines[-1])) 218 return lines[start.line][start.column:end.column] 220 result_lines = ([lines[start.line][start.column:]] + 221 lines[start.line + 1:end.line] + [all …]
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | pump.py | 163 def StartsWith(lines, pos, string): argument 166 return lines[pos.line][pos.column:].startswith(string) 186 def FindFirst(lines, token_table, cursor): argument 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 208 def SubString(lines, start, end): argument 212 end = Cursor(len(lines) - 1, len(lines[-1])) 218 return lines[start.line][start.column:end.column] 220 result_lines = ([lines[start.line][start.column:]] + 221 lines[start.line + 1:end.line] + [all …]
|
/external/llvm/utils/lint/ |
D | common_lint.py | 7 def VerifyLineLength(filename, lines, max_length): argument 22 for line in lines: 30 def VerifyTabs(filename, lines): argument 44 for line in lines: 51 def VerifyTrailingWhitespace(filename, lines): argument 65 for line in lines: 73 def RunOnFile(filename, lines): argument 94 lines = file.readlines() 95 lint.extend(linter.RunOnFile(filename, lines))
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
D | SourceNodeImpl.java | 24 private LineImpl[] lines; field in SourceNodeImpl 39 lines = null; in SourceNodeImpl() 57 if (lines == null) { in ensureCapacity() 59 lines = new LineImpl[last - first + 1]; in ensureCapacity() 64 if (newLength > lines.length) { in ensureCapacity() 66 System.arraycopy(lines, 0, newLines, offset - newFirst, in ensureCapacity() 67 lines.length); in ensureCapacity() 69 lines = newLines; in ensureCapacity() 129 lines[line - offset] = l.increment(instructions, branches); in incrementLine() 158 return lines == null ? UNKNOWN_LINE : (offset + lines.length - 1); in getLastLine() [all …]
|