Home
last modified time | relevance | path

Searched refs:lno (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython3/Doc/tools/
Drstlint.py84 for lno, line in enumerate(lines):
86 yield lno+1, 'comment seems to be intended as a directive'
90 yield lno+1, 'default role used'
98 for lno, line in enumerate(lines):
100 yield lno+1, '\\r in line'
102 yield lno+1, 'OMG TABS!!!1'
104 yield lno+1, 'trailing whitespace'
110 for lno, line in enumerate(lines):
118 yield lno+1, "line too long"
126 for lno, line in enumerate(lines):
[all …]
/external/python/cpython2/Doc/tools/
Drstlint.py83 for lno, line in enumerate(lines):
85 yield lno+1, 'comment seems to be intended as a directive'
89 yield lno+1, 'default role used'
97 for lno, line in enumerate(lines):
99 yield lno+1, '\\r in line'
101 yield lno+1, 'OMG TABS!!!1'
103 yield lno+1, 'trailing whitespace'
109 for lno, line in enumerate(lines):
117 yield lno+1, "line too long"
125 for lno, line in enumerate(lines):
[all …]
/external/toybox/toys/pending/
Dcrontab.c117 int lno, fd = xopenro(fname); in parse_crontab() local
120 for (lno = 1; (line = get_rawline(fd, &plen, '\n')); lno++,free(line)) { in parse_crontab()
126 snprintf(toybuf, sizeof(toybuf), "'%d': premature EOF\n", lno); in parse_crontab()
146 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
157 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
163 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
171 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
177 snprintf(toybuf, sizeof(toybuf), "'%d': bad minute\n", lno); in parse_crontab()
181 snprintf(toybuf, sizeof(toybuf), "'%d': bad hour\n", lno); in parse_crontab()
185 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-month\n", lno); in parse_crontab()
[all …]
/external/python/cpython3/Lib/idlelib/
Dpyparse.py235 level = lno = 0 # level is nesting level; lno is line number
248 lno = lno + 1
250 push_good(lno)
269 firstlno = lno
284 lno = lno + 1
288 push_good(lno)
295 lno = lno + 1
304 if (lno - 1) == firstlno:
321 lno = lno + 1
336 assert (continuation == C_NONE) == (goodlines[-1] == lno)
[all …]
Dhyperparser.py36 lno = index2line(text.index(index))
40 startat = max(lno - context, 1)
42 stopatindex = "%d.end" % lno
59 stopatindex = "%d.end" % lno
Deditor.py1338 lno = index2line(text.index('insert'))
1342 startat = max(lno - context, 1)
/external/python/cpython2/Lib/idlelib/
DPyParse.py231 level = lno = 0 # level is nesting level; lno is line number
244 lno = lno + 1
246 push_good(lno)
265 firstlno = lno
280 lno = lno + 1
284 push_good(lno)
291 lno = lno + 1
300 if (lno - 1) == firstlno:
317 lno = lno + 1
332 assert (continuation == C_NONE) == (goodlines[-1] == lno)
[all …]
DHyperParser.py24 lno = index2line(text.index(index))
28 startat = max(lno - context, 1)
30 stopatindex = "%d.end" % lno
47 stopatindex = "%d.end" % lno
DEditorWindow.py1319 lno = index2line(text.index('insert'))
1323 startat = max(lno - context, 1)
/external/python/cpython2/Tools/i18n/
Dmsgfmt.py122 lno = 0
124 lno += 1
148 (infile, lno)
159 (infile, lno)
167 (infile, lno)
180 print >> sys.stderr, 'Syntax error on %s:%d' % (infile, lno), \
/external/python/cpython3/Tools/i18n/
Dmsgfmt.py126 lno = 0
129 lno += 1
158 print('msgid_plural not preceded by msgid on %s:%d' % (infile, lno),
169 print('plural without msgid_plural on %s:%d' % (infile, lno),
177 print('indexed msgstr required for plural on %s:%d' % (infile, lno),
191 print('Syntax error on %s:%d' % (infile, lno), \
/external/python/cpython2/Modules/
Dcgen.py430 lno = 0 variable
449 lno = lno+1 variable
491 err('Line', lno, ': bad return type :', words[0])
493 err('Line', lno, ': no funcname :', line)
496 err('Line', lno, ': odd argument list :', words[2:])
509 err('Line', lno, ':', msg)
/external/mksh/src/
Dhistrap.c588 int lno = hist_source->line; in histsync() local
594 if (lno != hist_source->line) in histsync()
912 int lno = 0, lines = 0; in histload() local
926 lno = ((base[0] & 0xFF) << 24) | ((base[1] & 0xFF) << 16) | in histload()
930 if (histptr >= history && lno - 1 != s->line) { in histload()
934 if (lno >= s->line - (histptr - history) && lno <= s->line) { in histload()
935 hp = &histptr[lno - s->line]; in histload()
940 s->line = lno--; in histload()
941 histsave(&lno, (char *)(base + 4), HIST_NOTE, false); in histload()
959 writehistfile(int lno, const char *cmd) in writehistfile() argument
[all …]
Dsyn.c270 int c, iopn = 0, syniocf, lno; in get_command() local
409 lno = source->line; in get_command()
421 t->lineno = lno; in get_command()
/external/selinux/checkpolicy/
Dpolicy_scan.l38 static unsigned int lno = 0; variable
60 \n.* { strncpy(linebuf[lno], yytext+1, 255);
61 linebuf[lno][254] = 0;
62 lno = 1 - lno;
/external/u-boot/lib/bzip2/
Dbzlib_decompress.c464 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
486 lno = nn / MTFL_SIZE; in BZ2_decompress()
488 pp = s->mtfbase[lno] + off; in BZ2_decompress()
490 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
493 s->mtfbase[lno]++; in BZ2_decompress()
494 while (lno > 0) { in BZ2_decompress()
495 s->mtfbase[lno]--; in BZ2_decompress()
496 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
497 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
498 lno--; in BZ2_decompress()
/external/bzip2/
Ddecompress.c426 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
448 lno = nn / MTFL_SIZE; in BZ2_decompress()
450 pp = s->mtfbase[lno] + off; in BZ2_decompress()
452 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
455 s->mtfbase[lno]++; in BZ2_decompress()
456 while (lno > 0) { in BZ2_decompress()
457 s->mtfbase[lno]--; in BZ2_decompress()
458 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
459 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
460 lno--; in BZ2_decompress()
/external/python/cpython3/Lib/test/
Dtest_bdb.py559 lno = 2
562 lno = 5
563 lno = 6
564 lno = 7
567 lno = 2
568 lno = 3
569 lno = 4
572 lno = 2
Dtest_zipimport.py640 f,lno,n,line = extract_tb(tb, 1)[0]
643 f,lno,n,line = extract_stack(tb.tb_frame, 1)[0]
Dtest_logging.py4264 fn = lno = msg = args = exc_info = func = sinfo = None
4265 rv = logging._logRecordFactory(name, level, fn, lno, msg, args,
4271 fn, lno, msg, args, exc_info,
4277 fn = lno = msg = args = exc_info = func = sinfo = None
4279 result = self.logger.makeRecord(name, level, fn, lno, msg, args,
/external/python/cpython2/Lib/logging/
D__init__.py1261 def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None): argument
1266 rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
1284 fn, lno, func = self.findCaller()
1286 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1288 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1292 record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
/external/python/cpython3/Lib/logging/
D__init__.py1481 def makeRecord(self, name, level, fn, lno, msg, args, exc_info, argument
1487 rv = _logRecordFactory(name, level, fn, lno, msg, args, exc_info, func,
1507 fn, lno, func, sinfo = self.findCaller(stack_info)
1509 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1511 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1517 record = self.makeRecord(self.name, level, fn, lno, msg, args,
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/transformtest/
Dbg-Latn-t-bg-m0-bgn.txt170 пълно pŭlno
521 напълно napŭlno
/external/python/cpython2/Lib/test/
Dtest_zipimport.py368 f,lno,n,line = extract_tb(tb, 1)[0]
371 f,lno,n,line = extract_stack(tb.tb_frame, 1)[0]
/external/freetype/src/bdf/
Dbdflib.c524 unsigned long *lno ) in _bdf_readstream() argument
654 *lno = lineno; in _bdf_readstream()

12