/third_party/python/Doc/tools/ |
D | rstlint.py | 85 for lno, line in enumerate(lines): 87 yield lno+1, 'comment seems to be intended as a directive' 91 yield lno+1, 'default role used' 99 for lno, line in enumerate(lines): 101 yield lno+1, '\\r in line' 103 yield lno+1, 'OMG TABS!!!1' 105 yield lno+1, 'trailing whitespace' 111 for lno, line in enumerate(lines): 119 yield lno+1, "line too long" 127 for lno, line in enumerate(lines): [all …]
|
/third_party/python/Tools/c-analyzer/c_parser/parser/ |
D | _info.py | 27 def add_line(self, line, lno=None): argument 28 if lno is None: 29 lno = self.end + 1 31 if isinstance(lno, FileInfo): 32 fileinfo = lno 35 lno = fileinfo.lno 42 self.end = lno 170 def _add_line(self, line, lno=None): argument 175 self._start = lno 176 self._current = TextInfo(line, lno) [all …]
|
D | __init__.py | 185 srcinfo._add_line(line, fileinfo.lno) 209 filename, lno, text = srcinfo.filename, srcinfo._start, srcinfo.text
|
/third_party/toybox/toys/pending/ |
D | crontab.c | 120 int lno; in parse_crontab() local 122 for (lno = 1; (len = getline(&line, &allocated_length, fp)) > 0; lno++) { in parse_crontab() 128 snprintf(toybuf, sizeof(toybuf), "'%d': premature EOF\n", lno); in parse_crontab() 148 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 159 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 165 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 173 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab() 179 snprintf(toybuf, sizeof(toybuf), "'%d': bad minute\n", lno); in parse_crontab() 183 snprintf(toybuf, sizeof(toybuf), "'%d': bad hour\n", lno); in parse_crontab() 187 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-month\n", lno); in parse_crontab() [all …]
|
/third_party/python/Lib/idlelib/ |
D | pyparse.py | 230 level = lno = 0 # level is nesting level; lno is line number 243 lno = lno + 1 245 push_good(lno) 264 firstlno = lno 279 lno = lno + 1 283 push_good(lno) 290 lno = lno + 1 299 if (lno - 1) == firstlno: 316 lno = lno + 1 331 assert (continuation == C_NONE) == (goodlines[-1] == lno) [all …]
|
D | hyperparser.py | 36 lno = index2line(text.index(index)) 40 startat = max(lno - context, 1) 42 stopatindex = "%d.end" % lno 59 stopatindex = "%d.end" % lno
|
D | editor.py | 1399 lno = index2line(text.index('insert')) 1403 startat = max(lno - context, 1)
|
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/ |
D | gcc.py | 66 lno, origfile = m.groups() 67 lno = int(lno) 77 _common.FileInfo(filename, lno), 82 lno += 1
|
D | pure.py | 14 for lno, line in enumerate(lines, 1): 19 _common.FileInfo(filename, lno),
|
/third_party/python/Tools/i18n/ |
D | msgfmt.py | 127 lno = 0 130 lno += 1 165 print('msgid_plural not preceded by msgid on %s:%d' % (infile, lno), 176 print('plural without msgid_plural on %s:%d' % (infile, lno), 184 print('indexed msgstr required for plural on %s:%d' % (infile, lno), 200 print('Syntax error on %s:%d' % (infile, lno), \
|
/third_party/mksh/ |
D | histrap.c | 591 int lno = hist_source->line; in histsync() local 597 if (lno != hist_source->line) in histsync() 915 int lno = 0, lines = 0; in histload() local 929 lno = ((base[0] & 0xFF) << 24) | ((base[1] & 0xFF) << 16) | in histload() 933 if (histptr >= history && lno - 1 != s->line) { in histload() 937 if (lno >= s->line - (histptr - history) && lno <= s->line) { in histload() 938 hp = &histptr[lno - s->line]; in histload() 943 s->line = lno--; in histload() 944 histsave(&lno, (char *)(base + 4), HIST_NOTE, false); in histload() 962 writehistfile(int lno, const char *cmd) in writehistfile() argument [all …]
|
D | syn.c | 270 int c, iopn = 0, syniocf, lno; in get_command() local 401 lno = source->line; in get_command() 413 t->lineno = lno; in get_command()
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 38 static unsigned int lno = 0; variable 67 strncpy(linebuf[lno], yytext+1, 255); 71 linebuf[lno][254] = 0; 72 lno = 1 - lno;
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | _capi.py | 184 def from_line(cls, line, filename, lno, prev=None): argument 193 self = cls(filename, lno, name, kind, level) 319 for lno, line in enumerate(lines, 1): 320 parsed, prev = CAPIItem.from_line(line, filename, lno, prev) 324 parsed, prev = CAPIItem.from_line('', filename, lno, prev) 617 for lno, line in enumerate(item.text, item.lno):
|
/third_party/python/Tools/c-analyzer/c_parser/ |
D | __main__.py | 75 lno = kind = funcname = fwd = name = data = '' 79 lno = fileinfo.lno if fileinfo and fileinfo.lno >= 0 else ''
|
D | info.py | 198 def lno(self): member in SourceLine 199 return self.file.lno 308 def lno(self): member in ParsedItem 311 return self.file.lno 672 value = self.file.lno if self.file else None 1322 file.lno,
|
/third_party/python/Lib/test/ |
D | test_bdb.py | 559 lno = 2 562 lno = 5 563 lno = 6 564 lno = 7 567 lno = 2 568 lno = 3 569 lno = 4 572 lno = 2
|
D | test_zipimport.py | 715 f,lno,n,line = extract_tb(tb, 1)[0] 718 f,lno,n,line = extract_stack(tb.tb_frame, 1)[0]
|
D | test_logging.py | 5018 fn = lno = msg = args = exc_info = func = sinfo = None 5019 rv = logging._logRecordFactory(name, level, fn, lno, msg, args, 5025 fn, lno, msg, args, exc_info, 5031 fn = lno = msg = args = exc_info = func = sinfo = None 5033 result = self.logger.makeRecord(name, level, fn, lno, msg, args,
|
/third_party/python/Lib/ |
D | traceback.py | 512 lno = exc_value.lineno 513 self.lineno = str(lno) if lno is not None else None
|
/third_party/python/Lib/logging/ |
D | __init__.py | 1585 def makeRecord(self, name, level, fn, lno, msg, args, exc_info, argument 1591 rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func, 1612 fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel) 1614 fn, lno, func = "(unknown file)", 0, "(unknown function)" 1616 fn, lno, func = "(unknown file)", 0, "(unknown function)" 1622 record = self.makeRecord(self.name, level, fn, lno, msg, args,
|
/third_party/freetype/src/bdf/ |
D | bdflib.c | 521 unsigned long *lno ) in _bdf_readstream() argument 661 *lno = lineno; in _bdf_readstream()
|
/third_party/flutter/skia/third_party/externals/freetype/src/bdf/ |
D | bdflib.c | 522 unsigned long *lno ) in _bdf_readstream() argument 652 *lno = lineno; in _bdf_readstream()
|
/third_party/skia/third_party/externals/freetype/src/bdf/ |
D | bdflib.c | 521 unsigned long *lno ) in _bdf_readstream() argument 662 *lno = lineno; in _bdf_readstream()
|
/third_party/python/Doc/library/ |
D | logging.rst | 346 ….. method:: Logger.makeRecord(name, level, fn, lno, msg, args, exc_info, func=None, extra=None, si… 1304 ``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, **kwargs)`` 1309 :lno: The line number in the file where the logging call was made.
|