Home
last modified time | relevance | path

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

12345678910>>...325

/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/libxkbcommon/xkbcommon/src/xkbcomp/
Dparser.c71 #line 33 "src/xkbcomp/parser.y" /* yacc.c:339 */
123 #line 124 "src/xkbcomp/parser.c" /* yacc.c:339 */
293 #line 162 "src/xkbcomp/parser.y" /* yacc.c:355 */
319 #line 320 "src/xkbcomp/parser.c" /* yacc.c:355 */
333 #line 334 "src/xkbcomp/parser.c" /* yacc.c:358 */
1488 #line 225 "src/xkbcomp/parser.y" /* yacc.c:1257 */ in yydestruct()
1490 #line 1491 "src/xkbcomp/parser.c" /* yacc.c:1257 */ in yydestruct()
1494 #line 225 "src/xkbcomp/parser.y" /* yacc.c:1257 */ in yydestruct()
1496 #line 1497 "src/xkbcomp/parser.c" /* yacc.c:1257 */ in yydestruct()
1500 #line 224 "src/xkbcomp/parser.y" /* yacc.c:1257 */ in yydestruct()
[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 …]
/external/libpcap/
Dgrammar.c71 #line 26 "grammar.y" /* yacc.c:339 */
331 #line 332 "grammar.c" /* yacc.c:339 */
613 #line 286 "grammar.y" /* yacc.c:355 */
629 #line 630 "grammar.c" /* yacc.c:355 */
645 #line 646 "grammar.c" /* yacc.c:358 */
2080 #line 361 "grammar.y" /* yacc.c:1646 */ in yyparse()
2084 #line 2085 "grammar.c" /* yacc.c:1646 */ in yyparse()
2088 #line 366 "grammar.y" /* yacc.c:1646 */ in yyparse()
2090 #line 2091 "grammar.c" /* yacc.c:1646 */ in yyparse()
2094 #line 369 "grammar.y" /* yacc.c:1646 */ in yyparse()
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dline.d.expected1 line:line.py:test_line:2
2 line:line.py:test_line:3
3 line:line.py:test_line:4
4 line:line.py:test_line:5
5 line:line.py:test_line:6
6 line:line.py:test_line:7
7 line:line.py:test_line:8
8 line:line.py:test_line:9
9 line:line.py:test_line:10
10 line:line.py:test_line:11
[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/cpython3/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, next(f)
122 assert line == '#include "pgenheaders.h"\n', (lineno, line)
123 lineno, line = lineno+1, next(f)
124 assert line == '#include "grammar.h"\n', (lineno, line)
127 lineno, line = lineno+1, next(f)
130 while line.startswith("static arc "):
[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/one-true-awk/
Dytab.c65 #line 25 "awkgram.y" /* yacc.c:339 */
81 #line 82 "y.tab.c" /* yacc.c:339 */
313 #line 41 "awkgram.y" /* yacc.c:355 */
320 #line 321 "y.tab.c" /* yacc.c:355 */
337 #line 338 "y.tab.c" /* yacc.c:358 */
2548 #line 98 "awkgram.y" /* yacc.c:1646 */ in yyparse()
2551 #line 2552 "y.tab.c" /* yacc.c:1646 */ in yyparse()
2555 #line 100 "awkgram.y" /* yacc.c:1646 */ in yyparse()
2557 #line 2558 "y.tab.c" /* yacc.c:1646 */ in yyparse()
2561 #line 124 "awkgram.y" /* yacc.c:1646 */ in yyparse()
[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/python/cpython3/Lib/distutils/
Dtext_file.py127 def gen_error(self, msg, line=None): argument
129 if line is None:
130 line = self.current_line
132 if isinstance(line, (list, tuple)):
133 outmsg.append("lines %d-%d: " % tuple(line))
135 outmsg.append("line %d: " % line)
139 def error(self, msg, line=None): argument
140 raise ValueError("error: " + self.gen_error(msg, line))
142 def warn(self, msg, line=None): argument
150 sys.stderr.write("warning: " + self.gen_error(msg, line) + "\n")
[all …]
/external/catch2/scripts/
DapprovalTests.py83 aLines = [line.rstrip() for line in file.readlines()]
85 bLines = [line.rstrip() for line in file.readlines()]
91 return [line for line in diff if line[0] in ('+', '-')]
94 def normalizeFilepath(line): argument
95 if catchPath in line:
97 line = line.replace(catchPath + os.sep, '')
99 m = langFilenameParser.match(line)
106 line = line[:m.start()] + filepath + line[m.end():]
108 return line
110 def filterLine(line, isCompact): argument
[all …]
/external/curl/src/
Dtool_parsecfg.c43 static const char *unslashquote(const char *line, char *param);
119 char *line; in parseconfig() local
130 line = aline; in parseconfig()
133 while(*line && ISSPACE(*line)) in parseconfig()
134 line++; in parseconfig()
136 switch(*line) { in parseconfig()
148 option = line; in parseconfig()
153 while(*line && !ISSPACE(*line) && !ISSEP(*line, dashed_option)) in parseconfig()
154 line++; in parseconfig()
157 if(*line) in parseconfig()
[all …]
/external/catch2/projects/SelfTest/Baselines/
Dcompact.sw.approved.txt1 Misc.tests.cpp:<line number>: passed: with 1 message: 'yay'
2 Decomposition.tests.cpp:<line number>: passed: fptr == 0 for: 0 == 0
3 Decomposition.tests.cpp:<line number>: passed: fptr == 0l for: 0 == 0
4 Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
5 Compilation.tests.cpp:<line number>: passed: 0 == y.v for: 0 == 0
6 Compilation.tests.cpp:<line number>: passed: t1 == t2 for: {?} == {?}
7 Compilation.tests.cpp:<line number>: passed: t1 != t2 for: {?} != {?}
8 Compilation.tests.cpp:<line number>: passed: t1 < t2 for: {?} < {?}
9 Compilation.tests.cpp:<line number>: passed: t1 > t2 for: {?} > {?}
10 Compilation.tests.cpp:<line number>: passed: t1 <= t2 for: {?} <= {?}
[all …]
Dconsole.sw.approved.txt11 Misc.tests.cpp:<line number>
14 Misc.tests.cpp:<line number>: PASSED:
22 Decomposition.tests.cpp:<line number>
25 Decomposition.tests.cpp:<line number>: PASSED:
30 Decomposition.tests.cpp:<line number>: PASSED:
38 Compilation.tests.cpp:<line number>
41 Compilation.tests.cpp:<line number>: PASSED:
46 Compilation.tests.cpp:<line number>: PASSED:
54 Compilation.tests.cpp:<line number>
57 Compilation.tests.cpp:<line number>: PASSED:
[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 …]
/external/cldr/tools/scripts/
Dcoll2icu.py152 for line in src:
153 if "<rules>" in line:
154 indent = GetIndent(line)
155 stripped = line.strip()
170 elif "</rules>" in line:
176 dest.write(GetIndent(line) + "]]></cr>\n")
185 if ("<reset" in line) or line.lstrip().startswith("<!--"):
189 if "<!--" in line and "-->" not in line:
191 if "-->" in line:
192 assert line.rstrip().endswith("-->")
[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/grpc-grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py43 def __init__(self, line, indent): argument
44 self.tag = line['tag']
46 self.start_time = line['t']
48 self.important = line['imp']
49 self.filename = line['file']
50 self.fileline = line['line']
56 def __init__(self, call_stack_builder, line): argument
59 self.top_line = LineItem(line, self.indent)
63 def mark(self, line): argument
64 line_item = LineItem(line, self.indent + 1)
[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/toybox/toys/posix/
Dsed.c206 static int emit(char *line, long len, int eol) in emit() argument
208 int l, old = line[len]; in emit()
212 if (eol) line[len++] = '\n'; in emit()
214 l = writeall(TT.fdout, line, len); in emit()
215 if (eol) line[len-1] = old; in emit()
260 char *line = TT.nextline; in sed_line() local
279 if (!line || !len) return; in sed_line()
280 if (line[len-1] == '\n') line[--len] = eol++; in sed_line()
304 if (line && !regexec0(rm, line, len, 0, 0, 0)) miss = 1; in sed_line()
313 if (line && !regexec0(rm, line, len, 0, 0, 0)) command->hit++; in sed_line()
[all …]
/external/boringssl/src/crypto/perlasm/
Darm-xlate.pl94 my $line = join(",",@_);
95 if ($line =~ /^"(.*)"$/)
118 my $line = shift;
121 pos($line)=0;
123 while ($line =~ m/\G[^@\/\{\"]*/g) {
124 if ($line =~ m/\G(@|\/\/|$)/gc) {
127 elsif ($line =~ m/\G\{/gc) {
128 my $saved_pos = pos($line);
129 $line =~ s/\G([rdqv])([0-9]+)([^\-]*)\-\1([0-9]+)\3/range($1,$3,$2,$4)/e;
130 pos($line) = $saved_pos;
[all …]
/external/python/cpython3/Python/
Ddynamic_annotations.c48 void AnnotateRWLockCreate(const char *file, int line, in AnnotateRWLockCreate() argument
50 void AnnotateRWLockDestroy(const char *file, int line, in AnnotateRWLockDestroy() argument
52 void AnnotateRWLockAcquired(const char *file, int line, in AnnotateRWLockAcquired() argument
54 void AnnotateRWLockReleased(const char *file, int line, in AnnotateRWLockReleased() argument
56 void AnnotateBarrierInit(const char *file, int line, in AnnotateBarrierInit() argument
59 void AnnotateBarrierWaitBefore(const char *file, int line, in AnnotateBarrierWaitBefore() argument
61 void AnnotateBarrierWaitAfter(const char *file, int line, in AnnotateBarrierWaitAfter() argument
63 void AnnotateBarrierDestroy(const char *file, int line, in AnnotateBarrierDestroy() argument
66 void AnnotateCondVarWait(const char *file, int line, in AnnotateCondVarWait() argument
69 void AnnotateCondVarSignal(const char *file, int line, in AnnotateCondVarSignal() argument
[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 …]

12345678910>>...325