Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 5339) sorted by relevance

12345678910>>...214

/external/mesa3d/src/mesa/swrast/
Ds_aalinetemp.h37 NAME(plot)(struct gl_context *ctx, struct LineInfo *line, int ix, int iy) in NAME()
42 const GLfloat coverage = compute_coveragef(line, ix, iy); in NAME()
43 const GLuint i = line->span.end; in NAME()
50 line->span.end++; in NAME()
51 line->span.array->coverage[i] = coverage; in NAME()
52 line->span.array->x[i] = ix; in NAME()
53 line->span.array->y[i] = iy; in NAME()
60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane); in NAME()
62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane); in NAME()
63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); in NAME()
[all …]
Ds_aaline.c326 typedef void (*plot_func)(struct gl_context *ctx, struct LineInfo *line,
336 struct LineInfo *line, in segment() argument
340 const GLfloat absDx = (line->dx < 0.0F) ? -line->dx : line->dx; in segment()
341 const GLfloat absDy = (line->dy < 0.0F) ? -line->dy : line->dy; in segment()
343 const GLfloat x0 = line->x0 + t0 * line->dx; in segment()
344 const GLfloat y0 = line->y0 + t0 * line->dy; in segment()
345 const GLfloat x1 = line->x0 + t1 * line->dx; in segment()
346 const GLfloat y1 = line->y0 + t1 * line->dy; in segment()
349 line->qx0 = x0 - line->yAdj; in segment()
350 line->qy0 = y0 + line->xAdj; in segment()
[all …]
/external/libpcap/
Dgrammar.c73 #line 1 "grammar.y" /* yacc.c:339 */
328 #line 329 "y.tab.c" /* yacc.c:339 */
610 #line 256 "grammar.y" /* yacc.c:355 */
626 #line 627 "y.tab.c" /* yacc.c:355 */
641 #line 642 "y.tab.c" /* yacc.c:358 */
2068 #line 331 "grammar.y" /* yacc.c:1646 */ in yyparse()
2072 #line 2073 "y.tab.c" /* yacc.c:1646 */ in yyparse()
2076 #line 336 "grammar.y" /* yacc.c:1646 */ in yyparse()
2078 #line 2079 "y.tab.c" /* yacc.c:1646 */ in yyparse()
2082 #line 339 "grammar.y" /* yacc.c:1646 */ in yyparse()
[all …]
Dscanner.c4 #line 2 "scanner.c"
6 #line 4 "scanner.c"
2709 #line 1 "scanner.l"
2710 #line 2 "scanner.l"
2793 #line 2791 "scanner.c"
2989 #line 180 "scanner.l"
2991 #line 2989 "scanner.c"
3050 #line 181 "scanner.l"
3055 #line 182 "scanner.l"
3060 #line 184 "scanner.l"
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DLineImplTest.java26 private LineImpl line; field in LineImplTest
30 line = LineImpl.EMPTY; in setup()
35 assertEquals(CounterImpl.COUNTER_0_0, line.getInstructionCounter()); in testEMPTY()
36 assertEquals(CounterImpl.COUNTER_0_0, line.getBranchCounter()); in testEMPTY()
37 assertEquals(ICounter.EMPTY, line.getStatus()); in testEMPTY()
42 line = line.increment(CounterImpl.getInstance(1, 2), in testIncrement1()
45 line.getInstructionCounter()); in testIncrement1()
46 assertEquals(CounterImpl.getInstance(3, 4), line.getBranchCounter()); in testIncrement1()
51 line = line.increment(CounterImpl.getInstance(1, 2), in testIncrement2()
54 line.getInstructionCounter()); in testIncrement2()
[all …]
/external/autotest/tko/parsers/
Dversion_1_unittest.py18 line = version_1.status_line(0, 'START', '----', 'test',
20 self.assertEquals(line.type, 'START')
21 self.assertEquals(line.status, None)
26 line = version_1.status_line(0, 'INFO', '----', '----',
28 self.assertEquals(line.type, 'INFO')
29 self.assertEquals(line.status, None)
35 line = version_1.status_line(0, stat, '----', 'test',
37 self.assertEquals(line.type, 'STATUS')
38 self.assertEquals(line.status, stat)
44 line = version_1.status_line(0, 'END ' + stat, '----',
[all …]
Dversion_0_unittest.py140 line = version_0.status_line(0, "START", "----", "test",
142 self.assertEquals(line.type, "START")
143 self.assertEquals(line.status, None)
154 line = version_0.status_line(0, stat, "----", "test",
156 self.assertEquals(line.type, "STATUS")
157 self.assertEquals(line.status, stat)
162 line = version_0.status_line(0, "END " + stat, "----",
164 self.assertEquals(line.type, "END")
165 self.assertEquals(line.status, stat)
177 line = version_0.status_line(5, "GOOD", "subdir_name",
[all …]
Dversion_0.py182 for line in file(path):
183 head, rest = line.split(": ", 1)
228 def parse_line_into_dicts(line, attr_dict, perf_dict): argument
229 key, value = line.split("=", 1)
265 def is_status_line(line): argument
266 return re.search(r"^\t*(\S[^\t]*\t){3}", line) is not None
270 def parse_line(cls, line): argument
271 if not status_line.is_status_line(line):
273 match = re.search(r"^(\t*)(.*)$", line, flags=re.DOTALL)
278 raise RuntimeError("line %r could not be parsed." % line)
[all …]
Dversion_1.py74 def parse_line_into_dicts(line, attr_dict, perf_dict): argument
78 typed_match = re.search('^([^=]*)\{(\w*)\}=(.*)$', line)
83 untyped_match = re.search('^([^=]*)=(.*)$', line)
99 msg %= line
107 def parse_line_into_dict(line): argument
137 perf_dict = json.loads(line)
139 msg = 'Could not parse perf measurements line as json: "%s"' % line
274 line_buffer, line, indent, subdir, timestamp, reason):
287 line_buffer.put_back(line)
294 line = None
[all …]
/external/curl/src/
Dtool_parsecfg.c43 static const char *unslashquote(const char *line, char *param);
123 char *line; in parseconfig() local
133 line = aline; in parseconfig()
137 while(*line && ISSPACE(*line)) in parseconfig()
138 line++; in parseconfig()
140 switch(*line) { in parseconfig()
152 option = line; in parseconfig()
157 while(*line && !ISSPACE(*line) && !ISSEP(*line, dashed_option)) in parseconfig()
158 line++; in parseconfig()
161 if(*line) in parseconfig()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll61 !4 = distinct !DISubprogram(name: "main", line: 74, isLocal: false, isDefinition: true, virtualInde…
70 !13 = !DILocalVariable(name: "argc", line: 74, arg: 1, scope: !4, file: !5, type: !8)
71 !14 = !DILocalVariable(name: "argv", line: 74, arg: 2, scope: !4, file: !5, type: !9)
72 !15 = !DILocalVariable(name: "niter", line: 76, scope: !4, file: !5, type: !8)
73 !16 = !DILocalVariable(name: "step", line: 76, scope: !4, file: !5, type: !8)
74 !17 = !DILocalVariable(name: "n3", line: 76, scope: !4, file: !5, type: !8)
75 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8)
76 !19 = !DILocalVariable(name: "navg", line: 78, scope: !4, file: !5, type: !20)
78 !21 = !DILocalVariable(name: "mflops", line: 78, scope: !4, file: !5, type: !20)
79 !22 = !DILocalVariable(name: "tmax", line: 80, scope: !4, file: !5, type: !20)
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
DLexer.java15 private int line; field in Lexer
61 int start_line = this.line; in getToken()
88 this.line++; in getToken()
93 this.line++; in getToken()
149 accept_line = this.line; in getToken()
166 this.line = accept_line; in getToken()
181 this.line = accept_line; in getToken()
195 this.line = accept_line; in getToken()
209 this.line = accept_line; in getToken()
223 this.line = accept_line; in getToken()
[all …]
/external/boringssl/src/crypto/perlasm/
Darm-xlate.pl80 my $line = join(",",@_);
81 if ($line =~ /^"(.*)"$/)
94 my $line = shift;
97 pos($line)=0;
99 while ($line =~ m/\G[^@\/\{\"]*/g) {
100 if ($line =~ m/\G(@|\/\/|$)/gc) {
103 elsif ($line =~ m/\G\{/gc) {
104 my $saved_pos = pos($line);
105 $line =~ s/\G([rdqv])([0-9]+)([^\-]*)\-\1([0-9]+)\3/range($1,$3,$2,$4)/e;
106 pos($line) = $saved_pos;
[all …]
Dx86_64-xlate.pl101 local *line = shift;
104 if ($line =~ /^([a-z][a-z0-9]*)/i) {
107 $line = substr($line,@+[0]); $line =~ s/^\s+//;
119 } elsif ($self->{op} =~ /mov[dq]/ && $line =~ /%xmm/) {
180 local *line = shift;
183 if ($line =~ /^\$([^,]+)/) {
186 $line = substr($line,@+[0]); $line =~ s/^\s+//;
209 local *line = shift;
213 if ($line =~ /^(\*?)([^\(,]*)\(([%\w,]+)\)/) {
219 $line = substr($line,@+[0]); $line =~ s/^\s+//;
[all …]
/external/icu/icu4c/source/test/depstest/
Ddependencies.py63 def _RemoveComment(line): argument
66 index = line.find("#") # Remove trailing comment.
67 if index >= 0: line = line[:index]
68 return line.rstrip() # Remove trailing newlines etc.
72 line = _RemoveComment(f.next())
73 if line: return line
79 line = _ReadLine(deps_file)
80 if not line: continue
81 if not line.startswith(" "): return line
83 for file_name in line.split():
[all …]
/external/toybox/toys/posix/
Dsed.c193 static int emit(char *line, long len, int eol) in emit() argument
195 int l, old = line[len]; in emit()
198 if (eol) line[len++] = '\n'; in emit()
201 l = writeall(TT.fdout, line, len); in emit()
202 if (eol) line[len-1] = old; in emit()
281 char *line = TT.nextline; in walk_pattern() local
297 if (!line || !len) return; in walk_pattern()
298 if (line[len-1] == '\n') line[--len] = eol++; in walk_pattern()
322 if (line && !ghostwheel(rm, line, len, 0, 0, 0)) miss = 1; in walk_pattern()
331 if (line && !ghostwheel(rm, line, len, 0, 0, 0)) logrus->hit++; in walk_pattern()
[all …]
/external/snakeyaml/src/test/resources/pyyaml/
Dtest_mark.marks2 *The first line.
3 The last line.
5 The first*line.
6 The last line.
8 The first line.*
9 The last line.
11 The first line.
12 *The last line.
14 The first line.
15 The last*line.
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic-machine.hh2 #line 1 "hb-ot-shape-complex-indic-machine.rl"
35 #line 36 "hb-ot-shape-complex-indic-machine.hh"
1555 #line 36 "hb-ot-shape-complex-indic-machine.rl"
1559 #line 97 "hb-ot-shape-complex-indic-machine.rl"
1579 #line 1580 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1587 #line 118 "hb-ot-shape-complex-indic-machine.rl" in find_syllables()
1596 #line 1597 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1607 #line 1 "NONE" in find_syllables()
1610 #line 1611 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1629 #line 1 "NONE" in find_syllables()
[all …]
Dhb-ot-shape-complex-use-machine.hh2 #line 1 "hb-ot-shape-complex-use-machine.rl"
37 #line 38 "hb-ot-shape-complex-use-machine.hh"
363 #line 38 "hb-ot-shape-complex-use-machine.rl"
367 #line 145 "hb-ot-shape-complex-use-machine.rl"
387 #line 388 "hb-ot-shape-complex-use-machine.hh" in find_syllables()
395 #line 166 "hb-ot-shape-complex-use-machine.rl" in find_syllables()
404 #line 405 "hb-ot-shape-complex-use-machine.hh" in find_syllables()
417 #line 1 "NONE" in find_syllables()
420 #line 421 "hb-ot-shape-complex-use-machine.hh" in find_syllables()
439 #line 1 "NONE" in find_syllables()
[all …]
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c64 …char *line[] = {"(", "allow", "test", "foo", "(", "bar", "(", "read", "write", ")", ")", ")", NULL… in test_cil_parse_to_list() local
67 gen_test_tree(&test_tree, line); in test_cil_parse_to_list()
95 …char *line[] = {"(", "allow", "test", "foo", "(", "bar", "(", "read", "write", ")", ")", ")", NULL… in test_cil_parse_to_list_currnull_neg() local
98 gen_test_tree(&test_tree, line); in test_cil_parse_to_list_currnull_neg()
126 …char *line[] = {"(", "allow", "test", "foo", "(", "bar", "(", "read", "write", ")", ")", ")", NULL… in test_cil_parse_to_list_listnull_neg() local
129 gen_test_tree(&test_tree, line); in test_cil_parse_to_list_listnull_neg()
155 char *line[] = {"(", "foo1", "foo2", "(", "foo3", ")", ")", NULL}; in test_cil_set_to_list() local
161 gen_test_tree(&test_tree, line); in test_cil_set_to_list()
181 char *line[] = {"(", "foo", "bar", ")", NULL}; in test_cil_set_to_list_cl_head_null_neg() local
187 gen_test_tree(&test_tree, line); in test_cil_set_to_list_cl_head_null_neg()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dline_reader_unittest.cc62 const char *line; in TEST() local
64 ASSERT_FALSE(reader.GetNextLine(&line, &len)); in TEST()
72 const char *line; in TEST() local
74 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST()
76 ASSERT_EQ('a', line[0]); in TEST()
77 ASSERT_EQ('\0', line[1]); in TEST()
80 ASSERT_FALSE(reader.GetNextLine(&line, &len)); in TEST()
88 const char *line; in TEST() local
90 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST()
92 ASSERT_EQ('a', line[0]); in TEST()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/lang/
Dwpa_gui_de.ts7 <location filename="../addinterface.cpp" line="38"/>
12 <location filename="../addinterface.cpp" line="47"/>
17 <location filename="../addinterface.cpp" line="48"/>
22 <location filename="../addinterface.cpp" line="49"/>
27 <location filename="../addinterface.cpp" line="221"/>
32 <location filename="../addinterface.cpp" line="229"/>
37 <location filename="../addinterface.cpp" line="238"/>
45 <location filename="../wpagui.cpp" line="1621"/>
53 <location filename="../eventhistory.ui" line="13"/>
58 <location filename="../eventhistory.ui" line="48"/>
[all …]
/external/valgrind/memcheck/tests/
Dfilter_memcheck14 my ($line, $tool_files, $cmdlin_files) = @_;
22 return $line if ($line =~ /$qstring/);
30 return $line if ($line =~ s/$qstring:[0-9]+/$string:.../m);
33 return $line if ($line =~ s/$qstring:\.\.\./$string:.../m);
37 $line =~ s/[\w]+.*/.../m;
39 return "$line";
52 my $line = $_;
53 chomp($line);
54 if ($line =~ /^\s+(at |by )/) { # lines in a back trace
55 $line = massage_backtrace_line($line, \@tool_files, \@ARGV);
[all …]
/external/valgrind/helgrind/tests/
Dfilter_helgrind14 my ($line, $tool_files, $cmdlin_files) = @_;
22 return $line if ($line =~ /$qstring/);
30 return $line if ($line =~ s/$qstring:[0-9]+/$string:.../m);
33 return $line if ($line =~ s/$qstring:\.\.\./$string:.../m);
37 $line =~ s/[\w]+.*/.../m;
39 return "$line";
52 my $line = $_;
53 chomp($line);
54 if ($line =~ /^\s+(at |by )/) { # lines in a back trace
55 $line = massage_backtrace_line($line, \@tool_files, \@ARGV);
[all …]
/external/webrtc/tools/valgrind-webrtc/memcheck/
DPRESUBMIT.py41 for line, line_num in zip(f.NewContents(),
43 line = line.lstrip()
44 if line.startswith('#') or not line:
49 if 'insert_a_suppression_name_here' in line:
52 if suppressions.has_key(line):
53 if f.LocalPath() == suppressions[line][1]:
56 (line, f.LocalPath(), line_num,
57 suppressions[line][1]))
61 (line, f.LocalPath(), line_num,
62 suppressions[line][0], suppressions[line][1]))
[all …]

12345678910>>...214