Searched refs:lineno (Results 1 - 25 of 190) sorted by relevance

12345678

/external/libpng/scripts/
H A Ddfn.awk75 lineno=FNR
76 if (lineno == "") lineno=NR
79 print "line", lineno ": processing failed:"
119 print "line", lineno, ": internal error:", orig
136 print "line", lineno ": unbalanced @\" ... \"@ pair"
160 print "line", lineno ": unterminated PNG_DFN string"
181 print "line", lineno ": missing sort field:", line
/external/opencv3/3rdparty/jinja2/
H A Dparser.py44 def fail(self, msg, lineno=None, exc=TemplateSyntaxError):
49 if lineno is None:
50 lineno = self.stream.current.lineno
51 raise exc(msg, lineno, self.name, self.filename)
53 def _fail_ut_eof(self, name, end_token_stack, lineno):
82 self.fail(' '.join(message), lineno)
84 def fail_unknown_tag(self, name, lineno=None):
89 return self._fail_ut_eof(name, self._end_token_stack, lineno)
91 def fail_eof(self, end_tokens=None, lineno
[all...]
H A Dext.py107 def attr(self, name, lineno=None):
113 self.attr('_my_attribute', lineno=lineno)
115 return nodes.ExtensionAttribute(self.identifier, name, lineno=lineno)
118 dyn_kwargs=None, lineno=None):
126 return nodes.Call(self.attr(name, lineno=lineno), args, kwargs,
127 dyn_args, dyn_kwargs, lineno=lineno)
[all...]
H A Dexceptions.py84 def __init__(self, message, lineno, name=None, filename=None):
86 self.lineno = lineno
101 location = 'line %d' % self.lineno
110 line = self.source.splitlines()[self.lineno - 1]
H A Dlexer.py221 def __call__(self, lineno, filename):
222 raise self.error_class(self.message, lineno, filename)
228 lineno, type, value = (property(itemgetter(x)) for x in range(3))
230 def __new__(cls, lineno, type, value):
231 return tuple.__new__(cls, (lineno, intern(str(type)), value))
262 self.lineno,
356 self.current = Token(self.current.lineno, TOKEN_EOF, '')
369 self.current.lineno,
373 self.current.lineno,
552 for lineno, toke
[all...]
H A Doptimizer.py59 lineno=node.lineno,
/external/chromium-trace/catapult/third_party/coverage/coverage/
H A Dannotate.py77 for lineno, line in enumerate(source.splitlines(True), start=1):
78 while i < len(statements) and statements[i] < lineno:
80 while j < len(missing) and missing[j] < lineno:
82 if i < len(statements) and statements[i] == lineno:
83 covered = j >= len(missing) or missing[j] > lineno
96 elif lineno in excluded:
H A Dplugin.py180 lineno = frame.f_lineno
181 return lineno, lineno
H A Dpytracer.py101 lineno = frame.f_lineno
103 self.cur_file_dict[(self.last_line, lineno)] = None
105 self.cur_file_dict[lineno] = None
106 self.last_line = lineno
/external/selinux/libsemanage/src/
H A Dparse_utils.c30 tmp_info->lineno = 0;
88 int lineno = info->lineno; local
105 lineno++;
121 info->lineno = lineno;
146 info->filename, info->lineno);
161 info->filename, info->lineno, info->orig_line);
181 info->lineno, info->orig_line);
202 info->filename, info->lineno, inf
[all...]
/external/vulkan-validation-layers/
H A Dsource_line_info.py45 return "%s%s%s %s%s" % (self.general_prefix, self.file_prefix, frameinfo.filename, self.line_prefix, frameinfo.lineno)
/external/skia/tools/
H A Dbuildbot_spec.py31 def lineno(): function
33 return inspect.getframeinfo(caller[0]).lineno
40 cov_start = lineno()+1 # We care about coverage starting just past this def.
166 cov_skip.extend([lineno(), lineno() + 1])
186 cov_skip.extend([lineno(), lineno() + 1])
206 cov_skip.extend([lineno(), lineno() + 1])
249 cov_skip.extend([lineno(), linen
[all...]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/
H A Drunner.js18 pageError = event.filename + ':' + event.lineno + ' ' + event.message;
/external/elfutils/libdw/
H A Ddwarf_getsrc_file.c43 dwarf_getsrc_file (Dwarf *dbg, const char *fname, int lineno, int column, argument
109 if (lineno != 0
110 && (lineno > line->line
123 || match[inner]->line != lineno
/external/autotest/contrib/
H A Dcoverage.py128 lineno = node.lineno
131 if lineno and f:
132 lineno = min(lineno, f)
134 lineno = lineno or f
135 return lineno
139 lineno = node.lineno
[all...]
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
H A Dcollector.py125 ``lineno``:
263 lineno = tb.tb_lineno
278 data['lineno'] = lineno
467 lineno = None variable in class:ExceptionFrame
500 if not self.filename or not self.lineno:
503 for lineno in range(self.lineno-context, self.lineno+context+1):
504 lines.append(linecache.getline(self.filename, lineno))
[all...]
/external/curl/docs/examples/
H A Dopensslthreadlock.c44 void handle_error(const char *file, int lineno, const char *msg){ argument
45 fprintf(stderr, "** %s:%d %s\n", file, lineno, msg);
/external/deqp/scripts/src_util/
H A Dpre_commit.py91 lineno = 1 + contents[:m.start()].count('\n')
92 croak(infile.name, lineno, "External include guard")
/external/selinux/sepolgen/src/sepolgen/
H A Ddefaults.py35 for lineno, line in enumerate(open(pathname)):
39 raise ValueError("%s:%d: line is not in key = value format" % (pathname, lineno+1))
/external/valgrind/helgrind/tests/
H A Dfilter_xml68 my ($file, $lineno, $in_frame, $keep_frame, $num_discarded, $ignore_line);
135 $lineno = $1;
/external/libselinux/src/
H A Dlabel_android_property.c85 int pass, unsigned lineno)
99 lineno, errbuf ?: strerror(errno));
110 lineno);
128 path, lineno, spec_arr[nspec].lr.ctx_raw);
146 unsigned int lineno, maxnspec, pass; local
180 lineno = 0;
184 if (process_line(rec, path, line_buf, pass, ++lineno)
83 process_line(struct selabel_handle *rec, const char *path, char *line_buf, int pass, unsigned lineno) argument
/external/selinux/libselinux/src/
H A Dlabel_x.c36 unsigned lineno, struct selabel_handle *rec)
53 lineno);
80 path, lineno, type);
106 unsigned int lineno, pass, maxnspec; local
142 lineno = 0;
146 if (process_line(path, line_buf, pass, ++lineno, rec))
149 lineno = 0;
35 process_line(const char *path, char *line_buf, int pass, unsigned lineno, struct selabel_handle *rec) argument
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
H A Ddoctest_webapp.py307 def _parse_example(self, m, name, lineno):
315 `name` is the string's name, and `lineno` is the line number
336 self._check_prefix(source_lines[1:], ' '*indent, name, lineno)
338 self._check_prompt_blank(source_lines, indent, name, lineno)
339 self._check_prefix(source_lines[2:], ' '*indent + '.', name, lineno)
357 lineno + len(source_lines))
368 options = self._find_options(source, name, lineno)
388 charno, lineno = 0, 0
393 # Update lineno (lines before this example)
394 lineno
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_module_getsrc_file.c53 const char *fname, int lineno, int column,
108 if (lineno != 0
109 && (lineno > line->line
122 || dwfl_line (match[inner])->line != lineno
52 dwfl_module_getsrc_file(Dwfl_Module *mod, const char *fname, int lineno, int column, Dwfl_Line ***srcsp, size_t *nsrcs) argument
/external/elfutils/tests/
H A Daddrscopes.c36 int lineno, linecol; local
38 && (src = dwfl_lineinfo (line, &addr, &lineno, &linecol,
43 prefix, addr, src, lineno, linecol);
46 prefix, addr, src, lineno);

Completed in 1919 milliseconds

12345678