Home
last modified time | relevance | path

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

12345678910>>...209

/external/python/cpython2/Lib/
Dmimify.py59 line = self.file.readline()
60 if not line:
61 return line
63 if line == self.boundary + '\n':
64 self.peek = line
66 if line == self.boundary + '--\n':
67 self.peek = line
69 return line
78 line = self.peek
81 line = self.file.readline()
[all …]
/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.c328 typedef void (*plot_func)(struct gl_context *ctx, struct LineInfo *line,
338 struct LineInfo *line, in segment() argument
342 const GLfloat absDx = (line->dx < 0.0F) ? -line->dx : line->dx; in segment()
343 const GLfloat absDy = (line->dy < 0.0F) ? -line->dy : line->dy; in segment()
345 const GLfloat x0 = line->x0 + t0 * line->dx; in segment()
346 const GLfloat y0 = line->y0 + t0 * line->dy; in segment()
347 const GLfloat x1 = line->x0 + t1 * line->dx; in segment()
348 const GLfloat y1 = line->y0 + t1 * line->dy; in segment()
351 line->qx0 = x0 - line->yAdj; in segment()
352 line->qy0 = y0 + line->xAdj; in segment()
[all …]
/external/libpcap/
Dgrammar.c71 #line 26 "grammar.y" /* yacc.c:339 */
316 #line 317 "grammar.c" /* yacc.c:339 */
598 #line 271 "grammar.y" /* yacc.c:355 */
614 #line 615 "grammar.c" /* yacc.c:355 */
628 #line 629 "grammar.c" /* yacc.c:358 */
2063 #line 346 "grammar.y" /* yacc.c:1646 */ in yyparse()
2067 #line 2068 "grammar.c" /* yacc.c:1646 */ in yyparse()
2071 #line 351 "grammar.y" /* yacc.c:1646 */ in yyparse()
2073 #line 2074 "grammar.c" /* yacc.c:1646 */ in yyparse()
2077 #line 354 "grammar.y" /* yacc.c:1646 */ in yyparse()
[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/python/cpython2/Lib/lib2to3/pgen2/
Dconv.py69 for line in f:
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
72 if not mo and line.strip():
74 line.strip())
121 lineno, line = lineno+1, f.next()
122 assert line == '#include "pgenheaders.h"\n', (lineno, line)
123 lineno, line = lineno+1, f.next()
124 assert line == '#include "grammar.h"\n', (lineno, line)
127 lineno, line = lineno+1, f.next()
130 while line.startswith("static arc "):
[all …]
/external/python/cpython2/Lib/distutils/
Dtext_file.py134 def gen_error (self, msg, line=None): argument
136 if line is None:
137 line = self.current_line
139 if isinstance(line, (list, tuple)):
140 outmsg.append("lines %d-%d: " % tuple (line))
142 outmsg.append("line %d: " % line)
147 def error (self, msg, line=None): argument
148 raise ValueError, "error: " + self.gen_error(msg, line)
150 def warn (self, msg, line=None): argument
158 sys.stderr.write("warning: " + self.gen_error(msg, line) + "\n")
[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.py186 for line in file(path):
187 head, rest = line.split(": ", 1)
232 def parse_line_into_dicts(line, attr_dict, perf_dict): argument
233 key, value = line.split("=", 1)
269 def is_status_line(line): argument
270 return re.search(r"^\t*(\S[^\t]*\t){3}", line) is not None
274 def parse_line(cls, line): argument
275 if not status_line.is_status_line(line):
277 match = re.search(r"^(\t*)(.*)$", line, flags=re.DOTALL)
282 raise RuntimeError("line %r could not be parsed." % line)
[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/boringssl/src/crypto/perlasm/
Darm-xlate.pl94 my $line = join(",",@_);
95 if ($line =~ /^"(.*)"$/)
108 my $line = shift;
111 pos($line)=0;
113 while ($line =~ m/\G[^@\/\{\"]*/g) {
114 if ($line =~ m/\G(@|\/\/|$)/gc) {
117 elsif ($line =~ m/\G\{/gc) {
118 my $saved_pos = pos($line);
119 $line =~ s/\G([rdqv])([0-9]+)([^\-]*)\-\1([0-9]+)\3/range($1,$3,$2,$4)/e;
120 pos($line) = $saved_pos;
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll60 !4 = distinct !DISubprogram(name: "main", line: 74, isLocal: false, isDefinition: true, virtualInde…
69 !13 = !DILocalVariable(name: "argc", line: 74, arg: 1, scope: !4, file: !5, type: !8)
70 !14 = !DILocalVariable(name: "argv", line: 74, arg: 2, scope: !4, file: !5, type: !9)
71 !15 = !DILocalVariable(name: "niter", line: 76, scope: !4, file: !5, type: !8)
72 !16 = !DILocalVariable(name: "step", line: 76, scope: !4, file: !5, type: !8)
73 !17 = !DILocalVariable(name: "n3", line: 76, scope: !4, file: !5, type: !8)
74 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8)
75 !19 = !DILocalVariable(name: "navg", line: 78, scope: !4, file: !5, type: !20)
77 !21 = !DILocalVariable(name: "mflops", line: 78, scope: !4, file: !5, type: !20)
78 !22 = !DILocalVariable(name: "tmax", line: 80, scope: !4, file: !5, type: !20)
[all …]
/external/toybox/toys/posix/
Dsed.c203 static int emit(char *line, long len, int eol) in emit() argument
205 int l, old = line[len]; in emit()
209 if (eol) line[len++] = '\n'; in emit()
211 l = writeall(TT.fdout, line, len); in emit()
212 if (eol) line[len-1] = old; in emit()
257 char *line = TT.nextline; in process_line() local
273 if (!line || !len) return; in process_line()
274 if (line[len-1] == '\n') line[--len] = eol++; in process_line()
298 if (line && !regexec0(rm, line, len, 0, 0, 0)) miss = 1; in process_line()
307 if (line && !regexec0(rm, line, len, 0, 0, 0)) command->hit++; in process_line()
[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/icu/icu4c/source/test/depstest/
Ddependencies.py65 def _RemoveComment(line): argument
68 index = line.find("#") # Remove trailing comment.
69 if index >= 0: line = line[:index]
70 return line.rstrip() # Remove trailing newlines etc.
74 line = _RemoveComment(f.next())
75 if line: return line
81 line = _ReadLine(deps_file)
82 if not line: continue
83 if not line.startswith(" "): return line
85 for file_name in line.split():
[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"
1357 #line 36 "hb-ot-shape-complex-indic-machine.rl"
1361 #line 96 "hb-ot-shape-complex-indic-machine.rl"
1381 #line 1382 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1389 #line 117 "hb-ot-shape-complex-indic-machine.rl" in find_syllables()
1398 #line 1399 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1409 #line 1 "NONE" in find_syllables()
1412 #line 1413 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1431 #line 1 "NONE" in find_syllables()
[all …]
/external/skia/third_party/harfbuzz/
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"
1357 #line 36 "hb-ot-shape-complex-indic-machine.rl"
1361 #line 96 "hb-ot-shape-complex-indic-machine.rl"
1381 #line 1382 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1389 #line 117 "hb-ot-shape-complex-indic-machine.rl" in find_syllables()
1398 #line 1399 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1409 #line 1 "NONE" in find_syllables()
1412 #line 1413 "hb-ot-shape-complex-indic-machine.hh" in find_syllables()
1431 #line 1 "NONE" in find_syllables()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dpygen.py67 for line in lines:
68 self.writeline(line)
70 def writeline(self, line): argument
83 if (line is None or
84 re.match(r"^\s*#",line) or
85 re.match(r"^\s*$", line)
91 is_comment = line and len(line) and line[0] == '#'
95 (not hastext or self._is_unindentor(line))
108 if line is None:
112 self.stream.write(self._indent_line(line) + "\n")
[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 …]

12345678910>>...209